摘要
针对目前工业应用中PID参数整定方法较为复杂,整定过程通常为开环控制且对实际控制有影响的情况,文中研制了一种利用AVR单片机实现基于相关系数辨识法的PID自整定控制器,并详细给出了硬件和软件设计。该控制器采用嵌入式技术,能够对多种模拟量信号进行精确采样,可输出4~20 mA电流或周期和占空比均可调的PWM脉冲两种控制信号,以适应不同的应用场合。通过温控实验应用表明:该控制系统具有较快的系统响应和较好的自整定控制效果。
In current industrial applications,the method of tuning PID(proportional integral derivative)parameters is comparatively complicated,and the tuning process is often open-loop,which has a bad influence on the actual control.To solve these problems,this paper developed a PID self-tuning controller using AVR single-chip microcomputer based on correlation coefficient identification method,and showed the hardware and software designs.The controller was completed using embedded technology and can sample exactly a variety of analog signals while outputting two kinds of control signals,4 ~ 20 mA current or PWM pulse whose period and duty cycle can be adjusted,to adapt to different applications.The experiment of controlling the temperature show that the control system has a fast response and good effect of self-tuning control.
出处
《仪表技术与传感器》
CSCD
北大核心
2011年第4期83-86,96,共5页
Instrument Technique and Sensor
关键词
PID自整定
相关系数
最小二乘
AVR单片机
控制器
PID self-tuning
correlation coefficient
least square
AVR single-chip microcomputer
controller