A circuit and method for vehicle collision detection and relay disconnection
By designing a circuit for vehicle collision detection and relay disconnection in new energy vehicles, the photocouple U1 and photosensitive transistors can be used to achieve rapid disconnection of high-voltage relays, which solves the problem that the vehicle disconnects the relay after a collision in the prior art for a long time to break the relay after a collision in the prior art The thermal runaway problem improves vehicle safety.
Patent Information
- Application Number
- CN202411132900.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2044-08-19
AI Technical Summary
In the prior art, new energy vehicles need to judge the collision before issuing a command to disconnect the high-voltage relay, resulting in an increase in the risk of thermal runaway vehicle.
A circuit for vehicle collision detection and relay disconnection is designed. Through the collision signal detection circuit and relay control circuit, the photosensitive transistor is closed by using the photocouple U1, and the output signal of the relay control circuit is directly pulled down to achieve rapid high-voltage relay. disconnect.
In the event of a vehicle collision, the high-voltage relay can be quickly disconnected, effectively preventing the vehicle from getting out of control, and directly disconnecting the relay through hardware, reducing the time for software intervention and reducing the risk of thermal runaway.
Smart Images

Figure CN118651074B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of new energy vehicle fault detection, and in particular to a circuit and method for vehicle collision detection and relay disconnection. Background Art
[0002] In order to ensure the safe driving of new energy vehicles, there is a complete set of control solutions and protection logic for the battery system of the whole vehicle. The battery management system (BMS) assumes this key role based on electrochemical characteristics. The principle of BMS protecting the battery is to disconnect the total positive and total negative high-voltage relay circuits. Each high-voltage circuit in the BMS is connected in series with a high-voltage relay. The battery system provides energy to the rear-end load through the high-voltage relay. When the BMS detects that the status of various parameters in the battery system is abnormal, it will promptly control and cut off the high-voltage relay of the corresponding circuit to interrupt the fault circuit. Common high-voltage relays in the high-voltage circuit of the high-voltage battery system include the total positive relay, pre-charge relay, and total negative relay.
[0003] In the prior art, the MCU (microcontroller unit) in the BMS reads the collision signal through the PWM method (pulse width modulation method) to determine whether a collision occurs. After determining that a collision has occurred, it issues an instruction to disconnect the high-voltage relay, and then the high-voltage relay is disconnected by hardware. The main problems of this solution are:
[0004] When a vehicle collides, the BMS needs to first determine the occurrence of a collision and then issue a command to disconnect the total positive and negative high-voltage relays. This will take a long time and may cause thermal runaway of the vehicle. Summary of the invention
[0005] In order to overcome the defects in the above-mentioned prior art, the present invention provides a circuit for vehicle collision detection and relay disconnection, which can disconnect the high-voltage relay as quickly as possible when a vehicle collision occurs, thereby reducing the risk of thermal runaway of the vehicle.
[0006] To achieve the above object, the present invention adopts the following technical solutions, including:
[0007] A circuit for vehicle collision detection and relay disconnection, comprising a collision signal detection circuit and a relay control circuit;
[0008] The collision signal detection circuit is used to detect the collision signal, that is, the collision pulse signal of the airbag, and pull down the output signal of the relay control circuit after detecting the collision signal. The output end of the relay control circuit is connected to the high-voltage relay drive circuit, so that the high-voltage relay drive circuit does not work, thereby disconnecting the high-voltage relay.
[0009] Preferably, the collision signal detection circuit is connected to the relay control circuit through the optocoupler U1; after detecting the collision signal, the collision signal detection circuit turns on the light-emitting diode in the optocoupler U1, so that the phototransistor in the optocoupler U1 is closed, thereby pulling down the output signal of the relay control circuit.
[0010] Preferably, the collision signal detection circuit includes: a resistor R1, a resistor R2, a capacitor C1, and a diode D1; the resistor R1 is a detection resistor for detecting a collision signal, one end of the resistor R1 for inputting a collision pulse signal is connected to one end of the capacitor C1, the other end of the capacitor C1 is connected to the positive electrode of the diode D1, the negative electrode of the diode D1 is connected to the positive electrode of the light-emitting diode in the optocoupler U1, the negative electrode of the light-emitting diode in the optocoupler U1 is connected to one end of the resistor R2, and the other end of the resistor R2 is connected to the other end of the resistor R1 and then grounded.
[0011] Preferably, the relay control loop includes: resistor R3, resistor R5, resistor R6, resistor R7, PMOS tube Q1 and NMOS tube Q2; the collector of the photosensitive transistor in the optocoupler U1 is connected to one end of the resistor R3, the other end of the resistor R3 is respectively connected to the power supply VCC and one end of the resistor R5, the other end of the resistor R5 is respectively connected to the source of the PMOS tube Q1 and one end of the resistor R6, the other end of the resistor R6 is connected to the base of the PMOS tube Q1, the emitter of the photosensitive transistor in the optocoupler U1 is respectively connected to the drain of the PMOS tube Q1 and the base of the NMOS tube Q2, the drain of the PMOS tube Q1 is also connected to the resistor R7 and grounded, the drain of the NMOS tube Q2 is connected to the base of the PMOS tube Q1, and the source of the NMOS tube Q2 is grounded; the base of the PMOS tube Q1 outputs a TRIG_NEG_OUT signal, the base of the PMOS tube Q1 is connected to the drive circuit of the high-voltage relay, and the TRIG_NEG_OUT signal is a signal for controlling the high-voltage relay drive circuit.
[0012] Preferably, the relay control circuit further includes an NMOS tube Q3; the emitter of the phototransistor in the optocoupler U1 is also connected to the drain of the NMOS tube Q3, and the source of the NMOS tube Q3 is grounded;
[0013] The base of the NMOS tube Q3 inputs the MCU_CTL signal, and the drain of the NMOS tube Q3 outputs the TRIG_POS_OUT signal;
[0014] The TRIG_POS_OUT signal is used to detect the state of the optocoupler U1; if the TRIG_POS_OUT signal remains at a high level, the switch of the optocoupler U1 is in a normally closed state, indicating that the optocoupler U1 fails; if the optocoupler U1 fails, the MCU_CTL signal is set to a high level and input into the base of the NMOS tube Q3, so that the relay control circuit outputs a high level signal to restore the high-voltage relay drive circuit to continue working.
[0015] Preferably, the collision signal detection circuit also includes a capacitor C2 and a diode D2; the capacitor C2 is connected in parallel between one end of the capacitor C1 connected to the positive electrode of the diode D1 and one end of the resistor R2 connected to the negative electrode of the light-emitting diode in the optocoupler U1; the diode D2 is connected in parallel between the positive electrode of the diode D1 and the negative electrode of the light-emitting diode in the optocoupler U1, and the positive electrode of the diode D2 is connected to the negative electrode of the light-emitting diode in the optocoupler U1, and the negative electrode of the diode D2 is connected to the positive electrode of the diode D1.
[0016] The present invention also provides a method for vehicle collision detection and relay disconnection, which is applicable to the above-mentioned circuit for vehicle collision detection and relay disconnection, and is specifically as follows:
[0017] S1, when the vehicle does not collide, the TRIG_NEG_OUT signal output by the base of the PMOS tube Q1 is high level, the driving circuit of the high-voltage relay works, and controls the high-voltage relay to close;
[0018] S2, when the vehicle collides, the airbag will send out a collision pulse signal. The collision pulse signal generates a voltage drop after passing through the collision signal detection circuit. After the current passes through the light-emitting diode in the optocoupler U1, the phototransistor in the optocoupler U1 is closed. The power supply VCC drives the base of the NMOS tube Q2 after passing through the resistor R3 and the phototransistor in the optocoupler U1. The source and drain of the NMOS tube Q2 are turned on, thereby pulling down the TRIG_NEG_OUT signal. After the TRIG_NEG_OUT signal is pulled low, the drive circuit of the high-voltage relay does not work, causing the high-voltage relay to be disconnected.
[0019] The advantages of the present invention are:
[0020] (1) When a vehicle collides, the vehicle's high voltage can be quickly disconnected, effectively preventing the vehicle from experiencing thermal runaway.
[0021] (2) This application optimizes the collision detection circuit so that when a vehicle collides, there is no need for software intervention and the high-voltage relay is directly disconnected by hardware.
[0022] (3) When a vehicle collides, the airbag will emit a 1.75A / 0.2ms pulse waveform. After passing through resistor R1, this waveform generates a voltage drop of 1.75A*2Ω=3.5V. The 3.5V voltage passes through isolation capacitor C1, filter capacitor C2, and anti-reverse diode D1 to drive the light-emitting diode inside optocoupler U1 to operate. Resistor R2 serves as a current-limiting resistor for the light-emitting diode inside optocoupler U1, thereby closing the phototransistor in optocoupler U1. After the phototransistor in optocoupler U1 is closed, the power supply VCC passes through resistor R3 and the phototransistor in optocoupler U1 to drive the base of NMOS tube Q2, causing the source and drain of NMOS tube Q2 to conduct and eventually pull down the TRIG_NEG_OUT signal. After the TRIG_NEG_OUT signal is pulled low, the high-voltage relay drive circuit does not work, causing the high-voltage relay to disconnect, thereby achieving the purpose of cutting off the high voltage when a collision occurs.
[0023] (4) The TRIG_POS_OUT signal is the feedback pin for detecting the circuit status of the optocoupler U1 (directly connected to the microcontroller pin). If the optocoupler U1 fails and causes its switch to be normally closed, the high level state of the TRIG_POS_OUT signal can be used to determine that the optocoupler U1 switch is normally closed and failed. By setting the MCU_CTL signal (directly connected to the microcontroller pin) to a high level, the output of the optocoupler U1 switch can be pulled down, so that the system can continue to apply high voltage to ensure that the vehicle can move, and the fault status of the optocoupler U1 can be fed back. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 The present invention is a circuit diagram for vehicle collision detection and relay disconnection.
[0025] Figure 2 The figure is a schematic diagram of a vehicle collision detection circuit in the prior art.
[0026] Figure 3 This is a schematic diagram of the circuit operation when a vehicle crashes. DETAILED DESCRIPTION
[0027] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0028] In the prior art, there are many collision detection circuits when a vehicle collides. Figure 2As shown, the input of the collision detection circuit is a collision pulse signal, one end of the resistor R1 inputs the collision pulse signal, the other end of the resistor R1 is respectively connected to one end of the resistor R2 and one end of the resistor R3, the other end of the resistor R2 is connected to the voltage source VBAT (on-board lead-acid battery), the other end of the resistor R3 is respectively connected to one end of the resistor R4 and the base of the MOS tube Q1, the other end of the resistor R4 is connected to the drain of the MOS tube Q1 and grounded, the source of the MOS tube Q1 is respectively connected to one end of the resistor R5 and one end of the resistor R6, the other end of the resistor R5 is connected to the power supply VCC, and the other end of the resistor R6 outputs the MCU_PWM_IN signal, and the function of the resistor R5 is to limit the current flowing through the MOS tube Q1 after it is turned on. The MCU_PWM_IN signal is input to the MCU in the BMS, and the MCU determines whether a collision occurs according to the frequency and duty cycle of the MCU_PWM_IN signal specified in the protocol, that is, the MCU detects the frequency and duty cycle of the external collision signal by turning on and off the MOS tube Q1. If a collision occurs, the MCU sends a disconnection command to the drive circuit of the high-voltage relay to disconnect the high-voltage relay. The time it takes to disconnect the high-voltage relay in traditional collision detection solutions is longer than that of direct hardware disconnection of the high-voltage relay, increasing the risk of thermal runaway during a vehicle collision.
[0029] In view of the problem that the traditional collision detection solution takes a long time to disconnect the high-voltage relay, the present invention provides a solution for directly disconnecting the high-voltage relay by hardware when a vehicle collision occurs.
[0030] like Figure 1 As shown, the present invention provides a circuit for vehicle collision detection and relay disconnection, which is used for synchronously detecting collision and directly disconnecting high-voltage relays when a vehicle collides. The circuit includes a collision signal detection circuit and a relay control circuit. The collision signal detection circuit is connected to the relay control circuit through an optocoupler U1; the collision signal detection circuit is used to detect the collision signal, i.e., the pulse signal of the airbag, and after detecting the collision signal, the light-emitting diode in the optocoupler U1 is turned on, so that the phototransistor in the optocoupler U1 is closed, thereby pulling down the output signal of the relay control circuit, and the output end of the relay control circuit is connected to the high-voltage relay drive circuit, so that the high-voltage relay drive circuit does not work, thereby disconnecting the high-voltage relay, and achieving the purpose of disconnecting the high voltage when a collision occurs.
[0031] The collision signal detection circuit includes: a resistor R1, a resistor R2, a capacitor C1, a capacitor C2, a diode D1 and a diode D2.
[0032] The resistor R1 is a detection resistor for detecting a collision signal. One end of the resistor R1 for inputting a collision pulse signal is connected to one end of the capacitor C1, the other end of the capacitor C1 is connected to the positive electrode of the diode D1, the negative electrode of the diode D1 is connected to the positive electrode of the light-emitting diode in the optocoupler U1, the negative electrode of the light-emitting diode in the optocoupler U1 is connected to one end of the resistor R2, and the other end of the resistor R2 is connected to the other end of the resistor R1 and then grounded; the capacitor C2 is connected in parallel between the capacitor C1 and one end connected to the positive electrode of the diode D1 and the end of the resistor R2 connected to the negative electrode of the light-emitting diode in the optocoupler U1; the diode D2 is connected in parallel between the positive electrode of the diode D1 and the negative electrode of the light-emitting diode in the optocoupler U1, and the positive electrode of the diode D2 is connected to the negative electrode of the light-emitting diode in the optocoupler U1, and the negative electrode of the diode D2 is connected to the positive electrode of the diode D1.
[0033] The relay control loop includes: a resistor R3, a resistor R4, a resistor R5, a resistor R6, a resistor R7, a PMOS tube Q1, an NMOS tube Q2 and an NMOS tube Q3.
[0034] The collector of the phototransistor in the optocoupler U1 is connected to one end of the resistor R3, the other end of the resistor R3 is respectively connected to the power supply VCC and one end of the resistor R5, the other end of the resistor R5 is respectively connected to the source of the PMOS tube Q1 and one end of the resistor R6, the other end of the resistor R6 is connected to the base of the PMOS tube Q1, the emitter of the phototransistor in the optocoupler U1 is respectively connected to the drain of the PMOS tube Q1, the base of the NMOS tube Q2 and the drain of the NMOS tube Q3, the drain of the PMOS tube Q1 is also connected to the resistor R7 and grounded, the drain of the NMOS tube Q2 is connected to the PMOS The base of the tube Q1 is connected, the source of the NMOS tube Q2 is grounded, the source of the NMOS tube Q3 is grounded, and the emitter of the photosensitive transistor in the optocoupler U1 is also connected to the resistor R4 and then grounded; the base of the PMOS tube Q1 outputs the TRIG_NEG_OUT signal, the base of the PMOS tube Q1 is connected to the driving circuit of the high-voltage relay, the TRIG_NEG_OUT signal is a signal for controlling the driving circuit of the high-voltage relay, when TRIG_NEG_OUT is high level, the high-voltage relay is closed, and when TRIG_NEG_OUT is low level, the high-voltage relay is disconnected. The base of the NMOS tube Q3 inputs the MCU_CTL signal, and the drain of the NMOS tube Q3 outputs the TRIG_POS_OUT signal. The TRIG_POS_OUT signal is used to detect the state of the optocoupler U1. If the TRIG_POS_OUT signal remains at a high level, the switch of the optocoupler U1 is in a normally closed state, indicating that the optocoupler U1 fails. If the optocoupler U1 fails, the MCU_CTL signal is set to a high level and input into the base of the NMOS tube Q3, and the switch of the optocoupler U1 is disconnected, so that the relay control circuit outputs a high-level signal to restore the high-voltage relay drive circuit to continue working, so that the system can continue to apply high voltage to ensure that the vehicle can move, and at the same time feedback the fault state of the optocoupler U1.
[0035] Optocoupler U1, or photoelectric coupler, is composed of a light-emitting diode and a phototransistor. The base of the phototransistor detects the light emitted by the light-emitting diode. The electrical signal input by the photocoupler drives the light-emitting diode to emit light of a certain wavelength, which is received by the phototransistor to generate photocurrent, realizing the conversion of electricity-light-electricity, thereby playing the role of input, output, and isolation. Since the input and output of the photocoupler are isolated from each other, the electrical signal transmission has the characteristics of unidirectionality, so it has good electrical insulation and anti-interference capabilities.
[0036] Based on the circuit of the present invention, the present invention provides a method for vehicle collision detection and relay disconnection, which is specifically as follows:
[0037] S1, when the vehicle does not collide, the TRIG_NEG_OUT signal output by the base of the PMOS tube Q1 is high level, the driving circuit of the high-voltage relay works, and controls the high-voltage relay to close;
[0038] S2, such as Figure 3 As shown in the figure, when a vehicle collides, the airbag will emit a 1.75A / 0.2ms pulse waveform, which will generate a voltage drop of 1.75A*2Ω=3.5V after passing through resistor R1. The 3.5V voltage will drive the light-emitting diode inside the optocoupler U1 to operate after passing through isolation capacitor C1, filter capacitor C2, and anti-reverse connection diode D1. Resistor R2 serves as a current-limiting resistor for the light-emitting diode inside the optocoupler U1, thereby closing the phototransistor in the optocoupler U1. After the phototransistor in the optocoupler U1 is closed, the power supply VCC passes through the electric The photosensitive transistor in the resistor R3 and the optocoupler U1 drives the base of the MOS tube Q2, so that the source and drain of the MOS tube Q2 are turned on, and finally the TRIG_NEG_OUT signal is pulled low (before the TRIG_NEG_OUT signal is pulled low, VCC controls the high-voltage relay drive circuit to enable through the resistor R6, and then controls the high-voltage relay to close). After the TRIG_NEG_OUT signal is pulled low, the high-voltage relay drive circuit does not work, so that the high-voltage relay is disconnected, thereby achieving the purpose of cutting off the high voltage when a collision occurs.
[0039] In addition, the TRIG_POS_OUT signal is the feedback pin for detecting the circuit status of the optocoupler U1 (directly connected to the microcontroller pin). If the optocoupler U1 fails and causes its switch to be normally closed, the high level state of the TRIG_POS_OUT signal can be used to determine that the optocoupler U1 switch is normally closed and has failed. By setting the MCU_CTL signal (directly connected to the microcontroller pin) to a high level, the output of the optocoupler U1 switch can be pulled down, so that the system can continue to apply high voltage to ensure that the vehicle can move, and the fault status of the optocoupler U1 can be fed back.
[0040] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A circuit for vehicle collision detection and relay disconnection, characterized in that: It includes a collision signal detection circuit and a relay control circuit; The collision signal detection circuit is used to detect the collision signal, i.e., the collision pulse signal of the airbag, and pull down the output signal of the relay control circuit after detecting the collision signal. The output end of the relay control circuit is connected to the high-voltage relay drive circuit, so that the high-voltage relay drive circuit does not work, thereby disconnecting the high-voltage relay; The collision signal detection circuit is connected to the relay control circuit through the optocoupler U1; after detecting the collision signal, the collision signal detection circuit turns on the light-emitting diode in the optocoupler U1, so that the phototransistor in the optocoupler U1 is closed, thereby pulling down the output signal of the relay control circuit; The relay control circuit includes: resistor R3, resistor R5, resistor R6, resistor R7, PMOS tube Q1 and NMOS tube Q2; the collector of the photosensitive transistor in the optical coupler U1 is connected to one end of the resistor R3, the other end of the resistor R3 is respectively connected to the power supply VCC and one end of the resistor R5, the other end of the resistor R5 is respectively connected to the source of the PMOS tube Q1 and one end of the resistor R6, the other end of the resistor R6 is connected to the base of the PMOS tube Q1, the emitter of the photosensitive transistor in the optical coupler U1 is respectively connected to the drain of the PMOS tube Q1 and the base of the NMOS tube Q2 The drain of the PMOS tube Q1 is also connected to the resistor R7 and grounded, the drain of the NMOS tube Q2 is connected to the base of the PMOS tube Q1, and the source of the NMOS tube Q2 is grounded; the base of the PMOS tube Q1 outputs a TRIG_NEG_OUT signal, the base of the PMOS tube Q1 is connected to the driving circuit of the high-voltage relay, the TRIG_NEG_OUT signal is a signal for controlling the driving circuit of the high-voltage relay, when TRIG_NEG_OUT is high level, the high-voltage relay is closed, and when TRIG_NEG_OUT is low level, the high-voltage relay is disconnected; The relay control circuit also includes an NMOS tube Q3; the emitter of the photosensitive transistor in the optocoupler U1 is also connected to the drain of the NMOS tube Q3, and the source of the NMOS tube Q3 is grounded; The base of the NMOS tube Q3 inputs the MCU_CTL signal, and the drain of the NMOS tube Q3 outputs the TRIG_POS_OUT signal; The TRIG_POS_OUT signal is used to detect the state of the optocoupler U1; if the TRIG_POS_OUT signal remains at a high level, the switch of the optocoupler U1 is in a normally closed state, indicating that the optocoupler U1 has failed; if the optocoupler U1 has failed, the MCU_CTL signal is set to a high level and input into the base of the NMOS tube Q3, and the switch of the optocoupler U1 is disconnected, so that the relay control circuit outputs a high level signal to restore the high-voltage relay drive circuit to continue working.
2. A circuit for vehicle collision detection and relay disconnection according to claim 1, characterized in that: The collision signal detection circuit includes: resistor R1, resistor R2, capacitor C1, and diode D1; resistor R1 is a detection resistor for detecting collision signals, one end of the resistor R1 for inputting the collision pulse signal is connected to one end of the capacitor C1, the other end of the capacitor C1 is connected to the positive electrode of the diode D1, the negative electrode of the diode D1 is connected to the positive electrode of the light-emitting diode in the optocoupler U1, the negative electrode of the light-emitting diode in the optocoupler U1 is connected to one end of the resistor R2, and the other end of the resistor R2 is connected to the other end of the resistor R1 and then grounded.
3. A circuit for vehicle collision detection and relay disconnection according to claim 2, characterized in that: The collision signal detection circuit also includes a capacitor C2 and a diode D2; the capacitor C2 is connected in parallel between one end of the capacitor C1 connected to the positive electrode of the diode D1 and one end of the resistor R2 connected to the negative electrode of the light-emitting diode in the optocoupler U1; the diode D2 is connected in parallel between the positive electrode of the diode D1 and the negative electrode of the light-emitting diode in the optocoupler U1, and the positive electrode of the diode D2 is connected to the negative electrode of the light-emitting diode in the optocoupler U1, and the negative electrode of the diode D2 is connected to the positive electrode of the diode D1.
4. A method for vehicle collision detection and relay disconnection, characterized in that: A circuit for vehicle collision detection and relay disconnection according to any one of claims 1 to 3 is specifically as follows: S1, when the vehicle does not collide, the TRIG_NEG_OUT signal output by the base of the PMOS tube Q1 is high level, the driving circuit of the high-voltage relay works, and controls the high-voltage relay to close; S2, when the vehicle collides, the airbag will send out a collision pulse signal. The collision pulse signal generates a voltage drop after passing through the collision signal detection circuit. After the current passes through the light-emitting diode in the optocoupler U1, the phototransistor in the optocoupler U1 is closed. The power supply VCC drives the base of the NMOS tube Q2 after passing through the resistor R3 and the phototransistor in the optocoupler U1. The source and drain of the NMOS tube Q2 are turned on, thereby pulling down the TRIG_NEG_OUT signal. After the TRIG_NEG_OUT signal is pulled low, the drive circuit of the high-voltage relay does not work, causing the high-voltage relay to be disconnected.
