Circuit, control method and vehicle capable of shutting down controller and CAN communication network simultaneously
By designing a circuit containing an emergency shutdown module, using components such as transistors and MOS tubes to shut down the controller and CAN communication network when an abnormality is detected, the problem that the existing technology cannot shut down the external controller and CAN network at the same time is solved, and the vehicle's safety is realized. Functional safety status, and has the advantages of simple structure and low cost.
Patent Information
- Application Number
- CN202210552028.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-20
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2042-05-20
AI Technical Summary
The existing technology cannot effectively shut down the external controller and the CAN communication network when an abnormality occurs in the main controller at the same time, resulting in the failure to achieve a functional safety state.
Design a circuit including a first emergency shutdown module and a second emergency shutdown module. Through the connection between the monitoring module and the control module, components such as transistors and MOS tubes are used to emergency shutdown the wake-up control module and CAN communication module when an abnormality is detected to ensure that other The on-board controller enters a functional safety state.
It realizes that when the control module is abnormal, the external controller and the CAN communication network can be shut down at the same time to ensure that the vehicle enters a functional safety state. The circuit structure is simple, low cost and easy to implement.
Smart Images

Figure CN115032921B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of vehicle control circuits, and in particular relates to a circuit, a control method and a vehicle capable of simultaneously shutting down a controller and a CAN communication network. Background Art
[0002] With the increasing demand for safety performance of new energy vehicles, functional safety has become a necessary item for vehicle safety. When the vehicle is in an uncontrollable state, the functional safety design will put the vehicle into a predetermined safe state to ensure that the loss of the user or the vehicle is minimized. The wake-up control function network and CAN communication network between the on-board controllers are commonly used communication functions for daily work of the vehicle. When the on-board controllers and CAN communication functions are abnormal, the main controller monitoring function unit is used to urgently shut down other on-board controllers and CAN networks to ensure that other on-board controllers enter the functional safety state more efficiently. At present, when the main controller works abnormally, the normal shutdown function of other external controllers and CAN networks at the same time cannot be implemented.
[0003] Therefore, it is necessary to develop a circuit, a control method and a vehicle that can shut down the controller and the CAN communication network at the same time. Summary of the invention
[0004] The object of the present invention is to provide a circuit, a control method and a vehicle that can simultaneously shut down a controller and a CAN communication network. When a functional abnormality occurs in a control module, the circuit can simultaneously shut down an external controller and a CAN communication network.
[0005] In a first aspect, the present invention provides a circuit capable of simultaneously shutting down a controller and a CAN communication network, wherein an external controller on a vehicle is connected to a wake-up control module, and the wake-up control module is connected to a control module, and the circuit comprises a first emergency shutdown module, a monitoring module, and a second emergency shutdown module; the monitoring module is respectively connected to the first emergency shutdown module, the control module, and the second emergency shutdown module; the control module is also connected to the second emergency shutdown module; and the second emergency shutdown module is also connected to a CAN communication module on the vehicle;
[0006] The control module is used to control the wake-up control module and to perform data interaction with the monitoring module;
[0007] The wake-up control module wakes up and puts the external controller to sleep based on control signals from the control module and the monitoring module;
[0008] The first emergency shutdown module is controlled by the monitoring module and is used to emergency shut down and wake up the control module when the monitoring module detects that the control module is abnormal;
[0009] The second emergency shutdown module is controlled by the monitoring module and the control module, and is used to control the CAN communication module to power off when an abnormality occurs in the CAN communication module or a functional abnormality occurs in the control module.
[0010] Optionally, the first emergency shutdown module includes a transistor Q1, the base of the transistor Q1 is connected to the monitoring module; the emitter of the transistor Q1 is grounded; the collector of the transistor Q1 is connected to the connection point between the wake-up control module and the control circuit; after the monitoring module detects that the control module is working abnormally, the monitoring module outputs a high level to the transistor Q1, the transistor Q1 is turned on, the collector of the transistor Q1 becomes a low level, and the wake-up control module drives the output port to be urgently closed.
[0011] Optionally, the second emergency shutdown module includes a MOS transistor Q2, a MOS transistor Q3 and a MOS transistor Q4;
[0012] The gate of the MOS tube Q2 is connected to the monitoring module via the resistor R10, the source of the MOS tube Q2 is connected to the power supply VCC, the drain of the MOS tube Q2 is connected to the gate of the MOS tube Q3, the source of the MOS tube Q3 is connected to the power supply VCC, and the drain of the MOS tube Q3 is connected to the CAN communication module;
[0013] The gate of the MOS tube Q4 is connected to the control module via the resistor R13, the source of the MOS tube Q4 is connected to the power supply VCC, and the drain of the MOS tube Q4 is connected to the gate of the MOS tube Q3;
[0014] When the control module detects that the CAN communication module is abnormal, it outputs a low level to the resistor R13. At this time, the gate of the MOS tube Q4 is at a low level, the MOS tube Q4 is turned on, and the gate of the MOS tube Q3 is at a high level, causing the MOS tube Q3 to be turned off, thereby achieving the function of emergency power off of the CAN communication module;
[0015] When the monitoring module detects that the control module is malfunctioning, it outputs a low level to the resistor R10. At this time, the gate of the MOS tube Q2 is at a low level, the MOS tube Q2 is turned on, and the gate of the MOS tube Q3 is at a high level, causing the MOS tube Q3 to be turned off, thereby achieving the function of emergency power-off of the CAN control circuit.
[0016] Optionally, the second emergency shutdown module further includes a resistor R15 and a resistor R11, one end of the resistor R15 is connected to a connection point between the resistor R10 and the monitoring module, and the other end of the resistor R15 is connected to a power supply VCC;
[0017] One end of the resistor R11 is connected to the connection point of the resistor R13 and the control module, and the other end of the resistor R11 is connected to the source of the MOS tube Q4;
[0018] The resistor R15 and the resistor R11 are used to limit the current of the circuit.
[0019] Optionally, the second emergency shutdown module further includes a resistor R12 and a resistor R14, one end of the resistor R12 is grounded, and the other end of the resistor R12 is connected to a connection point between the resistor R13 and the control module;
[0020] One end of the resistor R14 is grounded, and the other end of the resistor R14 is connected to the gate of the MOS tube Q3;
[0021] Among them, the resistor R14 and the resistor R12 are pull-down circuits for eliminating the hidden danger of floating pressure misoperation.
[0022] Optionally, the control module is connected to the wake-up control module via a resistor R1;
[0023] The control module is also connected to the wake-up control module via a resistor R2;
[0024] The control module is also connected to the wake-up control module via a resistor R3;
[0025] The control module is also connected to the wake-up control module via a resistor R4;
[0026] The control module is also connected to the wake-up control module via a resistor R5.
[0027] Among them, resistors R1 to R5 are used for impedance matching of the SPI serial port line.
[0028] The first emergency shutdown module also includes a resistor R16, one end of which is connected to the connection point between the control module and the resistor R5; the other end of the resistor R16 is grounded, and the resistor R16 is a pull-down circuit for eliminating the hidden danger of floating pressure misoperation.
[0029] Optionally, the monitoring module is connected to the control module via a resistor R6;
[0030] The monitoring module is also connected to the control module via a resistor R7;
[0031] The monitoring module is also connected to the control module via a resistor R8;
[0032] The monitoring module is also connected to the control module via a resistor R9;
[0033] Among them, resistors R6 to R9 are used for impedance matching of the SPI serial port line.
[0034] In a second aspect, a control method for a circuit capable of simultaneously shutting down a controller and a CAN communication network according to the present invention adopts the circuit capable of simultaneously shutting down a controller and a CAN communication network according to the present invention, and the control method comprises the following steps:
[0035] In response to the control module working normally, and when the control module detects that the external controller fails, the control module turns off the wake-up control module;
[0036] In response to the monitoring module detecting that the control module has a functional abnormality, the first emergency shutdown module shuts down the wake-up control module;
[0037] In response to the control module detecting that the CAN communication module is abnormal, the control module controls the second emergency shutdown module to shut down the CAN communication module;
[0038] In response to the monitoring module detecting that the control module has a functional abnormality, the monitoring module controls the second emergency shutdown module to shut down the CAN communication module.
[0039] In a third aspect, a vehicle described in the present invention adopts a circuit as described in the present invention that can simultaneously shut down a controller and a CAN communication network.
[0040] The present invention has the following advantages: when the control module is in normal state, when the external controller and CAN communication function are abnormal, the control module is used to urgently shut down the external controller and CAN network to ensure that other vehicle-mounted controllers enter the functional safety state more efficiently. When the control module has a functional abnormality, the external controller and CAN communication network can be shut down at the same time through this circuit. In addition, the circuit has the advantages of simple structure, low cost and easy implementation. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 Schematic diagram of the circuit of this embodiment. DETAILED DESCRIPTION
[0042] The present invention will be described in detail below with reference to the accompanying drawings.
[0043] like Figure 1As shown, in this embodiment, a circuit that can simultaneously shut down the controller and the CAN communication network, the external controller on the vehicle (motor control IPU, vehicle battery management system BCU, electric drive assembly EDS, intelligent traffic management system ITMS, electric vehicle high-voltage distribution box PDU, engine management system EMS) is connected to the wake-up control module, and the wake-up control module is connected to the control module. The circuit includes a first emergency shutdown module, a monitoring module and a second emergency shutdown module; the monitoring module is respectively connected to the first emergency shutdown module, the control module and the second emergency shutdown module; the control module is also connected to the second emergency shutdown module; the second emergency shutdown module is also connected to the CAN communication module on the vehicle; the control module is used to control the wake-up control module and to exchange data with the monitoring module; the wake-up control module wakes up and sleeps the external controller based on the control signal of the control module and the monitoring module; the first emergency shutdown module is controlled by the monitoring module, and is used to emergency shut down the wake-up control module when the monitoring module detects that the control module is abnormal; the second emergency shutdown module is controlled by the monitoring module and the control module, and is used to control the CAN communication module to power off when the CAN communication module is abnormal or the control module has a functional abnormality.
[0044] This circuit is designed based on functional safety and has the emergency shutdown circuit of the controller and the CAN communication network to solve the problem that the existing control module fails and cannot normally shut down the external controller and the external CAN communication network.
[0045] like Figure 1 As shown, in this embodiment, the first emergency shutdown module includes a transistor Q1, the base of the transistor Q1 is connected to the monitoring module; the emitter of the transistor Q1 is grounded; the collector of the transistor Q1 is connected to the connection point between the wake-up control module and the control circuit. After the monitoring module detects that the control module is working abnormally, the monitoring module outputs a high level to the transistor Q1, the transistor Q1 is turned on, the collector of the transistor Q1 becomes a low level, and the wake-up control module drives the output port to be urgently closed.
[0046] like Figure 1 As shown, in this embodiment, the second emergency shutdown module includes MOS transistor Q2, MOS transistor Q3 and MOS transistor Q4; the specific connection relationship is as follows:
[0047] The gate of the MOS tube Q2 is connected to the monitoring module via the resistor R10, the source of the MOS tube Q2 is connected to the power supply VCC, the drain of the MOS tube Q2 is connected to the gate of the MOS tube Q3, the source of the MOS tube Q3 is connected to the power supply VCC, and the drain of the MOS tube Q3 is connected to the CAN communication module. The gate of the MOS tube Q4 is connected to the control module via the resistor R13, the source of the MOS tube Q4 is connected to the power supply VCC, and the drain of the MOS tube Q4 is connected to the gate of the MOS tube Q3.
[0048] like Figure 1 As shown, in this embodiment, the second emergency shutdown module further includes a resistor R15 and a resistor R11, one end of the resistor R15 is connected to the connection point between the resistor R10 and the monitoring module, and the other end of the resistor R15 is connected to the power supply VCC. One end of the resistor R11 is connected to the connection point between the resistor R13 and the control module, and the other end of the resistor R11 is connected to the source of the MOS tube Q4.
[0049] like Figure 1 As shown, in this embodiment, the second emergency shutdown module further includes a resistor R12 and a resistor R14, one end of the resistor R12 is grounded, and the other end of the resistor R12 is connected to the connection point of the resistor R13 and the control module; one end of the resistor R14 is grounded, and the other end of the resistor R14 is connected to the gate of the MOS tube Q3;
[0050] like Figure 1 As shown, in this embodiment, the control module is connected to the wake-up control module through a resistor R1; the control module is also connected to the wake-up control module through a resistor R2; the control module is also connected to the wake-up control module through a resistor R3; the control module is also connected to the wake-up control module through a resistor R4; the control module is also connected to the wake-up control module through a resistor R5. Among them, resistors R1 to R5 are used for SPI serial line impedance matching.
[0051] like Figure 1 As shown, in this embodiment, the first emergency shutdown module further includes a resistor R16, one end of the resistor R16 is connected to the connection point between the control module and the resistor R5; the other end of the resistor R16 is grounded.
[0052] like Figure 1 As shown, in this embodiment, the monitoring module is connected to the control module through a resistor R6; the monitoring module is also connected to the control module through a resistor R7; the monitoring module is also connected to the control module through a resistor R8; the monitoring module is also connected to the control module through a resistor R9. Among them, resistors R6 to R9 are used for SPI serial line impedance matching.
[0053] In this embodiment, the resistors R14, R12 and R16 are pull-down circuits for eliminating the hidden danger of floating voltage misoperation; the resistors R15, R10, R11 and R13 are used to limit the circuit current.
[0054] In this embodiment, the working principle of a circuit capable of shutting down the controller and the CAN communication network at the same time is as follows:
[0055] Controller emergency shutdown principle:
[0056] (1) Normal operation: When the vehicle key signal is powered on, the control module sends a wake-up command to the wake-up control module through the SPI serial port, and the monitoring module outputs a continuous low level to the transistor Q1. At this time, the signal port of the wake-up control module outputs a continuous high level to wake up the external controller; when the vehicle key signal is powered off, the power supply of the wake-up control module is turned off, and the external controller is in a dormant state;
[0057] (2) Emergency shutdown function of the control module: When an external controller fails, the signal output port of the wake-up control module has the function of diagnosing and detecting faults such as overcurrent, open circuit, temperature warning, and overvoltage. When any of the above functional failures occur, the control module can read the fault information and perform operations such as closing the output port.
[0058] (3) Functional safety emergency shutdown wake-up control module: When the control module fails, the monitoring module detects that the control module is working abnormally through the SPI serial port line communication interaction. The monitoring module outputs a high level to the transistor Q1, the transistor Q1 is turned on, the collector of the transistor Q1 becomes a low level, and the wake-up control module drives the output port to be urgently closed.
[0059] CAN communication emergency shutdown principle:
[0060] (1) Normal operation: The vehicle controller is powered on and the self-test function is normal. At this time, the monitoring module outputs a high level to the resistor R10, and the control module outputs a high level to the resistor R13. At this time, MOS tubes Q4 and Q2 are in the off state, and MOS tube Q3 is turned on, and the CAN communication module is powered normally.
[0061] (2) Emergency shutdown function of the control module: When the control module detects an abnormality in the external CAN communication, it outputs a low level to the resistor R13. At this time, the gate of the MOS tube Q4 is at a low level, the MOS tube Q4 is turned on, and the gate of the MOS tube Q3 is at a high level, causing the MOS tube Q3 to be turned off, thereby achieving the function of emergency power-off of the CAN control circuit.
[0062] (3) Emergency shutdown function of the monitoring module: When the monitoring module detects a functional abnormality of the control module through the SPI serial port communication, the monitoring module outputs a low level through the resistor R10. At this time, the gate of the MOS tube Q2 is at a low level, the MOS tube Q2 is turned on, and the gate of the MOS tube Q3 is at a high level, causing the MOS tube Q3 to be turned off, thereby achieving the function of emergency power-off of the CAN communication module.
[0063] In this embodiment, a control method for a circuit capable of simultaneously shutting down a controller and a CAN communication network is provided, using the circuit capable of simultaneously shutting down a controller and a CAN communication network as described in the present invention, and the control method comprises the following steps:
[0064] In response to the control module working normally, and when the control module detects that the external controller fails, the control module turns off the wake-up control module;
[0065] In response to the monitoring module detecting that the control module has a functional abnormality, the first emergency shutdown module shuts down the wake-up control module;
[0066] In response to the control module detecting that the CAN communication module is abnormal, the control module controls the second emergency shutdown module to shut down the CAN communication module;
[0067] In response to the monitoring module detecting that the control module has a functional abnormality, the monitoring module controls the second emergency shutdown module to shut down the CAN communication module.
[0068] In this embodiment, a vehicle adopts the circuit described in this embodiment that can simultaneously shut down the controller and the CAN communication network.
[0069] The above embodiments are preferred implementation modes of the method of the present invention, but the implementation modes of the method of the present invention are not limited to the above embodiments. Any other changes, modifications, substitutions, combinations, and simplifications made without departing from the spirit and principle of the present invention shall be equivalent replacement modes and shall be included in the protection scope of the present invention.
Claims
1. A circuit capable of shutting down a controller and a CAN communication network at the same time, wherein an external controller on a vehicle is connected to a wake-up control module, and the wake-up control module is connected to a control module, characterized in that: The circuit includes a first emergency shutdown module, a monitoring module and a second emergency shutdown module; the monitoring module is connected to the first emergency shutdown module, the control module and the second emergency shutdown module respectively; the control module is also connected to the second emergency shutdown module; the second emergency shutdown module is also connected to a CAN communication module on the vehicle; The control module is used to control the wake-up control module and to perform data interaction with the monitoring module; The wake-up control module wakes up and puts the external controller to sleep based on control signals from the control module and the monitoring module; The first emergency shutdown module is controlled by the monitoring module and is used to emergency shut down and wake up the control module when the monitoring module detects that the control module is abnormal; The second emergency shutdown module is controlled by the monitoring module and the control module, and is used to control the CAN communication module to power off when an abnormality occurs in the CAN communication module or a functional abnormality occurs in the control module; The first emergency shutdown module includes a transistor Q1, the base of the transistor Q1 is connected to the monitoring module; the emitter of the transistor Q1 is grounded; the collector of the transistor Q1 is connected to the connection point between the wake-up control module and the control circuit; The second emergency shutdown module includes a MOS tube Q2, a MOS tube Q3 and a MOS tube Q4; The gate of the MOS tube Q2 is connected to the monitoring module via the resistor R10, the source of the MOS tube Q2 is connected to the power supply VCC, the drain of the MOS tube Q2 is connected to the gate of the MOS tube Q3, the source of the MOS tube Q3 is connected to the power supply VCC, and the drain of the MOS tube Q3 is connected to the CAN communication module; The gate of the MOS tube Q4 is connected to the control module via the resistor R13, the source of the MOS tube Q4 is connected to the power supply VCC, and the drain of the MOS tube Q4 is connected to the gate of the MOS tube Q3.
2. The circuit capable of simultaneously shutting down the controller and the CAN communication network according to claim 1, characterized in that: The second emergency shutdown module further includes a resistor R15 and a resistor R11, one end of the resistor R15 is connected to the connection point between the resistor R10 and the monitoring module, and the other end of the resistor R15 is connected to the power supply VCC; One end of the resistor R11 is connected to the connection point of the resistor R13 and the control module, and the other end of the resistor R11 is connected to the source of the MOS tube Q4.
3. The circuit capable of shutting down the controller and the CAN communication network simultaneously according to claim 2, characterized in that: The second emergency shutdown module further includes a resistor R12 and a resistor R14, one end of the resistor R12 is grounded, and the other end of the resistor R12 is connected to a connection point between the resistor R13 and the control module; One end of the resistor R14 is grounded, and the other end of the resistor R14 is connected to the gate of the MOS transistor Q3.
4. The circuit capable of simultaneously shutting down the controller and the CAN communication network according to any one of claims 1 to 3, characterized in that: The control module is connected to the wake-up control module via a resistor R1; The control module is also connected to the wake-up control module via a resistor R2; The control module is also connected to the wake-up control module via a resistor R3; The control module is also connected to the wake-up control module via a resistor R4; The control module is also connected to the wake-up control module via a resistor R5.
5. The circuit capable of shutting down the controller and the CAN communication network simultaneously according to claim 4, characterized in that: The first emergency shutdown module further includes a resistor R16, one end of which is connected to the connection point between the control module and the resistor R5; and the other end of the resistor R16 is grounded.
6. The circuit capable of simultaneously shutting down the controller and the CAN communication network according to claim 1, 2, 3 or 5, characterized in that: The monitoring module is connected to the control module via a resistor R6; The monitoring module is also connected to the control module via a resistor R7; The monitoring module is also connected to the control module via a resistor R8; The monitoring module is also connected to the control module via a resistor R9.
7. A control method for simultaneously shutting down a controller and a circuit of a CAN communication network, characterized in that: Using the circuit capable of simultaneously shutting down the controller and the CAN communication network as claimed in any one of claims 1 to 6, the control method thereof comprises the following steps: In response to the control module working normally, and when the control module detects that the external controller fails, the control module turns off the wake-up control module; In response to the monitoring module detecting that the control module has a functional abnormality, the first emergency shutdown module shuts down the wake-up control module; In response to the control module detecting that the CAN communication module is abnormal, the control module controls the second emergency shutdown module to shut down the CAN communication module; In response to the monitoring module detecting that the control module has a functional abnormality, the monitoring module controls the second emergency shutdown module to shut down the CAN communication module.
8. A vehicle, characterized in that: A circuit capable of simultaneously shutting down a controller and a CAN communication network is adopted as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Bus type automobile rain scrape control method and controller
CN101251748A
Automatically ordinal numeration circuit connected with CAN fieldbus equipment and method
CN101582825A
Embedded gateway, railway monitoring system adopting gateway, and railway monitoring method
CN103684944A
Dry powder extinguishing system with emergency shutdown function
CN105148439A
A new energy automobile and an active test circuit of a communication security mechanism thereof
CN109873739A
