针对传统的PID参数整定方法越来越费时且难以满足控制要求的问题,提出一种采用萤火虫算法来优化PID控制参数的方法,设计了基于Simulink的参数优化模型,并进行仿真计算。结果表明,利用萤火虫算法优化PID控制器参数的阶跃响应响应时间短,基本没有超调,跟踪过程较平稳,仿真结果证明将萤火虫算法应用于PID参数优化是切实可行的。
Since the traditional PID parameter tuning method has become more and more time-consuming,and is hard to meet the control requirements,a new method of optimizing PID control parameters by using firefly algorithm is proposed in this paper,and a parameters optimization model based on Simulink was designed to carry out the simulation calculation. The results show that PID controller parameters optimized with the firefly algorithm has short step response time and stable tracking pro-cess,and proves that it is feasible to adopt the firefly algorithm in PID parameter optimization.