Communication node, intelligent CAN FD bus communication module and CAN FD bus intelligent switching method

Through the design of the intelligent CAN FD bus communication module, the automatic switching function solves the bandwidth and reliability problems of CAN bus in the automotive and aerospace fields, improves communication bandwidth and equipment reliability, and realizes the upgrade of the existing network.

CN118200121BActive Publication Date: 2024-11-22AVIC GENERAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410306824.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-18
Publication Date
2024-11-22
Estimated Expiration
2044-03-18

AI Technical Summary

Technical Problem

CAN bus is in the automotive and aerospace fields due to bandwidth and reliability issues, traditional CAN bus communication rate is limited and equipment node errors occur frequently, so it is necessary to improve the reliability of CAN FD bus.

Method used

Design an intelligent CAN FD bus communication module, which automatically switches to another channel by monitoring the channel status to ensure the normal progress of data interaction, including the CAN FD bus monitoring module and switching module, which is used to reset the channel and send an abnormality when an abnormality is detected. Switch frames, notify other nodes to switch, and realize automatic channel switching.

Benefits of technology

It improves the network communication bandwidth of the CAN bus and the reliability of node equipment, while keeping most of the software and hardware of the network system unchanged, and suppliers can upgrade the original network without large-scale modification of software.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118200121B_ABST
    Figure CN118200121B_ABST
Patent Text Reader

Abstract

The present invention provides a communication node, an intelligent CAN FD bus communication module and a CAN FD bus intelligent switching method. The communication node includes at least one channel A and at least one channel B for receiving and sending data, and is characterized in that the communication node also includes an intelligent CAN FD bus communication module, wherein the channel A and the channel B are both CAN FD buses capable of sending and receiving CAN FD data frames, and the intelligent CAN FD bus communication module is used to monitor the at least one channel A and the at least one channel B, and when an abnormality occurs in a certain channel bus, the CAN FD bus of the abnormal channel is reset, and after the reset is completed, 3 frames of channel switching frames are sent to notify other communication nodes that the channel is abnormal, perform channel switching, and automatically switch to another channel bus to ensure the normal interaction of CAN FD data, thereby improving the network communication bandwidth of the CAN bus, and also improving the reliability of the node device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of bus communication used for automobile, aerospace communication and the like, and in particular to an intelligent CAN FD bus communication design based on FPGA. Background Art

[0002] The CAN bus uses a two-wire serial communication protocol. Based on non-destructive arbitration technology, distributed real-time control, and reliable error handling and detection mechanisms, the CAN bus has high reliability. Due to its high reliability, it is increasingly used in the aerospace field. With the increase in interactive bandwidth and the increase in reliability requirements, the Control Area Network (CAN) is increasingly unable to cope with it. The bandwidth occupied by the traditional CAN bus during interaction is much higher than the recommended value (50%), and only 40% to 50% of the bandwidth in the CAN bus data frame is used for data transmission; the CAN bus communication rate is limited to 1Mbit / s, but in actual use, the communication rate is 500Kbit / s. All of the above problems have put forward higher requirements on the bandwidth and reliability of the CAN bus, and CAN with Flexible Data rate (CAN FD) came into being.

[0003] CAN FD inherits the main characteristics of the CAN bus and also has excellent reliability and anti-electromagnetic interference characteristics. At the same time, the CAN FD bus makes up for the limitations of the CAN bus bandwidth and data length. It is compatible with CAN, but its rate has been greatly improved compared to CAN. However, its reliability still needs to be improved. For example, in the aerospace field, device node errors often occur. How to improve the reliability of the CAN FD bus is an urgent problem to be solved in the aerospace field. Summary of the invention

[0004] In view of the problems and shortcomings encountered by the CAN bus in the automotive and aerospace fields, the present invention provides a communication node, an intelligent CAN FD bus communication module and a CAN FD bus intelligent switching method, aiming to provide an intelligent CAN FD bus communication technology, which not only improves the bandwidth of data interaction, but also improves the reliability of node equipment.

