更新时间:08-30 上传会员:小时代
分类:电气工程 论文字数:20908 需要金币:1000个
摘要:本设计完成基于单片机的模糊温度控制器的软硬件设计。本设计完成了将模糊控制与PID控制相结合方法用于工业温度控制领域,实现了对大滞后、慢时变、非线性的复杂系统的控制。在硬件方面,Fuzzy-PID温控器采用单片机作为控制核心,采用Pt100作为温度传感器,设计了温度测量转换电路,模/数转换器TLC2543实现温度数据采集。HD7279构成良好的人机接口模块,完成温度设定值的输入和温度数据实时显示。输出通道由D/A转换器和AD694芯片组成,将控制量转换为现场总线标准的电流信号4~20mA。在软件方面,本设计完成了并行Fuzzy-PID复合控制器的主流程图和各子流程图。编写的软件程序经过编译连接无误。
在设计过程中,采用Multisim软件对Pt100的测温电路进行了仿真,实现了温度采集精度的设计要求。本设计中的模糊PID控制器,既具有模糊控制灵活、适应性强的优点,不依赖于控制对象有精确的数学模型,同时又具有控温精度高,动态性能好、受系统参数变化影响小的优点。
关键词:Pt100;温度控制;单片机;模糊-PID控制;Multisim
Abstract:This design has completed the design of software and hardware of the Fuzzy-PID temperature controller based on MCU. It has made the combination method of Fuzzy control and the PID control used in the industry temperature control domain, which has realized the control of complex system of long-time delay, slow time-variable, and the non-linear. In the hardware design, Fuzzy-PID temperature controller takes SMC as the core of the control, adopts Pt100 as the temperature sensor, and has designed the temperature signal measurement and convert circuit; ADC TLC2543 is used to finishi the temperature data gathering. The friendly man-machine interface module is composed of HD7279, which can carry on the functions of the input of the temperature setting value and the real time display of temperature data. The output channel is composed of DAC and AD694, which can convert the control quantity into fieldbus standard current signal 4~20mA. In the software design, this design has completed the main flow chart of the parallel Fuzzy-PID compound controller and each sub-flow chart. The procedure of software is unmistakable after compilation and link.
In the design process, it adopts Multisim software to carry on the simulation of the Pt100 temperature signal measurement and convert circuit, and the design has met the requests of temperature measurement precision. The Fuzzy-PID controller in this design, not only has the characterics of flexibility and adaptability of Fuzzy control, which does not depend on the controlled object that has the precise mathematical model, but also has advantages of high precision temperature control, and the good dynamic performance, which is affected little by the change of system parameters.
Key words: Pt100; Temperature Control; SMC; Fuzzy-PID Control; Multisim