摘要
目的针对啤酒罐装液位控制存在的变负荷、多模态、PID参数整定难的问题,提出一种基于改进灰狼算法的PID参数整定方法,以提高啤酒生产的工作效率。方法对灰狼算法进行改进,使用欧式距离变化率动态调整收敛因子,平衡算法的全局搜索能力;引入动态自适应权重因子,提高算法的优化速度和精度;与基本灰狼算法比较并用测试函数验证改进算法的性能。结果仿真结果表明,改进后的灰狼算法在收敛速度和精度上提升效果显著;改进灰狼算法整定的PID参数的上升时间为1.9 s,调节时间为5.12 s,超调量为3.78%。结论与基本灰狼算法对比,改进灰狼算法对啤酒灌装液位PID参数进行整定,调节时间快,超调较小,可以更好地满足啤酒生产的控制要求。
The work aims to propose a PID parameter setting method based on improved grey wolf algorithm to solve the problems of variable load,multi-mode and difficult PID parameter setting in liquid level control for beer filling,so as to improve the working efficiency of beer production.The grey wolf algorithm was improved,and the convergence factor was adjusted dynamically by the Euclidian distance change rate to balance the global search ability of the algorithm.The dynamic adaptive weight factor was introduced to improve the optimization speed and accuracy of the algorithm.The improved algorithm was compared with the basic grey wolf algorithm and its performance was verified by test function.The simulation results indicated that the improved grey wolf algorithm enhanced the convergence speed and accuracy significantly.For the PID parameters set by improved grey wolf algorithm,the rise time was 1.9 seconds,the adjustment time was 5.12 seconds,and the overshoot was 3.78%.Compared with the basic grey wolf algorithm,the improved grey wolf algorithm is used to set the PID parameters of beer filling level.The adjustment time is fast and the overshoot is small,which can better meet the control requirements of beer production.
作者
步同杰
王亚刚
BU Tong-jie;WANG Ya-gang(School of Optical-Electrical and Computer Engineering,University of Shanghai for Science and Technology,Shanghai 200093,China)
出处
《包装工程》
CAS
北大核心
2023年第21期245-252,共8页
Packaging Engineering
基金
国家重点研发计划课题资助(2020YFC2007502)。
关键词
改进灰狼算法
欧式距离变化率
自适应权重
PID参数整定
啤酒灌装
液位控制
improved grey wolf algorithm
Euclidian distance change rate
self-adaptive weight
PID parameter setting
beer filling
liquid level control