《计算机应用》唯一官方网站 ›› 2022, Vol. 42 ›› Issue (5): 1634-1641.DOI: 10.11772/j.issn.1001-9081.2021050745

• 前沿与综合应用 • 上一篇    下一篇

基于改进的遗传算法的有刷直流电机PID参数整定

刘延飞(), 彭征, 王艺辉, 王忠   

  1. 火箭军工程大学 基础部,西安 710025
  • 收稿日期:2021-05-10 修回日期:2021-09-12 接受日期:2021-12-21 发布日期:2022-03-08 出版日期:2022-05-10
  • 通讯作者: 刘延飞
  • 作者简介:刘延飞(1975—),男,陕西咸阳人,教授,博士,主要研究方向:最优控制、嵌入式系统 bbmcu@126.com
    彭征(1998—),男,湖南平江人,硕士研究生,主要研究方向:最优控制、嵌入式系统
    王艺辉(1996—),男,福建泉州人,硕士,主要研究方向:多智能体协同、嵌入式系统、目标合围
    王忠(1986—),男,重庆人,副教授,硕士,主要研究方向:多智能体协同、目标合围。
  • 基金资助:
    国家自然科学基金资助项目(61834004)

PID parameter tuning of brushed direct-current motor based on improved genetic algorithm

Yanfei LIU(), Zheng PENG, Yihui WANG, Zhong WANG   

  1. Department of Basic Sciences,Rocket Force University of Engineering,Xi’an Shaanxi 710025,China
  • Received:2021-05-10 Revised:2021-09-12 Accepted:2021-12-21 Online:2022-03-08 Published:2022-05-10
  • Contact: Yanfei LIU
  • About author:LIU Yanfei, born in 1975, Ph. D., professor. His researchinterests include optimum control,embedded system.
    PENG Zheng, born in 1998, M. S. candidate. His researchinterests include optimum control,embedded system.
    WANG Yihui, born in 1996,M. S. His research interests includemulti-agent collaboration,embedded system,target enclosing.
    WANG Zhong, born in 1986,M. S.,associate professor. Hisresearch interests include multi-agent collaboration,target enclosing.
  • Supported by:
    National Natural Science Foundation of China(61834004)

摘要:

针对有刷直流(DC)电机的比例积分微分(PID)参数整定工作复杂耗时的问题,提出了一种基于改进型遗传算法(GA)的PID参数整定方法。首先,提出了适应度增强淘汰法则,改进了传统GA的选择过程;然后,提出了基因感染交叉方法,保证了进化过程中平均适应度值的增加;最后,删除了传统GA中不必要的复制操作,提升了算法的运行速度。通过电机传递函数进行建模和仿真分析。实验结果表明,与常规整定方法相比,所提改进型GA能够显著提升PID参数整定效果,且改进型GA相较于传统GA,达到同样进化效果所需的进化代数减少了79%,算法运行速度提升了4.1%。所提出的改进型GA从选择和交叉两个关键操作步骤对GA进行了改进,并应用于PID参数整定使得上升时间更少、稳定时间更短、过冲更小。

关键词: 比例积分微分参数整定, 遗传算法, 基因感染交叉, 适应度函数, 传递函数建模

Abstract:

Aiming at the complicated and time-consuming problems of brushed Direct-Current (DC) motor Proportion Integral Differential (PID) parameter tuning, a PID parameter tuning method based on improved Genetic Algorithm (GA) was proposed. Firstly, a fitness enhanced elimination through selection rule was proposed, which improved the selection process of traditional GA. Then, a gene infection crossover method was proposed to ensure the increase of the average fitness value in the evolution process. Finally, the unnecessary copy operation in traditional GA was deleted to improve the running speed of the algorithm. Modeling and simulation analysis were carried out through the motor transfer function. Experimental results show that, compared with conventional tuning methods, the proposed improved GA can significantly improve the PID parameter tuning effect. At the same time, compared with the traditional GA, the improved GA reduces the evolutionary generation number required to achieve the same evolutionary effect by 79%, and increases the running speed of the algorithm by 4.1%. The proposed improved GA improves GA from the two key operation steps of selection and crossover, and is applied to PID parameter tuning to make the rise time less, the stability time shorter, and the overshoot smaller.

Key words: Proportion Integral Differential (PID) parameter tuning, Genetic Algorithm (GA), gene infection crossover, fitness function, transfer function modeling

中图分类号: