摘要
为了提高温控系统的控制精度,采用热电偶测量温控系统的温度,将采集的电压信号进行放大,由STM32F103芯片进行A/D转换、运行PID算法、输出PWM信号对温控系统的温度进行快速与稳定控制,并通过该芯片的串口将当前温度值上传上位机,上位机运行LabVIEW软件,编有程序框图和前面板程序,程序框图包含串口发送和接收数据程序,前面板包含数据波形、仪表显示。通过Proteus和LabVIEW软件联合仿真表明,系统控制温度精度高、快速与稳定、界面友好,通过进一步提高温度控制范围,可适用于更多加热场合。
In order to improve the control accuracy of the temperature control system,the thermocouple is used to measure the temperature of the temperature control system,amplify the collected voltage signal,conduct A/D conversion by STM32F103 chip,run PID algorithm and output PWM signal to quickly and stably control the temperature of the temperature control system,upload the current temperature value to the upper computer through the serial port of the chip,and the upper computer runs LabVIEW software,The program block diagram and front panel program are compiled.The program block diagram includes the serial port sending and receiving data program,and the front panel includes data waveform and instrument display.The joint simulation of Proteus and LabVIEW software shows that the system has high temperature control accuracy,fast and stable,friendly interface,and can be applied to more heating occasions by further improving the temperature control range.
作者
崔业梅
杨焕峥
CUI Yemei;YANG Huanzheng(School of lnternet of Things Technology,Wuxi Vocational Institute of Commerce,Wuxi 214153,China)
出处
《现代信息科技》
2021年第18期40-43,共4页
Modern Information Technology
基金
无锡商业职业技术学院卓越师资队伍建设“校级教学名师培育对象”项目(RS18 MP03)
无锡商业职业技术学院卓越师资队伍建设“校级骨干教师培育对象”项目(RS18GG38)。
关键词
温度控制
算法
虚拟仪器
微控制器
仿真
temperature control
algorithm
virtual instrument
microcontroller
simulation