A data forwarding system with real-time fault node location function
By using a dual-channel CAN communication mechanism and fault status feedback messages, the problem of accurately locating faulty nodes in existing technologies is solved, achieving reliable data transmission and real-time traceability, making it suitable for marine data forwarding systems.
Patent Information
- Application Number
- CN202411075643.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-07
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2044-08-07
AI Technical Summary
In existing technologies, it is impossible to quickly and accurately locate whether the CAN port link of the marine data forwarding device is faulty or the data transmission link of the external device is faulty, resulting in inaccurate fault node location.
A dual-channel CAN communication mechanism is adopted, which converts each serial port message into a data CAN message and a status CAN message. The main control circuit generates heartbeat messages and fault status feedback messages. With the help of signal isolation circuit and isolation power supply circuit, the real-time location and status management of fault nodes can be realized.
It achieves reliable transmission of multi-channel serial port messages to CAN data, can quickly and accurately locate fault nodes, improves the reliability and real-time traceability of data transmission, and is compatible with a variety of external serial interface devices.
Smart Images

Figure CN118612055B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data transmission, and in particular to a data forwarding system with a real-time fault node positioning function. Background Art
[0002] The shipborne voyage data recorder is a ship safety monitoring product that mainly completes the functions of collecting, recording, and storing voyage data, providing strong evidence for the analysis and processing of accidents and emergencies, and facilitating investigation and evidence collection by relevant agencies.
[0003] The navigation recorder is a device that runs uninterruptedly for a long time. It needs to collect the operating data of important equipment related to navigation. It has extremely high requirements for the reliability of data transmission. CAN bus communication is generally used internally, and real-time monitoring of the operating status of external equipment is required to accurately locate the fault node.
[0004] At present, the marine data forwarding device mainly adopts the method of converting multiple serial ports to single CAN communication to forward serial port messages, and adopts the method of timed transmission to package the data sent by multiple external serial port devices together and transmit them to the host computer through the CAN bus. However, this method has certain shortcomings: when the host computer splits the received packaged data, if it finds that the data sent by one or several serial port devices is abnormal, such as all 1 or all 0, it is impossible to determine whether the CAN port link of the forwarding device is abnormal or the data transmission link of the external device is damaged, so it is impossible to quickly and accurately locate the faulty node. Summary of the invention
[0005] The present invention aims to solve the problem that when data anomalies occur, it is impossible to quickly and accurately locate whether the faulty node is the CAN port link of the forwarding device or the data transmission link of the external device. To this end, the present invention provides a data forwarding system with a real-time positioning function for the faulty node, which can realize the forwarding of multi-channel serial port messages to CAN data. In order to achieve high reliability of data transmission and real-time fault traceability, each serial port message is innovatively converted into a dual-channel CAN: data CAN message and status CAN message, and the reliable transmission of external multi-channel serial port data and accurate positioning and status management of faulty nodes are realized in conjunction with the design of the internal communication protocol. The system can also realize RS-422 / RS-485 power switching of each serial interface through external configuration, so as to be compatible with a variety of external serial interface transceiver devices.
[0006] The present invention provides a data forwarding system with a real-time fault node positioning function, and the technical scheme adopted is as follows: comprising: a main control circuit, a serial port transceiver circuit and a CAN data transceiver circuit, wherein the main control circuit is connected to the serial port transceiver circuit and the CAN data transceiver circuit respectively, the serial port transceiver circuit is used to transmit serial port messages, the main control circuit is used to convert the serial port messages into data CAN messages, and the CAN data transceiver circuit is used to transmit the data CAN messages.
[0007] The main control circuit is also connected to the CAN status transceiver circuit, and the main control circuit is also used to generate a fault status feedback message, the fault status feedback message includes the status of the serial port channel and the CAN data channel, and the CAN status transceiver circuit is used to transmit the fault status feedback message.
[0008] Furthermore, the main control circuit is used to periodically generate heartbeat messages and fault status feedback messages, and send the heartbeat messages and fault status feedback messages to the host computer through the CAN status transceiver circuit.
[0009] Furthermore, the main control circuit includes a data forwarding module and a status monitoring module, and the status monitoring module is connected to the data forwarding module.
[0010] The workflow of the data forwarding module is as follows:
[0011] Receiving a serial port message from the serial port transceiver circuit;
[0012] When receiving a serial port message that complies with the protocol, the serial port message is converted into a data CAN message, and sent to the host computer through the CAN data transceiver circuit. If the sending is successful, wait for receiving the next frame of the serial port message; if the sending is unsuccessful, the state of the CAN data channel is set to abnormal;
[0013] When the serial port message that complies with the protocol is not received within the timeout period, the state of the serial port channel is set to abnormal;
[0014] The working process of the status monitoring module is as follows:
[0015] Configure and start a timer, the timer is used to time the time interval A and the time interval B;
[0016] According to the time interval A, a heartbeat message is periodically generated and sent to the host computer through the CAN state transceiver circuit;
[0017] According to the time interval B, a fault status feedback message is periodically generated and sent to the host computer through the CAN status transceiver circuit;
[0018] If the status of the serial port channel or the CAN data channel is set to abnormal, a fault status feedback message is immediately generated and sent to the host computer through the CAN status transceiver circuit more than once.
[0019] Furthermore, when the status monitoring module receives a fault status query request from the host computer through the CAN status transceiver circuit, it immediately generates a fault status feedback message and sends it to the host computer through the CAN status transceiver circuit.
[0020] Furthermore, the fault status query request is a fault request message or a remote frame instruction serving as a sending request.
[0021] Furthermore, the status monitoring module receives a network management message sent by a host computer through the CAN status transceiver circuit, and sets the time interval A and time interval B according to the network management message.
[0022] Furthermore, it also includes a signal isolation circuit, an isolation power supply circuit and a standardized interface circuit. The standardized interface circuit is respectively connected to the isolation power supply circuit, the main control circuit, the serial port transceiver circuit, the CAN status transceiver circuit and the CAN data transceiver circuit. The signal isolation circuit is arranged between the main control circuit and the standardized interface circuit, the serial port transceiver circuit, the CAN status transceiver circuit and the CAN data transceiver circuit.
[0023] Furthermore, the serial port transceiver circuit includes a serial port receiving subcircuit and a serial port sending subcircuit. The structure of the serial port receiving subcircuit is: the RS-422 interface conversion circuit A and the RS-485 interface conversion circuit A are both connected to the RS-485 / RS-422 power switching circuit A, and the RS-485 / RS-422 power switching circuit A is connected to the main control circuit. The structure of the serial port sending subcircuit is: the RS-422 interface conversion circuit B and the RS-485 interface conversion circuit B are respectively connected to the RS-485 / RS-422 power switching circuit B and the main control circuit.
[0024] Furthermore, there are multiple serial port transceiver circuits, and each serial port transceiver circuit corresponds to an external serial port device.
[0025] The above one or more technical solutions in the embodiments of the present invention have at least one of the following technical effects:
[0026] 1. The present invention completes the conversion of multiple independent serial port messages into CAN data messages, and the external serial channel corresponds to two independent internal CAN data channels and CAN status channels. After each serial port channel receives the serial port message, it is physically isolated, and the main control circuit converts it into a corresponding CAN data message that meets the internal communication requirements, and sends it to the corresponding CAN interface of the host computer through the data CAN channel; at the same time, the current status of each channel is sent to the corresponding CAN interface of the host computer through the status CAN channel. The present invention realizes the data forwarding of serial interface equipment, accurate positioning of faulty nodes and status management functions through the dual-channel CAN transceiver mechanism of the CAN data channel and the CAN status channel.
[0027] 2. The present invention uses a signal isolation circuit and an isolated power supply circuit to realize a TTL to serial interface circuit and a CAN interface circuit with dual isolation of power supply and signal. The present invention realizes the RS-422 / RS-485 power switching of each serial interface through external configuration to achieve better external device compatibility.
[0028] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0030] Figure 1 It is a structural block diagram provided by the present invention.
[0031] Figure 2 It is a working flow chart of the data forwarding module provided by the present invention.
[0032] Figure 3 It is a work flow chart of the status monitoring module provided by the present invention.
[0033] Reference numerals:
[0034] 1. Data forwarding module; 2. Status monitoring module; 3. CAN data transceiver circuit; 4. CAN status transceiver circuit; 5. Signal isolation circuit; 6. Isolation power supply circuit; 7. Standardized interface circuit; 8. RS-422 interface conversion circuit A; 9. RS-485 interface conversion circuit A; 10. RS-485 / RS-422 power switching circuit A; 11. RS-422 interface conversion circuit B; 12. RS-485 interface conversion circuit B; 13. RS-485 / RS-422 power switching circuit B; 14. External serial port device; 15. Host computer. DETAILED DESCRIPTION
[0035] In order to make the purpose, technical scheme and advantages of the present invention clearer, the technical scheme of the present invention will be clearly and completely described below in conjunction with the drawings in the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present invention. The following embodiments are used to illustrate the present invention, but cannot be used to limit the scope of the present invention.
[0036] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the embodiment of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0037] Combine the following Figures 1 to 3 The present invention is further described in detail, and a data forwarding system with a real-time fault node location function is described in the present invention:
[0038] In this embodiment, Figure 1 As shown, a data forwarding system with a real-time fault node positioning function is provided, including: a main control circuit, a serial port transceiver circuit, a CAN data transceiver circuit 3, a CAN status transceiver circuit 4, a signal isolation circuit 5, an isolation power supply circuit 6 and a standardized interface circuit 7.
[0039] The main control circuit includes a data forwarding module 1 and a status monitoring module 2, and the status monitoring module 2 is connected to the data forwarding module 1. The data forwarding module 1 is respectively connected to the multiple serial port transceiver circuits, the CAN data transceiver circuit 3, and the standardized interface circuit 7, and the status monitoring module 2 is connected to the CAN status transceiver circuit 4. The CAN status transceiver circuit 4 and the CAN data transceiver circuit 3 communicate with the host computer 15. The standardized interface circuit 7 is respectively connected to the isolated power supply circuit 6, the serial port transceiver circuit, the CAN status transceiver circuit 4, and the CAN data transceiver circuit 3. The signal isolation circuit 5 is provided between the main control circuit and the standardized interface circuit 7, the serial port transceiver circuit, the CAN status transceiver circuit 4, and the CAN data transceiver circuit 3. The present invention uses the signal isolation circuit 5 and the isolated power supply circuit 6 in combination to realize the TTL to serial interface and CAN interface with dual isolation of power supply signals.
[0040] There are multiple serial port transceiver circuits, and each serial port transceiver circuit corresponds to an external serial port device 14. The serial port transceiver circuit includes a serial port receiving subcircuit and a serial port sending subcircuit. The structure of the serial port receiving subcircuit is as follows: the RS-422 interface conversion circuit A8 and the RS-485 interface conversion circuit A9 are respectively connected to the RS-485 / RS-422 power switching circuit A10 and the standardized interface circuit 7, and the RS-485 / RS-422 power switching circuit A10 is connected to the data forwarding module 1. The structure of the serial port sending subcircuit is as follows: the RS-422 interface conversion circuit B11 and the RS-485 interface conversion circuit B12 are respectively connected to the RS-485 / RS-422 power switching circuit B13 and the data forwarding module 1, and the RS-485 / RS-422 power switching circuit B13 is connected to the standardized interface circuit 7. The present invention realizes the RS-422 / RS-485 power switching of each serial interface through the serial port transceiver circuit, is applicable to various types of external serial port devices 14, and realizes better external device compatibility.
[0041] In this embodiment, the number of the serial port transceiver circuits is four, that is, this embodiment has four serial port channels and two CAN channels (CAN data channel and CAN status channel).
[0042] The main control chip of the main control circuit adopts the GD32F450IKH6 Cortex-M4 core MCU, which is mainly used to realize the protocol conversion between serial bus and CAN bus, fault status feedback message (status CAN message) and data CAN message transmission and reception and other functions. The software part is written in C language, which mainly completes the protocol conversion function from serial port data to CAN data interface, as well as the status monitoring, accurate fault location and status management functions of the conversion channel. The main control circuit is divided into data forwarding module 1 and status monitoring module 2 according to the function.
[0043] The data forwarding module 1 is used to convert the serial port message into a data CAN message. The serial port transceiver circuit is used to transmit the serial port message, and the serial port message sent by the external serial port device 14 is sent to the data forwarding module 1 through the corresponding serial port transceiver circuit. The CAN data transceiver circuit 3 is used to transmit the data CAN message, that is, to transmit the data CAN message generated by the data forwarding module 1 to the host computer 15.
[0044] The state monitoring module 2 is used to periodically generate heartbeat messages and fault status feedback messages, and send the heartbeat messages and fault status feedback messages to the host computer 15 through the CAN state transceiver circuit 4. The CAN state transceiver circuit 4 is used to transmit the heartbeat messages and fault status feedback messages, and is also used to transmit network management messages sent by the host computer 15 to the state monitoring module 2.
[0045] The present invention utilizes the main control circuit to monitor the status of the four serial port channels and the CAN data channel, and reports the status information of each channel to the upper computer 15 through the CAN status transceiver circuit 4, which can realize accurate positioning of the fault, and is beneficial for the upper computer 15 to grasp the on-off status of each channel in real time, discover and eliminate the fault in time, and greatly improve the reliability of data forwarding.
[0046] The CAN data transceiver circuit 3 and the CAN status transceiver circuit 4 are physically isolated and are in independent bus spaces. The CAN interface adopts the CAN2.0B protocol standard. The data encoding method adopts the little-end encoding method.
[0047] like Figure 2 As shown, the working process of the data forwarding module 1 is as follows:
[0048] After the system is powered on, the data forwarding module 1 first reads the unit ID, slot ID and other information, then initializes the 4-way serial port channel communication and CAN data channel communication, sets the type, baud rate, frame definition and the like of the 4-way serial port channel according to the configuration information, and opens the serial port channel and CAN data channel receiving interrupt.
[0049] The data forwarding module 1 monitors whether the four serial port transceiver circuits receive serial port messages. The four serial port transceiver circuits receive serial port messages sent from the outside through interrupts, and then transmit them to the data forwarding module 1.
[0050] When the data forwarding module 1 receives a serial port message that complies with the protocol, it converts the serial port message into a data CAN message and sends it to the host computer 15 through the CAN data transceiver circuit 3. If the sending is successful, it waits for receiving the next frame of the serial port message; if the sending is unsuccessful, the state of the CAN data channel is set to abnormal, that is, the state of the CAN data channel is rewritten from normal to abnormal.
[0051] When the data forwarding module 1 times out and fails to receive a serial port message that complies with the protocol, the state of the corresponding serial port channel is set to abnormal.
[0052] like Figure 3 As shown, the working process of the state monitoring module 2 is:
[0053] (1) The timing trigger sending method of the status monitoring module 2, such as Figure 3 As shown in (a).
[0054] After the system is powered on, the data forwarding module 1 first reads information such as the unit ID and slot ID, and then initializes the CAN status channel communication and turns on the CAN status channel receiving interrupt.
[0055] A timer is configured and started, where the timer is used to time the time interval A and the time interval B.
[0056] According to time interval A, a heartbeat message is periodically generated, and the heartbeat message is sent to the host computer 15 through the CAN state transceiver circuit 4. According to time interval B, a fault status report message is periodically generated according to the status information of the CAN data channel and the four-way serial port channel, and the fault status report message is sent to the host computer 15 through the CAN state transceiver circuit 4. The time interval A and the time interval B can be the same or different. The status information is normal or abnormal.
[0057] (2) The event triggering sending method of the status monitoring module 2, such as Figure 3 As shown in (b). If the status of any serial port channel or CAN data channel is set to abnormal, that is, the status of any of the four serial port channels and CAN data channels is changed from normal to abnormal, the status monitoring module 2 immediately generates a fault status feedback message, which is sent to the host computer 15 through the CAN status transceiver circuit 4 more than once. Generally, it is sufficient to send it three times in a row.
[0058] (3) The request response sending method of the status monitoring module 2, such as Figure 3 As shown in (c). When the state monitoring module 2 receives the fault state query request sent by the host computer 15 through the CAN state transceiver circuit 4, it immediately generates a fault state report message, including one or more channel states required in the fault state query request, and sends it to the host computer 15 through the CAN state transceiver circuit 4. The fault state query request is a fault request message or a remote frame instruction as a sending request.
[0059] (4) The process of modifying time interval A and time interval B by the status monitoring module 2 is as follows: Figure 3As shown in (d), the state monitoring module 2 receives the network management message sent by the host computer 15 through the CAN state transceiver circuit 4, and sets the time interval A and the time interval B according to the network management message.
[0060] This system can also realize the conventional control function of the external serial port device 14. The host computer 15 issues a control instruction to the external serial port device 14. The control instruction is transmitted to the data forwarding module 1 through the CAN data transceiver circuit 3. After the protocol conversion, it is sent to the corresponding external serial port device 14 through the corresponding serial port transceiver circuit.
[0061] The CAN data frame structure of this system
[0062] For data collected in the form of a serial interface, this system converts it into CAN format for storage. The conversion requirements are as follows: A CAN data frame consists of a frame ID and 8 bytes of data. The received serial port message is packetized, and each 8 bytes constitutes a CAN data frame. Its data frame ID is set according to the sequence number specified by the protocol and increases gradually. If the last frame is less than 8 bytes, invalid data is used to fill in 8 bytes.
[0063] The definition of data frame ID is shown in Table 1.
[0064] Table 1 CAN2.0B extended data frame information 29-bit identifier definition table
[0065]
[0066] (1) Number of data frames: the number of CAN frames after the serial port single frame is converted.
[0067] (2) Information group number: The serial port single frame number. The single frame information group number is the same and is cyclical from 1 to 31.
[0068] (3) The device node number (Node-ID) ranges from 1 to 2047, and 0 is not available. The specific definition is shown in Table 2.
[0069] Table 2 Device node number definition table
[0070]
[0071] The device node number is the sender node number. The device node number of each channel is automatically assigned after the corresponding module identifies the slot and unit.
[0072] The unit ID refers to the unit serial number when there are multiple units of the same type, which is obtained by identifying the unit backplane. The IDs of this system and the host computer 15 are uniformly sequenced. The ID of the host computer 15 defaults to 1, and the IDs of other units are incremented in sequence.
[0073] The slot ID starts from 0 and is obtained by identifying the unit backplane.
[0074] The channel ID starts from 0 and is set by the module when it leaves the factory.
[0075] (2) Function code allocation
[0076] The function code definition in the frame ID of the CAN message is shown in Table 3.
[0077] Table 3 Function code definition table
[0078]
[0079] In Table 3, the data CAN message is a CAN message that is received by the system, converted, and sent to the host computer 15 through the CAN data channel.
[0080] The network management message is a CAN message sent by the host computer 15 to the system through the CAN status channel, and can be used to set the timing time interval of the heartbeat message and the fault status feedback message.
[0081] The fault request message is a CAN message sent by the host computer 15 to the system through the CAN status channel, which can request the system to send a fault status feedback message of a specific serial port channel, so that the host computer 15 can more flexibly grasp the status of each channel of the system.
[0082] The fault status feedback message is a CAN message sent by the system to the host computer 15 through the CAN status channel. The status of each channel of the system can be reported to the host computer 15 in three ways: timing trigger, event trigger and request response.
[0083] The heartbeat message is a CAN message sent by the system to the host computer 15 through the CAN status channel. It is periodically sent from the system to the host computer 15 at a fixed frequency to report the online status of the system. The sending frequency can be configured through the network management message.
[0084] In order to achieve the fault and real-time traceability of data forwarding, the present invention adopts multiple independent serial port transceiver circuits as the receiving channel (serial port channel) of external serial data. After each serial port channel receives the serial port message sent by the corresponding external serial port device 14, it is physically isolated and converted by the main control circuit into a corresponding data CAN message that meets the requirements of the internal communication protocol, and sent to the corresponding CAN interface of the host computer 15 through the CAN data channel; the status information of the CAN data channel and the multiple serial port channels is sent to the corresponding CAN interface of the host computer 15 through the CAN status channel. The purpose of the dual-channel CAN transceiver mechanism adopted in the present invention is: when a certain external serial port device 14 under test fails and stops transmitting external serial port data, the current fault device node information can be sent to the host computer 15 through the fault status feedback message, and the external serial port device 14 fault can be distinguished from the communication fault phenomenon (CAN data channel fault) of this system, thereby realizing the status monitoring of the device under test and the subdivision and accurate positioning of the fault.
[0085] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A data forwarding system with real-time fault node location function, comprising: A main control circuit, a serial port transceiver circuit and a CAN data transceiver circuit, wherein the main control circuit is connected to the serial port transceiver circuit and the CAN data transceiver circuit respectively, the serial port transceiver circuit is used to transmit serial port messages, the main control circuit is used to convert the serial port messages into data CAN messages, and the CAN data transceiver circuit is used to transmit the data CAN messages, It is characterized in that the main control circuit is also connected to the CAN status transceiver circuit, and the main control circuit is also used to generate a fault status feedback message, the fault status feedback message includes the status of the serial port channel and the CAN data channel, and the CAN status transceiver circuit is used to transmit the fault status feedback message.
2. A data forwarding system with real-time fault node location function as claimed in claim 1, characterized in that: The main control circuit is used for periodically generating heartbeat messages and fault status feedback messages, and sending the heartbeat messages and fault status feedback messages to the host computer through the CAN status transceiver circuit.
3. A data forwarding system with real-time fault node location function as claimed in claim 2, characterized in that: The main control circuit includes a data forwarding module and a status monitoring module, wherein the status monitoring module is connected to the data forwarding module. The workflow of the data forwarding module is as follows: Receiving a serial port message from the serial port transceiver circuit; When receiving a serial port message that complies with the protocol, convert the serial port message into a data CAN message and send it to the host computer through the CAN data transceiver circuit. If the transmission is successful, wait for receiving the next frame of the serial port message; If the transmission is unsuccessful, the status of the CAN data channel is set to abnormal; When the serial port message that complies with the protocol is not received within the timeout period, the state of the serial port channel is set to abnormal; The working process of the status monitoring module is as follows: Configure and turn on the timer; According to the time interval A, a heartbeat message is periodically generated and sent to the host computer through the CAN state transceiver circuit; According to the time interval B, a fault status feedback message is periodically generated and sent to the host computer through the CAN status transceiver circuit; If the status of the serial port channel or the CAN data channel is set to abnormal, a fault status feedback message is immediately generated and sent to the host computer through the CAN status transceiver circuit more than once.
4. A data forwarding system with real-time fault node location function as claimed in claim 3, characterized in that: When the state monitoring module receives a fault state query request from the host computer through the CAN state transceiver circuit, it immediately generates a fault state feedback message and sends it to the host computer through the CAN state transceiver circuit.
5. A data forwarding system with real-time fault node location function as claimed in claim 4, characterized in that: The fault status query request is a fault request message or a remote frame instruction serving as a sending request.
6. A data forwarding system with real-time fault node location function as claimed in claim 3, characterized in that: The state monitoring module receives the network management message sent by the host computer through the CAN state transceiver circuit, and sets the time interval A and time interval B according to the network management message.
7. A data forwarding system with real-time fault node location function as claimed in claim 1, characterized in that: It also includes a signal isolation circuit, an isolation power supply circuit and a standardized interface circuit. The standardized interface circuit is respectively connected to the isolation power supply circuit, the main control circuit, the serial port transceiver circuit, the CAN status transceiver circuit and the CAN data transceiver circuit. The signal isolation circuit is arranged between the main control circuit and the standardized interface circuit, the serial port transceiver circuit, the CAN status transceiver circuit and the CAN data transceiver circuit.
8. A data forwarding system with real-time fault node location function as claimed in claim 1, characterized in that: The serial port transceiver circuit includes a serial port receiving subcircuit and a serial port sending subcircuit. The structure of the serial port receiving subcircuit is: the RS-422 interface conversion circuit A and the RS-485 interface conversion circuit A are both connected to the RS-485 / RS-422 power switching circuit A, and the RS-485 / RS-422 power switching circuit A is connected to the main control circuit. The structure of the serial port sending subcircuit is: the RS-422 interface conversion circuit B and the RS-485 interface conversion circuit B are respectively connected to the RS-485 / RS-422 power switching circuit B and the main control circuit.
9. A data forwarding system with real-time fault node location function as claimed in claim 1, characterized in that: There are multiple serial port transceiver circuits, and each serial port transceiver circuit corresponds to an external serial port device.
