A multi-in-one controller internal relay control circuit on a new energy vehicle
By introducing a combined circuit of input drive, signal conversion, conditioning, isolation and power drive modules into the all-in-one controller for new energy vehicles, the problems of relay sticking judgment and signal instability in traditional control methods are solved, realizing reliable control and status monitoring of relays, and improving the stability and durability of the controller.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- SHENZHEN SILICON MOUNTAIN TECH CO LTD
- Filing Date
- 2025-04-10
- Publication Date
- 2026-06-19
AI Technical Summary
In the all-in-one controller for new energy vehicles, the traditional method of directly connecting external control signals to relay drives cannot detect relay sticking, and the control signals are unstable and unreliable, posing a risk of control failure.
The circuit design employs a combination of an input drive module, a signal conversion module, a signal conditioning module, a signal isolation module, and a power drive module to achieve accurate acquisition and stable driving of external control signals. It also has the ability to detect relay sticking, ensuring the stability and reliability of the drive signal.
It enables real-time monitoring of the relay's operating status and stable output of control signals, avoiding poor contact caused by insufficient power in the relay and improving the reliability and stability of the all-in-one controller.
Smart Images

Figure CN224384193U_ABST
Abstract
Description
Technical Field
[0001] This utility model belongs to the field of relay control circuit technology, and relates to an internal relay control circuit of an all-in-one controller in a new energy vehicle. Background Technology
[0002] A relay is an electronic control device that combines a control system and a controlled system. It is commonly used in automatic control circuits and essentially acts as an "automatic switch" that uses a smaller current to control a larger current. Therefore, it plays a role in automatic adjustment, safety protection, and circuit switching. In an all-in-one controller, to achieve direct control of the relay via an external control signal, the traditional approach is to directly connect the external control signal to the relay drive pin. However, this traditional method cannot provide the relay sticking detection function for the all-in-one controller, and directly using the external control signal as the relay drive signal is unstable and unreliable, posing a risk of control failure. Summary of the Invention
[0003] To address the problems existing in the background technology, this utility model proposes an internal relay control circuit for an all-in-one controller in new energy vehicles.
[0004] To achieve the above objectives, the technical solution adopted by this utility model is as follows: an internal relay control circuit for an all-in-one controller in a new energy vehicle, comprising: an input drive module, a signal conversion module, a signal conditioning module, a signal isolation module, and a power drive module;
[0005] The output of the input drive module is connected to the input of the signal conversion module, the output of the signal conversion module is connected to the input of the signal conditioning module, the output of the signal conditioning module is connected to the input of the signal isolation module, and the output of the signal isolation module is connected to the input of the power drive module.
[0006] The input driver module includes: K9+ interface, resistor 189, and resistor R27;
[0007] The output of the K9+ interface is connected to the input of resistor R189, the output of resistor R189 is connected to the input of resistor R27, and the output of resistor R27 is connected to the input power supply -24V1.
[0008] The signal conversion module includes: optocoupler U14, resistor R28, transistor Q13, and EX_IO_IN01 interface;
[0009] Pin 1 of the primary side of optocoupler U14 is connected to the input terminal of resistor R27, pin 2 of the primary side of optocoupler U14 is connected to the output terminal of resistor R27, pin 3 of the secondary side of optocoupler U14 is connected to the emitter and ground of transistor Q13, pin 4 of the secondary side of optocoupler U14 is connected to the output terminal of resistor R28 and the base of transistor Q13, the input power supply +3.3V is connected to the input terminal of resistor R28, and the collector of transistor Q13 is connected to the EX_IO_IN01 interface.
[0010] The signal conditioning module includes: resistor R194, resistor R104, and resistor R195;
[0011] The input terminal of resistor R194 is connected to the EX_IO_IN01 interface, the output terminal of resistor R194 is connected to the output terminal of resistor R104 and the input terminal of resistor R195, and the input power supply +3.3V is connected to the input terminal of resistor R104.
[0012] The signal isolation module includes: resistor R171, resistor R23, resistor R56, resistor R24, transistor Q12, and DSP_IO_OUT02 interface;
[0013] The DSP_IO_OUT02 interface is connected to the output of resistor R195 and the input of resistor R23. The output of resistor R23 is connected to the input of resistor R56 and the base of transistor Q12. The output of resistor R56 is connected to the emitter and ground of transistor Q12. The collector of transistor Q12 is connected to the output of resistor R24. The +3.3V input power supply is connected to the input of resistor R171. The output of resistor R171 is connected to the input of resistor R24.
[0014] The power drive module includes: optocoupler U12, resistor R164, diode D7, resistor R47, MOSFET Q2, and DRV_KM102 interface;
[0015] Pin 1 of the primary side of optocoupler U12 is connected to one end of resistor R24. Pin 2 of the primary side of optocoupler U12 is connected to the output terminal of resistor R24. Pin 4 of the secondary side of optocoupler U12 is connected to the output terminal of resistor R164. The input terminal of resistor R164 is connected to the input power supply +24V1 and the cathode of diode D7. The anode of diode D7 is connected to the source of MOSFET Q2 and the DRV_KM102 interface. Pin 3 of the secondary side of optocoupler U12 is connected to the gate of MOSFET Q2 and the input terminal of resistor R47. The output terminal of resistor R47 is connected to the drain of MOSFET Q2 and the input power supply -24V1.
[0016] Furthermore,
[0017] Compared with the prior art, the present invention has the following beneficial effects:
[0018] An internal relay control circuit in a multi-functional controller for new energy vehicles can accurately acquire externally input control signals. These control signals assist the multi-functional controller in real-time monitoring of the relay's operating status and determining if sticking has occurred. Simultaneously, the drive circuit outputs a stable and reliable drive signal, ensuring crisp and clean relay closure. A stable drive signal prevents problems such as poor contact due to insufficient power in the relay. The multi-functional controller possesses the ability to detect relay sticking and improves relay reliability through stable drive, fundamentally reducing equipment malfunctions caused by relay failures and making the entire control system more stable and durable. Attached Figure Description
[0019] Figure 1 This utility model provides a block diagram of the internal relay control circuit of an all-in-one controller for new energy vehicles.
[0020] Figure 2 This is a circuit connection diagram of the input driver module and signal conversion module of this utility model;
[0021] Figure 3 This is a circuit connection diagram of the signal conditioning module of this utility model;
[0022] Figure 4 This is a circuit connection diagram of the signal isolation module and power drive module of this utility model. Detailed Implementation
[0023] The technical solutions of the present utility model will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of the present utility model, and not all embodiments. Based on the embodiments of the present utility model, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of the present utility model.
[0024] like Figures 1-4 As shown, the technical solution adopted by this utility model is as follows: an internal relay control circuit of an all-in-one controller for new energy vehicles, comprising: an input drive module, a signal conversion module, a signal conditioning module, a signal isolation module, and a power drive module.
[0025] The output of the input drive module is connected to the input of the signal conversion module, the output of the signal conversion module is connected to the input of the signal conditioning module, the output of the signal conditioning module is connected to the input of the signal isolation module, and the output of the signal isolation module is connected to the input of the power drive module.
[0026] The input driver module includes: K9+ interface, resistor 189, and resistor R27.
[0027] The output of the K9+ interface is connected to the input of resistor R189, the output of resistor R189 is connected to the input of resistor R27, and the output of resistor R27 is connected to the input power supply -24V1.
[0028] Resistors R189 and R27 are voltage divider resistors, which, together with the input power supply -24V1, provide a suitable drive current for the LED of optocoupler U1.
[0029] The signal conversion module includes: optocoupler U14, resistor R28, transistor Q13, and EX_IO_IN01 interface.
[0030] Pin 1 of the primary side of optocoupler U14 is connected to the input terminal of resistor R27, pin 2 of the primary side of optocoupler U14 is connected to the output terminal of resistor R27, pin 3 of the secondary side of optocoupler U14 is connected to the emitter and ground of transistor Q13, pin 4 of the secondary side of optocoupler U14 is connected to the output terminal of resistor R28 and the base of transistor Q13, the input power supply +3.3V is connected to the input terminal of resistor R28, and the collector of transistor Q13 is connected to the EX_IO_IN01 interface.
[0031] Optical coupler U1 achieves electrical isolation between high and low voltage sides through optical signal transmission, ensuring safe signal transmission.
[0032] Resistor R28 is a pull-up resistor, which provides a high-level reference for the output side of the optocoupler to ensure signal stability.
[0033] Transistor Q13 performs level conversion, amplifying the optocoupler output signal and converting it to the logic level required by the EX_IO_IN01 interface.
[0034] The signal conditioning module includes: resistor R194, resistor R104, and resistor R195.
[0035] The input terminal of resistor R194 is connected to the EX_IO_IN01 interface, the output terminal of resistor R194 is connected to the output terminal of resistor R104 and the input terminal of resistor R195, and the input power supply +3.3V is connected to the input terminal of resistor R104.
[0036] Resistor R104 is a pull-up resistor that pulls the X_IO_IN01 interface signal up to +3.3V to prevent the signal from floating and ensure the signal level of the input DSP_IO_OUT02 interface is stable.
[0037] Resistors R194 and R195 are current-limiting resistors, which limit the signal transmission current and protect the circuit.
[0038] The signal isolation module includes: resistors R171, R23, R56, and R24; transistor Q12; and DSP_IO_OUT02 interface.
[0039] The DSP_IO_OUT02 interface is connected to the output of resistor R195 and the input of resistor R23. The output of resistor R23 is connected to the input of resistor R56 and the base of transistor Q12. The output of resistor R56 is connected to the emitter and ground of transistor Q12. The collector of transistor Q12 is connected to the output of resistor R24. The +3.3V input power supply is connected to the input of resistor R171. The output of resistor R171 is connected to the input of resistor R24.
[0040] Resistors R23 and R86 are current-limiting resistors, providing a suitable base current for transistor Q12.
[0041] Transistor Q12 is used to amplify the weak signal output from the DSP_IO_OUT02 interface and drive optocoupler U12.
[0042] Resistors R171 and R24 are used for voltage division and current limiting to provide a stable drive current for the light-emitting diode of optocoupler U12.
[0043] The power drive module includes: optocoupler U12, resistor R164, diode D7, resistor R47, MOSFET Q2, and DRV_KM102 interface.
[0044] Pin 1 of the primary side of optocoupler U12 is connected to one end of resistor R24. Pin 2 of the primary side of optocoupler U12 is connected to the output terminal of resistor R24. Pin 4 of the secondary side of optocoupler U12 is connected to the output terminal of resistor R164. The input terminal of resistor R164 is connected to the input power supply +24V1 and the cathode of diode D7. The anode of diode D7 is connected to the source of MOSFET Q2 and the DRV_KM102 interface. Pin 3 of the secondary side of optocoupler U12 is connected to the gate of MOSFET Q2 and the input terminal of resistor R47. The output terminal of resistor R47 is connected to the drain of MOSFET Q2 and the input power supply -24V1.
[0045] Optocoupler U12 provides electrical isolation, isolating the high and low voltage sides to prevent high voltage side interference from affecting other circuits.
[0046] Resistor R164 is a current-limiting resistor, which limits the current on the output side of the optocoupler and protects the subsequent circuit.
[0047] Resistor R47 is the gate resistor, which stabilizes the gate voltage of MOSFET Q2 and prevents false triggering.
[0048] Diode D7 provides freewheeling protection to protect MOSFET Q2.
[0049] MOSFET Q2 is used for power driving, further amplifying the signal after optocoupler isolation.
[0050] The external input control signal is connected to this relay control circuit through the K9+ interface, and enters the primary and secondary sides of pin 1 of optocoupler U1 through resistor R189, thus turning on the primary side of optocoupler U1. After the primary side of optocoupler U1 is turned on, pins 3 and 4 of the secondary side of optocoupler U1 are also turned on, thus directly grounding the base of transistor Q13, causing transistor Q13 to switch from the on state to the off state. After transistor Q13 is turned off, the EX_IO_IN01 interface signal is no longer directly grounded. The fact that the EX_IO_IN01 interface signal is no longer directly grounded is equivalent to setting the DSP_IO_IN01 interface voltage high under the action of pull-up resistor R104 and input power supply +3.3V. After the DSP detects that the DSP_IO_IN01 interface is set high, it will simultaneously set the DSP_IO_OUT02 interface high, so as to drive transistor Q12 to conduct through resistors R23 and R56. When transistor Q12 is turned on, the primary side of optocoupler U12 will also be turned on, which in turn will turn on the secondary side of optocoupler U12. This, in turn, drives MOSFET Q2 to turn on through resistor R164, thereby shorting the DRV_KM102 interface with the input power supply -24V1. Since the positive terminal of the relay drive line is normally shorted to the input power supply +24V1, turning on MOSFET Q2 will short-circuit the negative terminal of the relay drive line with the input power supply +24V1, thus controlling the relay to close.
[0051] Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A multi-in-one controller internal relay control circuit on a new energy vehicle, characterized in that, It includes: an input driver module, a signal conversion module, a signal conditioning module, a signal isolation module, and a power driver module; The output of the input drive module is connected to the input of the signal conversion module, the output of the signal conversion module is connected to the input of the signal conditioning module, the output of the signal conditioning module is connected to the input of the signal isolation module, and the output of the signal isolation module is connected to the input of the power drive module.
2. The internal relay control circuit of the multi-function controller for a new energy vehicle according to claim 1, characterized in that, The input driver module includes: K9+ interface, resistor 189, and resistor R27; The output of the K9+ interface is connected to the input of resistor R189, the output of resistor R189 is connected to the input of resistor R27, and the output of resistor R27 is connected to the input power supply -24V1.
3. The internal relay control circuit of the multi-function controller in a new energy vehicle according to claim 2, characterized in that, The signal conversion module includes: optocoupler U14, resistor R28, transistor Q13, and EX_IO_IN01 interface; Pin 1 of the primary side of optocoupler U14 is connected to the input terminal of resistor R27, pin 2 of the primary side of optocoupler U14 is connected to the output terminal of resistor R27, pin 3 of the secondary side of optocoupler U14 is connected to the emitter and ground of transistor Q13, pin 4 of the secondary side of optocoupler U14 is connected to the output terminal of resistor R28 and the base of transistor Q13, the input power supply +3.3V is connected to the input terminal of resistor R28, and the collector of transistor Q13 is connected to the EX_IO_IN01 interface.
4. The internal relay control circuit of the multi-function controller for a new energy vehicle according to claim 3, characterized in that, The signal conditioning module includes: resistor R194, resistor R104, and resistor R195; The input terminal of resistor R194 is connected to the EX_IO_IN01 interface, the output terminal of resistor R194 is connected to the output terminal of resistor R104 and the input terminal of resistor R195, and the input power supply +3.3V is connected to the input terminal of resistor R104.
5. The internal relay control circuit of the multi-function controller for a new energy vehicle according to claim 4, characterized in that, The signal isolation module includes: resistor R171, resistor R23, resistor R56, resistor R24, transistor Q12, and DSP_IO_OUT02 interface; The DSP_IO_OUT02 interface is connected to the output of resistor R195 and the input of resistor R23. The output of resistor R23 is connected to the input of resistor R56 and the base of transistor Q12. The output of resistor R56 is connected to the emitter and ground of transistor Q12. The collector of transistor Q12 is connected to the output of resistor R24. The +3.3V input power supply is connected to the input of resistor R171. The output of resistor R171 is connected to the input of resistor R24.
6. The internal relay control circuit of the multi-function controller in a new energy vehicle according to claim 5, characterized in that, The power drive module includes: optocoupler U12, resistor R164, diode D7, resistor R47, MOSFET Q2, and DRV_KM102 interface; Pin 1 of the primary side of optocoupler U12 is connected to one end of resistor R24. Pin 2 of the primary side of optocoupler U12 is connected to the output terminal of resistor R24. Pin 4 of the secondary side of optocoupler U12 is connected to the output terminal of resistor R164. The input terminal of resistor R164 is connected to the input power supply +24V1 and the cathode of diode D7. The anode of diode D7 is connected to the source of MOSFET Q2 and the DRV_KM102 interface. Pin 3 of the secondary side of optocoupler U12 is connected to the gate of MOSFET Q2 and the input terminal of resistor R47. The output terminal of resistor R47 is connected to the drain of MOSFET Q2 and the input power supply -24V1.