摘要
PID控制是工程领域常用的控制算法。随着嵌入式处理器的不断发展,使用嵌入式设备进行PID控制成为趋势。本文基于STM32微处理器,利用C语言模块化封装性好的优势,设计了直观清晰的PID控制程序。利用积分分离算法改进程序,增强了系统的动态特性,并使用MATLAB对输出的结果进行仿真,证明了程序设计的正确性。
The PID controller is the most common form of feedback in engineering.As embedded processor’s compute speed became more and more quickly,it is possible to complete the calculation of PID controller.This paper describes how to use the advantages of C language,and write a PID controller program using C programming language.This program is improved by the integral separation algorithm.The simulation by using MATLAB showed the validity of the program.
出处
《安庆师范大学学报(自然科学版)》
2017年第1期19-22,共4页
Journal of Anqing Normal University(Natural Science Edition)
基金
安徽省自然科学研究基金(AQKJ2014B018)