Communication protocol conversion board and train control system

By employing two CAN interfaces and one Ethernet interface in the communication protocol conversion board, combined with the data conversion and caching of the main control logic module, the problems of excessive network resource consumption and non-real-time data transmission are solved, achieving efficient, real-time transmission of track circuit status data and cost savings.

CN224178183UActive Publication Date: 2026-04-28BEIJING JIAODA MICROUNION TECH
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
BEIJING JIAODA MICROUNION TECH
Filing Date
2025-04-08
Publication Date
2026-04-28

AI Technical Summary

Technical Problem

Existing communication protocol conversion boards in railway communications suffer from problems such as excessive network resource consumption and unreal-time data transmission of track circuit status.

Method used

Design a communication protocol conversion board with two CAN interfaces and one Ethernet interface. Data conversion and caching are achieved through the main control logic module, which reduces the network resource occupation of the train control main control module and improves the real-time response of track circuit status data.

Benefits of technology

It achieves efficient transmission and real-time response of track circuit status data, saves network resources of the train control main control module, and reduces equipment costs and layout space requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224178183U_ABST
    Figure CN224178183U_ABST
Patent Text Reader

Abstract

The utility model discloses a communication protocol conversion board and a train control system, and the communication protocol conversion board comprises an Ethernet communication interface module which receives coded data transmitted by a train control master control module through an Ethernet interface and uploads track circuit state data to the train control master control module; the CAN communication interface module is used for acquiring CAN data of two CAN buses of the track circuit equipment through two CAN interfaces and sending two pieces of state inquiry data to the track circuit equipment; the main control logic module is used for receiving the coded data, generating two identical state inquiry data according to the coded data, sending the two identical state inquiry data to the CAN communication interface module, converting the received first CAN data and second CAN data into track circuit state data, storing the track circuit state data in a first buffer, and sending the track circuit state data to a second buffer when the coded data is received in the next period; and sending the track circuit state data stored in the first buffer to a train control master control module. According to the invention, network port resources of the train control master control module can be saved, and the real-time performance and the high efficiency of track circuit state data response are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of train control and information interaction, and in particular relates to a communication protocol conversion board and a train control system. Background Technology

[0002] As a crucial ground-based device within the CTCS (Chinese Train Control System) Level 2 train control system, the train control center system provides onboard ATP (Automatic Train Protection) with messages and codes, ensuring safe operation of high-speed railways. The train control center system comprehensively processes information such as train routes and track section status, and through communication with track circuit equipment, it performs carrier frequency and low-frequency information encoding functions for track circuits within stations and sections, controlling the coding direction of the track circuits. Currently, the most widely used track circuit equipment in railways is the ZPW2000 type track circuit, whose external data exchange interface is a CAN (Controller Area Network) communication interface. Currently, commercial Ethernet-CAN conversion boards (communication protocol conversion boards) still have many problems, such as: Figure 1 As shown, to ensure the reliability of the collected circuit status data of the track power equipment, two CAN buses are typically used for data acquisition. Figure 1 The circuit status data of the two CAN buses (CANA and CANB) is then converted by two communication protocol conversion boards and sent to the train control master module. At this time, each train control master module needs to provide two network ports (Ethernet interfaces) to match the two communication protocol conversion boards in order to effectively receive the circuit status data. This makes the train control master module consume a lot of network resources and increase the load pressure on the train control master module. Furthermore, the current communication protocol conversion board can only complete the transmission of track circuit status data within one cycle. During this process, a long waiting time is required, which cannot guarantee the real-time performance and efficiency of data communication. Summary of the Invention

[0003] This application aims to address at least one of the technical problems existing in the related art. To this end, this application proposes a communication protocol conversion board and a train control system, which can save network port resources of the train control main control module and improve the real-time performance and efficiency of track circuit status data response.

[0004] In a first aspect, this application provides a communication protocol conversion board for data communication between the train control main control module and the track circuit equipment, including: a main control logic module, an Ethernet communication interface module and a CAN communication interface module;

[0005] The Ethernet communication interface module includes an Ethernet interface for connecting to the train control master module. The Ethernet interface is configured to receive coded data sent by the train control master module and upload track circuit status data of the track circuit equipment to the train control master module.

[0006] The CAN communication interface module includes a first CAN interface and a second CAN interface for connecting to the track circuit equipment. The first CAN interface is configured to acquire first CAN data from the first CAN bus of the track circuit equipment and send first status query data to the track circuit equipment. The first CAN data contains circuit status information of the first CAN bus. The second CAN interface is configured to acquire second CAN data from the second CAN bus of the track circuit equipment and send second status query data to the track circuit equipment. The second CAN data contains circuit status information of the second CAN bus.

[0007] The main control logic module is located in the middle of the communication protocol conversion board and is connected to the Ethernet communication interface module and the CAN communication interface module. It is configured to receive coded data transmitted by the Ethernet communication interface module, generate first status query data and second status query data according to the coded data, and send them to the CAN communication interface module. It is also configured to receive the first CAN data and the second CAN data, convert the first CAN data and the second CAN data into track circuit status data and store them in a first buffer, and send the track circuit status data stored in the first buffer to the train control main control module through the Ethernet communication interface module when the coded data is received in the next cycle.

[0008] In some embodiments, the size of the communication protocol conversion board matches the size of the chassis backplane of the train control main control module. The communication protocol conversion board also includes a power supply module electrically connected to the main control logic module, the Ethernet communication interface module and the CAN communication interface module respectively, for powering the communication protocol conversion board.

[0009] The power supply module includes a first power supply terminal located at the bottom of the communication protocol conversion board and matching the back plate of the chassis, and also includes a separate second power supply terminal.

[0010] In some embodiments, the main control logic module includes:

[0011] An Ethernet data receiving unit is configured to receive encoded data sent by the train control master module through the Ethernet communication interface module;

[0012] A total data length checking unit is configured to check the total length of the encoded data and obtain a first check result data, wherein the total length of the encoded data is greater than the frame header byte length of the encoded data and less than or equal to a preset maximum byte length.

[0013] A serial number checking unit is configured to count the first serial number in the received encoded data and compare the first serial number with a preset serial number carried in the encoded data to obtain second check result data.

[0014] The packet sequence number checking unit is configured to count the first packet sequence number of the target data packet in the encoded data, and compare the first packet sequence number with the preset packet sequence number of the target data packet to obtain the third check result data;

