摘要
设计一种基于STM32单片机的高精度温度控制实验系统,调温范围为15~130℃。系统包括测温、控制、人机交互和加热器等模块,使用DS18B20温度传感器测量温度,采用搭载ARM Cortex-M内核的STM32F429单片机作为控制核心,人机交互部分采用TFT显示屏实时显示温度,通过PWM脉冲宽度调制波驱动加热器。该系统可以实现温度的测量变送、控制、数据存储和分析功能。采用自适应性强的模糊PID算法,实现三个控制参数的在线修正。不需要建立被控对象精确模型就能保证加热器功率的实时控制要求,实现较快和较稳的动态性能。实验测试结果证明了该方法的实用性和有效性。
A high-precision temperature control experimental system based on microcontroller STM32 was designed,whose temperature range is from 15 ℃ to 130 ℃. The system contains four modules of temperature measurement,control,man-machine interaction and heater. DS18B20 temperature sensor is used to detect temperature. single-chip microcomputer STM32F429 with ARM Cortex-M kernel is taken as the key control unit. TFT screen is adopted in the human-computer interaction part to realize temperature real-time display. The heater is driven by pulse width modulation(PWM)wave. The system can implement the functions of transmission,control,data storage and analysis of detected temperature. The adaptive fuzzy PID algorithm is adopted to realize the on-line correction of three control parameters. It is unnecessary to establish accurate model for the controlled object to guarantee the power control requirements of the heater,realize the fast-response and stable dynamic performance. The experimental results has proved the practicability and validity of the method.
出处
《现代电子技术》
北大核心
2016年第12期37-40,共4页
Modern Electronics Technique