摘要
为远程查看超市冷链的多路压力和电能表数据,并在冷链系统出现异常时能及时采取措施,设计了一种基于STM32的超市冷链监控报警系统;该系统通过压力采集电路将压力信号转变为电压信号,利用STM32单片机的ADC采集电压信号;通过RS485总线实现4路电能表数据的采集;通过继电器对现场设备的开关进行控制;STM32通过相关算法对采集到的数据进行处理,将结果显示在现场的TFTLCD显示器,方便现场工作人员的观察;GPRS模块将采集到的数据传送给上位机,使用户能够远程查看现场数据;数据异常时,用户可以收到报警短信,并通过回复短信对现场设备进行控制;实验表明,该系统测量准确,反应迅速,具有较强的实时性,且成本较低,有效减少了抄表人员的工作量,确保超市冷链系统的安全运行。
In order to view the multi-channel pressure and Watt-hour meter's data of a supermarket's cold chain remotely and take measures in time when the cold chain system is abnormal,a monitoring alarm system for supermarket's cold chain based on STM32 was designed.The system converted the pressure signal into voltage signal through the pressure acquisition circuit,and the voltage signal was collected by the ADC of the STM32 microcontroller;and the data of the 4 Watt-hour meter's data was collected by the RS485 bus.,besides the system controlled the switch of field equipment by relay.STM32 microcontroller dealt with the collected data through the relevant algorithm and the results would be shown on the TFTLCD monitor at the scene,which was convenient to observe for field staff.The GPRS module transmitted the collected data to the host computer,which enabled users to view field data remotely.When the data was abnormal,the user would receive alarm messages and could control the field device by replying to the messages.Experiments showed that the system measured accurately and responded quickly and had better real-time performance,besides the system had advantage of low cost and reduced the workload of meter readers effectively,which ensured the safe operation of supermarket's cold chain system.
作者
高奎
李慧敏
Gao Kui, Li Huimin(College of Mechanical Engineering, Donghua University, Shanghai 201620, Chin)
出处
《计算机测量与控制》
2018年第5期93-96,共4页
Computer Measurement &Control