[0015] The CRC check unit is configured to calculate a first CRC value for each frequency shift cabinet coded data contained in the coded data, and compare each calculated first CRC value with a preset CRC check code corresponding to each frequency shift cabinet coded data to obtain a fourth check result data;

[0016] The total number of data packets checking unit is configured to count the total number of data packets of each target data packet in the encoded data, and compare the total number of data packets with a preset total number of data packets to obtain the fifth check result data;

[0017] The CAN conversion unit is configured to convert the encoded data into a first encoding instruction and a second encoding instruction of the CAN protocol when all the first to fifth inspection result data are passed, and to send the first encoding instruction to the track circuit device through the first CAN interface and the second encoding instruction through the second CAN interface;

[0018] The second buffer is configured to cache the corresponding error flag and feed it back to the train control master module when any of the first to fifth check result data fails.

[0019] In some embodiments, the CAN communication interface module includes:

[0020] The first CAN transceiver, corresponding to the first CAN interface, is configured to receive and send the first status query data to the first CAN bus, and to receive the first track circuit status data fed back by the first CAN bus through the first CAN interface in response to the first status query data.

[0021] The second CAN transceiver, corresponding to the second CAN interface, is configured to receive and send the second status query data to the second CAN bus, and to receive second track circuit status data in response to the second status query data fed back by the second CAN bus through the second CAN interface.

[0022] In some embodiments, the main control logic module further includes:

[0023] The packet assembly unit is configured to receive first CAN data sent through the first CAN transceiver via the first CAN interface and second CAN data sent through the second CAN transceiver via the second CAN interface. After adding a first data tag before the first CAN data and a second data tag before the second CAN data, the first data tag, the first CAN data, the second data tag, and the second CAN data are packetized into track circuit status data using the UDP protocol and stored in the first buffer.

[0024] The first buffer is configured to receive and buffer the track circuit status data sent by the packet unit, and to clear the track circuit status data after the track circuit status data is sent to the train control master module through the Ethernet interface.

[0025] In some embodiments, the CAN communication interface module further includes:

[0026] The CAN interface receive interrupt circuit is configured to disable the first CAN interface and the second CAN interface from continuing to receive CAN data when the main control logic module uploads the track circuit status data of the previous cycle cached in the first buffer to the train control main control module after receiving the encoded data, and to enable the first CAN interface and the second CAN interface to continue receiving CAN data after the track circuit status data is uploaded to the train control main control module, the first buffer is cleared, and the received CAN data of the first CAN interface and the second CAN interface is cleared.

[0027] In some embodiments, the Ethernet communication interface module further includes: a first Ethernet interface surge protection circuit connected to the transmitting end of the Ethernet interface and a second Ethernet interface surge protection circuit connected to the receiving end of the Ethernet interface.

[0028] The first Ethernet interface surge protection circuit includes a first gas overvoltage protector B4, a first overcurrent protector R58, a second overcurrent protector R59, and a first static diode ESD1. The first gas overvoltage protector B4 is connected in parallel to the positive and negative terminals of the transmitting end, and its third terminal is grounded. The first static diode ESD1 is connected in parallel to the positive and negative terminals of the transmitting end. The first overcurrent protector R58 is connected in series between the first terminal of the first gas overvoltage protector B4 and the second terminal of the first static diode ESD1. The second overcurrent protector R59 is connected in series between the second terminal of the first gas overvoltage protector B4 and the first terminal of the first static diode ESD1.

[0029] The second Ethernet interface surge protection circuit includes a second gas overvoltage protector B5, a third overcurrent protector R60, a fourth overcurrent protector R62, and a second static diode ESD2. The second gas overvoltage protector B5 is connected in parallel to the positive and negative terminals of the receiving end, and its third segment is grounded. The second static diode ESD2 is connected in parallel to the positive and negative terminals of the receiving end. The third overcurrent protector R60 is connected in series with the first terminal of the second gas overvoltage protector B5 and the second terminal of the second static diode ESD2. The fourth overcurrent protector R62 is connected in series with the second terminal of the second gas overvoltage protector B5 and the first terminal of the second static diode ESD2.

[0030] In some embodiments, the CAN communication interface module further includes two CAN interface surge protection circuits that are respectively connected to the positive and negative terminals of the first CAN interface and the second CAN interface.

[0031] The CAN interface surge protection circuit includes a first gas discharge tube T1, a third gas overpressure protector B2, a first low-capacitance semiconductor tube T2, a second low-capacitance semiconductor tube T3, a third low-capacitance semiconductor tube T4, a fifth overcurrent protection device R43, and a sixth overcurrent protection device R44.

[0032] The first gas discharge tube T1 and the third gas overpressure protector B2 are connected in parallel, and the third terminal of the third gas overpressure protector B2 is grounded to form a first-level protection circuit; the second low-capacitance semiconductor tube T3 and the third low-capacitance semiconductor tube T4 are connected in series and in parallel with the first low-capacitance semiconductor tube T2, and the connection terminal between the second low-capacitance semiconductor tube T3 and the third low-capacitance semiconductor tube T4 is grounded to form a second-level protection circuit; the fifth overcurrent protection device R43 and the sixth overcurrent protection device R44 are connected in series between the first-level protection circuit and the second-level protection circuit, respectively.

[0033] In some embodiments, the communication protocol conversion board further includes a voltage monitoring and reset module, which is electrically connected to the main control logic module and is used to monitor the real-time voltage of the main control logic module, and control the main control logic module to stop working and reset when the real-time voltage exceeds a preset voltage range.

[0034] Secondly, this application provides a train control system, characterized in that it includes: a train control main control module and the communication protocol conversion board described in the first aspect above. The communication protocol conversion board is connected to the train control main control module through its Ethernet interface and is connected to the track circuit equipment through its first CAN interface and second CAN interface, respectively, for realizing data communication between the train control main control module and the track circuit equipment.

[0035] The above-described one or more technical solutions in the embodiments of this application have at least the following technical effects:

