电子科技 ›› 2019, Vol. 32 ›› Issue (6): 7-11.doi: 10.16180/j.cnki.issn1007-7820.2019.06.002

• • 上一篇    下一篇

基于粒子群算法的PID控制器参数优化

杜美君,张伟,谢亚莲   

  1. 上海理工大学 光电信息与计算机工程学院,上海200093
  • 收稿日期:2018-09-09 出版日期:2019-06-15 发布日期:2019-07-01
  • 作者简介:杜美君(1994-),女,硕士研究生。研究方向:电子技术、功能安全评估。|张伟(1981-),男,博士,副教授。研究方向:最优控制、飞行器姿态控制、无线传感器网络。|谢亚莲(1966-),女,教授。研究方向:电子技术、安全相关系统和功能安全产品设计技术等。
  • 基金资助:
    国家自然科学基金青年基金(11502145)

Particle Swarm Optimization Based PID Controller Parameter Optimization

DU Meijun,ZHANG Wei,XIE Yalian   

  1. School of Optoelectronic Information and Computer Engineering, University of Shanghai for Science and Technology,Shanghai 200093,China
  • Received:2018-09-09 Online:2019-06-15 Published:2019-07-01
  • Supported by:
    National Natural Science Foundation of China Youth Fundtion(11502145)

摘要:

粒子群算法是一种智能算法,在PID控制器参数整定的应用中可取得更优的效果。为解决传统的粒子群算法早熟收敛和收敛速度慢的缺点,文中采用了一种基于相似度动态调整惯性权重的方法,即越靠近目前最优粒子的个体被赋予越小的惯性权重值。最后用MATLAB对等温连续搅拌釜反应器仿真。与标准的PSO算法整定方法相比,改进的粒子群算法稳定时间为230.1 s,比传统粒子群算法524.7 s的稳定时间缩小了一半,表明改进的算法对PID控制器的参数优化有着较优的收敛效果。

关键词: 改进PSO算法, PID控制器, 参数整定, 相似度, 惯性权重, 搅拌釜反应器, 仿真

Abstract:

Particle swarm optimization is an intelligent algorithm that can achieve better results in the application of PID controller parameter tuning. In order to solve the shortcomings of the premature convergence and slow convergence of the traditional particle swarm optimization algorithm, this paper adopted a method of dynamically adjusting the inertia weight based on the similarity, that was, the closer to the current optimal particle, the smaller the inertia weight value was assigned. Finally, MATLAB was used to simulate the isothermal continuous stirred tank reactor. Compared with the standard PSO tuning method, the improved particle swarm algorithm had a settling time of 230.1 s, which was half the stability time of the conventional particle swarm optimization algorithm of 524.7 s, indicating that the improved algorithm had better parameters optimization for the PID controller.

Key words: improved PSO algorithm, PID controller, parameter setting, similarity, inertia weight stirred tank reactor, simulation

中图分类号: 

  • TP273