[0005] In a first aspect, the present invention provides a communication node, comprising at least one channel A and at least one channel B for receiving and sending data, characterized in that the communication node also includes an intelligent CAN FD bus communication module, wherein the channel A and the channel B are both CAN FD buses capable of sending and receiving CAN FD data frames, and the intelligent CAN FD bus communication module is used to monitor the at least one channel A and the at least one channel B, and when an abnormality occurs in a certain channel bus, the CAN FD bus of the abnormal channel is reset, and after the reset is completed, 3 channel switching frames are sent to notify other communication nodes that the channel is abnormal, perform channel switching, and automatically switch to another channel bus to ensure normal interaction of CAN FD data.

[0006] In some possible implementation methods, the intelligent CAN FD bus communication module includes a CAN FD bus monitoring module and a CAN FD switching module, wherein the CAN FD bus monitoring module is used to monitor the bus status of the at least one channel A and the at least one channel B. When the received sampled data is different from the sent data within a certain period of time, the bus is judged to be abnormal, and the CAN FD bus is shut down. The sampling time is calibrated by setting the sampling position or automatically measuring to adapt to the delay time between data sending and data receiving on the bus of multiple nodes. The CAN FD bus monitoring module returns the bus monitoring result to the CAN FD switching module for channel switching.

[0007] In some possible implementation methods, the CAN FD switching module is used to perform automatic channel bus switching. When the FPGA detects that the bus of at least one channel A or at least one channel B is abnormal and causes the bus to be closed, the closed channel A or channel B is reset. After the reset is completed, the FPGA sends three channel switching data frames through the reset channel A or the reset channel B. Each opposite communication node does not need to reply to respond, which is used to notify other communication nodes that channel A switches to channel B, or channel B switches to channel A; after the switching is completed, channel B replaces the function of channel A, or channel A replaces the function of channel B to continue to complete data communication between device nodes.

[0008] In some possible implementation methods, the intelligent CAN FD bus communication module also includes a CAN FD data controller module, a CAN FD data transceiver module, and a CAN FD data interaction module, wherein the CAN FD data controller module is used to receive and send CAN FD data frames; and the CAN FD data interaction module is used to complete data interaction between the embedded module and the FPGA.

[0009] In some possible implementation methods, the CAN FD data interaction module is used to complete the data interaction between the embedded module and the FPGA. Specifically, the embedded module writes the data into the interactive RAM of the logic, and the underlying logic detects the first address data of the interactive RAM to check whether it is new data. If it is new data, the data is read out of the interactive RAM and written into the CANFD sending RAM. After the writing is completed, the data at the first address of the interactive RAM is updated to indicate the old data; the embedded module can query the address to determine whether the data has been read by the FPGA. If it has been read, the embedded module can write the new CAN FD data frame into the interactive RAM, and the CAN FD IP core of the FPGA reads the data in the sending RAM to complete the data sending.

[0010] In some possible implementation methods, the CAN FD bus is compatible with the CAN bus, and while receiving and sending CAN FD data frames, the rates of its arbitration domain and data domain are adjusted respectively.

[0011] In some possible implementation methods, the rate of the arbitration domain is 0-1 Mbit / s, the rate of the data domain is 0-5 Mbit / s, and the data payload sent by CAN FD is at most 64 bytes.

[0012] In a second aspect, the present invention provides an intelligent CAN FD bus communication module for a communication node, characterized in that the intelligent CAN FD bus communication module includes at least one channel A and at least one channel B for receiving and sending data, wherein the channel A and the channel B are CAN FD buses capable of sending and receiving CAN FD data frames, and the intelligent CAN FD bus communication module monitors the at least one channel A and the at least one channel B. When an abnormality occurs in a certain channel bus, the CAN FD bus of the abnormal channel is reset, and after the reset is completed, 3 channel switching frames are sent to notify other communication nodes that the channel is abnormal, perform channel switching, and automatically switch to another channel bus to ensure normal interaction of CAN FD data.

[0013] In some possible implementation methods, the intelligent CAN FD bus communication module includes a CAN FD bus monitoring module and a CAN FD switching module, wherein the CAN FD bus monitoring module is used to monitor the bus status of the at least one channel A and the at least one channel B. When the received sampled data is different from the sent data within a certain period of time, the bus is judged to be abnormal, and the CAN FD bus is shut down. The sampling time is calibrated by setting the sampling position or automatically measuring to adapt to the delay time between data sending and data receiving on the bus of multiple nodes. The CAN FD bus monitoring module returns the bus monitoring result to the CAN FD switching module for channel switching.

