计算机与现代化 ›› 2012, Vol. 203 ›› Issue (7): 34-37.doi: 10.3969/j.issn.1006-2475.2012.07.009

• 算法设计与分析 • 上一篇    下一篇

基于实数编码遗传算法的PID控制系统设计

梅松涛,文伟   

  1. 中国船舶重工集团公司第七一二研究所,湖北武汉430064
  • 收稿日期:2012-02-23 修回日期:1900-01-01 出版日期:2012-08-10 发布日期:2012-08-10

Design of PID Control System Based on Real-coded Genetic Algorithm

MEI Song-tao, WEN Wei   

  1. 712th Research Institute, CSIC, Wuhan 430064, China
  • Received:2012-02-23 Revised:1900-01-01 Online:2012-08-10 Published:2012-08-10

摘要: 提出一种使用遗传算法确定PID控制系统参数的方法。它以使用工程中常用的频域指标作为目标函数,使方法更具有实效。根据这一思想,使用C语言设计遗传算法的各个部分,如编码方式、适应度函数、遗传操作算子等。最后,对实际的算例进行计算并将结果在Matlab环境下进行了仿真。仿真结果表明:本方法快速、有效。

关键词: 遗传算法, 控制系统, PID控制

Abstract: This paper presents a method using genetic algorithm to tuning the PID control system parameters. Frequency domain is used as the objective function, making the method more practical. According to this idea, C language is used to design the various parts of the genetic algorithm, such as encoding, fitness function and genetic operators and so on. Finally, the actual example is calculated and the results are simulated in the Matlab. The simulation result shows that: the method is rapid and effective.

Key words: genetic algorithm, control system, PID control

中图分类号: