Real-time Ethernet cross-protocol transmission system and transmission method
By adopting a single-chip design and real-time Ethernet core network in the airborne control system, the protocol conversion of multi-protocol data is solved, and the complexity and timeliness of data transmission caused by inconsistent protocols in the existing technology is solved, and efficient and flexible data transmission.
Patent Information
- Application Number
- CN202411603278.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-11
- Publication Date
- 2025-02-18
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the existing airborne control system, the information and communication protocols of each terminal are not unified, resulting in the need for multiple conversions of data, which increases the system complexity and transmission timeliness, and makes it impossible to conduct efficient and flexibly commands and data transmission.
It adopts a single-chip integrated design, uses real-time Ethernet as the core network, introduces data from multiple protocols through protocol conversion, reduces the number and type of conversion devices of protocol terminals, and realizes the conversion of CAN, serial port, 1553B protocol and Ethernet protocol.
It reduces the risk of instability of system-integrated network communication and the additional adaptation workload, improves the timeliness of terminal data, and realizes efficient and flexible control system instructions and data transmission.
Smart Images

Figure CN119484660A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of digital communications and relates to a real-time Ethernet cross-protocol transmission system and a transmission method. Background Art
[0002] As a new generation of standard Ethernet technology, real-time Ethernet conforms to the standard Ethernet architecture and has precise time synchronization and traffic scheduling capabilities. It can ensure high-quality transmission of multiple business flows on the same network. It has both technical and cost advantages and is compatible and interoperable with standard Ethernet. Its high speed and deterministic advantages make real-time Ethernet gradually become the preferred choice in the field of modern communication control.
[0003] In common airborne systems, the information communication protocols of various terminals are not unified. There are low-speed transmission protocols such as CAN, serial port and 1553B. If the terminal data needs to be connected to a high-speed bus network, one or more data conversions are required. At the same time, the diversity of protocol types has led to an increase in the number and types of intermediate conversion devices, which has increased the complexity of the entire airborne system and reduced the timeliness of the terminal data being received by other devices, making it impossible to efficiently and flexibly transmit commands and data for the airborne control system. Summary of the invention
[0004] (I) Purpose of the invention
[0005] The purpose of the present invention is to provide a real-time Ethernet cross-protocol transmission system and transmission method for the communication needs of the existing airborne control system. The method adopts a single chip (including but not limited to FPGA, SoC, SIP and other forms) integrated design, with real-time Ethernet as the core network, and the data of multiple protocols are introduced into the real-time Ethernet through protocol conversion, reducing the number and type of conversion equipment required for terminals of different protocols, and at the same time reducing the risk of unstable network communication and additional adaptation workload of system integration; the CAN network can be virtual address correspondence, CAN nodes and Ethernet nodes are homogenized, and CAN nodes can be equivalent to virtual Ethernet nodes on the network to communicate with each other. As for serial port and 1553B terminal devices; the present invention can encapsulate the terminal data of the low-speed network and send and receive it in the core network in the frame format of real-time Ethernet.
[0006] (II) Technical solution
[0007] In order to solve the above technical problems, the present invention provides a real-time Ethernet cross-protocol transmission system, which includes: an embedded processor, an AXI bus, a PHY controller, a real-time Ethernet module, a serial port controller, a 1553B controller, and a CAN and Ethernet protocol conversion module; the embedded processor initializes and configures the PHY controller, the real-time Ethernet module, the serial port controller, the 1553B controller, and the CAN and Ethernet protocol conversion module through the AXI bus to ensure that each module controller communicates normally with the corresponding external interface.
[0008] Furthermore, the PHY controller completes the configuration of the Ethernet PHY module outside the chip, completes the startup and linking of the PHY, and enables the MAC interface of the real-time Ethernet module to establish a communication channel with the external PHY.
[0009] Furthermore, the real-time Ethernet module completes the time synchronization and traffic scheduling functions, completes the implementation of the real-time Ethernet protocol and the data receiving and sending functions, and the external interfaces include GMII, RGMII, and SMII.
[0010] Furthermore, the serial port controller responds to external data input and the sending instructions of the embedded processor in real time, and completes the data parsing and data receiving and sending functions of the serial port protocol.
[0011] Furthermore, the 1553B controller responds to external data input and the sending instructions of the embedded processor in real time, completing the data parsing and data receiving and sending functions of the 1553B protocol.
[0012] Furthermore, the CAN and Ethernet protocol conversion module completes the mutual conversion between the CAN bus protocol and the Ethernet protocol, and completes the CAN protocol to real-time Ethernet data transmission function.
[0013] The present invention also provides a real-time Ethernet cross-protocol transmission method, which comprises the following steps:
[0014] Step 1: Initialization
[0015] The embedded processor sends instructions through the AXI bus to complete the initialization configuration of the PHY controller, real-time Ethernet module, serial port controller, 1553B controller, CAN and Ethernet protocol conversion module to ensure that each module controller communicates normally with the corresponding external interface;
[0016] Step 2: Establish a real-time Ethernet interface communication channel
[0017] The PHY controller sends a start link command to the external Ethernet PHY of the chip, so that the MAC interface of the real-time Ethernet module establishes a communication channel with the external PHY;
[0018] Step 3: Cross-protocol data conversion
[0019] The external serial port, 1553B, and CAN protocol terminals send data, which is converted into real-time Ethernet data through the protocol conversion function and sent to the real-time Ethernet module;
[0020] Step 4: Complete real-time Ethernet data transmission
[0021] The real-time Ethernet module sends the converted real-time Ethernet data to the external device through the MAC interface.
[0022] Furthermore, in step 3, the process of serial port protocol data conversion is as follows: the serial port protocol data is received into the embedded processor through the serial port controller, the corresponding protocol payload is parsed and repackaged by the embedded processor, converted into real-time Ethernet data, and sent to the real-time Ethernet module through the AXI bus.
[0023] Furthermore, in step 3, the process of 1553B protocol data conversion is as follows: the 1553B protocol data is received into the embedded processor through the 1553B controller, the corresponding protocol payload is parsed and repackaged by the embedded processor, converted into real-time Ethernet data, and sent to the real-time Ethernet module through the AXI bus.
[0024] Furthermore, in step 3, the process of CAN protocol data conversion is as follows: the CAN protocol data passes through the CAN and Ethernet protocol conversion module to complete the mutual conversion between the CAN bus protocol and the Ethernet protocol, and is converted into the frame format of the Ethernet message.
[0025] (III) Beneficial effects
[0026] The real-time Ethernet cross-protocol transmission system and transmission method provided by the above technical solution have single-chip device integration and low power consumption, which meet the miniaturization requirements of airborne systems; reduce the number and type of conversion devices required for terminals with different protocols, which can reduce the risk of unstable network communication in system integration and the workload of additional adaptation; improve the timeliness of terminal data received by other devices; and can efficiently and flexibly transmit control system commands and data. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 It is a principle block diagram of the real-time Ethernet cross-protocol transmission system of the present invention.
[0028] Figure 2 It is the frame format of the serial port to Ethernet message.
[0029] Figure 3 It is the frame format of 1553B to Ethernet message.
[0030] Figure 4 It is the frame format of CAN to Ethernet message. DETAILED DESCRIPTION
[0031] In order to make the purpose, content and advantages of the present invention more clear, the specific implementation methods of the present invention are further described in detail below in conjunction with the drawings and examples.
[0032] As attached Figure 1 As shown, the real-time Ethernet cross-protocol transmission system of this embodiment includes an embedded processor, an AXI bus, a PHY controller, a real-time Ethernet module, a serial port controller, a 1553B controller, and a CAN and Ethernet protocol conversion module; the embedded processor initializes and configures the PHY controller, the real-time Ethernet module, the serial port controller, the 1553B controller, and the CAN and Ethernet protocol conversion module through the AXI bus to ensure that each module controller communicates normally with the corresponding external interface.
[0033] The PHY controller completes the configuration of the external Ethernet PHY module of the chip, completes the startup and link work of the PHY, and enables the MAC interface of the real-time Ethernet module to establish a communication channel with the external PHY.
[0034] The real-time Ethernet module completes the time synchronization and traffic scheduling functions, implements the real-time Ethernet protocol and the data receiving and sending functions. The external interfaces include but are not limited to GMII, RGMII, SMII, etc.
[0035] The serial port controller responds to external data input and the sending instructions of the embedded processor in real time, completing the data parsing and data receiving and sending functions of the serial port protocol.
[0036] The 1553B controller responds to external data input and the instructions sent by the embedded processor in real time, completing the data parsing and data receiving and sending functions of the 1553B protocol.
[0037] The CAN and Ethernet protocol conversion module completes the mutual conversion between the CAN bus protocol and the Ethernet protocol, and completes the CAN protocol to real-time Ethernet data transmission function.
[0038] The real-time Ethernet cross-protocol transmission method of this embodiment includes the following steps:
[0039] Step 1: Initialization.
[0040] The embedded processor sends instructions through the AXI bus to complete the initialization configuration of the PHY controller, real-time Ethernet module, serial port controller, 1553B controller, CAN and Ethernet protocol conversion module to ensure that each module controller communicates normally with the corresponding external interface;
[0041] Step 2: Establish a real-time Ethernet interface communication channel.
[0042] The PHY controller sends a start link command to the external Ethernet PHY of the chip, so that the MAC interface of the real-time Ethernet module can establish a communication channel with the external PHY;
[0043] Step 3: Cross-protocol data conversion.
[0044] External terminals with different protocols (including serial ports, 1553B, CAN and other terminals) send data, which is converted into real-time Ethernet data by the protocol conversion function of the present invention and sent to the real-time Ethernet module;
[0045] Among them, serial port protocol conversion: serial port protocol data is received by the serial port controller into the embedded processor, and the corresponding protocol payload is parsed and repackaged by the embedded processor, converted into real-time Ethernet data, and sent to the real-time Ethernet module through the AXI bus. The forwarding frame format of data and Ethernet data is as follows Figure 2 shown.
[0046] 1553B protocol conversion: 1553B protocol data is received by the embedded processor through the 1553B controller, and the corresponding protocol payload is parsed and repackaged by the embedded processor, converted into real-time Ethernet data, and sent to the real-time Ethernet module through the AXI bus. The forwarding frame format of data and Ethernet data is as follows Figure 3 shown.
[0047] CAN protocol conversion: CAN protocol data is converted to the Ethernet protocol frame format through the CAN and Ethernet protocol conversion module to complete the conversion between the CAN bus protocol and the Ethernet protocol. Figure 4 When an Ethernet node sends a message to a CAN node, the message also needs to be encapsulated according to the frame format.
[0048] The CAN ID, CAN DLC and CAN DATA contain the information of the CAN message. For specific information, please see Table 1, Table 2, Table 3 and Table 4.
[0049] The sending order of CAN ID, CAN DLC, and CAN DATA is: send the low byte first and then the high byte, that is, send Bits7:0 first. The CAN message received by the receiver needs to be parsed according to this format description. The instructions sent to the CAN node also need to be encapsulated according to this format description.
[0050] The MAC address and IP address in the Ethernet message are obtained by mapping the TARGETID and SOURCE ID in the CAN message.
[0051] Table 1 CAN2.0 extended frame CANID description
[0052]
[0053] Table 2 CAN2.0 standard frame CAN ID description
[0054]
[0055] Table 3 CAN DLC Description
[0056] Bits Name Description 31:28 DLC DLC, fixed at 8 27:0 Reserved Reserved bit, fixed value 0
[0057] Table 4 CAN DATA Description
[0058] Bits Name Description 64:56 Byte7 CAN data payload Byte7 55:48 Byte6 CAN data payload Byte6 47:40 Byte5 CAN data payload Byte5 39:32 Byte4 CAN data payload Byte4 31:24 Byte3 CAN data payload Byte3 23:16 Byte2 CAN data payload Byte2 15:8 Byte1 CAN data payload Byte1 7:0 Byte0 CAN data payload Byte0
[0059] Step 4: Complete the real-time Ethernet data transmission. The real-time Ethernet module sends the converted real-time Ethernet data to the external device through the MAC interface (including but not limited to GMII, RGMII, SMII and other interfaces).
[0060] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A real-time Ethernet cross-protocol transmission system, characterized in that: include: Including embedded processor, AXI bus, PHY controller, real-time Ethernet module, serial port controller, 1553B controller, CAN and Ethernet protocol conversion module; The embedded processor initializes and configures the PHY controller, real-time Ethernet module, serial port controller, 1553B controller, CAN and Ethernet protocol conversion module through the AXI bus to ensure that each module controller communicates normally with the corresponding external interface.
2. The real-time Ethernet cross-protocol transmission system according to claim 1, characterized in that: The PHY controller completes the configuration of the external Ethernet PHY module of the chip, completes the startup and link work of the PHY, and enables the MAC interface of the real-time Ethernet module to establish a communication channel with the external PHY.
3. The real-time Ethernet cross-protocol transmission system according to claim 2, characterized in that: The real-time Ethernet module completes the time synchronization and traffic scheduling functions, implements the real-time Ethernet protocol and the data receiving and sending functions. The external interfaces include GMII, RGMII, and SMII.
4. The real-time Ethernet cross-protocol transmission system according to claim 3, characterized in that: The serial port controller responds to external data input and the sending instructions of the embedded processor in real time, completing the data parsing and data receiving and sending functions of the serial port protocol.
5. The real-time Ethernet cross-protocol transmission system according to claim 4, characterized in that: The 1553B controller responds to external data input and the instructions sent by the embedded processor in real time, completing the data parsing and data receiving and sending functions of the 1553B protocol.
6. The real-time Ethernet cross-protocol transmission system according to claim 5, characterized in that: The CAN and Ethernet protocol conversion module completes the mutual conversion between the CAN bus protocol and the Ethernet protocol, and completes the CAN protocol to real-time Ethernet data transmission function.
7. A real-time Ethernet cross-protocol transmission method, characterized in that: The following steps are involved: Step 1: Initialization The embedded processor sends instructions through the AXI bus to complete the initialization configuration of the PHY controller, real-time Ethernet module, serial port controller, 1553B controller, CAN and Ethernet protocol conversion module to ensure that each module controller communicates normally with the corresponding external interface; Step 2: Establish a real-time Ethernet interface communication channel The PHY controller sends a start link command to the external Ethernet PHY of the chip, so that the MAC interface of the real-time Ethernet module establishes a communication channel with the external PHY; Step 3: Cross-protocol data conversion The external serial port, 1553B, and CAN protocol terminals send data, which is converted into real-time Ethernet data through the protocol conversion function and sent to the real-time Ethernet module; Step 4: Complete real-time Ethernet data transmission The real-time Ethernet module sends the converted real-time Ethernet data to the external device through the MAC interface.
8. The real-time Ethernet cross-protocol transmission method according to claim 7, characterized in that: In step 3, the process of serial port protocol data conversion is as follows: the serial port protocol data is received by the serial port controller into the embedded processor, the corresponding protocol payload is parsed and repackaged by the embedded processor, converted into real-time Ethernet data, and sent to the real-time Ethernet module through the AXI bus.
9. The real-time Ethernet cross-protocol transmission method according to claim 8, characterized in that: In step 3, the process of 1553B protocol data conversion is as follows: the 1553B protocol data is received by the 1553B controller into the embedded processor, the corresponding protocol payload is parsed and repackaged by the embedded processor, converted into real-time Ethernet data, and sent to the real-time Ethernet module via the AXI bus.
10. The real-time Ethernet cross-protocol transmission method according to claim 9, characterized in that: In step 3, the process of CAN protocol data conversion is as follows: CAN protocol data passes through the CAN and Ethernet protocol conversion module to complete the mutual conversion between the CAN bus protocol and the Ethernet protocol, and is converted into the frame format of the Ethernet message.
Citation Information
Patent Citations
3UCPCI multifunctional one-board computer
CN103869888A
Ethernet and serial port / CAN protocol conversion device based on STM32
CN105978778A
Conversion device of Ethernet and optical fiber bus
CN216901377U
Intelligent protocol converter
CN217590847U