Communication system and method and vehicle
By introducing an interconnection design between the main controller and the auxiliary controller, as well as an optocoupler isolator, into the automotive chassis control system, the communication paralysis problem caused by the failure of the controller area network chip was solved, achieving smooth switching and normal communication in case of failure, thus improving the reliability and safety of the system.
Patent Information
- Application Number
- CN202511033303.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-25
- Publication Date
- 2025-10-31
AI Technical Summary
In existing technologies, automotive chassis control systems lack isolation mechanisms when controller area network (CAN) chips fail, leading to CAN bus paralysis and inability to communicate normally.
Design a communication system that enables communication between the main controller and the auxiliary controller, and uses an optocoupler to control the switching module to automatically switch communication paths in case of a fault, thereby ensuring normal communication between the vehicle chassis and the external electronic control unit.
It enables a smooth switchover in the event of a controller area network chip failure, avoiding overall communication system failure and improving the reliability and safety of the vehicle chassis control system.
Smart Images

Figure CN120880831A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle communication technology, and more particularly to a communication system and method, and a vehicle. Background Technology
[0002] With the continuous development of automotive electronics technology, a dual-redundancy design for the main controller and auxiliary controller has been proposed for automotive chassis control systems.
[0003] However, the proposed dual-redundancy design scheme for the main and auxiliary systems involves merging their respective CAN (Controller Area Network) into the target CAN bus that requires backup control. When the basic functions of the main controller or auxiliary controller are normal, but the corresponding CAN chip malfunctions, the proposed technology cannot isolate the faulty node, causing the entire CAN bus to fail. Even with system switching, normal CAN communication cannot be achieved in the automotive chassis control system. Summary of the Invention
[0004] This application provides a communication system, method, and vehicle to solve the technical problem that the lack of isolation mechanism in the related technology when the controller local area network chip of the vehicle chassis control system fails, resulting in the vehicle chassis control system being unable to perform controller local area network communication normally.
[0005] This application provides a communication system comprising: a main controller, an auxiliary controller, a controller local area network (Controller Area Network) main chip, a controller local area network (Controller Area Network) auxiliary chip, a main switch module, and an auxiliary switch module; the main controller is connected to the auxiliary controller, the main controller is connected to the controller local area network (Controller Area Network) main chip, and the auxiliary controller is connected to the controller local area network (Controller Area Network) auxiliary chip; the controller local area network (Controller Area Network) main chip and the controller local area network (Controller Area Network) auxiliary chip are also respectively connected to a controller local area network (Controller Area Network) target bus; The main switch module is provided between the controller local area network (Controller Area Network) main chip and the controller local area network (Controller Area Network) target bus, and the auxiliary switch module is provided between the controller local area network (Controller Area Network) auxiliary chip and the controller local area network (Controller Area Network) target bus. In the event of a fault in the main chip of the controller local area network, the main controller controls the main switch module to disconnect, and the auxiliary controller controls the auxiliary switch module to turn on; or, in the event of a fault in the auxiliary chip of the controller local area network, the main controller controls the main switch module to turn on, and the auxiliary controller controls the auxiliary switch module to disconnect.
[0006] In one embodiment of this application, the controller local area network target bus includes a high-order data line and a low-order data line, the main switch module includes a first switch and a second switch, and the auxiliary switch module includes a third switch and a fourth switch; wherein, the data transmission speed or voltage of the high-order data line is higher than that of the low-order data line; A first switch is provided between the controller local area network main chip and the high-level data line, and a second switch is provided between the controller local area network main chip and the low-level data line; The third switch is provided between the controller local area network auxiliary chip and the high-order data line, and the fourth switch is provided between the controller local area network auxiliary chip and the low-order data line.
[0007] In one embodiment of this application, the first switch, the second switch, the third switch, and the fourth switch each include at least an optocoupler isolator; wherein, The main controller turns on the optocoupler in the first switch to connect the controller LAN main chip to the high-order data line; or, the main controller turns off the optocoupler in the first switch to disconnect the controller LAN main chip from the high-order data line. The main controller turns on the optocoupler in the second switch to connect the controller LAN main chip to the low-level data line; or, the main controller turns off the optocoupler in the second switch to disconnect the controller LAN main chip from the low-level data line. The auxiliary controller turns on the optocoupler in the third switch to connect the controller LAN auxiliary chip to the high-order data line; or, the auxiliary controller turns off the optocoupler in the third switch to disconnect the controller LAN auxiliary chip from the high-order data line. The auxiliary controller turns on the optocoupler in the fourth switch to connect the controller LAN auxiliary chip to the low-level data line; or, the auxiliary controller turns off the optocoupler in the fourth switch to disconnect the controller LAN auxiliary chip from the low-level data line.
[0008] In one embodiment of this application, the first end of the first optocoupler is connected to one end of the first resistor, the other end of the first resistor is connected to the first control terminal of the main controller and one end of the second resistor, the other end of the second resistor is grounded, the second end of the first optocoupler is grounded, the third end of the first optocoupler is connected to the high-order data line, and the fourth end of the first optocoupler is connected to the high-order data line control terminal of the controller's local area network main chip. The first end of the second optocoupler is connected to one end of the third resistor. The other end of the third resistor is connected to the second control terminal of the main controller and one end of the fourth resistor, respectively. The other end of the fourth resistor is grounded. The second end of the second optocoupler is grounded. The third end of the second optocoupler is connected to the low-order data line. The fourth end of the second optocoupler is connected to the low-order data line control terminal of the controller's local area network main chip. The first end of the third optocoupler is connected to one end of the fifth resistor. The other end of the fifth resistor is connected to the first control end of the auxiliary controller and one end of the sixth resistor, respectively. The other end of the sixth resistor is grounded. The second end of the third optocoupler is grounded. The third end of the third optocoupler is connected to the high-order data line. The fourth end of the third optocoupler is connected to the high-order data line control end of the controller's local area network auxiliary chip. The first end of the fourth optocoupler is connected to one end of the seventh resistor. The other end of the seventh resistor is connected to the second control terminal of the auxiliary controller and one end of the eighth resistor. The other end of the eighth resistor is grounded. The second end of the fourth optocoupler is grounded. The third end of the fourth optocoupler is connected to the low-order data line. The fourth end of the fourth optocoupler is connected to the low-order data line control terminal of the controller's local area network auxiliary chip. Wherein, the first optocoupler is the optocoupler in the first switch, the second optocoupler is the optocoupler in the second switch, the third optocoupler is the optocoupler in the third switch, and the fourth optocoupler is the optocoupler in the fourth switch.
[0009] In one embodiment of this application, when the main controller cannot control the first switch and / or the second switch, the main chip of the controller area network disconnects from the target bus of the controller area network and turns on the third switch and the fourth switch through the auxiliary controller, and the auxiliary chip of the controller area network turns on the connection with the target bus of the controller area network.
[0010] In one embodiment of this application, when the auxiliary controller cannot control the third switch and / or the fourth switch, the auxiliary chip of the controller area network disconnects from the target bus of the controller area network, and the first switch and the second switch are turned on by the main controller, while the main chip of the controller area network turns on the connection with the target bus of the controller area network.
[0011] In one embodiment of this application, under the condition that there is an abnormality in the connection between the controller LAN main chip and the controller LAN target bus, the controller LAN main chip transmits fault information to the main controller, and the main controller disconnects the first switch and the second switch to cut off the connection between the controller LAN main chip and the controller LAN target bus; and the auxiliary controller turns on the third switch and the fourth switch, and the controller LAN auxiliary chip turns on the connection with the controller LAN target bus.
[0012] In one embodiment of this application, under the condition that there is an abnormality in the connection between the Controller Area Network (CLAN) auxiliary chip and the CLAN target bus, the CLAN auxiliary chip transmits fault information to the auxiliary controller, and the auxiliary controller disconnects the third switch and the fourth switch, cutting off the connection between the CLAN auxiliary chip and the CLAN target bus; and the main controller turns on the first switch and the second switch, so that the CLAN main chip can connect to the CLAN target bus.
[0013] This application also provides a communication method using any of the communication systems described above, the method comprising the following steps: When the main controller cannot control the main switch module, the auxiliary controller controls the auxiliary switch module to turn on, so as to connect and communicate with the target bus of the controller area network through the auxiliary chip of the controller area network. Alternatively, if the auxiliary controller cannot control the auxiliary switch module, the main controller can control the main switch module to turn on, so as to connect and communicate with the target bus of the controller area network through the main chip of the controller area network. Alternatively, if there is an abnormality in the connection between the main chip of the controller LAN and the target bus of the controller LAN, the main switch module is disconnected by the main controller and the auxiliary switch module is turned on by the auxiliary controller, so as to connect and communicate with the target bus of the controller LAN through the auxiliary chip of the controller LAN. Alternatively, if there is an abnormality in the connection between the auxiliary chip of the controller LAN and the target bus of the controller LAN, the auxiliary switch module can be disconnected by the auxiliary controller and the main switch module can be turned on by the main controller, so as to establish a connection and communication between the main chip of the controller LAN and the target bus of the controller LAN.
[0014] This application also provides a vehicle that includes a communication system as described in any of the above.
[0015] The beneficial effects of this application are as follows: This application proposes a communication system, method, and vehicle. By setting up a main controller and an auxiliary controller that can communicate and interact with each other, when the main controller cannot control the main switch module, the auxiliary controller controls the auxiliary switch module to conduct, so as to connect and communicate with the target bus of the controller LAN through the auxiliary chip; or, when the auxiliary controller cannot control the auxiliary switch module, the main controller controls the main switch module to conduct, so as to connect and communicate with the target bus of the controller LAN through the main chip of the controller LAN. This ensures normal controller LAN communication between the vehicle chassis and external electronic control units, improving the safety of the vehicle chassis in controller LAN communication. In addition, the main controller can also obtain the communication status of the main controller LAN chip in real time. When the main controller LAN chip malfunctions, the main controller transmits the fault information of the main controller LAN chip to the auxiliary controller, so that the auxiliary controller can respond more quickly and accurately, opening the path control switch of the faulty node, ensuring normal controller LAN communication between the vehicle chassis and external electronic control units, and improving the safety of the vehicle chassis in controller LAN communication. Simultaneously, the auxiliary controller can also acquire the communication status of the auxiliary controller LAN chip in real time. When the auxiliary controller LAN chip malfunctions, the auxiliary controller transmits the fault information to the main controller, enabling the main controller to respond more quickly and accurately, opening the path control switch of the faulty node, ensuring normal LAN communication between the vehicle chassis and external electronic control units, and improving the safety of the vehicle chassis in LAN communication. The main controller and auxiliary controller can be located in the vehicle chassis or the vehicle chassis control system. Therefore, this application achieves timely detection of LAN communication faults in the vehicle chassis. Whether the communication lines corresponding to the main controller or auxiliary controller malfunction or malfunction, a smooth switch can be performed promptly, preventing chassis control system failure due to LAN communication failure between the vehicle chassis and other electronic control units, thereby improving the reliability of the chassis control system. Attached Figure Description
[0016] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort.
[0017] In the attached diagram: Figure 1 This is a schematic diagram of the hardware structure of a communication system provided in one embodiment of this application; Figure 2This is a schematic diagram of a communication system provided in one embodiment of this application; Figure 3 This is a circuit connection diagram of a communication system provided in one embodiment of this application. Detailed Implementation
[0018] The following specific examples illustrate the implementation of this application. Those skilled in the art can easily understand other advantages and effects of this application from the content disclosed in this specification. This application can also be implemented or applied through other different specific embodiments. Various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of this application. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0019] It is understood that the illustrations provided in the following embodiments are only schematic representations of the basic concept of this application. The drawings only show the components related to this application and are not drawn according to the actual number, shape and size of the components in the actual implementation. In the actual implementation, the form, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.
[0020] In the following description, numerous details are explored to provide a more thorough explanation of embodiments of the present application. However, it will be apparent to those skilled in the art that embodiments of the present application may be practiced without these specific details. In other embodiments, well-known structures and devices are shown in block diagram form rather than in detail to avoid obscuring embodiments of the present application.
[0021] The proposed dual-redundancy design for the main and auxiliary systems integrates their respective CAN buses into the target CAN bus requiring backup control. When the main or auxiliary controller functions normally, but the corresponding CAN chip malfunctions (e.g., CAN short to ground, short to power, or short circuit in the CANH (Controller Area Network High) / CANL (Controller Area Network Low) lines), the technology cannot isolate the faulty node, causing the entire CAN bus to fail. Even with system switching, normal CAN communication in the automotive chassis control system remains impossible. Therefore, the proposed dual-redundancy design for the main and auxiliary systems requires improvements to the CAN communication hardware fault detection and anomaly handling mechanisms.
[0022] In an exemplary embodiment of this application, as Figure 1As shown, a communication system is provided, including: a main controller, an auxiliary controller, a controller area network (SAR) main chip, a controller area network (SAR) auxiliary chip, a main switch module, and an auxiliary switch module. The main controller is connected to the auxiliary controller, the main controller is connected to the SAR main chip, and the auxiliary controller is connected to the SAR auxiliary chip. The SAR main chip and the SAR auxiliary chip are also connected to a SAR target bus. A main switch module is provided between the SAR main chip and the SAR target bus, and the main controller controls the main switch module to be on or off. An auxiliary switch module is provided between the SAR auxiliary chip and the SAR target bus, and the auxiliary controller controls the auxiliary switch module to be on or off.
[0023] In some embodiments, the process of the main controller controlling the main switch module and the auxiliary controller controlling the auxiliary switch module includes: under the condition that the main chip of the controller area network (CAN) fails, the main controller controls the main switch module to disconnect, and the auxiliary controller controls the auxiliary switch module to turn on; or, under the condition that the auxiliary chip of the CAN fails, the main controller controls the main switch module to turn on, and the auxiliary controller controls the auxiliary switch module to disconnect. Therefore, by setting up a main controller and an auxiliary controller that can communicate with each other, when the CAN main chip connected to the main controller fails, the main controller can control the main switch module to disconnect to isolate the faulty node of the CAN main chip, while the auxiliary controller controls the auxiliary switch module to turn on, thus preventing the entire CAN target bus from being paralyzed. Similarly, when the auxiliary chip of the CAN connected to the auxiliary controller fails, the auxiliary controller can control the auxiliary switch module to disconnect to isolate the faulty node of the CAN auxiliary chip, while the main controller controls the main switch module to turn on, thus preventing the entire CAN target bus from being paralyzed.
[0024] In some embodiments, the main controller can also be referred to as the main MCU (Microcontroller Unit, abbreviated as MCU), the auxiliary controller can also be referred to as the auxiliary MCU, the controller area network (MAN) main chip can also be referred to as the CAN (Controller Area Network High, abbreviated as CAN) main chip, the MAN auxiliary chip can also be referred to as the CAN auxiliary chip, and the MAN target bus can also be referred to as the CAN target bus. The main MCU is connected to the auxiliary MCU, the main MCU is connected to the CAN main chip, and the auxiliary MCU is connected to the CAN auxiliary chip; the CAN main chip and the CAN auxiliary chip are also connected to the CAN target bus; a main switch module is provided between the CAN main chip and the CAN target bus, and the main MCU controls the main switch module to be turned on or off; an auxiliary switch module is provided between the CAN auxiliary chip and the CAN target bus, and the auxiliary MCU controls the auxiliary switch module to be turned on or off. In some examples, the main MCU and the auxiliary MCU can be connected via an SPI (Serial Peripheral Interface, abbreviated as SPI) device, meaning the main MCU and the auxiliary MCU can communicate via SPI. In some examples, both the main MCU and the auxiliary MCU are located in the vehicle chassis or the vehicle chassis control system. In some examples, the CAN target bus includes, but is not limited to, a CAN bus connected to the Electronic Control Unit (ECU), referred to as the ECU CAN bus or CAN BUS; wherein the ECU is located outside the vehicle chassis.
[0025] Therefore, by using the main switch module and the auxiliary switch module, the main MCU and the auxiliary MCU can be controlled independently. When the communication line corresponding to the main MCU or the auxiliary MCU fails or becomes abnormal, a smooth switch can be made in a timely manner, avoiding the failure of the chassis control system due to the failure of CAN communication between the vehicle chassis and other ECUs, thereby improving the reliability of the chassis control system.
[0026] In some exemplary embodiments, the CAN target bus includes high-order data lines and low-order data lines, the main switch module includes a first switch S1 and a second switch S2, and the auxiliary switch module includes a third switch S3 and a fourth switch S4. The data transmission speed or voltage of the high-order data lines is higher than that of the low-order data lines. In some embodiments, the high-order data lines may also be referred to as CANH lines or CAN BUS H lines, and the low-order data lines may also be referred to as CANL lines or CAN BUS L lines. Figure 2As shown, a first switch S1 is provided between the CAN main chip and the CANH line, and a second switch S2 is provided between the CAN main chip and the CANL line; a third switch S3 is provided between the CAN auxiliary chip and the CANH line, and a fourth switch S4 is provided between the CAN auxiliary chip and the CANL line.
[0027] Therefore, by setting independent switches between the CAN main chip and CANH line, the CAN main chip and CANL line, the CAN auxiliary chip and CANH line, and the CAN auxiliary chip and CANL line, it can be ensured that normal CAN communication between the vehicle chassis and the external ECU is maintained after a single point of failure, thereby improving the safety of the vehicle chassis in CAN communication.
[0028] In some exemplary embodiments, the first switch S1, the second switch S2, the third switch S3, and the fourth switch S4 each include at least an optocoupler. The main MCU controls the optocoupler in the first switch S1 to turn on, thereby connecting the CAN main chip and the CANH line; or, the main MCU controls the optocoupler in the first switch S1 to turn off, thereby disconnecting the CAN main chip and the CANH line. The main MCU controls the optocoupler in the second switch S2 to turn on, thereby connecting the CAN main chip and the CANL line; or, the main MCU controls the optocoupler in the second switch S2 to turn off, thereby disconnecting the CAN main chip and the CANL line. The auxiliary MCU controls the optocoupler in the third switch S3 to turn on, thereby connecting the CAN auxiliary chip and the CANH line; or, the auxiliary MCU controls the optocoupler in the third switch S3 to turn off, thereby disconnecting the CAN auxiliary chip and the CANH line. The auxiliary MCU turns on the CAN auxiliary chip and the CANL line by controlling the optocoupler in the fourth switch S4; or, the auxiliary MCU turns off the CAN auxiliary chip and the CANL line by controlling the optocoupler in the fourth switch S4.
[0029] Therefore, by adding high-isolation electronic switches such as optocouplers to the first switch S1, the second switch S2, the third switch S3 and the fourth switch S4, it can be ensured that the faulty node can be completely isolated, and the fault can be prevented from spreading to other communication lines.
[0030] In some exemplary embodiments, the optocoupler in the first switch S1 can be referred to as the first optocoupler isolator, the optocoupler in the second switch S2 as the second optocoupler isolator, the optocoupler in the third switch S3 as the third optocoupler isolator, and the optocoupler in the fourth switch S4 as the fourth optocoupler isolator. Figure 3As shown, the first terminal of the first optocoupler is connected to one end of the first resistor R1. The other end of the first resistor R1 is connected to the first control terminal of the main MCU and one end of the second resistor R5. The other end of the second resistor R5 is grounded. The second terminal of the first optocoupler is grounded. The third terminal of the first optocoupler is connected to the CANH line. The fourth terminal of the first optocoupler is connected to the high-order data line control terminal of the CAN main chip. The first terminal of the second optocoupler is connected to one end of the third resistor R2. The other end of the third resistor R2 is connected to the second control terminal of the main MCU and one end of the fourth resistor R6. The other end of the fourth resistor R6 is grounded. The second terminal of the second optocoupler is grounded. The third terminal of the second optocoupler is connected to the CANL line. The fourth terminal of the second optocoupler is connected to the low-order data line control terminal of the CAN main chip. The first terminal of the third optocoupler is connected to one end of the fifth resistor R3. The other end of the fifth resistor R3 is connected to the first control terminal of the auxiliary MCU and one end of the sixth resistor R7. The other end of the sixth resistor R7 is grounded. The second terminal of the third optocoupler is grounded. The third terminal of the third optocoupler is connected to the CANH line. The fourth terminal of the third optocoupler is connected to the high-order data line control terminal of the CAN auxiliary chip. The first terminal of the fourth optocoupler is connected to one end of the seventh resistor R4. The other end of the seventh resistor R4 is connected to the second control terminal of the auxiliary MCU and one end of the eighth resistor R8. The other end of the eighth resistor R8 is grounded. The second terminal of the fourth optocoupler is grounded. The third terminal of the fourth optocoupler is connected to the CANL line. The fourth terminal of the fourth optocoupler is connected to the low-order data line control terminal of the CAN auxiliary chip.
[0031] exist Figure 3 In this configuration, resistors R1, R2, R3, and R4 provide current limiting protection, while resistors R5, R6, R7, and R8 are pull-down resistors to prevent other interference signals from accidentally activating the optocoupler. Figure 3 In the diagram, U1 represents the CAN main chip, and U2 represents the CAN auxiliary chip. Figure 3 In the diagram, CANH in U1 represents the high-order data line control terminal of the CAN master chip, and CANL in U1 represents the low-order data line control terminal of the CAN master chip; CANH in U2 represents the high-order data line control terminal of the CAN auxiliary chip, and CANL in U2 represents the low-order data line control terminal of the CAN auxiliary chip. Figure 3 In the diagram, mainMCU_Control_S1 represents the first control terminal of the main MCU, mainMCU_Control_S2 represents the second control terminal of the main MCU, auxiliaryMCU_Control_S3 represents the first control terminal of the auxiliary MCU, and auxiliaryMCU_Control_S4 represents the second control terminal of the auxiliary MCU.
[0032] In some exemplary embodiments, when the main MCU cannot control the first switch S1 and / or the second switch S2, the CAN master chip disconnects from the CAN target bus and turns on the third switch S3 and the fourth switch S4 through the auxiliary MCU, so that the CAN auxiliary chip can then reconnect to the CAN target bus. As an example, such as... Figure 3 As shown, when the main MCU crashes and cannot recover, its first control terminal (or main MCU_Control_S1) cannot control the first switch S1, and its second control terminal (or main MCU_Control_S2) cannot control the second switch S2. At this point, the CAN master chip will automatically disconnect from this CAN bus, resulting in abnormal CAN communication for the main MCU. Subsequently, the auxiliary MCU will output a high level by setting its first control terminal (or auxiliary MCU_Control_S3) and second control terminal (or auxiliary MCU_Control_S4) high, enabling the optocouplers in the third switch S3 and the fourth switch S4 to conduct. This switches the system from the main MCU to the auxiliary MCU, which then takes over CAN communication with the external ECU, maintaining normal CAN communication between the vehicle chassis and the external ECU.
[0033] In some exemplary embodiments, when the auxiliary MCU cannot control the third switch S3 and / or the fourth switch S4, the CAN auxiliary chip disconnects from the CAN target bus and the main MCU turns on the first switch S1 and the second switch S2, allowing the CAN main chip to reconnect to the CAN target bus. As an example, such as... Figure 3As shown, when the auxiliary MCU crashes and cannot recover, its first control terminal (or auxiliary MCU_Control_S3) cannot control the third switch S3, and its second control terminal (or auxiliary MCU_Control_S4) cannot control the fourth switch S4. At this point, the auxiliary CAN chip will automatically disconnect from this CAN bus, resulting in abnormal CAN communication for the auxiliary MCU. Subsequently, the master MCU will output a high level by setting its first control terminal (or master MCU_Control_S1) and second control terminal (or master MCU_Control_S2) high, enabling the optocouplers in the first and second switches S1 and S2 to conduct. This switches the system from the auxiliary MCU to the master MCU, which then takes over CAN communication with the external ECU, maintaining normal CAN communication between the vehicle chassis and the external ECU.
[0034] In some exemplary embodiments, when an anomaly occurs in the connection between the CAN master chip and the CAN target bus, the CAN master chip transmits fault information to the main MCU, and the main MCU disconnects the first switch S1 and the second switch S2, cutting off the connection between the CAN master chip and the CAN target bus; and the auxiliary MCU turns on the third switch S3 and the fourth switch S4, allowing the auxiliary CAN chip to reconnect to the CAN target bus. As an example, such as... Figure 3As shown, when only the CAN master chip experiences a communication line abnormality, such as a short circuit to ground or power supply on the CANH / CANL lines, a short circuit between the CANH / CANL lines, or other situations where the CAN master chip is damaged and affects the normal communication of the CAN BUS bus, the CAN master chip will notify the master MCU of the fault information. The master MCU will then set its first control terminal (or master MCU_Control_S1) and second control terminal (or master MCU_Control_S2) low. That is, the first control terminal (or master MCU_Control_S1) and the second control terminal (or master MCU_Control_S2) of the master MCU will output a low level that can turn off the optocoupler isolator in the first switch S1 and the optocoupler isolator in the second switch S2, thereby cutting off the CANH and CANL lines of the CAN master chip from the CAN BUS bus and notifying the auxiliary MCU to take over the communication with the CAN BUS bus. At this time, the auxiliary MCU will set its first control terminal (or auxiliary MCU_Control_S3) and second control terminal (or auxiliary MCU_Control_S4) high. That is, the first control terminal (or auxiliary MCU_Control_S3) and the second control terminal (or auxiliary MCU_Control_S4) of the auxiliary MCU will output a high level that can turn on the optocoupler isolator in the third switch S3 and the optocoupler isolator in the fourth switch S4, thereby switching from the main MCU to the auxiliary MCU. The auxiliary MCU will take over the CAN communication with the external ECU and maintain normal CAN communication between the vehicle chassis and the external ECU.
[0035] In some exemplary embodiments, when an anomaly occurs in the connection between the CAN auxiliary chip and the CAN target bus, the CAN auxiliary chip transmits fault information to the auxiliary MCU, and the auxiliary MCU disconnects the third switch S3 and the fourth switch S4, cutting off the connection between the CAN auxiliary chip and the CAN target bus; and the main MCU turns on the first switch S1 and the second switch S2, allowing the CAN main chip to reconnect to the CAN target bus. As an example, such as... Figure 3As shown, when only the CAN auxiliary chip experiences a communication line abnormality, such as a short circuit to ground or power supply on the CANH / CANL lines, a mutual short circuit between the CANH / CANL lines, or other situations where the CAN auxiliary chip's failure affects the normal communication of the CAN BUS bus, the CAN auxiliary chip will notify the auxiliary MCU of the fault information. The auxiliary MCU will then set its first control terminal (or auxiliary MCU_Control_S3) and second control terminal (or auxiliary MCU_Control_S4) low. That is, the first control terminal (or auxiliary MCU_Control_S3) and the second control terminal (or auxiliary MCU_Control_S4) of the auxiliary MCU will output a low level that can turn off the optocoupler isolator in the third switch S3 and the fourth switch S4, thereby disconnecting the CANH and CANL lines of the CAN auxiliary chip from the CAN BUS bus and notifying the main MCU to take over the communication with the CAN bus. When the BUS bus communication is in operation, the main MCU sets its first control terminal (or main MCU_Control_S1) and second control terminal (or main MCU_Control_S2) high. This means that the first control terminal (or main MCU_Control_S1) and the second control terminal (or main MCU_Control_S2) of the main MCU output a high level that enables the optocoupler isolator in the first switch S1 and the optocoupler isolator in the second switch S2 to conduct. This switches the auxiliary MCU to the main MCU, which then takes over the CAN communication with the external ECU, maintaining normal CAN communication between the vehicle chassis and the external ECU.
[0036] In some exemplary embodiments, the specific voltages for high and low levels can be selected or determined based on the actual conditions of the chip or component. For example, a level greater than or equal to 0.7 times the supply voltage and less than 1.0 times the supply voltage can be used as a high level, and a level greater than or equal to 0 and less than 0.3 times the supply voltage can be used as a low level.
[0037] In some exemplary embodiments, when a minor fault occurs in the CAN communication line of the main MCU (e.g., voltage fluctuations in the CANH line), the communication priority of the main MCU can be reduced, and some communication tasks can be allocated to the auxiliary MCU. At this time, while the auxiliary MCU takes over some communication tasks, it continues to monitor the status of the main MCU. Once the main MCU recovers, its communication priority is dynamically restored. Therefore, through this dynamic redundancy communication strategy, the communication priority of the main MCU can be reduced without a complete switch to the auxiliary MCU. This dynamic balancing mechanism ensures that the CAN communication between the vehicle chassis and external ECUs does not degrade due to sudden load changes.
[0038] In summary, this application proposes a communication system that, when the main controller cannot control the main switch module, the auxiliary controller controls the auxiliary switch module to conduct, enabling communication between the auxiliary chip and the target bus of the Controller Area Network (CAN). Alternatively, when the auxiliary controller cannot control the auxiliary switch module, the main controller controls the main switch module to conduct, enabling communication between the main chip and the target bus of the CAN. This ensures normal CAN communication between the vehicle chassis and external electronic control units, improving the safety of the vehicle chassis in CAN communication. Furthermore, the main controller can acquire the communication status of the main CAN chip in real time. When the main CAN chip malfunctions, the main controller transmits the fault information to the auxiliary controller, enabling the auxiliary controller to respond more quickly and accurately, opening the path control switch of the faulty node, ensuring normal CAN communication between the vehicle chassis and external electronic control units, and further improving the safety of the vehicle chassis in CAN communication. Simultaneously, the auxiliary controller can also acquire the communication status of its local area network (LAN) chip in real time. When the LAN chip malfunctions, the auxiliary controller transmits the fault information to the main controller, enabling the main controller to respond more quickly and accurately. This allows the main controller to open the access control switch of the faulty node, ensuring normal LAN communication between the vehicle chassis and external electronic control units, thus improving the safety of the vehicle chassis's LAN communication. The main and auxiliary controllers can be located within the vehicle chassis or its control system. Therefore, this system enables timely detection of LAN communication faults in the vehicle chassis. Whether a fault or abnormality occurs in the communication line corresponding to the main or auxiliary controller, a smooth switch can be performed promptly, preventing chassis control system failure due to LAN communication failure between the vehicle chassis and other electronic control units, thereby improving the reliability of the chassis control system.
[0039] In another exemplary embodiment of this application, this embodiment also provides a communication method using a communication system as described in any of the above embodiments, the method comprising the following steps: When the main MCU cannot control the main switch module, the auxiliary MCU controls the auxiliary switch module to turn on so as to connect and communicate with the CAN target bus through the CAN auxiliary chip. Alternatively, if the auxiliary MCU cannot control the auxiliary switch module, the main MCU can control the main switch module to turn on so as to connect and communicate with the CAN target bus through the CAN main chip. Alternatively, if there is an abnormality in the connection between the CAN master chip and the CAN target bus, the master MCU controls the master switch module to disconnect and the auxiliary MCU controls the auxiliary switch module to turn on, so as to connect and communicate with the CAN target bus through the CAN auxiliary chip. Alternatively, if there is an abnormality in the connection between the CAN auxiliary chip and the CAN target bus, the auxiliary MCU controls the auxiliary switch module to disconnect, and the main MCU controls the main switch module to turn on, so as to connect and communicate with the CAN target bus through the CAN main chip.
[0040] It is understood that the communication method provided in the above embodiments and the communication system provided in the above embodiments belong to the same concept. The specific technical process of the communication system has been described in detail in the above embodiments and will not be repeated here. In practical applications, the communication method provided in the above embodiments can be assigned to different units or modules in the communication system as needed. That is, all or part of the steps of the communication method can be implemented through different units or modules corresponding to the communication system in the above embodiments. No specific limitations are imposed here.
[0041] In summary, this application proposes a communication method where, when the main controller cannot control the main switch module, the auxiliary controller controls the auxiliary switch module to conduct, enabling communication between the auxiliary chip and the target bus of the Controller Area Network (CAN). Alternatively, when the auxiliary controller cannot control the auxiliary switch module, the main controller controls the main switch module to conduct, enabling communication between the main chip and the target bus of the CAN. This ensures normal CAN communication between the vehicle chassis and external electronic control units, improving the safety of the vehicle chassis in CAN communication. Furthermore, the main controller can acquire the communication status of the main CAN chip in real time. When the main CAN chip malfunctions, the main controller transmits the fault information to the auxiliary controller, allowing the auxiliary controller to respond more quickly and accurately, opening the path control switch of the faulty node, ensuring normal CAN communication between the vehicle chassis and external electronic control units, and further improving the safety of the vehicle chassis in CAN communication. Simultaneously, the auxiliary controller can also acquire the communication status of the auxiliary controller LAN chip in real time. When the auxiliary controller LAN chip malfunctions, the auxiliary controller transmits the fault information to the main controller, enabling the main controller to respond more quickly and accurately, opening the path control switch of the faulty node, ensuring normal LAN communication between the vehicle chassis and external electronic control units, and improving the safety of the vehicle chassis in LAN communication. The main controller and auxiliary controller can be located in the vehicle chassis or the vehicle chassis control system. Therefore, this method achieves timely detection of LAN communication faults in the vehicle chassis. Whether the communication lines corresponding to the main controller or auxiliary controller malfunction or malfunction, a smooth switch can be performed promptly, avoiding chassis control method failure due to LAN communication failure between the vehicle chassis and other electronic control units, thereby improving the reliability of the chassis control method.
[0042] In another exemplary embodiment of this application, this embodiment also provides a vehicle including a communication system as described in the above embodiments. Since the specific technical processes of the communication system have been described in detail in the above embodiments, they will not be repeated here. Therefore, the technical functions and effects of the vehicle provided in this embodiment can be found in the above embodiments, and will not be repeated here. In some examples, the vehicle may include a vehicle chassis, in which the communication system described in any of the above embodiments is configured. In some examples, the vehicle may include a vehicle chassis control system, in which the communication system described in any of the above embodiments is configured.
[0043] It is understood that although terms such as first, second, third, etc., may be used to describe resistors in this application, these terms are only used to distinguish resistors from each other. For example, without departing from the scope of the embodiments of this application, a first resistor may also be referred to as a second resistor, and similarly, a second resistor may also be referred to as a first resistor.
[0044] The above embodiments are merely illustrative of the principles and effects of this application and are not intended to limit this application. Any person skilled in the art can modify or alter the above embodiments without departing from the spirit and scope of this application. Therefore, all equivalent modifications or alterations made by those skilled in the art without departing from the spirit and technical concept disclosed in this application should still be covered by the claims of this application.
Claims
1. A communication system, characterized in that, The system includes: a main controller, an auxiliary controller, a controller area network (MAN) main chip, a MAN auxiliary chip, a main switch module, and an auxiliary switch module; the main controller is connected to the auxiliary controller, the main controller is connected to the MAN main chip, and the auxiliary controller is connected to the MAN auxiliary chip; the MAN main chip and the MAN auxiliary chip are also respectively connected to the MAN target bus; The main switch module is provided between the controller local area network (Controller Area Network) main chip and the controller local area network (Controller Area Network) target bus, and the auxiliary switch module is provided between the controller local area network (Controller Area Network) auxiliary chip and the controller local area network (Controller Area Network) target bus. In the event of a fault in the main chip of the controller local area network, the main controller controls the main switch module to disconnect, and the auxiliary controller controls the auxiliary switch module to turn on; or, in the event of a fault in the auxiliary chip of the controller local area network, the main controller controls the main switch module to turn on, and the auxiliary controller controls the auxiliary switch module to disconnect.
2. The communication system according to claim 1, characterized in that, The controller local area network target bus includes a high-order data line and a low-order data line; the main switch module includes a first switch and a second switch; and the auxiliary switch module includes a third switch and a fourth switch. The data transmission speed or voltage of the high-order data line is higher than that of the low-order data line. A first switch is provided between the controller local area network main chip and the high-level data line, and a second switch is provided between the controller local area network main chip and the low-level data line; The third switch is provided between the controller local area network auxiliary chip and the high-order data line, and the fourth switch is provided between the controller local area network auxiliary chip and the low-order data line.
3. The communication system according to claim 2, characterized in that, The first switch, the second switch, the third switch, and the fourth switch each include at least an optocoupler isolator; wherein, The main controller turns on the optocoupler in the first switch to connect the controller LAN main chip to the high-order data line; or, the main controller turns off the optocoupler in the first switch to disconnect the controller LAN main chip from the high-order data line. The main controller turns on the optocoupler in the second switch to connect the controller LAN main chip to the low-level data line; or, the main controller turns off the optocoupler in the second switch to disconnect the controller LAN main chip from the low-level data line. The auxiliary controller turns on the optocoupler in the third switch to connect the controller LAN auxiliary chip to the high-order data line; or, the auxiliary controller turns off the optocoupler in the third switch to disconnect the controller LAN auxiliary chip from the high-order data line. The auxiliary controller turns on the optocoupler in the fourth switch to connect the controller LAN auxiliary chip to the low-level data line; or, the auxiliary controller turns off the optocoupler in the fourth switch to disconnect the controller LAN auxiliary chip from the low-level data line.
4. The communication system according to claim 3, characterized in that, The first end of the first optocoupler is connected to one end of the first resistor. The other end of the first resistor is connected to the first control terminal of the main controller and one end of the second resistor, respectively. The other end of the second resistor is grounded. The second end of the first optocoupler is grounded. The third end of the first optocoupler is connected to the high-order data line. The fourth end of the first optocoupler is connected to the high-order data line control terminal of the controller's local area network main chip. The first end of the second optocoupler is connected to one end of the third resistor. The other end of the third resistor is connected to the second control terminal of the main controller and one end of the fourth resistor, respectively. The other end of the fourth resistor is grounded. The second end of the second optocoupler is grounded. The third end of the second optocoupler is connected to the low-order data line. The fourth end of the second optocoupler is connected to the low-order data line control terminal of the controller's local area network main chip. The first end of the third optocoupler is connected to one end of the fifth resistor. The other end of the fifth resistor is connected to the first control end of the auxiliary controller and one end of the sixth resistor, respectively. The other end of the sixth resistor is grounded. The second end of the third optocoupler is grounded. The third end of the third optocoupler is connected to the high-order data line. The fourth end of the third optocoupler is connected to the high-order data line control end of the controller's local area network auxiliary chip. The first end of the fourth optocoupler is connected to one end of the seventh resistor. The other end of the seventh resistor is connected to the second control terminal of the auxiliary controller and one end of the eighth resistor. The other end of the eighth resistor is grounded. The second end of the fourth optocoupler is grounded. The third end of the fourth optocoupler is connected to the low-order data line. The fourth end of the fourth optocoupler is connected to the low-order data line control terminal of the controller's local area network auxiliary chip. Wherein, the first optocoupler is the optocoupler in the first switch, the second optocoupler is the optocoupler in the second switch, the third optocoupler is the optocoupler in the third switch, and the fourth optocoupler is the optocoupler in the fourth switch.
5. The communication system according to any one of claims 2 to 4, characterized in that, When the main controller is unable to control the first switch and / or the second switch, the main chip of the controller area network disconnects from the target bus of the controller area network and turns on the third switch and the fourth switch through the auxiliary controller, and the auxiliary chip of the controller area network turns on the connection with the target bus of the controller area network.
6. The communication system according to any one of claims 2 to 4, characterized in that, When the auxiliary controller cannot control the third switch and / or the fourth switch, the auxiliary chip of the controller area network disconnects from the target bus of the controller area network and turns on the first switch and the second switch through the main controller, and the main chip of the controller area network turns on the connection with the target bus of the controller area network.
7. The communication system according to any one of claims 2 to 4, characterized in that, Under the condition that there is an abnormality in the connection between the controller LAN main chip and the controller LAN target bus, the fault information is transmitted to the main controller through the controller LAN main chip, and the main controller disconnects the first switch and the second switch to cut off the connection between the controller LAN main chip and the controller LAN target bus; and the auxiliary controller turns on the third switch and the fourth switch, so that the controller LAN auxiliary chip can restore the connection with the controller LAN target bus.
8. The communication system according to any one of claims 2 to 4, characterized in that, Under the condition that there is an abnormality in the connection between the auxiliary chip of the controller LAN and the target bus of the controller LAN, the fault information is transmitted to the auxiliary controller through the auxiliary chip of the controller LAN, and the auxiliary controller disconnects the third switch and the fourth switch to cut off the connection between the auxiliary chip of the controller LAN and the target bus of the controller LAN; and the main controller turns on the first switch and the second switch, so that the main chip of the controller LAN turns on the connection with the target bus of the controller LAN.
9. A communication method using the communication system as described in any one of claims 1 to 8, characterized in that, The method includes the following steps: When the main controller cannot control the main switch module, the auxiliary controller controls the auxiliary switch module to turn on, so as to connect and communicate with the target bus of the controller area network through the auxiliary chip of the controller area network. Alternatively, if the auxiliary controller cannot control the auxiliary switch module, the main controller can control the main switch module to turn on, so as to connect and communicate with the target bus of the controller area network through the main chip of the controller area network. Alternatively, if there is an abnormality in the connection between the main chip of the controller LAN and the target bus of the controller LAN, the main switch module is disconnected by the main controller and the auxiliary switch module is turned on by the auxiliary controller, so as to connect and communicate with the target bus of the controller LAN through the auxiliary chip of the controller LAN. Alternatively, if there is an abnormality in the connection between the auxiliary chip of the controller LAN and the target bus of the controller LAN, the auxiliary switch module can be disconnected by the auxiliary controller and the main switch module can be turned on by the main controller, so as to establish a connection and communication between the main chip of the controller LAN and the target bus of the controller LAN.
10. A vehicle, characterized in that, The vehicle includes a communication system as described in any one of claims 1 to 8.