[0036] The communication protocol conversion board provided in this application provides a solution by setting two CAN interfaces for the CAN communication interface module (i.e., a first CAN interface and a second CAN interface) and one Ethernet interface for the Ethernet communication interface module. In this way, data acquisition from the two CAN buses of the track circuit equipment can be achieved using only one communication protocol conversion board. Furthermore, the use of only one Ethernet interface avoids excessive occupation of the network port resources of the train control main control module and saves network resources of the train control main control module. Furthermore, while the hardware structure of the communication protocol conversion board was improved, the functions implemented by its main control logic module were also improved accordingly to adapt to the improved communication protocol conversion board structure. After receiving the encoded data sent by the train control master module through the Ethernet interface of the Ethernet communication interface module, the main control logic module generates first status query data and second status query data based on the encoded data and sends them to the CAN communication interface module. This allows the first CAN interface and the second CAN interface of the CAN communication interface module to send the first status query data and the second status query data to the track circuit equipment, respectively. At the same time, after receiving the first CAN data and the second CAN data collected by the first CAN interface and the second CAN interface of the CAN communication interface module, the main control logic module converts the first CAN data and the second CAN data into track circuit status data and stores them in the first buffer. When the next cycle of encoded data is received from the train control master module, the track circuit status data stored in the first buffer is sent to the train control master module through the Ethernet communication interface module. In this process, the main control logic module not only realizes the conversion of data between two CAN interfaces to one Ethernet interface, but also, since the train control center sends out coded data, it does not need to wait for the CAN communication interface module to respond to the current status query data. Instead, it directly feeds back the track circuit status data of the previous cycle cached in the first buffer to the train control main control module, thereby realizing the real-time and efficient response of track circuit status data.

[0037] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description

[0038] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which:

[0039] Figure 1 This is a schematic diagram of the structure of a traditional communication protocol conversion board applied to the train control main control module and track circuit equipment.

[0040] Figure 2 This is a schematic diagram of the communication protocol conversion board provided in this application embodiment applied to the train control main control module and track circuit equipment;

[0041] Figure 3 This is a schematic diagram of the communication protocol conversion board provided in an embodiment of this application;

[0042] Figure 4 This is a schematic diagram showing the dimensions of the communication protocol conversion board and the structure of the power supply module provided in the embodiments of this application;

[0043] Figure 5 This is a schematic diagram of the main control logic module of the communication protocol conversion board provided in this application embodiment;

[0044] Figure 6 This is a schematic diagram of the structure of the encoded data provided in the embodiments of this application;

[0045] Figure 7 This is a schematic diagram of the structure of the track circuit state data provided in the embodiments of this application;

[0046] Figure 8 This is a schematic diagram of the circuit structure of the Ethernet interface surge protection circuit provided in the embodiments of this application;

[0047] Figure 9 This is a schematic diagram of the circuit structure of the CAN interface surge protection circuit provided in the embodiments of this application;

[0048] Figure 10 This is a schematic diagram of the train control system provided in the embodiments of this application. Detailed Implementation

[0049] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0050] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0051] The communication protocol conversion board and train control system provided in this application will be described in detail below with reference to the accompanying drawings, through specific embodiments and application scenarios.

[0052] like Figure 2 , Figure 3 As shown, the communication protocol conversion board 1000 is used for data communication between the train control main control module 2000 and the track circuit equipment 3000, and includes: a main control logic module 100, an Ethernet communication interface module 200, and a CAN communication interface module 300. Specifically, the Ethernet communication interface module 200 includes an Ethernet interface for connecting to the train control main control module 2000 (corresponding to...). Figure 2 The Ethernet interface (on the communication protocol conversion board) is configured to receive encoded data sent by the train control master module 2000 and upload track circuit status data of the track circuit equipment 3000 to the train control master module 2000.

[0053] The CAN communication interface module 300 includes a first CAN interface and a second CAN interface (corresponding to) for connecting to the track circuit equipment 3000. Figure 2 The first CAN interface (which includes the CANA and CANB ports) is configured to acquire first CAN data from the first CAN bus of the track circuit device 3000 and send first status query data to the track circuit device 3000. The first CAN data contains circuit status information of the first CAN bus. The second CAN interface is configured to acquire second CAN data from the second CAN bus of the track circuit device 3000 and send second status query data to the track circuit device 3000. The second CAN data contains circuit status information of the second CAN bus.

[0054] The main control logic module 100 is located in the middle of the communication protocol conversion board 1000 and is connected to the Ethernet communication interface module 200 and the CAN communication interface module 300. It is configured to receive coded data transmitted by the Ethernet communication interface module, generate first status query data and second status query data according to the coded data, and send them to the CAN communication interface module 300. It is also configured to receive the first CAN data and the second CAN data, convert the first CAN data and the second CAN data into track circuit status data and store them in the first buffer 110, and when the coded data is received in the next cycle, send the track circuit status data stored in the first buffer 110 to the train control main control module 2000 through the Ethernet communication interface module.

[0055] The communication protocol conversion board 1000 provided in this application embodiment sets the CAN interface of the CAN communication interface module 300 to two CAN interfaces, namely the first CAN interface and the second CAN interface, and sets the Ethernet interface of the Ethernet communication interface module 200 to one Ethernet interface. In this way, only one communication protocol conversion board 1000 is used to realize the data acquisition of the two CAN buses of the track circuit equipment 3000. Moreover, since there is only one Ethernet interface, it also avoids excessive occupation of the network port resources of the train control main control module 2000 and saves the network resources of the train control main control module 2000.

[0056] It should be noted that while the hardware structure of the communication protocol conversion board 1000 is improved, the functions implemented by its main control logic module 100 are also improved accordingly to adapt to the improved communication protocol conversion board structure. After receiving the encoded data sent by the train control master module 2000 through the Ethernet interface of the Ethernet communication interface module 200, the main control logic module 100 generates first status query data and second status query data according to the encoded data and sends them to the CAN communication interface module 300. This allows the first CAN interface and the second CAN interface of the CAN communication interface module 300 to send the first status query data and the second status query data to the track circuit equipment 300, respectively. At the same time, after receiving the first CAN data and the second CAN data collected by the first CAN interface and the second CAN interface of the CAN communication interface module 300, the main control logic module 100 converts the first CAN data and the second CAN data into track circuit status data and stores them in the first buffer 110. When receiving the encoded data of the next cycle issued by the train control master module 2000, the track circuit status data stored in the first buffer 110 is sent to the train control master module 2000 through the Ethernet communication interface module 200. In this process, the main control logic module 100 not only realizes the conversion of data between two CAN interfaces to one Ethernet interface, but also, since the train control center sends out coded data, it does not need to wait for the CAN communication interface module 300 to respond to the current status query data. Instead, it directly feeds back the track circuit status data of the previous cycle cached in the first buffer 110 to the train control main control module 2000, thereby realizing the real-time and efficient response of track circuit status data.

