摘要
针对采用CAN总线的城轨列车通信系统实时监控,本文基于UART协议和CAN总线协议设计了CAN/UART协议转换器,并通过RS232接口与监控系统相连。监控系统通过协议转换器实现对城轨列车通信系统的参数配置和实时监控,并以可视化的方式显示监控结果;同时分析了CAN2.0协议、CANopen协议和UART协议的结构特点,设计了以Freescale MC9S12XDP512单片机为核心的协议转换器硬件电路,完成了软件编程。实验结果表明,本设计通过RS232接口与监控系统相连,完成了CAN总线与RS232接口设备的数据通信,解析了设备的状态信息,最终实现了对城轨列车通信系统的实时监控功能。
In order to monitor the communication system with CAN-BUS of the intercity train, this paper designs CAN/UART converter based on UART and HDLC, and connects the converter with the monitoring system by using RS232 interface. The monitoring system can set the parameters of the intercity train 's communication system through the protocol converter immediately, and the results of monitoring can be displayed visually. This paper analyzes the structures and the characteristics of CAN2.0, CANopen and UART, designing the hardware part of the CAN/UART converter, which is based on Freescale MC9S12XDP512 SCM, writing the software program in the converter and the monitor software program on PC. The experimental results show that the design connects the converter with the monitoring system by using RS232 interface, completing the communication between CAN-BUS and devices using RS232 interface, parsing the status information of devices. Finally, the target to monitor the intercity train's communication system is realized.
出处
《青岛大学学报(工程技术版)》
CAS
2013年第2期38-43,共6页
Journal of Qingdao University(Engineering & Technology Edition)