|国家科技期刊平台
首页|期刊导航|现代电子技术|基于单片机和PID算法的温度智能控制系统设计

基于单片机和PID算法的温度智能控制系统设计OACSTPCD

Design of temperature intelligent control system based on single-chip microcontroller and PID algorithm

中文摘要英文摘要

为提高温度控制的智能化水平,设计一种智能温度控制系统.该系统以STC89C52单片机为控制器,采用PID算法控制温度,具有语音播报和手机远程控制等功能.采用DS18B20温度传感器采集环境温度;设计LCD12864显示电路实时显示当前温度、温度上下限以及温度状态;设计WT588D语音提醒电路,当测量温度小于下限或大于上限时发出语音提醒;设计按键电路实现温度上下限值的设定;设计蓝牙通信电路,与手机APP通信,实现远程控制;采用PID算法输出控制量,控制固态继电器驱动加热或降温装置,实现温度控制.其次,对温度控制系统的硬件和软件进行设计,并制作实物进行运行测试.实验结果表明,所设计的温度控制系统能够很好地实现温度控制,从而达到预期效果,且操作方便、成本低,具有较强的应用价值.

An intelligent temperature control system is designed to improve the intelligent level of temperature control.In the system,STC89C52 microcontroller is used as the controller,and PID algorithm is used to control temperature,which has functions such as voice broadcasting and mobile remote control.DS18B20 temperature sensor is used to collect environmental temperature,the LCD12864 display circuit is designed to display real-time current temperature,upper and lower limits of temperature,and temperature status.The WT588D voice reminder circuit is designed to emit a voice reminder when the measured temperature is below or above the lower limit.The button circuit is designed to set the upper and lower temperature limits.The Bluetooth communication circuit is designed to communicate with mobile APP and achieve remote control,and the PID algorithm is used to output control variables and control solid-state relays to drive heating or cooling devices,achieving temperature control.The hardware and software design of the temperature control system are designed,and the physical object is maken,operational testing is conducted by the experiments.The experimental results show that the designed temperature control system can realize the expected effect,can effectively achieve temperature control,and is easy to operate,low-cost,and had strong application value.

祖一康;徐妙婧

黄冈师范学院 机电与智能制造学院,湖北 黄冈 438000黄冈师范学院 物理与电信学院,湖北 黄冈 438000

电子信息工程

温度控制系统PID算法STC89C52单片机LCD12864显示电路语音提示蓝牙通信

temperature control systemPID algorithmSTC89C52 microcontrollerLCD12864 display circuitvoice promptsBluetooth communication

《现代电子技术》 2024 (008)

83-89 / 7

湖北省教育厅科学研究计划项目(B2022199)

10.16652/j.issn.1004-373x.2024.08.013

评论