摘要
针对PID算法在PLC控制中还存在稳定性不高、精确性较差的问题,本文根据膨胀烟丝加香控制的需求,提出了一种基于参数整定PID算法的膨胀烟丝加香实时控制模型。首先构建基于PLC的膨胀烟丝加香闭环控制系统,然后建立加香泵的近似模型,并引入遗传算子对PID算法进行参数整定优化,在目标函数中加入控制输入的平方项以防止控制能量过大,并采用惩罚机制避免超调,接着对交叉算子和变异算子进行自适应调整,最后采用线性函数对加香比例设定值进行实时修正。通过实例仿真表明,相比较标准PID算法,本文提出的参数整定PID算法具有较为平稳的波形,鲁棒性较高,并且本文对加香比例进行实时修正,大大减小了加香的误差。
In order to overcome the instability and low accuracy problems of PID algorithm in the PLC control, this paper proposes a real-time control model of the expanded tobacco flavoring based on the parameter turning PID algorithm to meet the requirement of expanded tobacco flavoring. First, a closedloop control system of expanded tobacco flavoring based on PLC is established. Second, the approximate model of the perfusion pump is set up. And the genetic operator is used to optimize the PID algorithm.Third, the square of the control input is added to the objective function to prevent the excessive control energy. And also the penalty mechanism is used to avoid overshoot. Then, adaptive adjustment is performed on the crossover operator and mutation operator. And finally linear function is used in the real-time correction of the flavoring proportion setting. Simulations show that compared with the standard PID algorithm, the proposed parameter tuning PID algorithm has a relatively stable waveform and higher robustness, and the flavoring proportion is corrected in real-time, which greatly reduces the flavoring error.
出处
《科技通报》
北大核心
2017年第6期163-166,共4页
Bulletin of Science and Technology
关键词
膨胀烟丝
加香控制
PLC闭环控制
惩罚机制
线性函数
加香比例修正
expanded tobacco
flavoring control
PLC closed-loop control
penalty mechanism
linear function
flavoring proportion correction