摘要
针对船舶燃机监控系统的CAN总线数据通信需求,设计了一种多通道CAN总线通讯模块;该方案采用M模块标准设计,使用4片独立的CAN控制器和CAN隔离收发器实现CAN节点电路、4通道CAN通讯控制和信号电气隔离;通过可编程逻辑器件CPLD以及硬件描述语言VerilogHDL,实现了M模块接口和4通道CAN总线接口的转换;在硬件设计的基础上,进行了CAN总线通信程序设计;经测试和应用结果表明,本模块能够实现4通道CAN总线大量数据通信,满足了设计需求,具有很好的应用前景。
Aiming at CAN bus communication requirement within a gas turbine monitoring system, this article introduces the design of a multi-channel CAN bus communication M-Module. The design is based on M-Module standard, using four CAN controllers and four iso lated CAN transceivers to achieve 4-channel CAN communication control and electrical isolation. The module adopts a CPLD with VerilogHDL firmware to achieve the conversion of M Module interface and CAN controller interface. A set of test software is developed with C language to realize CAN bus communication control by PC. The experimental results show that this module can realize communication of large amounts of 4 channel CAN data, which meets the design requirement. It can he seen that this M-Module has a good application pros pect.
出处
《计算机测量与控制》
2017年第9期118-122,共5页
Computer Measurement &Control