A gateway device of CANOPEN RS485. The main processor of ZYNQ includes two parts: the processing system PS and the programmable logic PL. The processing system PS and the programmable logic PL are connected by AXI4 bus. The processing system PS includes the processor, the DDR Controller controller connecting the storage circuit and the MIO interface. The programmable logic PL includes the FPGA. Part register, data processing and storage unit, data flow control unit and CANOPEN protocol stack unit; CANOPEN control module connects CANOPEN transceiver module, CANOPEN transceiver module connects CANOPEN interface. The utility model adopts the general-purpose FPGA chip ZYNQ as the main processor, and the hardware and software are designed in coordination. The device has compact structure, strong anti-interference ability, high reliability, and is suitable for the bad environment of train operation; realizes parallel operation and improves the speed of data conversion; and realizes various types of aggregation by different configurations of hardware through hardware description language. Line data exchange; also has CANOPEN and RS485 communication functions, hardware and software can be upgraded and maintained online.
【技术实现步骤摘要】
一种CANOPEN-RS485的网关设备
本技术涉及现场总线网络控制
,尤其涉及一种用于不同网络之间的数据转换装置。
技术介绍
现有的列车通信总线主要有MVB、CANOPEN、RS485和WORLDFIP等,而在一列车只能存在一种通信总线,对应不同总线类型的设备就需要通过网关进行数据转换。现阶段CANOPEN-RS485网关一般采用一块主板上集成CPU控制器、RS485专用接口模块、CANOPEN通信接口模块和其他通用电路,主板内嵌CANOPEN协议栈软件包。现有CANOPEN-RS485网关,虽可以进行两种数据交换,但网关只能实现CANOPEN主站或从站单一功能,不能进行人为配置成主站网关或从站网关;而且所有模块采用专用集成IC,不便于灵活配置和升级;通过软件的方法实现通信数据转换,转换速度受CPU运行速度限制。
技术实现思路
为了解决现有CANOPEN-RS485网关存在的上述问题,本技术提供了一种基于ZYNQ的硬件设计的CANOPEN-RS485的网关设备。本技术为实现上述目的所采用的技术方案是:一种CANOPEN-RS485的网关设备,包括ZYNQ主处理器,ZYNQ主处理器包括处理系统PS和可编程逻辑PL两部分,处理系统PS和可编程逻辑PL两部分通过AXI4总线相连,处理系统PS包括处理器、连接存储电路的DDRController控制器和MIO接口,MIO接口包括与以太网接口电路相连的ENET接口、与RS485接口电路相连的UART接口和与CANOPEN控制模块相连的CAN接口;可编程逻辑PL包括FPGA内部寄存器、数据处理及存储单元、数据流控制单元 ...
【技术保护点】
1.一种CANOPEN‑RS485的网关设备,其特征在于:包括ZYNQ主处理器,ZYNQ主处理器包括处理系统(PS)和可编程逻辑(PL)两部分,处理系统(PS)和可编程逻辑(PL)两部分通过AXI4总线相连,处理系统(PS)包括处理器、连接存储电路的DDR Controller控制器和MIO接口,MIO接口包括与以太网接口电路相连的ENET接口、与RS485接口电路相连的UART接口和与CANOPEN控制模块相连的CAN接口;可编程逻辑(PL)包括FPGA内部寄存器、数据处理及存储单元、数据流控制单元和CANOPEN协议栈单元;CANOPEN控制模块连接CANOPEN收发模块,CANOPEN收发模块与CANOPEN接口连接。
【技术特征摘要】
1.一种CANOPEN-RS485的网关设备,其特征在于:包括ZYNQ主处理器,ZYNQ主处理器包括处理系统(PS)和可编程逻辑(PL)两部分,处理系统(PS)和可编程逻辑(PL)两部分通过AXI4总线相连,处理系统(PS)包括处理器、连接存储电路的DDRController控制器和MIO接口,MIO接口包括与以太网接口电路相连的ENET接口、与RS485接口电路相连的UART接口和与CANOPEN控制模块相连的CAN接口;可编程...
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。