摘要
Matlab有着强大的数值处理能力,已应用于工程计算、控制系统设计、数字信号处理等诸多领域之中。工业控制中,常常需要对温度进行监控,以AT89S52单片机作为控制器,在Simulink中建立温度监控模型,由DS18B20检测到的温度数据通过串行通信,发送至上位机实时显示,当温度超出设定警戒值时,由上位机发出指令信号给AT89S52单片机,控制警报动作。实验利用Simulink平台下Instrument Control Toolbox,控制可行且方便。
Matlab/Simulink as a powerful software to handle data, has already been used in various fields such as engineering calculation, control system design, digital signal processing. Pepole need tomonitor temperature in industrial control usually. This paper use AT89S52 as the core of the controller, build the modle of temperature monitor system in simulink platform. The real-time displaying oftemperature data which detected by DS18B20 was sended to simulink through serial communication. The instructions which control the alarm was sended to AT89S52 by simulink when the temperatureexceeded the alert value. The experiment use Instrument Control Toolbox under simulink platform. The control is feasible and convenient in this way.
出处
《煤矿机械》
北大核心
2012年第3期247-248,共2页
Coal Mine Machinery
关键词
SIMULINK
单片机
串行通信
温度监控
Simulink
single-chip microcomputer
serial communication
temperature monitor