[0057] It is understood that the aforementioned encoded data is in UDP (User Datagram Protocol) format. In some embodiments, the main control logic module 100 includes an Ethernet data receiving unit 110 configured to receive encoded data. The main control logic module 100 also includes a generation unit 108 configured to generate two identical status query data sets based on the encoded data when the security check of the encoded data passes, one set as the first status query data and the other as the second status query data. In some embodiments, the status query data is a synchronization frame. Specifically, it can be an empty frame containing a frame header, sufficient to query the status data of the track circuit. It is worth noting that the status query data in this application is generated by the communication protocol conversion board based on the encoded data issued by the train control main control module 2000, rather than being directly issued by the train control main control module 2000. This avoids the situation where the train control main control module 2000 issues encoded data and status query data, but the status query data is invalid because the encoded data fails the security check, and also reduces the pressure on the train control main control module 2000 to generate status query data.

[0058] In some embodiments, such as Figure 4 As shown, the size of the communication protocol conversion board matches the size of the chassis backplane of the train control main control module 2000. The communication protocol conversion board also includes a power supply module 400 electrically connected to the main control logic module 100, the Ethernet communication interface module 200, and the CAN communication interface module 300, respectively, for supplying power to the communication protocol conversion board 1000. The power supply module 400 includes a first power supply terminal located at the bottom of the communication protocol conversion board 1000 and matching the chassis backplane, and also includes a separate second power supply terminal.

[0059] The field environment of the train control main control module 2000 does not support a separate power supply for the communication protocol conversion board 1000, and configuring a separate power supply and fixed cabinet for the communication protocol conversion board is costly. In this application, the size of the communication protocol conversion board 1000 matches the size of the backplane of the train control main control module 2000's chassis, and the power supply module 400 is the first power supply terminal that matches the backplane of the chassis. Specifically, the first power supply terminal includes a first sub-power supply section and a second sub-power supply terminal, such as... Figure 4 As shown in X1 and X2, when using the communication protocol conversion board 1000, the communication protocol conversion board 1000 can be directly inserted into the chassis backplane of the train control main control module 2000 and directly powered by the 5V power supply of the chassis backplane. This saves the cost of setting up a separate power supply and fixed cabinet power supply, and also saves the layout space of the signal room equipment and simplifies the wiring layout.

[0060] Furthermore, the power supply module 400 of the communication protocol conversion board 1000 of this application also includes an independent second power supply terminal, such as... Figure 4 The X3 in the design facilitates the connection of an external power supply to the communication protocol conversion board 1000 in the absence of a chassis backplane, thus facilitating the debugging of the communication protocol conversion board 1000 and other needs.

[0061] In some embodiments, the CAN communication interface module 300 includes:

[0062] The first CAN transceiver, corresponding to the first CAN interface, is configured to receive and send the first status query data to the first CAN bus, and to receive first track circuit status data in response to the first status query data fed back by the first CAN bus through the first CAN interface.

[0063] The second CAN transceiver, corresponding to the second CAN interface, is configured to receive and send the second status query data to the second CAN bus, and to receive second track circuit status data in response to the second status query data fed back by the second CAN bus through the second CAN interface.

[0064] The first CAN transceiver and the second CAN transceiver in the CAN communication interface module 300 correspond to the first CAN interface and the second CAN interface, respectively. They are equivalent to buffering the reception and transmission of the first CAN interface and the second CAN interface, respectively, so as to avoid data loss due to excessively high data reception and transmission rates of the first CAN interface and the second CAN interface, and further ensure data security.

[0065] In some embodiments, such as Figure 5 As shown, the main control logic module 100 further includes:

[0066] Packet assembly unit 109 is configured to receive first CAN data sent through the first CAN transceiver via the first CAN interface and second CAN data sent through the second CAN transceiver via the second CAN interface. After adding a first data tag before the first CAN data and a second data tag before the second CAN data, the first data tag, the first CAN data, the second data tag, and the second CAN data are packaged into track circuit status data using the UDP protocol and stored in the first buffer 110.

[0067] The first buffer 110 is configured to receive and buffer the track circuit status data sent by the packet unit 109, and to clear the track circuit status data after the track circuit status data is sent to the train control master module 2000 through the Ethernet interface.

[0068] It is understood that this embodiment is a specific implementation of the aforementioned main control logic module 100 converting the received first CAN data and second CAN data into track circuit status data stored in the first buffer 110. After receiving the first CAN data and second CAN data, a first data tag is added before the first CAN data and a second data tag is added before the second CAN data so that when uploaded to the train control main control module 2000, the train control main control module 2000 can conveniently and efficiently identify the first CAN data and second CAN data based on the first data tag and the second data tag. Since the data is in CAN protocol format at this time, it needs to be converted to UDP protocol format data. The first data tag, first CAN data, second data tag, and second CAN data are packaged into UDP protocol track circuit status data and stored in the first buffer 110. Figure 7 The diagram shown is a structural schematic of the packaged track circuit status data provided in this application embodiment. The data packet header and data packet CRC check code of the track circuit status data are generated by the communication protocol conversion board. That is, the communication protocol conversion board converts the data in the above-mentioned CAN protocol format into data in the UDP protocol format so that it can be uploaded to the train control master module 2000 later.

[0069] The first buffer 110 receives and buffers the track circuit status data sent by the packet unit 109. After the track circuit status data is sent to the train control master module 2000 via the Ethernet interface, the first buffer 110 clears the track circuit status data in the first buffer 110, ensuring that the first buffer 110 only retains track circuit status data for one cycle and does not retain historical data, thereby ensuring the safety of railway traffic signals.

[0070] In some embodiments, such as Figure 5 , Figure 6 As shown, the main control logic module 100 includes:

[0071] Ethernet data receiving unit 101 is configured to receive encoded data sent by the train control master module 2000 through the Ethernet communication interface module 200.

[0072] like Figure 6As shown, the specific structure of the encoded data sent from the train control master module 2000 to the communication protocol conversion board 1000 includes a serial number, total number of packets, packet sequence number, number of frequency shift cabinets A, number of frequency shift cabinets B, and encoded data for frequency shift cabinet n. The serial number indicates the sending sequence number of the encoded data; the total number of packets indicates how many data packets are needed to completely send the encoded data (understandably, when the encoded data is too large, it needs to be split into multiple data packets for transmission); the packet sequence number indicates the sequence number of the data packet currently being sent; the number of frequency shift cabinets indicates the number of frequency shift cabinet encoded data items contained in the encoded data; and the encoded data for frequency shift cabinet n indicates the encoded data for the nth frequency shift cabinet. Each frequency shift cabinet encoded data item also contains a CRC (Cyclic Redundancy Check) checksum, used for CRC verification of the frequency shift cabinet encoded data.

[0073] The total length checking unit 102 is configured to check the total length of the encoded data and obtain a first check result data, wherein the total length of the encoded data is greater than the frame header byte length of the encoded data and less than or equal to the preset maximum byte length.

[0074] The total data length checking unit 102 is used to check the total length of the encoded data. The total length of the encoded data is theoretically greater than the length of the frame header bytes. The length of the frame header bytes is as follows: Figure 6 If the sum of the number of bytes in data 1 to data 5 is less than the preset maximum byte length, such as 1364 bytes, and the total length of the encoded data is between the frame header byte length and the preset maximum byte length, then the encoded data is valid; otherwise, the encoded data is invalid.

[0075] The serial number checking unit 103 is configured to count the first serial number in the received encoded data and compare the first serial number with the preset serial number carried in the encoded data to obtain the second checking result data.

[0076] The communication protocol conversion board uses its own counter to count the number of received encoded data to obtain the first serial number of the currently received encoded data. Simultaneously, the frame header of this encoded data also carries a corresponding preset serial number. The first serial number is compared with the preset serial number. If they match, the currently received encoded data is valid; otherwise, it is invalid. For example, if the serial number obtained by the communication protocol conversion board's counter is 3, and the frame header of the currently received encoded data also contains a serial number of 3, then the encoded data is valid; otherwise, it is invalid.

[0077] The packet sequence number checking unit 104 is configured to count the first packet sequence number of the target data packet in the encoded data and compare the first packet sequence number with the preset packet sequence number of the target data packet to obtain the third check result data.

[0078] Understandably, when encoded data is too large, it needs to be split into multiple data packets for transmission. Therefore, each encoded data packet contains multiple data packets, each with its own corresponding sequence number. Each data packet can include one frequency shift cabinet encoded data packet or multiple frequency shift cabinet encoded data packets. The communication protocol conversion board's own counter counts the first sequence number of the target data packet of the received encoded data, and then compares this first sequence number with the preset sequence number of the target data packet. If they are the same, the target data packet is considered valid; otherwise, it is considered invalid, thus ensuring the validity of each data packet. Understandably, the preset sequence number is carried in each target data packet.

[0079] The CRC check unit 105 is configured to calculate a first CRC value for each frequency shift cabinet encoding data contained in the encoding data, and compare each calculated first CRC value with a preset CRC check code corresponding to each frequency shift cabinet encoding data to obtain a fourth check result data.

[0080] Depend on Figure 6 It is known that the encoded data contains multiple frequency shift cabinet encoded data, and each frequency shift cabinet encoded data corresponds to its own CRC check code. The CRC check unit is used to calculate the first CRC value for each frequency shift cabinet encoded data, and compare each first CRC value with the preset CRC check code corresponding to each frequency shift cabinet encoded data. If they are the same, it means that the frequency shift cabinet encoded data is valid; otherwise, it means that the frequency shift cabinet encoded data is invalid, and all previously received frequency shift cabinet encoded data is deleted and received again.

[0081] The total number of data packets checking unit 106 is configured to count the total number of data packets of each target data packet in the encoded data, and compare the total number of data packets with the preset total number of data packets to obtain the fifth check result data.

[0082] Understandably, this process can be understood as an overlap of the aforementioned packet sequence number checking units. That is, while verifying the packet sequence number of each target data packet, the total number of data packets in the encoded data is also verified, thereby fully ensuring the legality of the finally received encoded data.

[0083] The CAN conversion unit 107 is configured to convert the encoded data into a first encoding instruction and a second encoding instruction of the CAN protocol when all the first to fifth inspection result data are passed, and to send the first encoding instruction to the track circuit device 3000 through the first CAN interface and the second encoding instruction to the second CAN interface.

[0084] The second buffer 111 is configured to cache the corresponding error flag and feed it back to the train control master module 2000 when any of the first to fifth check result data fails.

[0085] Traditional communication protocol conversion board 1000 transmits coded data from train control master module 2000 transparently, failing to ensure data security. In this embodiment, an Ethernet data receiving unit is configured to receive coded data from train control master module 2000. It should be noted that in practical applications, train control master module 2000 typically first sends coded data. This coded data is converted into coded instructions by communication protocol conversion board 1000 and then sent to track circuit equipment 3000 via the two CAN interfaces (CANA and CANB interfaces) of CAN communication interface module 300. Track circuit equipment 3000 then sends the instructions to the corresponding train, thereby controlling the train. Simultaneously, when the security verification of the coded data passes, communication protocol conversion board 1000 generates two status query data sets and sends them to track circuit equipment 3000 via the CAN communication interface module, enabling the acquisition of circuit status information from track circuit equipment 3000. During the transmission of coded data, if problems such as duplication, loss, out-of-order data frames, data frame errors, integrity issues, and data frame transmission timeouts occur, the safety of train operation cannot be guaranteed, which is crucial to railway safety. Therefore, in this embodiment, after receiving the coded data, it first checks whether the coded data has problems such as duplication, loss, out-of-order data frames, data frame errors, integrity issues, and data frame transmission timeouts through a data total length check unit, a serial number check unit, a packet sequence number check unit, a CRC check unit, and a total number of data packets. This ensures the security of the coded data. When all the above check units pass the check, the coded data is converted into CAN protocol encoding instructions and sent to the track circuit equipment 3000. If any of the above check units fail the check, the corresponding error flag is cached and fed back to the train control master module 2000 so that the train control master module 2000 can adjust the coded data according to the error flag and resend it.

[0086] It is understood that the above-mentioned inspection units can execute their respective processes sequentially in the order described above, or they can be executed in a different order than described above. In some embodiments, the above-mentioned inspection units are arranged in parallel.

[0087] It is worth noting that the second cache 111 here can be the same cache as the aforementioned first cache 110, in order to reduce the number of caches and save device costs. In a preferred embodiment, the first cache 110 and the second cache 11 are different, so that different data can be stored in different memories, thereby avoiding mutual interference between different data.

[0088] In some embodiments, the CAN communication interface module 300 further includes:

[0089] The CAN interface receive interrupt circuit is configured to disable the first CAN interface and the second CAN interface from continuing to receive CAN data when the main control logic module 100 uploads the track circuit status data of the previous cycle cached in the first buffer 110 to the train control main control module 2000 after receiving the encoded data, and to enable the first CAN interface and the second CAN interface to continue receiving CAN data after the track circuit status data is uploaded to the train control main control module 2000, the first buffer 110 is cleared, and the received CAN data of the first CAN interface and the second CAN interface is cleared.

[0090] In this embodiment, the CAN interface receive interrupt circuit disables the first and second CAN interfaces from continuing to receive CAN data when the main control logic module 100 receives encoded data and uploads the track circuit status data of the previous cycle cached in the first buffer 110 to the train control main control module 2000. This prevents the track circuit status data in the first buffer 110 from changing or interrupting the transmission of track circuit status data due to new data received by the first and second CAN interfaces during the upload of track circuit status data by the main control logic module 100, thus avoiding data inaccuracies. After all track circuit status data is uploaded to the train control main control module 2000, the first buffer 110 is cleared to avoid retaining historical data. At this time, if the CAN interface receives CAN data, the CAN interface receive interrupt circuit enables the first and second CAN interfaces to continue receiving CAN data, thereby ensuring the smooth reception of CAN data in the next cycle. Specifically, in some embodiments, the CAN interface receive interrupt circuit may include a first CAN interface receive interrupt circuit corresponding to the first CAN interface and a second CAN interface receive interrupt circuit corresponding to the second CAN interface, which respectively disables and enables the first CAN interface and the second CAN interface to receive CAN data. In this way, when one of the CAN interface receive interrupt circuits fails, the other CAN interface receive interrupt circuit can continue to work, thereby improving the reliability of the communication protocol conversion board 1000.

[0091] In some embodiments, the communication protocol conversion board 1000 further includes a voltage monitoring and reset module 500, which is electrically connected to the main control logic module 100, for monitoring the real-time voltage of the main control logic module 100, and controlling the main control logic module 100 to stop working and reset when the real-time voltage exceeds a preset voltage range.

[0092] The voltage monitoring and reset module 500 ensures that the communication protocol conversion board 1000 stops working and resets when the voltage is too high or too low, thus fully ensuring the safe operation of the communication protocol conversion board 1000. The preset voltage range can be 2.93V to 3.3V. It is understood that this preset voltage range is the normal operating voltage range. In some embodiments, when the real-time voltage exceeds the preset voltage range (meaning the real-time voltage is less than 2.93V or greater than 3.3V), the main control logic module 100 stops working and resets.

[0093] In some embodiments, such as Figure 8 As shown, the Ethernet communication interface module 200 further includes: a first Ethernet interface surge protection circuit connected to the transmitting end of the Ethernet interface and a second Ethernet interface surge protection circuit connected to the receiving end of the Ethernet interface.

[0094] The first Ethernet interface surge protection circuit includes a first gas overvoltage protector B4, a first overcurrent protector R58, a second overcurrent protector R59, and a first static diode ESD1. The first gas overvoltage protector B4 is connected in parallel to the positive and negative terminals of the transmitting end, and its third terminal is grounded. The first static diode ESD1 is connected in parallel to the positive and negative terminals of the transmitting end. The first overcurrent protector R58 is connected in series between the first terminal of the first gas overvoltage protector B4 and the second terminal of the first static diode ESD1. The second overcurrent protector R59 is connected in series between the second terminal of the first gas overvoltage protector B4 and the first terminal of the first static diode ESD1.

[0095] The second Ethernet interface surge protection circuit includes a second gas overvoltage protector B5, a third overcurrent protector R60, a fourth overcurrent protector R62, and a second static diode ESD2. The second gas overvoltage protector B5 is connected in parallel to the positive and negative terminals of the receiving end, and its third segment is grounded. The second static diode ESD2 is connected in parallel to the positive and negative terminals of the receiving end. The third overcurrent protector R60 is connected in series with the first terminal of the second gas overvoltage protector B5 and the second terminal of the second static diode ESD2. The fourth overcurrent protector R62 is connected in series with the second terminal of the second gas overvoltage protector B5 and the first terminal of the second static diode ESD2.

[0096] like Figure 8As shown, in this embodiment, the first Ethernet interface surge protection circuit is connected to the transmitting end TD+ and TD- of the Ethernet interface, and the second Ethernet interface surge protection circuit is connected to the receiving end RD+ and RD- of the Ethernet interface. The working principle of the first Ethernet interface surge protection circuit is explained using the transmitting end as an example. The working principle of the second Ethernet interface surge protection circuit is the same as that of the first Ethernet interface surge protection circuit, and will not be repeated here. The first gas overvoltage protector B4 constitutes the first level of protection. When the surge voltage between TD+ and TD-, between TD+ and the Ethernet surge protection ground GND_Net, or between TD- and the Ethernet surge protection ground GND_Net exceeds a set voltage (e.g., 68V), the first gas overvoltage protector B4 is turned on. The overvoltage signal between TD+ and TD- is discharged through the conducted Ethernet surge protection ground GND_Net, preventing the overvoltage signal from entering the internal circuit. After the primary surge protection discharge, if there is still residual surge overvoltage, it will enter the secondary protection stage. The secondary protection stage consists of two overcurrent protection devices (PTC fuses R58 and R59) connected in series. They conduct normally when there is no large current, with an impedance of 0.75 ohms. As the current increases, reaching an operating current of 0.3A, the impedance of R58 and R59 increases, preventing damage to critical components of the internal main control logic module 100 caused by large current. A first static diode ESD1 with a reverse turn-off voltage of 5V is connected in parallel between TD+ and TD-. When the operating voltage does not exceed 5V, ESD1 is in the off state. When the voltage between TD+ and TD- is greater than 6V, ESD1 conducts to suppress residual surge overvoltage between the differential signal lines TD+ and TD-, clamping transient overvoltages within a safe range, thereby preventing high voltage damage to the Ethernet interface and the internal main control logic module 100.

[0097] In some embodiments, such as Figure 9 As shown, the CAN communication interface module 300 also includes two CAN interface surge protection circuits connected to the positive and negative terminals of the first CAN interface and the second CAN interface, respectively. The CAN interface surge protection circuit includes a first gas discharge tube T1, a third gas overvoltage protector B2, a first low-capacitance semiconductor tube T2, a second low-capacitance semiconductor tube T3, a third low-capacitance semiconductor tube T4, a fifth overcurrent protection device R43, and a sixth overcurrent protection device R44. The first gas discharge tube T1 and the third gas overvoltage protector B2 are connected in parallel, and the third terminal of the third gas overvoltage protector B2 is grounded to form a first-level protection circuit. The second low-capacitance semiconductor tube T3 and the third low-capacitance semiconductor tube T4 are connected in series and in parallel with the first low-capacitance semiconductor tube T2, and the connection terminal between the second low-capacitance semiconductor tube T3 and the third low-capacitance semiconductor tube T4 is grounded to form a second-level protection circuit. The fifth overcurrent protection device R43 and the sixth overcurrent protection device R44 are connected in series between the first-level protection circuit and the second-level protection circuit, respectively.

[0098] like Figure 9 As shown, in this embodiment, the CAN interface surge protection circuit includes two circuits, corresponding to the first CAN interface and the second CAN interface respectively. The two CAN interface surge protection circuits operate on the same principle. Taking one of the CAN interface surge protection circuits as an example, its operating principle is explained. The CAN interface surge protection circuit has two levels of protection. The first level protection circuit is formed by connecting the first gas discharge tube T1 and the third gas overpressure protector B2 in parallel, and grounding the third terminal of the third gas overpressure protector B2. The second level protection circuit is formed by connecting the second low-capacitance semiconductor tube T3 and the third low-capacitance semiconductor tube T4 in series, and connecting them in parallel with the first low-capacitance semiconductor tube T2, and grounding the connection terminal between the second low-capacitance semiconductor tube T3 and the third low-capacitance semiconductor tube T4. When the CAN bus is struck by lightning, static discharge, or other strong electromagnetic interference, causing a high surge overvoltage between the buses, the first gas discharge tube T1 of the first-stage protection circuit starts to conduct when the surge voltage between CANH and CANL exceeds the set voltage (e.g., 105V), suppressing the overvoltage signal between CANL and CANH and preventing the overvoltage signal from entering the internal circuit. It also suppresses the overvoltage between CANL and CANH through the third gas overvoltage protector B2, and forms a conductive path between CANL and CAN lightning protection ground GND_EARTH, and between CANH and CAN lightning protection ground GND_EARTH, instantly discharging most of the overvoltage to the ground. After the first-stage surge protection discharge, if there is still residual surge overvoltage, it will enter the second-stage protection circuit. The second-stage surge protection circuit connects the fifth overcurrent protection device R43 and the sixth overcurrent protection device R44 (PTC fuses R43 and R44) in series. They can conduct normally when there is no large current, with an impedance of 0.75 ohms. As the current increases, reaching the operating current of 0.3A, the impedance of R43 and R44 increases, preventing damage to critical components of the internal main control logic module 100 caused by the large current. Subsequently, a low-capacitance semiconductor transistor T2 is connected in parallel between CANL and CANH. When the residual voltage between CANL and CANH exceeds 6V, the TVS diode conducts to prevent overvoltage between CANL and CANH from being introduced into the internal circuit. Simultaneously, low-capacitance semiconductor transistors T3 and T4 can respectively connect the overvoltage signals on CANL and CANH to the CAN surge protection ground GND_EARTH, discharging the residual overvoltage signals to ground and preventing damage to the main control logic module 100.

[0099] This application embodiment also provides a train control system, including: a train control main control module 2000 and the aforementioned communication protocol conversion board 1000. The communication protocol conversion board 1000 is connected to the train control main control module 2000 through its Ethernet interface, and is connected to the track circuit equipment 3000 through its first CAN interface and second CAN interface respectively, for realizing data communication between the train control main control module 2000 and the track circuit equipment 3000.

[0100] like Figure 10 As shown in the embodiment of this application, the train control system connects the train control master module 2000 and the track circuit equipment 3000 through a communication protocol conversion board 1000 with two CAN interfaces and one Ethernet interface. This enables data communication between the train control master module 2000 and the track circuit equipment 3000. This not only ensures reliable acquisition of track circuit status data, but also allows the communication protocol conversion board 1000 to acquire two CAN data streams through one Ethernet interface, avoiding excessive occupation of the network port resources of the train control master module 2000 and saving network resources. Furthermore, upon receiving the status query data for the next cycle from the train control master module 2000, the system sends the track circuit status data stored in the first buffer 110 to the train control master module 2000 via the Ethernet communication interface module 200, without waiting for the CAN communication interface module 300 to respond to the current status query data. This achieves real-time and efficient response to track circuit status data.

[0101] It is understandable that the train control system provided in this application embodiment can achieve... Figures 2 to 7 The various effects achieved by the communication protocol conversion board embodiment will not be repeated here to avoid repetition.

[0102] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0103] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

[0104] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0105] Although embodiments of this application have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of this application, the scope of which is defined by the claims and their equivalents.

Claims

1. A communication protocol conversion board, characterized in that, It is used for data communication between the train control main control module and the track circuit equipment, including: main control logic module, Ethernet communication interface module and CAN communication interface module; The Ethernet communication interface module includes an Ethernet interface for connecting to the train control master module. The Ethernet interface is configured to receive coded data sent by the train control master module and upload track circuit status data of the track circuit equipment to the train control master module. The CAN communication interface module includes a first CAN interface and a second CAN interface for connecting to the track circuit equipment. The first CAN interface is configured to acquire first CAN data from the first CAN bus of the track circuit equipment and send first status query data to the track circuit equipment. The first CAN data contains circuit status information of the first CAN bus. The second CAN interface is configured to acquire second CAN data from the second CAN bus of the track circuit equipment and send second status query data to the track circuit equipment. The second CAN data contains circuit status information of the second CAN bus. The main control logic module is located in the middle of the communication protocol conversion board and is connected to the Ethernet communication interface module and the CAN communication interface module. It is configured to receive coded data transmitted by the Ethernet communication interface module, generate first status query data and second status query data according to the coded data, and send them to the CAN communication interface module. It is also configured to receive the first CAN data and the second CAN data, convert the first CAN data and the second CAN data into track circuit status data and store them in a first buffer, and send the track circuit status data stored in the first buffer to the train control main control module through the Ethernet communication interface module when the coded data is received in the next cycle.

2. The communication protocol conversion board according to claim 1, characterized in that, The size of the communication protocol conversion board matches the size of the chassis backplane of the train control main control module. The communication protocol conversion board also includes a power supply module that is electrically connected to the main control logic module, the Ethernet communication interface module and the CAN communication interface module respectively, for powering the communication protocol conversion board. The power supply module includes a first power supply terminal located at the bottom of the communication protocol conversion board and matching the back plate of the chassis, and also includes a separate second power supply terminal.

