Multi-communication protocol data fusion device
By designing a multi-communication protocol data fusion device, using microcontroller units and multiple protocol modules to realize data communication between different devices, the problem of inconsistent device interfaces and inconsistent protocols in the digital transformation of railway locomotives is solved, and the functions of multi-protocol conversion and data fusion are realized.
Patent Information
- Application Number
- CN202411951140.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-04-25
AI Technical Summary
In the digital transformation of railway locomotives, the interfaces of user equipment are not unified and the protocols are inconsistent, making it difficult to achieve data communication between different equipment.
A multi-communication protocol data fusion device is designed, including a microcontroller unit, a high-speed one-to-multi-channel analog switch switching module, RS232, RS485, RS422, CAN module and a high-speed one-to-two-channel analog switch switching module, through which the conversion and data fusion of multiple protocols are realized.
It supports the output of multiple communication protocols and the input of two protocols. There are few interfaces and the input and output channels can be selected through the high-speed multi-channel analog switch switching module. The channel and data protocol can be selected through the upper computer configuration parameters, and can adapt to the wide voltage input range DC40V~DC160V.
Smart Images

Figure CN119872636A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a multi-communication protocol data fusion device. Background Art
[0002] At present, the digital transformation of railway locomotives must not only support the original old equipment bus protocol, but also be able to access new equipment and new protocols, so as to achieve a smooth upgrade and replacement of equipment functions and achieve efficient transformation results. However, the interfaces of user devices are usually not unified and the protocols are inconsistent. The railway communication network is the carrier network for railway transportation services, meeting the networking needs of various professional users of the railway. The interfaces of various user devices to access the network are not the same, and the interface protocols are not unified, which requires processing of multiple protocols to meet the data communication between different devices.
[0003] From the network topology diagram of the existing locomotive, it can be seen that the communication protocol of some sub-devices is non-MVB protocol, and it is necessary to integrate other non-MVB (Ethernet) protocols (such as CAN, RS232, RS485, etc.). Without optimizing the non-MVB (Ethernet) protocol sub-devices, it is necessary to propose a design for integrating multi-communication protocol data. Summary of the invention
[0004] The present invention aims to solve the above-mentioned defects and provides a multi-communication protocol data fusion device.
[0005] In order to overcome the defects in the background technology, the technical solution adopted by the present invention to solve the technical problem is: a multi-communication protocol data fusion device, including a microcontroller unit, connected in parallel with a high-speed one-to-multi-way analog switch switching module, an RS232 module, an RS485 module, an RS422 module, a CAN module and a high-speed one-to-two-way analog switch switching module through wiring, the high-speed one-to-multi-way analog switch switching module is connected in parallel with the RS232 module, the RS485 module, the RS422 module, the CAN module and the signal input terminal respectively through wiring, the high-speed one-to-two-way analog switch switching module is connected in parallel with the TRDP module and the MVB module through wiring, and the TRDP module and the MVB module are connected correspondingly with the Ethernet port and the MVB port through wiring; The DCDC power switching module is connected in parallel with a high-speed one-to-multi-way analog switch switching module, an RS232 module, an RS485 module, an RS422 module, a CAN module, a high-speed one-to-two-way analog switch switching module, a microcontroller unit, a TRDP module, an MVB module, and a DC power input terminal through wiring; The microcontroller unit is connected to the program download port through wiring.
[0006] A further improvement includes that the microcontroller unit includes a CPU and an EEPROM memory, the CPU is connected to the EEPROM memory through wiring, and the EEPROM memory is connected to the DCDC power switching module through wiring.
[0007] A further improvement includes connecting an RS232 module in series between the microcontroller unit and the program download port, and the RS232 module is connected to the DCDC power switching module through wiring.
[0008] A further improvement includes that the wide voltage range of the DC power input terminal is DC40V~DC160V.
[0009] The beneficial effects of the present invention are: the present invention supports the output of multiple communication protocols and the input of two protocols, has few interfaces and the input and output channels are selected through a high-speed multi-channel analog switch switching module, the channels can be selected through the configuration parameters of the host computer, the data protocol to be integrated can be selected, and the wide voltage input range is DC40V~DC160V. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] The present invention is further described below in conjunction with the accompanying drawings and embodiments.
[0011] Figure 1 is a system hardware block diagram of the present invention; Figure 2 is an application flow chart of the present invention; DETAILED DESCRIPTION
[0012] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0013] according to Figure 1As shown, a multi-communication protocol data fusion device includes a microcontroller unit (MCU), which is used to complete protocol conversion, data processing, channel switching, data reception and issuance, and is connected in parallel with a high-speed one-to-multi-way analog switch switching module, an RS232 module, an RS485 module, an RS422 module, a CAN module, and a high-speed one-to-two-way analog switch switching module through wiring, and the high-speed one-to-multi-way analog switch switching module is respectively connected in parallel with the RS232 module, the RS485 module, the RS422 module, the CAN module, and the signal input terminal through wiring, and the high-speed one-to-two-way analog switch switching module is connected in parallel with the TRDP module and the MVB module through wiring, and the MVB module is connected in series with the MVB port through a signal line, and then mounted to the MVB network, so as to realize the conversion between the serial port protocol and the MVB protocol, and the TRDP module is connected in series with the Ethernet port through a signal line, and then mounted to the BCN network, so as to realize the conversion between the serial port protocol and the TRDP protocol; The configuration parameters control the input signal to switch to the RS232 module, RS485 module, RS422 module, and CAN module through a high-speed one-to-multi-way analog switch switching module, and at the same time control the output signal channel to select the MVB module or the TRDP module through a high-speed one-to-two-way analog switch switching. This design configures the corresponding parameters through the host computer. After receiving the configuration parameters, the microcontroller unit selects the corresponding input and output hardware channels, and then initializes the corresponding peripherals according to the hardware channel selection configuration parameters, calls the matching data parsing program, and waits for data to be received and sent.
[0014] The DCDC power switching module is connected in parallel with the high-speed one-to-multi-way analog switch switching module, RS232 module, RS485 module, RS422 module, CAN module, high-speed one-to-two-way analog switch switching module, microcontroller unit, TRDP module, MVB module, and DC power input terminal through wiring. A wide voltage is input to the DC power input terminal to provide working power for the entire system. The input voltage range is: DC40V~DC160V. The microcontroller unit is connected to the program download port through wiring, and the program download port is used to connect to the host computer. The host computer configures corresponding parameters and inputs them into the microcontroller unit.
[0015] The microcontroller unit includes a central processing unit (CPU) and an EEPROM memory, wherein the CPU is connected to the EEPROM memory via wiring, and the EEPROM memory is connected to a DCDC power switching module via wiring for power supply, wherein the EEPROM memory is used to store data and save parameters configured by the host computer.
[0016] An RS232 module is connected in series between the microcontroller unit and the program download port, and the RS232 module is connected to the DCDC power switching module through wiring. After the host computer configures the parameters, the program is downloaded through the RS232 module. After receiving the configuration parameters, the microcontroller unit selects the corresponding input and output hardware channels and selects the corresponding data parsing program to complete data reception and transmission.
[0017] according to Figure 2 As shown, the program operation process is divided into two parts: 1. Power-on initialization; 2. After the initialization is completed, the system runs normally; Power-on initialization phase: After the system is powered on, it will query the channel configuration parameters saved in the flash (input channel selection (RS232 module, RS422 module, RS485 module, CAN module), output channel selection (TRDP module, MVB module); According to the channel configuration parameters, switch the corresponding hardware circuit and data analysis program; For example: if the input channel selects the RS232 module and the output channel selects the TRDP module, then the input hardware circuit channel switches to the RS232 hardware channel, the input data parsing program calls the RS232 data parsing program, the output hardware circuit channel switches to the TRDP hardware circuit, and the output data parsing program calls the TRDP data parsing program; After the input and output paths are configured, the data received by the input and output channels are parsed and forwarded according to the configured operation.
[0018] Normal system operation stage: After the initialization is completed, the system runs normally. The system runs in the original parameter configuration mode. After receiving the configuration command transmitted by the parameter configuration tool, it responds to the parameter (channel configuration, baud rate and other parameter configuration) configuration program and then saves the configuration parameters; For example: in the original input channel selection RS232 module, output channel selection TRDP mode, you need to switch to input channel CAN module, output channel TRDP mode, then the input hardware circuit channel is switched from RS232 hardware channel to CAN hardware channel, the input data parsing program calls the CAN data parsing program, and the output data parsing program continues to call the TRDP data parsing program; Parse the data received by the input and output channels and forward them.
[0019] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A multi-communication protocol data fusion device, characterized in that: Including a microcontroller unit, which is connected in parallel with a high-speed one-to-multi-way analog switch switching module, an RS232 module, an RS485 module, an RS422 module, a CAN module and a high-speed one-to-two-way analog switch switching module through wiring, wherein the high-speed one-to-multi-way analog switch switching module is respectively connected in parallel with the RS232 module, the RS485 module, the RS422 module, the CAN module and the signal input terminal through wiring, wherein the high-speed one-to-two-way analog switch switching module is connected in parallel with the TRDP module and the MVB module through wiring, and the TRDP module and the MVB module are connected correspondingly with the Ethernet port and the MVB port through wiring; The DCDC power switching module is connected in parallel with a high-speed one-to-multi-way analog switch switching module, an RS232 module, an RS485 module, an RS422 module, a CAN module, a high-speed one-to-two-way analog switch switching module, a microcontroller unit, a TRDP module, an MVB module, and a DC power input terminal through wiring; The microcontroller unit is connected to the program download port through wiring.
2. A multi-communication protocol data fusion device as claimed in claim 1, characterized in that: The microcontroller unit includes a CPU and an EEPROM memory, wherein the CPU is connected to the EEPROM memory through wiring, and the EEPROM memory is connected to a DCDC power supply switching module through wiring.
3. A multi-communication protocol data fusion device as claimed in claim 1, characterized in that: An RS232 module is connected in series between the microcontroller unit and the program download port, and the RS232 module is connected to the DCDC power switching module through wiring.
4. A multi-communication protocol data fusion device as claimed in any one of claims 1 to 3, characterized in that: The wide voltage range of the DC power input terminal is DC40V~DC160V.
Citation Information
Cited By
Communication physical link multi-protocol sharing method during parallel operation of energy storage converters
CN121644701A