Charging gun electronic lock control circuit
By using voltage regulator tube and optocoupler in the charging gun electronic lock control circuit, combined with the design of the control chip, the automatic unlocking and multi-manufacturer compatible driving time is achieved, and the automatic unlocking and compatibility problems of electronic locks in the existing technology is solved, and the problem of automatic unlocking and compatibility of electronic locks is extended. The life of the charging gun is reduced and maintenance costs are reduced.
Patent Information
- Application Number
- CN202420703211.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-08
- Publication Date
- 2024-12-10
- Estimated Expiration
- 2034-04-08
AI Technical Summary
The existing charging gun electronic lock control circuit cannot be unlocked automatically when the DC charging system suddenly loses power, and it is not compatible with electronic locks from different manufacturers, resulting in severe heat generated by the electronic lock coil and a decrease in life, which increases the after-sales cost of charging piles.
A charging gun electronic lock control circuit is designed, including a voltage regulator tube, optocoupler and control chip, which realizes automatic unlocking function through optocoupler transmission signals, and is compatible with electronic lock specifications of different manufacturers by adjusting the pulse width input of the controller. Ensure drive time.
It realizes the automatic unlocking function when the DC charging system suddenly loses power, reduces the electronic lock blocking time, extends the service life of the charging gun, and is compatible with electronic locks from different manufacturers, reducing the after-sales maintenance cost of the charging pile.
Smart Images

Figure CN222136491U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of charging piles, and in particular to an electronic lock control circuit for a charging gun. Background Art
[0002] In recent years, with the rapid development of the new energy vehicle industry, the charging pile system has also been rapidly applied on a large scale. Charging piles are usually equipped with charging guns. The national standard GB / T 18487.1-2015 mentions that after the vehicle interface and the power supply interface are fully connected, the electronic lock needs to be completely locked to avoid the charging gun being manually pulled out during charging, causing personal injury.
[0003] The utility model patent with patent number CN202221295346.5 discloses an electromagnetic lock drive circuit, including a signal input port GPIO1, a signal input port GPIO2, a photocoupler U1, a photocoupler U2, a MOS tube Q1, a MOS tube Q2, a relay Relay1 and a signal output socket J1. The utility model has many components and a complex structure. It requires 2 control input pins and the control logic is also relatively complex. It does not have the function of automatically unlocking the electromagnetic lock when the DC charging system is suddenly powered off.
[0004] The utility model with patent number CN2023215690201 discloses an electromagnetic lock control circuit for a charging gun. Through single-throw double-pole relays, large-capacity electrolytic capacitors, isolated optocouplers, and NPN-type MOSFETs and other devices, in the locking stage of the electronic lock, the relay operates, and the capacitor stores energy and provides energy for the electronic lock coil at the same time; in the unlocking stage, after the relay is disconnected, the energy stored in the capacitor provides unlocking energy for the electronic lock coil. However, it cannot control the driving time, causing the electronic lock to be blocked for too long. Long-term use will cause the electronic lock coil to heat up severely and its life will be reduced. It is also not compatible with electronic locks from different manufacturers, and the life of the electronic lock cannot be guaranteed, which increases the after-sales cost of the charging pile.
[0005] Therefore, it is necessary to provide a charging gun electronic lock control circuit that can simultaneously meet the requirements of automatic unlocking when the DC charging system is suddenly powered off, and the driving time can be compatible with electronic locks of different manufacturers. Utility Model Content
[0006] The utility model discloses a charging gun electronic lock control circuit, which relates to the field of electric vehicle DC charging systems and can effectively solve the technical problems involved in the background technology.
[0007] To achieve the above purpose, the technical solution of the utility model is:
[0008] A charging gun electronic lock control circuit includes a voltage regulator tube D2, an optical coupler OC1, an optical coupler OC2 and a control chip U1.
[0009] Port 12V is connected to the positive end of the diode D1, the negative end of the diode D1 is connected to port VM, one end of the capacitor C1, one end of the resistor R2 and one end of the resistor R1, the other end of the resistor R1 is connected to the negative end of the voltage regulator D2, one end of the capacitor C2, one end of the capacitor C3 and port 5V, and port AGND is connected to the other end of the capacitor C1, the other end of the resistor R2, the positive end of the voltage regulator D2, the other end of the capacitor C2 and the other end of the capacitor C3.
[0010] The port 5V is connected to the collector of the optocoupler OC1, the emitter of the optocoupler OC1 is connected to port IN10 and one end of the resistor R6, the other end of the resistor R6 is connected to port AGND, the positive end of the optocoupler OC1 is connected to one end of the resistor R5, the other end of the resistor R5 is connected to port 3.3V, the negative end of the optocoupler OC1 is connected to the collector of the transistor Q1, the base of the transistor Q1 is connected to one end of the resistor R3 and one end of the resistor R4, the other end of the resistor R3 is connected to port IN1, and the other end of the resistor R4 is connected to the emitter of the transistor Q1 and port DGND.
[0011] The port 5V is connected to one end of the resistor R13, the other end of the resistor R13 is connected to the port IN20 and the collector of the optocoupler OC2, the emitter of the optocoupler OC2 is connected to the port AGND, the positive end of the optocoupler OC2 is connected to one end of the resistor R12, the other end of the resistor R12 is connected to the port 3.3V and one end of the resistor R9, the negative end of the optocoupler OC2 is connected to the collector of the transistor Q3, the base of the transistor Q3 is connected to one end of the resistor R10 and one end of the resistor R11, the other end of the resistor R11 is connected to the emitter of the transistor Q3 and the port DGND, the other end of the resistor R9 and the other end of the resistor R10 are connected to the collector of the transistor Q2, the base of the transistor Q2 is connected to one end of the resistor R7 and one end of the resistor R8, the other end of the resistor R7 is connected to the port IN2, and the other end of the resistor R8 is connected to the emitter of the transistor Q2 and the port DGND.
[0012] Pin 1 of the control chip U1 is connected to port AGND, pin 2 of the control chip U1 is connected to port IN20, pin 3 of the control chip U1 is connected to port IN10, pin 4 of the control chip U1 is connected to one end of resistor R14 and one end of resistor R15, the other end of the resistor R14 is connected to port 5V, the other end of the resistor R15 is connected to port AGND, pin 5 of the control chip U1 is connected to port VM, pin 6 of the control chip U1 is connected to the positive end of diode D7, the negative end of diode D9 and port EL+, pin 7 of the control chip U1 is connected to one end of resistor R16, the other end of the resistor R16 is connected to port AGND, pin 8 of the control chip U1 is connected to the positive end of diode D6, the negative end of diode D8 and port EL-, the negative end of diode D6 is connected to port VM and the negative end of diode D7, and the positive end of diode D8 is connected to port AGND and the positive end of diode D9.
[0013] A charging pile electronic lock control circuit includes a power supply part, a logic drive part and a drive chip part. The external input of the circuit includes a 12V power supply to power the electrolytic capacitor C1, and a 5V power supply is generated through a voltage regulator diode D2. The controller chip logic drive input signals IN1 and IN2 are given to the chip U1 through optical coupling transmission, and the electronic lock signals EL+ and EL- are output to the outside. According to the electronic lock specifications of different manufacturers, the chip can be configured with different locking and unlocking times, which can be achieved by adjusting the pulse width of the controller input. A reliable magnetic holding electronic lock control solution is provided for the DC charging system of electric vehicles, which meets the service life of the charging gun and realizes automatic unlocking when the DC charging system is suddenly powered off, and the driving time is compatible with electronic locks of different manufacturers.
[0014] As a preferred improvement of the present invention: the port 12V is connected to a 12V power supply.
[0015] As a preferred improvement of the present invention: the port 3.3V is connected to a 3.3V power supply.
[0016] As a preferred improvement of the present invention: the optical coupler OC1 and the optical coupler OC2 are of model PC817.
[0017] As a preferred improvement of the present invention: the port IN1 and the port IN2 are connected to the controller MCU, and the port DGND is the ground terminal of the controller MCU.
[0018] As a preferred improvement of the present invention: the model of the control chip U1 is SGM42500.
[0019] As a preferred improvement of the present invention: the port EL+ and the port EL- are connected to a charging gun electronic lock.
[0020] As a preferred improvement of the present invention: the specification of the voltage regulator tube D2 is 5V.
[0021] The beneficial effects of the utility model are as follows:
[0022] It provides a reliable electronic lock control solution that is compatible with the electronic lock driving time of different manufacturers, reduces the electronic lock blocking time, meets the service life of the charging gun, and has the function of automatically unlocking the electronic lock when the charging system suddenly loses power. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present utility model, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present utility model. For those skilled in the art, other drawings can be obtained based on these drawings without creative work, among which:
[0024] Figure 1 This is a schematic diagram of the power supply part of the electronic lock control circuit of a charging gun of the utility model;
[0025] Figure 2 It is a schematic diagram of the logic drive part of the utility model;
[0026] Figure 3 This is the amplification of the logic drive part of the utility model Figure 1 ;
[0027] Figure 4 This is the amplification of the logic drive part of the utility model Figure 2 ;
[0028] Figure 5 This is a schematic diagram of the driver chip portion of the utility model;
[0029] Figure 6 This is a schematic diagram of the structure of the driver chip of the utility model. DETAILED DESCRIPTION
[0030] The technical solutions in the embodiments of the present invention will be described clearly and completely below in combination with the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0031] It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0032] In addition, in the present invention, descriptions such as "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0033] In the present invention, unless otherwise clearly specified and limited, the terms "connection", "fixation", etc. should be understood in a broad sense. For example, "fixation" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0034] In addition, the technical solutions between the various embodiments of the present invention can be combined with each other, but it must be based on the fact that ordinary technicians in the field can implement it. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0035] The utility model provides a charging gun electronic lock control circuit, comprising a voltage regulator tube D2, an optical coupler OC1, an optical coupler OC2 and a control chip U1, wherein the voltage regulator tube D2 is used for a power supply circuit, the optical coupler OC1 and the optical coupler OC2 are used for a signal input circuit, and the control chip U1 is used for a driving circuit.
[0036] See also Figure 1As shown, the figure shows a power supply circuit, port 12V is connected to the positive end of diode D1, the port 12V is connected to a 12V power supply, the negative end of diode D1 is connected to port VM, one end of capacitor C1, one end of resistor R2 and one end of resistor R1, the other end of resistor R1 is connected to the negative end of voltage regulator D2, one end of capacitor C2, one end of capacitor C3 and port 5V, the voltage regulator D2 specification is 5V, port AGND is connected to the other end of capacitor C1, the other end of resistor R2, the positive end of voltage regulator D2, the other end of capacitor C2 and the other end of capacitor C3. Specifically, the input 12V current becomes a 5V power supply current through resistors, voltage regulators, etc., diode D1 is powered off to prevent capacitor energy from flowing back to 12V, capacitor C1 stores energy, R1 is a current limiting resistor, and R2 is a dummy load to provide power supply anti-interference. Diode D2 is a 5V voltage regulator diode, and C2 and C3 are filter capacitors.
[0037] See also Figure 2-Figure 4As shown in the figure, the signal input circuit is a signal input circuit. Ports IN1 and IN2 are two input signals of the controller MCU, and are output from ports IN10 and IN20 to the control chip U1 through resistors, transistors, optocouplers, etc. For the IN1 signal, the port 5V is connected to the collector of the optocoupler OC1, the emitter of the optocoupler OC1 is connected to port IN10 and one end of the resistor R6, the other end of the resistor R6 is connected to port AGND, the positive end of the optocoupler OC1 is connected to one end of the resistor R5, the other end of the resistor R5 is connected to port 3.3V, the port 3.3V is connected to a 3.3V power supply (which can be connected to the power supply of the controller MCU), the negative end of the optocoupler OC1 is connected to the collector of the transistor Q1, the base of the transistor Q1 is connected to one end of the resistor R3 and one end of the resistor R4, the other end of the resistor R3 is connected to port IN1, and the other end of the resistor R4 is connected to the emitter of the transistor Q1 and port DGND. For the IN2 signal, the port 5V is connected to one end of the resistor R13, the other end of the resistor R13 is connected to the port IN20 and the collector of the optocoupler OC2, the emitter of the optocoupler OC2 is connected to the port AGND, the positive end of the optocoupler OC2 is connected to one end of the resistor R12, the other end of the resistor R12 is connected to the port 3.3V and one end of the resistor R9, the negative end of the optocoupler OC2 is connected to the collector of the transistor Q3, the base of the transistor Q3 is connected to one end of the resistor R10 and one end of the resistor R11, and the other end of the resistor R11 is connected to the transistor The emitter of Q3 and port DGND, the other end of the resistor R9 and the other end of the resistor R10 are connected to the collector of the transistor Q2, the base of the transistor Q2 is connected to one end of the resistor R7 and one end of the resistor R8, the other end of the resistor R7 is connected to port IN2, the other end of the resistor R8 is connected to the emitter of the transistor Q2 and port DGND, the optocoupler OC1 and the optocoupler OC2 are models PC817, the port IN1 and the port IN2 are connected to the controller MCU (microcontroller, etc.), and the port DGND is the ground terminal of the controller MCU.
[0038] See also Figure 5-Figure 6As shown in the figure, the driving circuit is shown, the pin 1 of the control chip U1 is connected to the port AGND, the pin 2 of the control chip U1 is connected to the port IN20, the pin 3 of the control chip U1 is connected to the port IN10, the pin 4 of the control chip U1 is connected to one end of the resistor R14 and one end of the resistor R15, the other end of the resistor R14 is connected to the port 5V, the other end of the resistor R15 is connected to the port AGND, the pin 5 of the control chip U1 is connected to the port VM, the pin 6 of the control chip U1 is connected to the positive end of the diode D7, the negative end of the diode D9 and the port EL+, the pin 7 of the control chip U1 is connected to one end of the resistor R16, the other end of the resistor R16 is connected to the port AGND, the pin 8 of the control chip U1 is connected to the positive end of the diode D6, the negative end of the diode D8 and the port EL-, the negative end of the diode D6 is connected to the port VM and the negative end of the diode D7, the positive end of the diode D8 is connected to the port AGND and the positive end of the diode D9, and the port EL+ and the port EL- are connected to the charging gun electronic lock. U1 is a driver chip, and the model of the control chip U1 is SGM42500. Resistors R14 and R15 set the upper limit of the drive current, and diodes D6, D7, D8, and D9 are used to clamp the EL+ and EL- voltages to prevent overvoltage from damaging the chip, and provide a return path when the U1 chip drive signal is turned off. For the control chip U1, pin 1 is the ground of the chip, pins 2 and 3 are the logic inputs of the chip, pin 4 is used to configure the chip drive current limit (the corresponding drive current can be configured according to different electronic lock models), pin 5 is the power supply of the chip, pins 6 and 8 are the outputs of the drive, and pin 7 is the chip drive current sampling.
[0039] Table 1 below shows the locking and unlocking states corresponding to the drive signal, where 1 is a high level signal and 0 is a low level signal.
[0040] Table 1. Driving signal relationship table
[0041]
[0042] Locking working principle:
[0043] The controller MCU outputs IN1 and IN2 signals as 1 and 0, and the signals transmitted to U1 through the optocoupler to drive IN10 and IN20 are 1 and 0. The corresponding control chip U1 outputs EL+ and EL- as positive 12V signals, which drive the electronic lock motor to rotate forward. After reaching the electronic lock locking position, the controller outputs IN1 and IN2 signals as 0 and 0, maintaining the current state unchanged, and the charging gun continues to complete the charging task.
[0044] How unlocking works:
[0045] When unlocking is required, the controller outputs IN1 and IN2 signals as 0 and 1, and the signals of driving IN10 and IN20 transmitted to U1 through the optocoupler are 0 and 1. The output EL+ and EL- of the corresponding control chip U1 are negative 12V signals, which drive the electronic lock motor to reverse. After restoring the initial position of the electronic lock, the controller outputs IN1 and IN2 signals as 0 and 0, maintaining the current unlocking state unchanged.
[0046] System power-off working principle:
[0047] When the system is powered off, the controller cannot output IN1 and IN2. The optocoupler back-end IN10 is pulled down through a resistor, and IN20 is pulled up through a resistor. The generated unlocking signals IN10 and IN20 are 0 and 1. Relying on the energy of capacitor C1, the control chip U1 outputs EL+ and EL- as negative 12V signals to unlock.
[0048] Although the implementation scheme of the utility model has been disclosed as above, it is not limited to the applications listed in the specification and the implementation scheme. It can be fully applied to various fields suitable for the utility model. For those familiar with the art, additional modifications can be easily implemented. Therefore, without departing from the general concept defined by the claims and the scope of equivalents, the utility model is not limited to the specific details and the illustrations shown and described herein.
Claims
1. A charging gun electronic lock control circuit, characterized in that: Including voltage regulator D2, optocoupler OC1, optocoupler OC2 and control chip U1; Port 12V is connected to the positive end of the diode D1, the negative end of the diode D1 is connected to port VM, one end of the capacitor C1, one end of the resistor R2 and one end of the resistor R1, the other end of the resistor R1 is connected to the negative end of the voltage regulator D2, one end of the capacitor C2, one end of the capacitor C3 and port 5V, and port AGND is connected to the other end of the capacitor C1, the other end of the resistor R2, the positive end of the voltage regulator D2, the other end of the capacitor C2 and the other end of the capacitor C3; The port 5V is connected to the collector of the optocoupler OC1, the emitter of the optocoupler OC1 is connected to the port IN10 and one end of the resistor R6, the other end of the resistor R6 is connected to the port AGND, the positive end of the optocoupler OC1 is connected to one end of the resistor R5, the other end of the resistor R5 is connected to the port 3.3V, the negative end of the optocoupler OC1 is connected to the collector of the transistor Q1, the base of the transistor Q1 is connected to one end of the resistor R3 and one end of the resistor R4, the other end of the resistor R3 is connected to the port IN1, and the other end of the resistor R4 is connected to the emitter of the transistor Q1 and the port DGND; The port 5V is connected to one end of the resistor R13, the other end of the resistor R13 is connected to the port IN20 and the collector of the optocoupler OC2, the emitter of the optocoupler OC2 is connected to the port AGND, the positive end of the optocoupler OC2 is connected to one end of the resistor R12, the other end of the resistor R12 is connected to the port 3.3V and one end of the resistor R9, the negative end of the optocoupler OC2 is connected to the collector of the transistor Q3, the base of the transistor Q3 is connected to one end of the resistor R10 and one end of the resistor R11, the other end of the resistor R11 is connected to the emitter of the transistor Q3 and the port DGND, the other end of the resistor R9 and the other end of the resistor R10 are connected to the collector of the transistor Q2, the base of the transistor Q2 is connected to one end of the resistor R7 and one end of the resistor R8, the other end of the resistor R7 is connected to the port IN2, and the other end of the resistor R8 is connected to the emitter of the transistor Q2 and the port DGND; Pin 1 of the control chip U1 is connected to port AGND, pin 2 of the control chip U1 is connected to port IN20, pin 3 of the control chip U1 is connected to port IN10, pin 4 of the control chip U1 is connected to one end of resistor R14 and one end of resistor R15, the other end of the resistor R14 is connected to port 5V, the other end of the resistor R15 is connected to port AGND, pin 5 of the control chip U1 is connected to port VM, pin 6 of the control chip U1 is connected to the positive end of diode D7, the negative end of diode D9 and port EL+, pin 7 of the control chip U1 is connected to one end of resistor R16, the other end of the resistor R16 is connected to port AGND, pin 8 of the control chip U1 is connected to the positive end of diode D6, the negative end of diode D8 and port EL-, the negative end of diode D6 is connected to port VM and the negative end of diode D7, and the positive end of diode D8 is connected to port AGND and the positive end of diode D9.
2. The charging gun electronic lock control circuit according to claim 1, characterized in that: The port 12V is connected to a 12V power source.
3. The charging gun electronic lock control circuit according to claim 1, characterized in that: The port 3.3V is connected to a 3.3V power supply.
4. The charging gun electronic lock control circuit according to claim 1, characterized in that: The optocoupler OC1 and the optocoupler OC2 are of model PC817.
5. The charging gun electronic lock control circuit according to claim 1, characterized in that: The port IN1 and the port IN2 are connected to the controller MCU, and the port DGND is the ground terminal of the controller MCU.
6. The charging gun electronic lock control circuit according to claim 1, characterized in that: The model of the control chip U1 is SGM42500.
7. The charging gun electronic lock control circuit according to claim 1, characterized in that: The port EL+ and the port EL- are connected to the charging gun electronic lock.
8. The charging gun electronic lock control circuit according to claim 1, characterized in that: The voltage regulator tube D2 has a specification of 5V.
