Control circuit and control system of relay and charging pile

By combining switching circuits and self-locking circuits, the high-voltage relay is controlled by two signal pins of the main controller, which solves the problem of malfunction caused by electromagnetic interference in the high-voltage relay, thereby improving anti-interference capability and reducing circuit cost.

CN223513869UActive Publication Date: 2025-11-04BYD CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202422965036.5
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-12-02
Publication Date
2025-11-04
Estimated Expiration
2034-12-02

AI Technical Summary

Technical Problem

High-voltage relays generate electromagnetic interference when they are energized, which can lead to malfunctions. Existing shift register control logic is complex and consumes a lot of controller resources, increasing circuit costs.

Method used

The system employs a switching circuit and a self-locking circuit, utilizing two signal pins of the main controller to control the high-voltage relay, ensuring anti-interference capability. The self-locking circuit also maintains the control state unchanged when the state is locked, saving controller resources.

Benefits of technology

While ensuring the control signal's anti-interference capability, it reduces the occupation of controller resources and lowers circuit costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223513869U_ABST
    Figure CN223513869U_ABST
Patent Text Reader

Abstract

The utility model discloses a control circuit and a control system of a relay and a charging pile. The control circuit comprises a switching circuit and a self-locking circuit. Wherein the switching circuit is connected with a coil of the relay, and the control circuit is configured to provide current flowing through the coil of the relay under the condition that the switching circuit is switched on so as to control the relay to be switched on. The self-locking circuit comprises a first signal end, a second signal end and a self-locking control end, the first signal end is connected with the first control end of the main controller, the second signal end is connected with the second control end of the main controller, and the self-locking control end is connected with the controlled end of the switching circuit. When the anti-interference capability of the control signal is ensured, the control of the high-voltage relay can be realized by using the two signal pins of the main controller, so that the controller resource which needs to be occupied is saved, and the circuit cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of relay technology, and more specifically, to a relay control circuit, a control system, and a charging pile. Background Technology

[0002] Because high-voltage relays have high connection point voltages (above 200V), they generate significant electromagnetic interference when energized, affecting the control signal and potentially causing malfunctions. To prevent malfunctions and improve the interference immunity of the control signal, a shift register can be used to control the energization and de-energization of the high-voltage relay. However, shift register control logic is relatively complex, requiring significant controller resources and resulting in higher circuit costs. Utility Model Content

[0003] This application provides a relay control circuit, a control system, and a charging pile.

[0004] The relay control circuit provided in this application includes a switching circuit and a self-locking circuit. The switching circuit is connected to the coil of the relay, and the control circuit is configured to provide current flowing through the coil of the relay when the switching circuit is on, thereby controlling the relay to conduct. The self-locking circuit includes a first signal terminal, a second signal terminal, and a self-locking control terminal. The first signal terminal is connected to a first control terminal of a main controller, the second signal terminal is connected to a second control terminal of the main controller, and the self-locking control terminal is connected to the controlled terminal of the switching circuit. When the first signal terminal receives a first control signal provided by the main controller, and the second signal terminal does not receive a second control signal provided by the main controller, the self-locking circuit is locked and configured to control the switching circuit to conduct. When the first signal terminal receives a first control signal provided by the main controller, and the second signal terminal does not receive a second control signal provided by the main controller, the self-locking circuit is locked and configured to control the switching circuit to disconnect.

[0005] When the self-locking circuit is locked and the control switch circuit is on, changes to the first control signal will not affect the self-locking circuit's control of the switch circuit. When the self-locking circuit is locked and the control switch circuit is off, changes to the second control signal will not affect the self-locking circuit's control of the switch circuit, ensuring the control signal's anti-interference capability. While ensuring the control signal's anti-interference capability, the high-voltage relay can be controlled using only two signal pins of the main controller, saving controller resources and reducing circuit costs.

[0006] In some embodiments, the self-locking control terminal includes a first self-locking terminal and a second self-locking terminal, and the controlled terminal includes a first controlled terminal and a second controlled terminal. The first self-locking terminal is connected to the first controlled terminal, and the second self-locking terminal is connected to the second controlled terminal. When the first control signal is received at the first signal terminal and the second control signal is not received at the second signal terminal, the voltage difference between the voltage provided by the first self-locking terminal and the voltage provided by the second self-locking terminal is greater than the on-state voltage of the switching circuit, thereby controlling the switching circuit to conduct. When the first control signal provided by the main controller is received at the first signal terminal and the second control signal provided by the main controller is not received at the second signal terminal, the voltage difference between the voltage provided by the first self-locking terminal and the voltage provided by the second self-locking terminal is less than the on-state voltage of the switching circuit, thereby controlling the switching circuit to disconnect.

[0007] In some embodiments, the self-locking circuit includes a first transistor and a first voltage source. The first self-locking terminal is connected to a first electrode of the first transistor, the second electrode of the first transistor is connected to the first voltage source, and the second self-locking terminal is connected to the first signal terminal. When the first control signal is received at the first signal terminal and the second control signal is not received at the second signal terminal, the first transistor is turned on, the first self-locking terminal receives a first voltage provided by the first voltage source, and the second self-locking terminal receives a first control voltage provided by the first control signal. The voltage difference between the first voltage and the first control voltage is greater than the on-state voltage of the switching circuit, thereby controlling the switching circuit to turn on.

[0008] In some embodiments, the self-locking circuit includes a second transistor, the control electrode of which is connected to the second signal terminal, the first electrode of which is grounded, and the second electrode of which is connected to the second self-locking terminal. When the first control signal is not received at the first signal terminal and the second control signal is received at the second signal terminal, the second transistor is turned on, and the second self-locking terminal is grounded through the second transistor to control the switching circuit to open.

[0009] In some embodiments, the self-locking circuit includes a third transistor, the control electrode of which is connected to the second self-locking terminal. The first electrode of the third transistor is grounded, and the second electrode of the second transistor is connected to the control electrode of the third transistor. When the first control signal is received at the first signal terminal and the second control signal is not received at the second signal terminal, the control electrode of the third transistor receives the first control signal through the second self-locking terminal, and the third transistor is turned on. The control electrode of the first transistor is grounded through the third transistor, thus turning on the first transistor. When the first control signal is not received at the first signal terminal and the second control signal is received at the second signal terminal, the control electrode of the third transistor is grounded through the second self-locking terminal, and the third transistor is turned off. The connection between the control electrode of the first transistor and ground is broken, thus turning off the first transistor.

[0010] In some embodiments, the switching circuit includes a second voltage source, a fourth transistor, and a fifth transistor. The control terminal of the fourth transistor is connected to the first self-locking terminal, the second terminal of the fourth transistor is connected to the second self-locking terminal, the first terminal of the fourth transistor is connected to the control terminal of the fifth transistor, the first terminal of the fifth transistor is connected to the second voltage source through the coil of the relay, and the second terminal of the fifth transistor is grounded.

[0011] In some embodiments, the switching circuit includes a second voltage source and a third voltage source, and the relay includes a first relay element and a second relay element. The first relay element includes a first coil, a first contact, and a second contact. The second relay element includes a second coil, a third contact, and a fourth contact. The switching circuit is connected to the second voltage source through the first coil, the third voltage source is connected to the first contact, and the second contact is connected to the third voltage source through the second coil. When the switching circuit is on, the second voltage source is connected to the first coil and configured to provide current flowing through the first coil to control the connection between the first contact and the second contact. When the first contact and the second contact are connected, the third voltage source is connected to the second coil and configured to provide current flowing through the second coil to control the connection between the third contact and the fourth contact.

[0012] In some embodiments, the control circuit further includes a signal feedback circuit, the main controller further includes a signal detection terminal, and the switching circuit is connected to the signal detection terminal through the feedback circuit. When the switching circuit is turned on, the switching circuit is configured to output a first detection signal to the signal detection terminal through the feedback circuit. When the switching circuit is turned off, the switching circuit is configured to output a second detection signal to the signal detection terminal through the feedback circuit.

[0013] The relay control system provided in this application includes a control circuit for the aforementioned relay, a main controller, and a relay. The main controller is connected to the relay through the control circuit and is configured to control the relay's on and off states.

[0014] The charging pile provided in this application includes a charging gun, a relay, a main controller, and a control circuit provided in this application. The main controller is connected to the relay through the control circuit and is configured to control the relay's on and off states.

[0015] In the relay control circuit, control system, and charging pile provided in this application, when the self-locking circuit is locked and the control switch circuit is on, even if the first control signal changes, it will not affect the self-locking circuit's control of the switch circuit. When the self-locking circuit is locked and the control switch circuit is off, even if the second control signal changes, it will not affect the self-locking circuit's control of the switch circuit, thus ensuring the anti-interference capability of the control signal. While ensuring the anti-interference capability of the control signal, the high-voltage relay can be controlled using only two signal pins of the main controller, saving the controller resources required and reducing circuit costs.

[0016] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description

[0017] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, wherein:

[0018] Figure 1 This is a schematic diagram of the control circuit and control system of the relay provided in some embodiments of this application;

[0019] Figure 2 This is a circuit diagram of a control circuit provided in some embodiments of this application;

[0020] Figure 3 This is a schematic diagram of a charging pile provided in some embodiments of this application.

[0021] Reference numerals: Relay 100, First relay element 110, Second relay element 120, Control circuit 200, Switching circuit 210, First controlled terminal 211, Second controlled terminal 212, Self-locking circuit 220, First signal terminal 221, Second signal terminal 222, First self-locking terminal 223, Second self-locking terminal 224, Main controller 300, Control system 1000, Charging pile 2000, Charging gun 2100. Detailed Implementation

[0022] The embodiments of this application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are optional and are only used to explain the embodiments of this application, and should not be construed as limiting the embodiments of this application.

[0023] Because high-voltage relays have high connection point voltages (above 200V), they generate significant electromagnetic interference when energized, affecting the control signal and potentially causing malfunctions. To prevent malfunctions and improve the interference immunity of the control signal, a shift register can be used to control the energization and de-energization of the high-voltage relay. However, shift register control logic is relatively complex, requiring significant controller resources and resulting in higher circuit costs.

[0024] To address the aforementioned technical problems, this application provides a relay control circuit, a control system, and a charging pile. The relay control circuit provided in this application, while ensuring the anti-interference capability of the control signal and preventing malfunctions of the high-voltage relay, can control the high-voltage relay using only two signal pins of the main controller, saving controller resources and reducing circuit costs.

[0025] Reference Figure 1The control circuit 200 of the relay 100 provided in this application includes a switching circuit 210 and a self-locking circuit 220. The switching circuit 210 is connected to the coil of the relay 100. The control circuit 200 is configured to provide current flowing through the coil of the relay 100 when the switching circuit 210 is turned on, thereby controlling the relay 100 to turn on. The self-locking circuit 220 includes a first signal terminal 221, a second signal terminal 222, and a self-locking control terminal. The first signal terminal 221 is connected to a first control terminal of the main controller 300, the second signal terminal 222 is connected to a second control terminal of the main controller 300, and the self-locking control terminal is connected to the controlled terminal of the switching circuit 210. When the first signal terminal 221 receives a first control signal provided by the main controller 300, and the second signal terminal 222 does not receive a second control signal provided by the main controller 300, the self-locking circuit 220 is locked and configured to control the switching circuit 210 to turn on. When the first control signal provided by the main controller 300 is connected to the first signal terminal 221 and the second control signal provided by the main controller 300 is not connected to the second signal terminal 222, the state lock of the self-locking circuit 220 is configured to control the switch circuit 210 to be disconnected.

[0026] Reference Figure 1 The control system 1000 provided in this application includes a control circuit 200, a main controller 300, and a relay 100. The main controller 300 is connected to the relay 100 through the control circuit 200 and is configured to control the on and off of the relay 100.

[0027] Specifically, the switching circuit 210 can use a switching element to control the flow and disconnection of current in the circuit 200, thereby controlling the operating state of other components in the circuit 200. When the switching circuit 210 is on, the control circuit 200 can provide current flowing through the coil of the relay 100 to control the relay 100 to conduct. When the switching circuit 210 is off, the control circuit 200 can stop providing current flowing through the coil of the relay 100, and the relay 100 is off.

[0028] When the circuit is locked, the self-locking circuit 220 maintains its current state until it receives an external signal or its triggering condition changes. Even if the input signal is removed, the circuit will continue to maintain its original state and will not automatically reset.

[0029] When the main controller 300 issues a first control signal but does not issue a second control signal, the self-locking circuit 220 locks its state and controls the switch circuit 210 to conduct. After the self-locking circuit 220 locks its state and controls the switch circuit 210 to conduct, even if the main controller 300 no longer issues the first control signal, the self-locking circuit 220 can still control the switch circuit 210 to conduct.

[0030] When the main controller 300 issues a second control signal but does not issue a first control signal, the self-locking circuit 220 locks its state and controls the switch circuit 210 to open. After the self-locking circuit 220 locks its state and controls the switch circuit 210 to open, even if the main controller 300 no longer issues a second control signal, the self-locking circuit 220 can still control the switch circuit 210 to open.

[0031] Understandably, when the self-locking circuit 220 is locked and controls the switch circuit 210 to be on, even if the first control signal changes, it will not affect the self-locking circuit 220's control of the switch circuit 210 to be on. Similarly, when the self-locking circuit 220 is locked and controls the switch circuit 210 to be off, even if the second control signal changes, it will not affect the self-locking circuit 220's control of the switch circuit 210 to be off, thus ensuring the control signal's anti-interference capability. While ensuring the control signal's anti-interference capability, the high-voltage relay 100 can be controlled using only two signal pins of the main controller 300, saving controller resources and reducing circuit costs.

[0032] Reference Figure 2 In some embodiments, the self-locking control terminal includes a first self-locking terminal 223 and a second self-locking terminal 224, and the controlled terminal includes a first controlled terminal 211 and a second controlled terminal 212. The first self-locking terminal 223 is connected to the first controlled terminal 211, and the second self-locking terminal 224 is connected to the second controlled terminal 212. When the first signal terminal 221 is connected to a first control signal and the second signal terminal 222 is not connected to a second control signal, the voltage difference between the voltage provided by the first self-locking terminal 223 and the voltage provided by the second self-locking terminal 224 is greater than the conduction voltage of the switching circuit 210, thereby controlling the switching circuit 210 to conduct. When the first signal terminal 221 is connected to a first control signal provided by the main controller 300 and the second signal terminal 222 is not connected to a second control signal provided by the main controller 300, the voltage difference between the voltage provided by the first self-locking terminal 223 and the voltage provided by the second self-locking terminal 224 is less than the conduction voltage of the switching circuit 210, thereby controlling the switching circuit 210 to disconnect.

[0033] Specifically, the switching circuit 210 may include a transistor Q4. A first controlled terminal 211 may be connected to the control electrode of transistor Q4, and a second controlled terminal 212 may be connected to the second electrode of transistor Q4. When the main controller 300 provides a first control signal but not a second control signal, the self-locking circuit 220 can output a control voltage to the switching circuit 210 through the first self-locking terminal 223 and the second self-locking terminal 224. The self-locking circuit 220 is locked in a state where the voltage difference between the voltage provided by the first self-locking terminal 223 and the voltage provided by the second self-locking terminal 224 is greater than the turn-on voltage of the switching circuit 210, causing transistor Q4 to remain continuously turned on.

[0034] When the main controller 300 provides a second control signal but not a first control signal, the self-locking circuit 220 can output a control voltage to the switching circuit 210 through the first self-locking terminal 223 and the second self-locking terminal 224. The self-locking circuit 220 is locked in state, and the voltage difference between the voltage provided by the first self-locking terminal 223 and the voltage provided by the second self-locking terminal 224 is less than the turn-on voltage of the switching circuit 210, causing the transistor Q4 to remain off.

[0035] by Figure 2 For example, the main controller 300 may include a signal terminal CDM-C and a signal terminal CDM-EN. Signal terminal CDM-C is connected to the first signal terminal 221 of the self-locking circuit 220, and signal terminal CDM-EN is connected to the second signal terminal 222 of the self-locking circuit 220. The first control signal may be a signal with an effective level provided by the main controller 300 through signal terminal CDM-C, and the second control signal may be a signal with an effective level provided by signal terminal CDM-EN provided by the main controller 300.

[0036] For example, the main controller 300 can provide a high level through signal terminal CDM-C, and the main controller 300 can also provide a high level through signal terminal CDM-EN. When CDM-C provides a high level and CDM-EN does not provide a low level (it can provide a low level or is in a high-impedance state), the voltage difference between the voltage provided by the first self-locking terminal 223 and the voltage provided by the second self-locking terminal 224 is greater than the turn-on voltage of the switching circuit 210. When CDM-C does not provide a high level (it can provide a low level or is in a high-impedance state) and CDM-EN provides a low level, the voltage difference between the voltage provided by the first self-locking terminal 223 and the voltage provided by the second self-locking terminal 224 is less than the turn-on voltage of the switching circuit 210.

[0037] Reference Figure 2 In some embodiments, the self-locking circuit 220 includes a first transistor and a first voltage source. A first self-locking terminal 223 is connected to the first terminal of the first transistor, the second terminal of the first transistor is connected to the first voltage source, and a second self-locking terminal 224 is connected to the first signal terminal 221. When a first control signal is received at the first signal terminal 221 and a second control signal is not received at the second signal terminal 222, the first transistor is turned on. The first self-locking terminal 223 receives a first voltage provided by the first voltage source, and the second self-locking terminal 224 receives a first control voltage provided by the first control signal. The voltage difference between the first voltage and the first control voltage is greater than the turn-on voltage of the switching circuit 210, thereby controlling the switching circuit 210 to turn on.

[0038] Specifically, the first transistor can be transistor Q1, and the first voltage source can be voltage source VCC1. The first terminal of transistor Q1 is connected to the first latch-up terminal 223, and the voltage source VCC1 is connected to the second terminal of transistor Q1. When the first control signal is applied to the first signal terminal 221 and the second control signal is not applied to the second signal terminal 222, transistor Q1 is turned on. The first latch-up terminal 223 is connected to the first voltage provided by voltage source VCC1, and the second latch-up terminal 224 is connected to the first control voltage provided by signal terminal CDM-C. At this time, the voltage difference between the first voltage provided by voltage source VCC1 and the first control voltage provided by signal terminal CDM-C is greater than the turn-on voltage of transistor Q4.

[0039] Reference Figure 2 In some embodiments, the self-locking circuit 220 includes a second transistor. The control terminal of the second transistor is connected to the second signal terminal 222, the first terminal of the second transistor is grounded, and the second terminal of the second transistor is connected to the second self-locking terminal 224. When the first signal terminal 221 is not connected to the first control signal and the second signal terminal 222 is connected to the second control signal, the second transistor is turned on, and the second self-locking terminal 224 is grounded through the second transistor to control the switching circuit 210 to open.

[0040] Specifically, the first transistor can be transistor Q2. The control terminal of transistor Q2 can be connected to the signal terminal CDM-EN. The first terminal of transistor Q2 is grounded, and the second terminal of transistor Q2 is connected to the second self-locking terminal 224. When the first control signal is not connected to the first signal terminal 221 and the second control signal is connected to the second signal terminal 222, transistor Q2 is turned on, the first self-locking terminal 223 is grounded, and the voltage at ground and the voltage provided by the signal terminal CDM-C are less than the turn-on voltage of transistor Q4.

[0041] Reference Figure 2 In some embodiments, the self-locking circuit 220 includes a third transistor. The control electrode of the third transistor is connected to the second self-locking terminal 224. The first electrode of the third transistor is grounded, and the second electrode of the second transistor is connected to the control electrode of the third transistor. When the first control signal is received at the first signal terminal 221 and the second control signal is not received at the second signal terminal 222, the control electrode of the third transistor receives the first control signal through the second self-locking terminal 224, turning on the third transistor. The control electrode of the first transistor is grounded through the third transistor, thus turning on the first transistor. When the first control signal is not received at the first signal terminal 221 and the second control signal is received at the second signal terminal 222, the control electrode of the third transistor is grounded through the second self-locking terminal 224, turning off the third transistor. The connection between the control electrode of the first transistor and the ground electrode is broken, thus turning off the first transistor.

[0042] Specifically, with Figure 2For example, the third transistor can be transistor Q3. The first terminal of transistor Q3 is grounded, the control terminal of transistor Q3 is connected to the second terminal of transistor Q2, and the second terminal of transistor Q3 is connected to the control terminal of transistor Q1.

[0043] When the first control signal is connected to the first signal terminal 221 and the second control signal is not connected to the second signal terminal 222, the control electrode of transistor Q3 can be connected to the first control signal provided by the signal terminal CDM-C through the second self-locking terminal 224, and transistor Q3 is turned on, so that the control electrode of transistor Q1 can be grounded through transistor Q3, and transistor Q1 is turned on.

[0044] When the first control signal is not connected to the first signal terminal 221 and the second control signal is connected to the second signal terminal 222, the control electrode of transistor Q3 can be grounded through the second self-locking terminal 224, transistor Q3 is disconnected, the connection between the control electrode of transistor Q1 and the ground electrode is disconnected, and transistor Q1 is disconnected.

[0045] In some embodiments, the first control signal provided by the main controller 300 through the signal terminal CDM-C can be at a high level, and the second control signal provided by the main controller 300 through the signal terminal CDM-EN can be at a low level. Transistors Q1 and Q4 are PMOS transistors, and transistors Q2 and Q3 are NMOS transistors.

[0046] When signal terminal CDM-C is high and signal terminal CDM-EN is low, transistor Q2 is off, transistor Q3 is on, transistor Q1 is on, and transistor Q4 is on. When signal terminal CDM-C is low and signal terminal CDM-EN is high, transistor Q2 is on, transistor Q3 is off, transistor Q1 is off, and transistor Q4 is off.

[0047] Reference Figure 2 In some embodiments, the switching circuit 210 includes a second voltage source, a fourth transistor, and a fifth transistor. The control electrode of the fourth transistor is connected to the first self-locking terminal 223, the second electrode of the fourth transistor is connected to the second self-locking terminal 224, the first electrode of the fourth transistor is connected to the control electrode of the fifth transistor, the first electrode of the fifth transistor is connected to the second voltage source through the coil of the relay 100, and the second electrode of the fifth transistor is grounded.

[0048] Specifically, the fourth transistor can be transistor Q4, and the fifth transistor can be transistor Q5. The control electrode of transistor Q4 is connected to the first self-locking terminal 223, and the second electrode of transistor Q4 is connected to the second self-locking terminal 224. The first electrode of transistor Q4 is connected to the control electrode of transistor Q5. The first electrode of transistor Q5 is connected to the second voltage source through the coil of relay 100, and the second electrode of transistor Q5 is grounded. When Q4 is open, the connection between the control electrode of transistor Q5 and the voltage source VCC1 is broken, and transistor Q5 is off. Transistor Q5 is an NMOS transistor. When transistor Q4 is closed, the control electrode of transistor Q5 is connected to the voltage of the first self-locking terminal 223. At this time, the voltage of the first self-locking terminal 223 is the voltage provided by VCC1, and transistor Q5 is closed.

[0049] The second voltage source can be voltage source VCC2, which can be grounded through the coil of relay 100 and transistor Q5. When transistor Q4 is closed, transistor Q5 is closed, and voltage source VCC2 is grounded through the coil of relay 100. Voltage source VCC2 can provide current flowing through the coil of relay 100, causing relay 100 to close.

[0050] In some embodiments, the switching circuit 210 includes a second voltage source and a third voltage source, and the relay 100 includes a first relay element 110 and a second relay element 120. The first relay element 110 includes a first coil, a first contact, and a second contact, and the second relay element 120 includes a second coil, a third contact, and a fourth contact. The switching circuit 210 is connected to the second voltage source through the first coil, the third voltage source is connected to the first contact, and the second contact is connected to the third voltage source through the second coil. When the switching circuit 210 is turned on, the second voltage source is connected to the first coil and configured to provide current flowing through the first coil to control the connection between the first and second contacts. When the first and second contacts are connected, the third voltage source is connected to the second coil and configured to provide current flowing through the second coil to control the connection between the third and fourth contacts.

[0051] Specifically, the third voltage source can be voltage source VCC3, the first contact can be contact B1, the second contact can be contact B2, the third contact can be contact B3, and the fourth contact can be contact B4. Voltage source VCC3 can be connected to contact B2 through the second coil, and contact B1 can be grounded.

[0052] With transistor Q5 closed, voltage source VCC2 can be grounded through the first coil. Voltage source VCC2 can provide current flowing through the first coil, making contact B1 and contact B2 connected, controlling the first relay element 110 to close. Voltage source VCC3 can be grounded through the second coil, making voltage source VCC3 can provide current flowing through the second coil, making contact B3 and contact B4 connected, controlling the second relay element 120 to close.

[0053] In some embodiments, the control circuit 200 further includes a signal feedback circuit, the main controller 300 further includes a signal detection terminal, and the switching circuit 210 is connected to the signal detection terminal through the feedback circuit. When the switching circuit 210 is turned on, the switching circuit 210 is configured to output a first detection signal to the signal detection terminal through the feedback circuit. When the switching circuit 210 is turned off, the switching circuit 210 is configured to output a second detection signal to the signal detection terminal through the feedback circuit.

[0054] Specifically, the signal detection terminal of the main controller 300 can be the signal terminal A-relay-C1, and the switching circuit 210 can be connected to the signal terminal A-relay-C1 through the feedback circuit.

[0055] The feedback circuit may include transistor Q6. The control terminal of transistor Q6 may be connected to the first terminal of transistor Q5. The first terminal of transistor Q6 is grounded, and the second terminal of transistor Q6 is connected to voltage source VCC4 and signal terminal A-relay-C1.

[0056] When switch circuit 210 is on, transistor Q5 is closed, causing the control electrode of transistor Q6 to be grounded. When transistor Q6 is off, A-relay-C1 is connected to a high-level voltage provided by voltage source VCC4, and the first detection signal is a high-level signal. When switch circuit 210 is off, transistor Q5 is off, causing the control electrode of transistor Q6 to be connected to a high-level voltage provided by voltage source VCC3. When transistor Q6 is on, A-relay-C1 is grounded, and the first detection signal is a low-level signal.

[0057] Reference Figure 2 In some embodiments, the control circuit 200 may further include resistors R1 to R13, capacitors C1 to C4, diodes D1 and D2, and an ESD diode.

[0058] In this configuration, the anode of diode D1 can be connected to the first signal terminal 221, and the cathode of diode D1 can be connected to the second latching terminal 224. Resistor R1 can be connected between the cathode of diode D1 and the control terminal of transistor Q4. Resistor R2 can be connected between the second terminal of transistor Q4 and the control terminal of transistor Q4. Resistor R3 can be connected between the cathode of diode D1 and the second terminal of transistor Q4. Resistor R4 can be connected between the second terminal of transistor Q4 and the control terminal of transistor Q3. Resistor R5 can be connected between the second terminal of transistor Q4 and ground. Capacitor C1 can be connected between the second terminal of transistor Q4 and ground. Resistor R6 can be connected between the control terminal of transistor Q1 and the voltage source VCC1. Capacitor C2 can be connected between the control terminal of transistor Q1 and the voltage source VCC1. Resistor R7 can be connected between the control terminal of transistor Q2 and the signal terminal CDM-EN. Resistor R8 can be connected between the control terminal of transistor Q2 and ground. Capacitor C3 can be connected between the control terminal of transistor Q2 and ground. Resistor R9 can be connected between the first terminal of transistor Q4 and the control terminal of transistor Q5. Resistor R10 can be connected between the first terminal of transistor Q5 and the control terminal of transistor Q6. Resistor R11 can be connected between the first terminal of transistor Q6 and the control terminal of transistor Q6. Capacitor C4 can be connected between the first terminal of transistor Q6 and the control terminal of transistor Q6. Resistor R12 can be connected between voltage source VCC4 and the second terminal of transistor Q6. Resistor R13 can be connected between signal terminal A-relay-C1 and the second terminal of transistor Q6. The cathode of diode D2 can be connected to voltage source VCC2, the anode of diode D2 can be connected to the cathode of electrostatic discharge diode ESD, and the anode of electrostatic discharge diode ESD can be connected to the first terminal of transistor Q5.

[0059] Reference Figure 3 This application also provides a charging pile 2000, which includes a charging gun 2100, a relay 100, a main controller 300, and a control circuit 200 provided in this application. The main controller 300 is connected to the relay 100 through the control circuit 200 and is configured to control the on and off of the relay 100.

[0060] In some embodiments, the charging pile 2000 can charge a vehicle, and the charging gun 2100 can be connected to the vehicle's charging port. By controlling the relay 100 to close, the power supply of the charging pile 2000 can charge the vehicle through the charging gun 2100.

[0061] In the description of this specification, the references to terms such as "some embodiments," "in one example," "exemplarily," etc., indicate that a specific feature, structure, material, or characteristic described in connection with an embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0062] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing a particular logical function or process, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the function involved, as will be understood by those skilled in the art to which embodiments of this application pertain.

[0063] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are optional and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.

Claims

1. A control circuit for a relay, characterized in that, The control circuit includes: A switching circuit is connected to the coil of the relay, and the control circuit is configured to provide current flowing through the coil of the relay when the switching circuit is turned on, so as to control the relay to turn on; The self-locking circuit includes a first signal terminal, a second signal terminal, and a self-locking control terminal. The first signal terminal is connected to the first control terminal of the main controller, the second signal terminal is connected to the second control terminal of the main controller, and the self-locking control terminal is connected to the controlled terminal of the switching circuit. When the first control signal provided by the main controller is connected to the first signal terminal and the second control signal provided by the main controller is not connected to the second signal terminal, the state of the self-locking circuit is locked and configured to control the switching circuit to be turned on. When the first control signal provided by the main controller is connected to the first signal terminal and the second control signal provided by the main controller is not connected to the second control signal provided by the main controller, the state of the self-locking circuit is locked and configured to control the switching circuit to be turned off.

2. The control circuit according to claim 1, characterized in that, The self-locking control terminal includes a first self-locking terminal and a second self-locking terminal, and the controlled terminal includes a first controlled terminal and a second controlled terminal. The first self-locking terminal is connected to the first controlled terminal, and the second self-locking terminal is connected to the second controlled terminal. When the first control signal is connected to the first signal terminal and the second control signal is not connected to the second signal terminal, the voltage difference between the voltage provided by the first self-locking terminal and the voltage provided by the second self-locking terminal is greater than the conduction voltage of the switching circuit, so as to control the switching circuit to conduct. When the first control signal provided by the main controller is connected to the first signal terminal and the second control signal provided by the main controller is not connected to the second signal terminal, the voltage difference between the voltage provided by the first self-locking terminal and the voltage provided by the second self-locking terminal is less than the conduction voltage of the switching circuit, so as to control the switching circuit to open.

3. The control circuit according to claim 2, characterized in that, The self-locking circuit includes a first transistor and a first voltage source. The first self-locking terminal is connected to the first electrode of the first transistor, the second electrode of the first transistor is connected to the first voltage source, and the second self-locking terminal is connected to the first signal terminal. When the first control signal is connected to the first signal terminal and the second control signal is not connected to the second signal terminal, the first transistor is turned on, the first self-locking terminal is connected to the first voltage provided by the first voltage source, and the second self-locking terminal is connected to the first control voltage provided by the first control signal. The voltage difference between the first voltage and the first control voltage is greater than the on-state voltage of the switching circuit, so as to control the switching circuit to turn on.

4. The control circuit according to claim 3, characterized in that, The self-locking circuit includes a second transistor, the control electrode of the second transistor is connected to the second signal terminal, the first electrode of the second transistor is grounded, and the second electrode of the second transistor is connected to the first self-locking terminal. When the first control signal is not connected to the first signal terminal and the second control signal is connected to the second signal terminal, the second transistor is turned on, and the first self-locking terminal is grounded through the second transistor to control the switching circuit to be turned off.

5. The control circuit according to claim 4, characterized in that, The self-locking circuit includes a third transistor, the control electrode of the third transistor is connected to the second self-locking terminal, the first electrode of the third transistor is grounded, and the second electrode of the second transistor is connected to the control electrode of the third transistor; When the first control signal is connected to the first signal terminal and the second control signal is not connected to the second signal terminal, the control electrode of the third transistor is connected to the first control signal through the second self-locking terminal, the third transistor is turned on, and the control electrode of the first transistor is grounded through the third transistor to turn on the first transistor. When the first control signal is not connected to the first signal terminal and the second control signal is connected to the second signal terminal, the control electrode of the third transistor is grounded through the second self-locking terminal, the third transistor is disconnected, and the connection between the control electrode of the first transistor and the ground electrode is disconnected, so that the first transistor is disconnected.

6. The control circuit according to claim 2, characterized in that, The switching circuit includes a second voltage source, a fourth transistor, and a fifth transistor. The control electrode of the fourth transistor is connected to the first self-locking terminal, the second electrode of the fourth transistor is connected to the second self-locking terminal, the first electrode of the fourth transistor is connected to the control electrode of the fifth transistor, the first electrode of the fifth transistor is connected to the second voltage source through the coil of the relay, and the second electrode of the fifth transistor is grounded.

7. The control circuit according to claim 1, characterized in that, The switching circuit includes a second voltage source and a third voltage source. The relay includes a first relay element and a second relay element. The first relay element includes a first coil, a first contact, and a second contact. The second relay element includes a second coil, a third contact, and a fourth contact. The switching circuit is connected to the second voltage source through the first coil. The third voltage source is connected to the first contact. The second contact is connected to the third voltage source through the second coil. When the switching circuit is turned on, the second voltage source is connected to the first coil and configured to provide current flowing through the first coil to control the connection between the first contact and the second contact; When the first contact and the second contact are connected, the third voltage source is connected to the second coil and configured to provide current flowing through the second coil to control the connection between the third contact and the fourth contact.

8. The control circuit according to claim 1, characterized in that, The control circuit further includes a signal feedback circuit, and the main controller further includes a signal detection terminal. The switching circuit is connected to the signal detection terminal through the feedback circuit. When the switching circuit is turned on, the switching circuit is configured to output a first detection signal to the signal detection terminal through the feedback circuit. When the switching circuit is turned off, the switching circuit is configured to output a second detection signal to the signal detection terminal through the feedback circuit.

9. A relay control system, characterized in that, The relay control system includes a control circuit for the relay according to any one of claims 1 to 8, a main controller, and a relay. The main controller is connected to the relay through the control circuit and is configured to control the relay to turn on and off.

10. A charging pile, characterized in that, The charging pile includes: Charging gun; A relay is connected to the charging gun; The main controller and the control circuit of the relay according to any one of claims 1 to 8, wherein the main controller is connected to the relay through the control circuit and is configured to control the relay to turn on and off.