3. The communication protocol conversion board according to claim 1, characterized in that, The main control logic module includes: An Ethernet data receiving unit is configured to receive encoded data sent by the train control master module through the Ethernet communication interface module; A total data length checking unit is configured to check the total length of the encoded data and obtain a first check result data, wherein the total length of the encoded data is greater than the frame header byte length of the encoded data and less than or equal to a preset maximum byte length. A serial number checking unit is configured to count the first serial number in the received encoded data and compare the first serial number with a preset serial number carried in the encoded data to obtain second check result data; The packet sequence number checking unit is configured to count the first packet sequence number of the target data packet in the encoded data, and compare the first packet sequence number with the preset packet sequence number of the target data packet to obtain the third check result data; The CRC check unit is configured to calculate a first CRC value for each frequency shift cabinet coded data contained in the coded data, and compare each calculated first CRC value with a preset CRC check code corresponding to each frequency shift cabinet coded data to obtain a fourth check result data; A total data packet count checking unit is configured to count the total number of data packets of each target data packet in the encoded data, and compare the total number of data packets with a preset total number of data packets to obtain a fifth check result data; The CAN conversion unit is configured to convert the encoded data into a first encoding instruction and a second encoding instruction of the CAN protocol when all the first to fifth inspection result data are passed, and to send the first encoding instruction to the track circuit device through the first CAN interface and the second encoding instruction through the second CAN interface; The second buffer is configured to cache the corresponding error flag and feed it back to the train control master module when any of the first to fifth check result data fails.

4. The communication protocol conversion board according to claim 1, characterized in that, The CAN communication interface module includes: The first CAN transceiver, corresponding to the first CAN interface, is configured to receive and send the first status query data to the first CAN bus, and to receive the first track circuit status data fed back by the first CAN bus through the first CAN interface in response to the first status query data. The second CAN transceiver, corresponding to the second CAN interface, is configured to receive and send the second status query data to the second CAN bus, and to receive second track circuit status data in response to the second status query data fed back by the second CAN bus through the second CAN interface.

5. The communication protocol conversion board according to claim 4, characterized in that, The main control logic module also includes: The packet assembly unit is configured to receive first CAN data sent through the first CAN transceiver via the first CAN interface and second CAN data sent through the second CAN transceiver via the second CAN interface. After adding a first data tag before the first CAN data and a second data tag before the second CAN data, the first data tag, the first CAN data, the second data tag, and the second CAN data are packetized into track circuit status data using the UDP protocol and stored in the first buffer. The first buffer is configured to receive and buffer the track circuit status data sent by the packet unit, and to clear the track circuit status data after the track circuit status data is sent to the train control master module through the Ethernet interface.

6. The communication protocol conversion board according to claim 5, characterized in that, The CAN communication interface module also includes: The CAN interface receive interrupt circuit is configured to disable the first CAN interface and the second CAN interface from continuing to receive CAN data when the main control logic module uploads the track circuit status data of the previous cycle cached in the first buffer to the train control main control module after receiving the encoded data, and to enable the first CAN interface and the second CAN interface to continue receiving CAN data after the track circuit status data is uploaded to the train control main control module, the first buffer is cleared, and the received CAN data of the first CAN interface and the second CAN interface is cleared.

7. The communication protocol conversion board according to any one of claims 1-6, characterized in that, The Ethernet communication interface module further includes: a first Ethernet interface surge protection circuit connected to the transmitting end of the Ethernet interface and a second Ethernet interface surge protection circuit connected to the receiving end of the Ethernet interface. The first Ethernet interface surge protection circuit includes a first gas overvoltage protector B4, a first overcurrent protector R58, a second overcurrent protector R59, and a first static diode ESD1. The first gas overvoltage protector B4 is connected in parallel to the positive and negative terminals of the transmitting end, and its third terminal is grounded. The first static diode ESD1 is connected in parallel to the positive and negative terminals of the transmitting end. The first overcurrent protector R58 is connected in series between the first terminal of the first gas overvoltage protector B4 and the second terminal of the first static diode ESD1. The second overcurrent protector R59 is connected in series between the second terminal of the first gas overvoltage protector B4 and the first terminal of the first static diode ESD1. The second Ethernet interface surge protection circuit includes a second gas overvoltage protector B5, a third overcurrent protector R60, a fourth overcurrent protector R62, and a second static diode ESD2. The second gas overvoltage protector B5 is connected in parallel to the positive and negative terminals of the receiving end, and its third segment is grounded. The second static diode ESD2 is connected in parallel to the positive and negative terminals of the receiving end. The third overcurrent protector R60 is connected in series with the first terminal of the second gas overvoltage protector B5 and the second terminal of the second static diode ESD2. The fourth overcurrent protector R62 is connected in series with the second terminal of the second gas overvoltage protector B5 and the first terminal of the second static diode ESD2.

8. The communication protocol conversion board according to any one of claims 1-6, characterized in that, The CAN communication interface module also includes two CAN interface surge protection circuits that are respectively connected to the positive and negative terminals of the first CAN interface and the second CAN interface. The CAN interface surge protection circuit includes a first gas discharge tube T1, a third gas overvoltage protector B2, a first low-capacitance semiconductor tube T2, a second low-capacitance semiconductor tube T3, a third low-capacitance semiconductor tube T4, a fifth overcurrent protection device R43, and a sixth overcurrent protection device R44. The first gas discharge tube T1 and the third gas overpressure protector B2 are connected in parallel, and the third terminal of the third gas overpressure protector B2 is grounded to form a first-level protection circuit; the second low-capacitance semiconductor tube T3 and the third low-capacitance semiconductor tube T4 are connected in series and in parallel with the first low-capacitance semiconductor tube T2, and the connection terminal between the second low-capacitance semiconductor tube T3 and the third low-capacitance semiconductor tube T4 is grounded to form a second-level protection circuit; the fifth overcurrent protection device R43 and the sixth overcurrent protection device R44 are connected in series between the first-level protection circuit and the second-level protection circuit, respectively.

9. The communication protocol conversion board according to any one of claims 1-6, characterized in that, The communication protocol conversion board further includes a voltage monitoring and reset module, which is electrically connected to the main control logic module. The module is used to monitor the real-time voltage of the main control logic module and, when the real-time voltage exceeds a preset voltage range, control the main control logic module to stop working and reset.

10. A train control system, characterized in that, include: The train control main control module and the communication protocol conversion board according to any one of claims 1-9, wherein the communication protocol conversion board is connected to the train control main control module through its Ethernet interface, and is connected to the track circuit equipment through its first CAN interface and second CAN interface respectively, for realizing data communication between the train control main control module and the track circuit equipment.