首页|基于Python和自适应遗传算法的螺旋齿轮体积优化

基于Python和自适应遗传算法的螺旋齿轮体积优化

扫码查看
对螺旋摆动油缸中的螺旋齿轮进行体积优化,将传统设计中对模数齿数的取值范围与最小值通过程序语言表达,形成约束,再对随机生成的种群进行自适应选择、交叉、变异等操作,形成个体属性,引用精英策略选择优秀的个体产生新的种群,重复操作直到完成要求的迭代次数,最后打印出每一代的最优个体.传统算法与自适应遗传算法均可以对螺旋齿轮的体积进行优化,最终将螺旋齿轮的体积减少5.87%.自适应遗传算法可以对螺旋齿轮进行体积优化,并且在迭代速度上有明显优势,过程中产生的多个解可对实际设计进行指导,降低设计时的计算量与设计时间,减少生产成本.
Optimization of helical gear volume based on Python and adaptive genetic algorithm
To optimize the volume of the helical gear in the helical swing cylinder.The range and minimum value of modular tooth number in traditional design were expressed through program language to form constraints,and then the randomly generated population was formed by adaptive selection,crossover,mutation and other operations.The elite strategy was used to select excellent individuals to generate new populations,and the operations were repeated until the required number of iterations was completed.Finally,the optimal individual for each generation is printed.Both traditional algorithm and adaptive genetic algorithm can optimize the volume of helical gear,and finally reduce the volume of helical gear by 5.87%.Adaptive genetic algorithm can optimize the volume of helical gear,and has obvious advantages in iteration speed.The multiple solutions generated in the process can guide the actual design,reduce the calculation amount and design time during design,and reduce the production cost.

spiral swinging cylinderspiral gearPythongenetic algorithmvolume optimizationself-adaptation

马笑宇、吕东波、钱鹏运、李晓贞

展开 >

安徽科技学院机械工程学院,安徽凤阳 233100

螺旋摆动油缸 螺旋齿轮 Python 遗传算法 体积优化 自适应

2025

安徽科技学院学报
安徽科技学院

安徽科技学院学报

影响因子:0.434
ISSN:1673-8772
年,卷(期):2025.39(1)