摘要
为了实时监控地铁设备的工作状态,设计了HDLC/UART通信网关,并通过UART接口与监控系统相连。监控系统通过通信网关与设备进行通信,并以可视化的方式实时显示出设备的工作状态。该文分析了HDLC协议的帧结构和特点,设计了以STC89C52单片机为核心的硬件电路,完成了软件编程,并为监控系统编写了上位机程序。在地铁上验证设计的通信网关运行可靠。
To monitor the equipments on subway, this paper designed HDLC/UART communication gateway, and connected the gateway with the monitor system by using UART interface. The monitoring system communicated with equipments by communication gateway, and the results of monitoring can be displayed visually. This paper analyzed the structures and the characteristics of HDLC protocol, then de- signed the hardware part based on STC89C52 SCM, and wrote the software of gateway and monitoring sys- tem. All the hardware and softwar performed quite well in the test implying on the subway.
出处
《工业仪表与自动化装置》
2013年第4期21-25,55,共6页
Industrial Instrumentation & Automation
基金
国家自然科学基金项目(61104001)
山东省高等学校科技计划项目(J10LG12)
山东省自然科学基金项目(ZR2010FM024)
青岛市科技发展计划项目(12-1-4-2-(3)-jch)