A magnetic latching relay control circuit, a charging gun and a charging pile
Patent Information
- Application Number
- CN202511119090.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-11
- Publication Date
- 2026-09-08
- Estimated Expiration
- 2045-08-11
AI Technical Summary
[0002]目前,磁保持继电器控制电路中采用大功率电源(超出磁保持继电器线圈功率)为磁保持继电器提供12V电源电压,才能实现磁保持继电器可靠控制,大功率电源占电路板面积大,难以实现充电枪的集成式设计;如图1所示,控制电路通过MCU的I/O口的高低电平信号控制H桥驱动芯片,控制继电器导通关断,从而实现磁保持继电器的通断控制,该电路结构在异常断电情况下,磁保持继电器仍会保持先前状态持续导通,存在安全风险;并且,利用H桥芯片电路来控制继电器,成本较高
1、整个电路中的磁保持继电器的线圈功率大于供电电源输出功率,通过消耗第一储能单元和第二储能单元的电能维第一稳压电路的输出侧电压值稳定,实现了低功耗场景下继电器的控制,使供电电源的体积减小,去除H桥芯片电路,进一步减小电路板面积,实现集成化设计。
Smart Images

Figure CN121122965B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of charging and discharging technology, specifically to a magnetic latching relay control circuit, a charging gun, and a charging pile. Background Technology
[0002] Currently, magnetic latching relay control circuits require a high-power power supply (exceeding the coil power) to provide 12V to the magnetic latching relay in order to achieve reliable control. However, high-power power supplies occupy a large area of the circuit board, making it difficult to integrate the charging gun into a single design. Figure 1 As shown, the control circuit controls the H-bridge driver chip through the high and low level signals of the MCU's I / O port, thereby controlling the relay to turn on and off, thus realizing the on and off control of the magnetic latching relay. In the event of an abnormal power failure, the magnetic latching relay will still remain in its previous state and continue to conduct, which poses a safety risk. Furthermore, using the H-bridge chip circuit to control the relay is costly. Summary of the Invention
[0003] To address the aforementioned technical problems, this invention provides a magnetic latching relay control circuit, a charging gun, and a charging pile, enabling reliable control of the magnetic latching relay in ultra-low power consumption and ultra-small size scenarios, and also providing abnormal power failure protection.
[0004] To achieve the above technical objectives, the adopted technical solution is as follows: a magnetic latching relay control circuit, comprising a first energy storage unit, a first voltage regulator circuit, a second energy storage unit, a second voltage regulator circuit, a third energy storage unit, a detection circuit, an MCU, a first drive unit, and a second drive unit. The first energy storage unit, the first voltage regulator circuit, and the second energy storage unit are connected in parallel to provide drive circuit voltage to the magnetic latching relay and power supply to the second voltage regulator circuit, respectively. The second voltage regulator circuit is connected in parallel with the third energy storage unit to provide a stable voltage to the MCU. The detection unit monitors the output voltage of the first voltage regulator circuit in real time and feeds it back to the MCU. The MCU controls the relay to turn on and off through the first drive unit and the second drive unit. When the magnetic latching relay is turned on, the electrical energy in the first and second energy storage units is used to maintain the voltage of the drive circuit. When the input side of the control circuit is normally de-energized, the second and third energy storage units maintain the output voltage of the second voltage regulator circuit stable, enabling the MCU to operate normally. If the output voltage value of the first voltage regulator circuit monitored by the detection unit is less than the set threshold, the MCU turns off the magnetic latching relay through the first and second drive units.
[0005] Furthermore, the magnetic latching relay is initialized to the open state.
[0006] Furthermore, the first energy storage unit, the second energy storage unit, and the third energy storage unit include, but are not limited to, energy storage circuits composed of capacitors or inductors.
[0007] Furthermore, the detection unit includes, but is not limited to, voltage divider circuits, follower circuits, and operational amplifier circuits.
[0008] Furthermore, the voltage divider circuit consists of two resistors and a capacitor. The two resistors are connected in series and their ends are connected to the output side of the first voltage regulator circuit and ground, respectively. The capacitor is connected in parallel with the resistor on the ground side. The two resistors are connected to the pins of the MCU to provide feedback on the voltage value of the output side of the first voltage regulator circuit.
[0009] Furthermore, the first driving unit includes a transistor Q2, a resistor R38, a resistor R40, and a freewheeling diode D8. One end of the resistor R38 is connected to the driving pin of the MCU, and the other end is connected to the base of the transistor Q2 and one end of the resistor R40. The other end of the resistor R40 is grounded. The emitter of Q2 is grounded, and its incident terminal is connected to the anode of the freewheeling diode D8. The anode of the freewheeling diode D8 is connected to pin 4 of the magnetic latching relay, and the cathode of the freewheeling diode D8 is connected to pin 3 of the magnetic latching relay and the output side of the first voltage regulator circuit.
[0010] Furthermore, the second driving unit includes a transistor Q1, resistors R37 and R39, and a freewheeling diode D9. One end of resistor R37 is connected to the driving pin of the MCU, and the other end is connected to the base of transistor Q1 and one end of resistor R39, respectively. The other end of resistor R39 is grounded. The emitter of Q1 is grounded, and its incident terminal is connected to the anode of freewheeling diode D9. The anode of freewheeling diode D9 is connected to pin 2 of the magnetic latching relay, and the cathode of freewheeling diode D9 is connected to pin 1 of the magnetic latching relay and the output side of the first voltage regulator circuit, respectively.
[0011] A charging gun includes the aforementioned magnetic latching relay control circuit.
[0012] A charging gun includes a cable, a plug connected to one end of the cable, and a charging gun head connected to the other end of the cable, wherein a magnetic latching relay control circuit is integrated within the charging gun head.
[0013] A charging station includes the aforementioned magnetic latching relay control circuit.
[0014] The beneficial effects of this invention are: 1. The coil power of the magnetic latching relay in the entire circuit is greater than the output power of the power supply. By consuming the electrical energy of the first energy storage unit and the second energy storage unit, the output voltage of the first voltage regulator circuit is stabilized, realizing the control of the relay in low power consumption scenarios, reducing the size of the power supply, eliminating the H-bridge chip circuit, further reducing the circuit board area, and realizing integrated design.
[0015] 2. By detecting the voltage signal in real time, the MCU can continue to operate normally by utilizing the charge of the first, second, and third energy storage capacitors in the event of an abnormal power failure, thereby shutting off the relay and realizing the reliable use of the magnetic latching relay in the event of a power failure.
[0016] 3. Initialize the magnetic latching relay to the off state to prevent safety hazards caused by abnormal engagement of the magnetic latching relay before it is used.
[0017] 4. The first, second, and third energy storage units are constructed using capacitors or inductors, resulting in a simple structure and low cost.
[0018] 5. The optimal choice for the detection unit is a voltage divider circuit. A voltage divider circuit only requires two resistors and one capacitor, making it the simplest in structure and the lowest in cost, which can achieve voltage value detection.
[0019] 6. Compared to the driving form of H-bridge chip circuit, the driving unit is composed of resistors, transistors and freewheeling diodes. The overall structure design is simple, the cost is low, and the size of the entire control circuit can be reduced, with a fast response.
[0020] 7. This control circuit is not limited to use in single charging guns, charging and discharging guns, or charging piles; it has wide application and strong versatility.
[0021] 8. When the charging gun is a charging and discharging charging gun, the magnetic latching relay control circuit is integrated into the charging gun head, which can reduce the product size of the charging gun, improve the user experience, and reduce product costs. Attached Figure Description
[0022] Figure 1 This is a schematic diagram of existing technology; Figure 2 This is a circuit block diagram of the present invention; Figure 3 This is a circuit diagram of the first voltage regulator circuit of the present invention; Figure 4 This is a circuit diagram of the second voltage regulator circuit of the present invention; Figure 5 This is a circuit diagram of the MCU and the first and second driving units of the present invention. Detailed Implementation
[0023] The preferred embodiments of the invention are given below with reference to the accompanying drawings to illustrate the technical solution of the invention in detail. The corresponding drawings will be provided for detailed explanation of the invention. It should be particularly noted that the preferred embodiments described herein are for illustration and explanation only and are not intended to limit or restrict the invention.
[0024] like Figure 2As shown, a magnetic latching relay control circuit includes a first energy storage unit, a first voltage regulator circuit, a second energy storage unit, a second voltage regulator circuit, a third energy storage unit, a detection circuit, an MCU, a first drive unit, and a second drive unit. It achieves reliable control of the magnetic latching relay with low power consumption and small size, thereby achieving the purpose of controlling charging and discharging functions.
[0025] The first energy storage unit, the first voltage regulator circuit, and the second energy storage unit are connected in parallel to provide drive circuit voltage to the magnetic latching relay and power supply to the second voltage regulator circuit, respectively. The input voltage on the input side of the first energy storage unit is voltage 1, which is provided by the power supply. The power supply output power is less than the coil power of the magnetic latching relay. Voltage 1 is converted into voltage 2 through the first energy storage unit and the first voltage regulator circuit. Voltage 2 provides drive voltage for the magnetic latching relay. The second voltage regulator circuit is connected in parallel with the third energy storage unit. Voltage 2 generates voltage 3 through the second voltage regulator circuit and the third energy storage unit. Voltage 3 provides a stable voltage for the MCU. The detection unit monitors the output voltage of the first voltage regulator circuit in real time, that is, it detects the voltage value of voltage 2 in real time and feeds it back to the MCU. The MCU controls the relay to turn on and off through the first drive unit and the second drive unit. When the first drive unit is used as the turn-on drive unit, the second drive unit is used as the turn-off drive unit.
[0026] The output power of voltage 1 is less than the coil power of the relay. When the relay operates, the MCU sends a level signal of duration t1 to the drive unit to control the relay drive coil to conduct. This action refers to either a conduction or a cutoff action. At this time, because the coil power consumption of the relay is greater than the output power of voltage 1, voltage 1 will drop. The voltage regulator circuit 1 maintains the voltage value of voltage 2 by consuming the electrical energy in the first and second energy storage units, thereby driving the relay to operate and achieving ultra-low power consumption control of the relay.
[0027] The detection unit monitors the value of voltage 2 in real time. When the input side of the control circuit is normally powered off, voltages 1 and 2 will drop to 0V. The value of voltage 3 is less than voltage 2. When voltage 2 drops, the second and third energy storage units maintain the output voltage of the second voltage regulator circuit stable, allowing the MCU to operate normally. If the output voltage value of the first voltage regulator circuit monitored by the detection unit is less than a set threshold, the MCU sends a level signal to the drive unit to turn off the magnetic latching relay. The magnetic latching relay uses the energy of the first and second energy storage units to turn off the relay, realizing the function of turning off the relay when the power is off.
[0028] The parameter settings of the first energy storage unit, the second energy storage unit, and the third energy storage unit are related to the setting threshold and the duration of the level signal.
[0029] When the system is powered on, voltages 1, 2, and 3 stabilize successively. The MCU begins initialization and sends a level signal of duration t1 to the drive unit to turn off the relay. After initialization, the relay is in the open state.
[0030] The first energy storage unit, the second energy storage unit, and the third energy storage unit include, but are not limited to, energy storage circuits composed of capacitors or inductors. For example... Figure 3 The circuit shown is the first voltage regulator circuit. C9 is the first energy storage unit, C46 is the second energy storage unit, VIN is voltage 1, and VCC12V is voltage 2. The voltage value of VCC12V is not limited to 12V and can be set according to the application scenario. Figure 4 The circuit shown is the second voltage regulator circuit, C27 is the third energy storage unit, and VCC5V is the voltage. The voltage value of VCC5V is not limited to 5V and can be set according to the application scenario.
[0031] The detection unit includes, but is not limited to, voltage divider circuits, follower circuits, and operational amplifier circuits. The MCU is a control chip with ADC resources.
[0032] like Figure 5 As shown, the voltage divider circuit consists of two resistors R30 and R33 and a capacitor C47. Resistors R30 and R33 are connected in series and their two ends are connected to the output side VCC12V of the first voltage regulator circuit and ground GND, respectively. The capacitor C47 is connected in parallel with the grounded resistor R33. Resistors R30 and R33 are connected to pin P40 of the MCU to provide feedback on the output voltage value of the first voltage regulator circuit.
[0033] like Figure 5 As shown, the first driving unit includes a transistor Q2, a resistor R38, a resistor R40, and a freewheeling diode D8. One end of the resistor R38 is connected to the driving pin of the MCU, and the other end is connected to the base of the transistor Q2 and one end of the resistor R40. The other end of the resistor R40 is grounded. The emitter of Q2 is grounded, and its incident terminal is connected to the anode of the freewheeling diode D8. The anode of the freewheeling diode D8 is connected to pin 4 of the magnetic latching relay, and the cathode of the freewheeling diode D8 is connected to pin 3 of the magnetic latching relay and the output side of the first voltage regulator circuit.
[0034] like Figure 5 As shown, the second driving unit includes transistor Q1, resistors R37 and R39, and freewheeling diode D9. One end of resistor R37 is connected to the driving pin of the MCU, and the other end is connected to the base of transistor Q1 and one end of resistor R39. The other end of resistor R39 is grounded. The emitter of Q1 is grounded, and its incident terminal is connected to the anode of freewheeling diode D9. The anode of freewheeling diode D9 is connected to pin 2 of the magnetic latching relay, and the cathode of freewheeling diode D9 is connected to pin 1 of the magnetic latching relay and the output side of the first voltage regulator circuit.
[0035] A charging gun includes the aforementioned magnetic latching relay control circuit. The charging gun can be a charging gun in single-charge mode or a charging gun with charging and discharging functions.
[0036] A charging gun includes a cable, a plug connected to one end of the cable, and a charging head connected to the other end of the cable. When it is a charging gun in single-charge mode, the magnetic latching relay control circuit can be integrated into the charging head or set in a separate control module. When it is a charging gun with charge and discharge functions, the magnetic latching relay control circuit is integrated into the charging head.
[0037] A charging pile includes the aforementioned magnetic latching relay control circuit, which can be applied in the charging pile to control the magnetic latching relay within the charging pile.
[0038] The above are merely preferred embodiments of the present invention and are not intended to limit or restrict the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection declared by the present invention.
Claims
1. A magnetic latching relay control circuit, characterized in that, The device includes a first energy storage unit, a first voltage regulator circuit, a second energy storage unit, a second voltage regulator circuit, a third energy storage unit, a detection circuit, an MCU, a first drive unit, and a second drive unit. The first energy storage unit, the first voltage regulator circuit, and the second energy storage unit are connected in parallel to provide drive circuit voltage to the magnetic latching relay and power supply to the second voltage regulator circuit, respectively. The second voltage regulator circuit is connected in parallel with the third energy storage unit to provide a stable voltage to the MCU. The detection unit monitors the output voltage of the first voltage regulator circuit in real time and feeds it back to the MCU. The MCU controls the relay to turn on and off through the first drive unit and the second drive unit. When the magnetic latching relay is turned on, the electrical energy in the first and second energy storage units is used to maintain the voltage of the drive circuit. When the input side of the control circuit is normally de-energized, the second and third energy storage units maintain the output voltage of the second voltage regulator circuit, so that the MCU can work normally. If the voltage value on the output side of the first voltage regulator circuit monitored by the detection unit is less than the set threshold, the MCU turns off the magnetic latching relay through the first drive unit and the second drive unit.
2. The magnetic latching relay control circuit as described in claim 1, characterized in that: The magnetic latching relay is initialized to the off state.
3. The magnetic latching relay control circuit as described in claim 1, characterized in that: The first energy storage unit, the second energy storage unit, and the third energy storage unit include energy storage circuits composed of capacitors or inductors.
4. The magnetic latching relay control circuit as described in claim 1, characterized in that: The detection unit includes a voltage divider circuit, a follower circuit, and an operational amplifier circuit.
5. The magnetic latching relay control circuit as described in claim 4, characterized in that: The voltage divider circuit consists of two resistors and a capacitor. The two resistors are connected in series and their ends are connected to the output side of the first voltage regulator circuit and ground, respectively. The capacitor is connected in parallel with the resistor on the ground side. The two resistors are connected to the pins of the MCU to provide feedback on the output voltage value of the first voltage regulator circuit.
6. The magnetic latching relay control circuit as described in claim 1, characterized in that: The first driving unit includes a transistor Q2, resistors R38 and R40, and a freewheeling diode D8. One end of resistor R38 is connected to the driving pin of the MCU, and the other end is connected to the base of transistor Q2 and one end of resistor R40. The other end of resistor R40 is grounded. The emitter of Q2 is grounded, and its incident terminal is connected to the anode of freewheeling diode D8. The anode of freewheeling diode D8 is connected to pin 4 of the magnetic latching relay, and the cathode of freewheeling diode D8 is connected to pin 3 of the magnetic latching relay and the output side of the first voltage regulator circuit.
7. The magnetic latching relay control circuit as described in claim 1, characterized in that: The second driving unit includes transistor Q1, resistors R37 and R39, and freewheeling diode D9. One end of resistor R37 is connected to the driving pin of the MCU, and the other end is connected to the base of transistor Q1 and one end of resistor R39. The other end of resistor R39 is grounded. The emitter of Q1 is grounded, and its incident terminal is connected to the anode of freewheeling diode D9. The anode of freewheeling diode D9 is connected to pin 2 of the magnetic latching relay, and the cathode of freewheeling diode D9 is connected to pin 1 of the magnetic latching relay and the output side of the first voltage regulator circuit.
8. A charging gun, characterized in that: Includes a magnetic latching relay control circuit according to any one of claims 1-7.
9. A charging gun as described in claim 8, characterized in that: It includes a cable, a plug connected to one end of the cable, and a charging gun head connected to the other end of the cable. The charging gun head integrates a magnetic latching relay control circuit.
10. A charging pile, characterized in that: Includes a magnetic latching relay control circuit according to any one of claims 1-7.
Citation Information
Patent Citations
Power-on / power-off driving circuit and control method therefor
CN105553246A
Input power supply overvoltage protection circuit
CN201282326Y