[0014] In some possible implementation methods, the CAN FD switching module is used to perform automatic channel bus switching. When the FPGA detects that the bus of at least one channel A or at least one channel B is abnormal and causes the bus to be closed, the closed channel A or channel B is reset. After the reset is completed, the FPGA sends three channel switching data frames through the reset channel A or the reset channel B. Each opposite communication node does not need to reply to respond, which is used to notify other communication nodes that channel A switches to channel B, or channel B switches to channel A; after the switching is completed, channel B replaces the function of channel A, or channel A replaces the function of channel B to continue to complete data communication between device nodes.

[0015] In some possible implementation methods, the intelligent CAN FD bus communication module also includes a CAN FD data controller module, a CAN FD data transceiver module, and a CAN FD data interaction module, wherein the CAN FD data controller module is used to receive and send CAN FD data frames; and the CAN FD data interaction module is used to complete data interaction between the embedded module and the FPGA.

[0016] In some possible implementation methods, the CAN FD data interaction module is used to complete the data interaction between the embedded module and the FPGA. Specifically, the embedded module writes the data into the interactive RAM of the logic, and the underlying logic detects the first address data of the interactive RAM to check whether it is new data. If it is new data, the data is read out of the interactive RAM and written into the CANFD sending RAM. After the writing is completed, the data at the first address of the interactive RAM is updated to indicate the old data; the embedded module can query the address to determine whether the data has been read by the FPGA. If it has been read, the embedded module can write the new CAN FD data frame into the interactive RAM, and the CAN FD IP core of the FPGA reads the data in the sending RAM to complete the data sending.

[0017] In some possible implementation methods, the CAN FD bus is compatible with the CAN bus, and while receiving and sending CAN FD data frames, the rates of its arbitration domain and data domain are adjusted respectively.

[0018] In some possible implementation methods, the rate of the arbitration domain is 0-1 Mbit / s, the rate of the data domain is 0-5 Mbit / s, and the data payload sent by CAN FD is at most 64 bytes.

[0019] In a third aspect, the present invention provides a CAN FD bus intelligent switching method, which is characterized in that any of the above-mentioned intelligent CAN FD bus communication modules is used to monitor at least one channel A and at least one channel B for receiving and sending data, wherein the channel A and the channel B are CAN FD buses capable of sending and receiving CAN FD data frames. When an abnormality occurs in a certain channel bus, the CAN FD bus of the abnormal channel is reset, and after the reset is completed, 3 channel switching frames are sent to notify other communication nodes that the channel is abnormal, perform channel switching, and automatically switch to another channel bus to ensure normal interaction of CAN FD data.

[0020] The beneficial effects of the present invention are as follows: the present invention provides an intelligent CAN FD bus communication technology, which replaces the original CAN bus technology, improves the network communication bandwidth of the CAN bus, and also improves the reliability of the node equipment. At the same time, most of the software and hardware of the network system can be kept unchanged, especially the physical layer. This technology allows suppliers to upgrade the original network without making large-scale modifications to the software part. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 This is a structural diagram of the intelligent CAN FD bus communication system of the present invention.

[0022] Figure 2 This is a structural diagram of the intelligent CAN FD bus communication module of the present invention.

[0023] Figure 3 This is a correct schematic diagram of the intelligent CAN FD sampling of the present invention.

[0024] Figure 4 Schematic diagram of intelligent CAN FD sampling error of the present invention.

[0025] Figure 5 This is a schematic diagram of the intelligent CAN FD automatic measurement sampling of the present invention.

[0026] Figure 6 This is a schematic diagram of manually setting sampling for the intelligent CAN FD of the present invention.

[0027] Figure 7 This is a schematic diagram of the interaction between the intelligent CAN FD embedded module and FPGA of the present invention.

[0028] Figure 8 The invention shows a state machine jump diagram of the interaction between the intelligent CAN FD embedded module and FPGA. DETAILED DESCRIPTION

[0029] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. The specific operation method in the method embodiment can also be applied to the device embodiment or the system embodiment. In the description of the present invention, unless otherwise specified, the meaning of "multiple" is two or more.

[0030] refer to Figure 1 The structure diagram of the intelligent CAN FD bus communication system is shown in FIG. 1 , wherein each of the devices Device1, Device2, and Device3 has at least one channel A and at least one channel B for sending and receiving data. Figure 1 In the example, channel A of Device1 is connected to channel A of Device2 and Device3, and channel B of Device1 is connected to channel B of Device2 and Device3 to send and receive data. When a channel is abnormal, the underlying logic resets the abnormal channel, and after the reset is completed, a channel switching frame is sent. After the sending is completed, it can switch to another channel to continue working. This design method improves the reliability of bus communication.

[0031] refer to Figure 2 The intelligent CAN FD bus communication module composition structure diagram is shown in FIG. The intelligent CAN FD bus communication module at least includes: at least one CAN FD bus monitoring module (CAN FD monitor), at least one CAN FD controller module (CAN FD controller), at least one CAN FD switching module (channel switching) and at least one embedded interactive module (interactive module). In addition, the intelligent CAN FD bus communication module may also include other well-known modules required to complete general CAN bus communication, such as a CAN FD driver chip, which are not specifically limited here.

[0032] The CAN FD bus monitoring module mainly detects abnormalities on the bus path. The basic principle of its detection is: CAN FD sends data and also receives the data through the CAN FD driver chip. Figure 3 As shown, compare the sent data with the received data. If they are consistent, the bus is considered correct. Figure 4As shown in the figure, if the sent data is compared with the received data and it is found that they are inconsistent, the bus is considered abnormal. At the same time, the received data is sampled, and the sampling delay time can be manually set or the sampling time can be automatically measured. Figure 5 As shown in the figure, by using the automatic measurement method, the delay of multi-node and long-distance CAN FD interaction nodes can be measured, and the delay caused by the newly added CAN FD nodes can also be measured to ensure the accuracy of sampling. Figure 6 As shown, if manual measurement is used, an accurate estimate of the delay time is required. At the same time, if a new node is added to the system, the delay time will also increase. If the sampling point remains unchanged, it may cause sampling errors in the received data.

[0033] The CAN FD controller module mainly completes the self-test of the CAN FD bus, CAN FD module configuration, timestamp transmission, data frame transmission and data frame reception. During the timestamp transmission process, the peer device node does not need to respond. The CAN FD module requires embedded software to configure the arbitration domain rate, data domain rate, CAN FD mode, number of retransmissions, etc. CAN FD only uses data frames for communication, and data frame arbitration uses an extended format. The extended format data frame message format is as follows:

[0034] Table 1 CAN FD extended frame format

[0035] .

[0036] The data segment of CAN FD supports up to 64 bytes of data length. The data length is determined by DLC, and the data length of the data area corresponds to the value of DLC. The data byte lengths sent by CAN FD are: 0, 1, 2, 3, 4, 5, 6, 7, 8, 16, 24, 32, 48, 64.

[0037] After the intelligent CAN FD controller module is powered on, it first performs a power-on self-test to confirm the bus status. After the power-on self-test is completed, after receiving the bus scheduling start command, it can broadcast the timestamp message on the channel A and channel B buses with a period of 20ms for time synchronization of the entire system. All buses receive the timestamp message, but do not need to reply. The format of the timestamp message data segment is as follows:

[0038] Table 2 CAN FD timestamp message format

[0039] .

[0040] The CAN FD switching module mainly completes the switching between channel buses. The CAN FD bus monitoring module will report the monitored bus status to the CAN FD switching module. The bus status includes: bus off, bus busy, BIT error, sampling error, etc. When the CAN FD switching module detects an abnormality in the channel bus, it first resets the abnormal channel. After the reset is completed, the CAN FD switching module detects its status. If the status is normal, it sends 3 channel switching frames. The opposite node does not need to reply to the response frame to notify the opposite node of the bus switch. After the sending is completed, the bus is switched. The CAN FD channel switching data frame format is as follows:

[0041] Table 3 CAN FD channel switching data frame format

[0042] .

[0043] The embedded interactive module mainly completes the data interaction between embedded modules, such as embedded ARM, CPU, DSP, etc. and FPGA. The present invention designs a method for data interaction between embedded modules and FPGA, such as Figure 7 The specific workflow of embedded data sent via the CAN FD bus is as follows:

[0044] 1) The embedded software reads the first address of the interactive RAM on the FPGA side and determines whether it is FF. If it is FF, it is determined to be new data, indicating that the FPGA has not finished reading the data in the interactive RAM; if it is 00, it is determined to be old data, indicating that the FPGA has finished reading the data in the interactive RAM;

[0045] 2) FPGA reads the first address of the interactive RAM at intervals. If the data read is FF, it is considered to be new data. Then FPGA reads the data in the interactive RAM and writes it into the CAN FD transmission RAM. After the data in the interactive RAM is read, 00 needs to be written to the first address of the RAM to indicate that the data has been read. If the data read is 00, it is considered to be old data. There is no need to read the data in the interactive RAM or write the data into the transmission RAM.

[0046] 3) After the FPGA writes the data into the CAN FD transmit RAM, it pulls the ready flag high, indicating that data is available for transmission. The CAN FD controller module reads the data in the transmit RAM and completes the transmission of the CAN FD data frame.

[0047] 4) The CAN FD receiving interaction part is relatively simple. After the CAN FD IP core receives the data, it writes the data into the receiving fifo for the embedded software to read.

[0048] By using the interaction method of the present invention, conflicts encountered during the interaction process can be eliminated, and the situation where the FPGA is reading data while the embedded software is writing will not occur, resulting in unpredictable errors in CAN FD. The CAN FD interaction RAM address data format is as follows:

[0049] Table 4 CAN FD interactive RAM address data format table

[0050] .

[0051] The interaction between embedded software and FPGA is mainly the reading of data in the interactive RAM. Figure 8 Design of FPGA state machine for interaction between embedded software and FPGA. The state machine workflow is as follows:

[0052] 1) IDLE: The default state of the state machine. The interactive RAM will be read only when the interactive time arrives.

[0053] 2) RD_FLAG: Read address 0 of the interactive RAM to determine the new and old data flags. If it is new data, enter the RD_LENGTH state; if it is old data, enter the DONE state;

[0054] 3) RD_LENGT: Read the data length to determine the length of data to be exchanged;

[0055] 4) RD_ID: read CAN FD ID;

[0056] 5) RD_DATA: read CAN FD data;

[0057] 6) WR_FLAG: write the old data flag to address 0 of the interactive RAM and update the old and new data flags;

[0058] 7) DONE: The interaction is completed.

[0059] Therefore, the present invention also provides a data interaction method between an embedded module and an FPGA, wherein the embedded module writes data into the interaction RAM of the logic of the FPGA, and the underlying logic detects the first address data of the interaction RAM to check whether it is new data. If it is new data, the data is read out of the interaction RAM and written into the sending RAM of the CAN FD. After the writing is completed, the data at the first address of the interaction RAM is updated to indicate old data; the embedded module queries the address to determine whether the data has been read by the FPGA. If it has been read by the FPGA, the embedded module can write the new CAN FD data frame into the interaction RAM, and the CAN FD IP core of the FPGA reads the data in the sending RAM to complete the data sending.

[0060] Among them, after the FPGA writes the data into the CAN FD transmission RAM, it pulls the ready flag high to indicate that there is data to be sent. The CAN FD controller module reads the data in the transmission RAM and completes the CAN FD data frame transmission.

[0061] Among them, for CAN FD receiving interaction, after the CAN FD IP core receives the data, it writes the data into the receiving fifo for the embedded software to read.

[0062] This eliminates conflicts encountered during the interaction process and prevents the situation where the FPGA is reading data while the embedded software is writing, causing unpredictable errors in CAN FD.

[0063] It is understandable that in the embodiments of the present invention, the node device may be a terminal device, a computer device or other apparatus, which may perform some or all of the steps in the embodiments of the present invention, and these steps or operations are merely examples, and the embodiments of the present invention may also perform other operations or variations of various operations. In addition, the various steps may be performed in different orders presented in the embodiments of the present invention, and it is possible that not all operations in the embodiments of the present invention need to be performed. In the various embodiments of the present invention, unless otherwise specified and logically conflicting, the terms and / or descriptions between the different embodiments are consistent and may be referenced to each other, and the technical features in the different embodiments may be combined to form new embodiments according to their inherent logical relationships.

[0064] The various illustrative logic units and circuits described in the embodiments of the present invention can be implemented or operated by a general-purpose processor, a digital signal processor, an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination of the above. The general-purpose processor can be a microprocessor, and optionally, the general-purpose processor can also be any conventional processor, controller, microcontroller or state machine. The processor can also be implemented by a combination of computing devices, such as a digital signal processor and a microprocessor, a plurality of microprocessors, one or more microprocessors combined with a digital signal processor core, or any other similar configuration.

[0065] The steps of the method or algorithm described in the embodiments of the present invention can be directly embedded in hardware, a software unit executed by a processor, or a combination of the two. The software unit can be stored in a RAM memory, a flash memory, a ROM memory, an EPROM memory, an EEPROM memory, a register, a hard disk, a removable disk, a CD-ROM or any other storage medium in the art. Exemplarily, the storage medium can be connected to the processor so that the processor can read information from the storage medium and can write information to the storage medium. Optionally, the storage medium can also be integrated into the processor. The processor and the storage medium can be arranged in an ASIC, and the ASIC can be arranged in a terminal. Optionally, the processor and the storage medium can also be arranged in different components in the terminal.

[0066] Although the present invention has been described in conjunction with specific features and embodiments thereof, it is apparent that various modifications and combinations may be made thereto without departing from the spirit and scope of the present invention. Accordingly, this specification and the accompanying drawings are merely exemplary illustrations of the present invention as defined by the appended claims and are deemed to cover any and all modifications, variations, combinations or equivalents within the scope of the present invention. Obviously, those skilled in the art may make various modifications and variations to the present invention without departing from the spirit and scope of the present invention. Thus, the present invention is intended to include such modifications and variations if they fall within the scope of the claims of the present invention and their equivalents.

Claims

1. A communication node, comprising at least one channel A and at least one channel B for receiving and sending data, characterized in that: The communication node also includes an intelligent CAN FD bus communication module, wherein: The channel A and the channel B are both CAN FD buses capable of sending and receiving CAN FD data frames. The intelligent CAN FD bus communication module is used to monitor the at least one channel A and the at least one channel B. When an abnormality occurs in a channel bus, the CAN FD bus of the abnormal channel is reset. After the reset is completed, 3 channel switching frames are sent to notify other communication nodes that the channel is abnormal, perform channel switching, and automatically switch to another channel bus to ensure normal interaction of CAN FD data. The intelligent CAN FD bus communication module includes a CAN FD data controller module and a CAN FD data interaction module, wherein: The CAN FD data controller module is used to receive and send CAN FD data frames; The CAN FD data interaction module is used to complete the data interaction between the embedded module and the FPGA; The CAN FD data interaction module is used to complete the data interaction between the embedded module and the FPGA, specifically, The embedded module writes the data into the logic's interactive RAM, and the underlying logic detects the first address data of the interactive RAM to check whether it is new data. If it is new data, the data is read out of the interactive RAM and written into the CAN FD's transmit RAM. After the writing is completed, the data at the first address of the interactive RAM is updated to indicate old data. The embedded module queries the address to determine whether the data has been read by the FPGA. If it has been read by the FPGA, the embedded module can write the new CAN FD data frame into the interactive RAM, and the FPGA's CAN FD IP core reads the data in the transmit RAM to complete the data transmission. After the FPGA writes the data into the CAN FD's transmit RAM, it pulls the ready flag high to indicate that there is data to be sent.

2. The communication node according to claim 1, characterized in that The intelligent CAN FD bus communication module includes a CAN FD bus monitoring module and a CAN FD switching module, wherein: The CAN FD bus monitoring module is used to monitor the bus status of the at least one channel A and the at least one channel B. When the received sampled data is different from the sent data within a certain period of time, the bus is judged to be abnormal, and the CAN FD bus is shut down. The sampling time is calibrated by setting the sampling position or automatically measuring to adapt to the delay time between data sending and data receiving on the bus of multiple nodes. The CAN FD bus monitoring module returns the bus monitoring result to the CAN FD switching module for channel switching.

3. The communication node according to claim 2, characterized in that The CAN FD switching module is used to perform channel automatic bus switching, wherein: When the FPGA detects that the bus of at least one channel A or at least one channel B is abnormal and causes the bus to be closed, the closed channel A or channel B is reset. After the reset is completed, the FPGA sends three channel switching data frames through the reset channel A or the reset channel B, and each opposite communication node does not need to reply to respond, so as to notify other communication nodes that channel A switches to channel B, or channel B switches to channel A; after the switching is completed, channel B replaces the function of channel A, or channel A replaces the function of channel B, and continues to complete the data communication between device nodes.

4. The communication node according to any one of claims 1 to 3, characterized in that: The CAN FD bus is compatible with the CAN bus. While receiving and sending CAN FD data frames, the rates of the arbitration domain and the data domain are adjusted respectively.

5. The communication node according to claim 4, characterized in that The rate of the arbitration domain is 0-1 Mbit / s, the rate of the data domain is 0-5 Mbit / s, and the data payload sent by CAN FD is at most 64 bytes.

6. An intelligent CAN FD bus communication module, used for a communication node, characterized in that: The intelligent CAN FD bus communication module includes at least one channel A and at least one channel B for receiving and sending data, wherein: The channel A and the channel B are both CAN FD buses capable of sending and receiving CAN FD data frames. The intelligent CAN FD bus communication module monitors the at least one channel A and the at least one channel B. When an abnormality occurs in a certain channel bus, the CAN FD bus of the abnormal channel is reset. After the reset is completed, 3 channel switching frames are sent to notify other communication nodes that the channel is abnormal, and the channel is switched to another channel bus automatically to ensure the normal interaction of CAN FD data. The intelligent CAN FD bus communication module includes a CAN FD data controller module and a CAN FD data interaction module, wherein: The CAN FD data controller module is used to receive and send CAN FD data frames; The CAN FD data interaction module is used to complete the data interaction between the embedded module and the FPGA; The CAN FD data interaction module is used to complete the data interaction between the embedded module and the FPGA, specifically, The embedded module writes the data into the logic's interactive RAM, and the underlying logic detects the first address data of the interactive RAM to check whether it is new data. If it is new data, the data is read out of the interactive RAM and written into the CAN FD's transmit RAM. After the writing is completed, the data at the first address of the interactive RAM is updated to indicate old data. The embedded module queries the address to determine whether the data has been read by the FPGA. If it has been read by the FPGA, the embedded module can write the new CAN FD data frame into the interactive RAM, and the FPGA's CAN FD IP core reads the data in the transmit RAM to complete the data transmission. After the FPGA writes the data into the CAN FD's transmit RAM, it pulls the ready flag high to indicate that there is data to be sent.

7. The module according to claim 6, characterized in that The intelligent CAN FD bus communication module includes a CAN FD bus monitoring module and a CAN FD switching module, wherein: The CAN FD bus monitoring module is used to monitor the bus status of the at least one channel A and the at least one channel B. When the received sampled data is different from the sent data within a certain period of time, the bus is judged to be abnormal, and the CAN FD bus is shut down. The sampling time is calibrated by setting the sampling position or automatically measuring to adapt to the delay time between data sending and data receiving on the bus of multiple nodes. The CAN FD bus monitoring module returns the bus monitoring result to the CAN FD switching module for channel switching.

8. The module according to claim 7, characterized in that The CAN FD switching module is used to perform automatic channel bus switching. When the FPGA detects that the at least one channel A or at least one channel B is abnormal and causes the bus to be closed, the closed channel A or channel B is reset. After the reset is completed, the FPGA sends 3 channel switching data frames through the reset channel A or the reset channel B. Each opposite communication node does not need to reply to the response, which is used to notify other communication nodes that channel A is switched to channel B, or channel B is switched to channel A. After the switching is completed, channel B replaces the function of channel A, or channel A replaces the function of channel B to continue to complete the data communication between device nodes.

9. The module according to any one of claims 6 to 8, characterized in that The CAN FD bus is compatible with the CAN bus. While receiving and sending CAN FD data frames, the rates of the arbitration domain and the data domain are adjusted respectively.

10. The module according to claim 9, characterized in that The rate of the arbitration domain is 0-1 Mbit / s, the rate of the data domain is 0-5 Mbit / s, and the data payload sent by CAN FD is at most 64 bytes.

11. A CAN FD bus intelligent switching method, characterized in that: The intelligent CAN FD bus communication module according to any one of claims 6 to 10 is used to monitor at least one channel A and at least one channel B for receiving and sending data, wherein: The channel A and the channel B are both CAN FD buses capable of sending and receiving CAN FD data frames. When an abnormality occurs on a channel bus, the CAN FD bus of the abnormal channel is reset. After the reset is completed, three channel switching frames are sent to notify other communication nodes that the channel is abnormal, perform channel switching, and automatically switch to another channel bus to ensure normal interaction of CAN FD data.