Electronic lock detection circuit and electronic lock detection device
Patent Information
- Application Number
- CN202522044971.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-23
- Publication Date
- 2026-09-08
- Estimated Expiration
- 2035-09-23
AI Technical Summary
[0003]本实用新型目的是提供一种电子锁检测电路及电子锁检测装置,以克服现有技术中不方便对直流充电枪或者车辆交流充电座上的电子锁及电子锁反馈开关进行故障排查的问题
本实用新型方便对电子锁及电子锁反馈开关进行故障排查,以判定电子锁及电子锁反馈开关是否有故障。
Smart Images

Figure CN224732070U_ABST
Abstract
Description
Technical Field
[0001] This utility model belongs to the field of electronic lock testing technology, and more specifically, it relates to an electronic lock testing circuit and an electronic lock testing device. Background Technology
[0002] Both DC charging guns and AC charging sockets for new energy vehicles are designed with electronic locks. These locks prevent the charging interface from being disconnected under load or accidentally disconnected, and prevent the charging interface from reaching the conditions for starting power transmission when it is not properly plugged in. Occasionally, the electronic locks on DC charging guns or AC charging sockets may malfunction during use. When a malfunction occurs, it is necessary to troubleshoot whether the problem lies with the equipment connected to the electronic lock, or with the electronic lock itself or its feedback switch. Currently, there is no dedicated testing equipment for electronic locks. If an electronic lock malfunction is encountered, troubleshooting usually involves replacing the component, resulting in unnecessary waste of repair time and spare parts, and creating significant difficulties for vehicle maintenance, after-sales service, and charging station / charging gun repairs. Summary of the Invention
[0003] The purpose of this invention is to provide an electronic lock detection circuit and an electronic lock detection device to overcome the problem in the prior art that it is inconvenient to troubleshoot the electronic locks and electronic lock feedback switches on DC charging guns or vehicle AC charging sockets.
[0004] This utility model is achieved by the following technical solution: an electronic lock detection circuit, including a power supply, a first detection branch powered by the power supply, and a second detection branch powered by the power supply. The first detection branch includes a first wire segment connected to the positive terminal of the power supply and a second wire segment connected to the negative terminal of the power supply. The end of the first wire segment is connected to the first probe, and the beginning of the second wire segment is connected to the second probe. A lockout feedback lamp is also connected in series on the first detection branch. The second detection branch includes a third wire segment and a fourth wire segment connected to the positive terminal of the power supply, respectively. The second detection branch also includes a fifth wire segment and a sixth wire segment connected to the negative terminal of the power supply, respectively. The ends of the third wire segment and the fourth wire segment are respectively connected to the first stationary contact of the first relay and the first stationary contact of the second relay. The beginnings of the fifth wire segment and the sixth wire segment are respectively connected to the second stationary contact of the first relay and the second stationary contact of the second relay. The common moving contact of the first relay is connected to the third test lead through a wire, and the common moving contact of the second relay is connected to the fourth test lead through a wire.
[0005] Furthermore, it also includes a control unit, which is used to control the first relay to be energized and de-energized after a first delay time, and to control the second relay to be energized and de-energized after a second delay time.
[0006] Furthermore, the control unit is connected to the first button and the second button respectively; the control unit controls the first relay to be energized in response to the trigger signal of the first button; the control unit controls the second relay to be energized in response to the trigger signal of the second button.
[0007] Furthermore, the control unit includes a control board powered by the power supply, the control board including a microcontroller unit; the coil of the first relay is connected to the microcontroller unit through a first drive circuit, and the coil of the second relay is connected to the microcontroller unit through a second drive circuit; the input port of the microcontroller unit is connected to a first button and a second button; the microcontroller unit is a single-chip microcomputer.
[0008] Furthermore, the first delay time is T1, where 0.3s≤T1≤1s; the second delay time is T2, where 0.3s≤T2≤1s.
[0009] Furthermore, it also includes a main power switch connected in series in the power supply circuit of the power source; and a power indicator light powered by the power source.
[0010] Furthermore, it also includes a charging management module, the input of which is used to connect to an external power source, and its output is connected to the power source for charging the power source. The charging management module integrates a charging interface; the power source is a rechargeable battery.
[0011] Furthermore, both the first relay and the second relay are single-pole double-throw electromagnetic relays; the first stationary contact of the first relay is a normally closed contact, the second stationary contact of the first relay is a normally open contact, the first stationary contact of the second relay is a normally closed contact, and the second stationary contact of the second relay is a normally open contact.
[0012] An electronic lock detection device further includes the aforementioned electronic lock detection circuit, which is installed in the housing, and the first probe, second probe, third probe and fourth probe are respectively led out of the housing through wires.
[0013] Furthermore, the surface of the housing is provided with a first button, a second button, a main power switch, a power indicator light, and a lockout feedback light, and the surface of the housing is also provided with a charging interface.
[0014] Compared with the prior art, the beneficial effects of this utility model are: This invention facilitates troubleshooting of electronic locks and electronic lock feedback switches to determine whether they are faulty. Attached Figure Description
[0015] Figure 1 This is a schematic diagram of the electronic lock detection circuit described in this utility model; Figure 2 This is a schematic diagram of the electronic lock detection device described in this utility model.
[0016] In the diagram: 1. Power supply; 2. First conductor segment; 3. Second conductor segment; 4. First probe; 5. Second probe; 6. Lockout feedback light; 7. Third conductor segment; 8. Fourth conductor segment; 9. Fifth conductor segment; 10. Sixth conductor segment; 11. First relay; 12. Second relay; 13. Third probe; 14. Fourth probe; 15. Control board; 16. First button; 17. Second button; 18. Main power switch; 19. Charging management module; 20. Housing; 21. Electronic lock; 22. Electronic lock feedback switch; 23. Power indicator light. Detailed Implementation
[0017] To enable those skilled in the art to better understand the technical solutions of this utility model, the technical solutions of the embodiments of this utility model will be clearly and completely described below with reference to the accompanying drawings. All other embodiments obtained by those skilled in the art based on the embodiments of this utility model without creative effort should fall within the scope of protection of this utility model.
[0018] An electronic lock detection circuit, such as Figure 1 As shown, the device includes a power supply 1, which is a rechargeable battery; it also includes a charging management module 19, whose input terminal is connected to an external power source, and whose output terminal is connected to the power supply 1 for charging the power supply 1. The charging management module 19 integrates a charging interface. The charging management module 19 is used to charge the power supply 1, and the charging interface is a common charging interface in the prior art, such as a Type-C interface.
[0019] The electronic lock detection circuit also includes a first detection branch powered by the power supply 1 and a second detection branch powered by the power supply 1.
[0020] The first detection branch includes a first wire segment 2 connected to the positive terminal of the power supply 1 and a second wire segment 3 connected to the negative terminal of the power supply 1. The end of the first wire segment 2 is connected to the first probe 4, and the beginning of the second wire segment 3 is connected to the second probe 5. A lockout feedback lamp 6 is also connected in series on the first detection branch, and the lockout feedback lamp 6 is connected in series on the second wire segment 3.
[0021] The first detection branch of this invention is used for fault detection of the electronic lock feedback switch 22. The first probe 4 and the second probe 5 form a detection interface. In application, the first probe 4 and the second probe 5 are connected to the positive and negative terminals of the electronic lock feedback switch 22, respectively. When the electronic lock feedback switch 22 is closed, the first detection branch forms a closed circuit. At this time, with the main power switch 18 on, the locking feedback light 6 will be powered on and illuminated. When the electronic lock feedback switch 22 is open, the first detection branch is an open circuit.
[0022] The second detection branch includes a third wire segment 7 and a fourth wire segment 8, which are respectively connected to the positive terminal of the power supply 1. The second detection branch also includes a fifth wire segment 9 and a sixth wire segment 10, which are respectively connected to the negative terminal of the power supply 1. The ends of the third wire segment 7 and the fourth wire segment 8 are respectively connected to the first stationary contact of the first relay 11 and the first stationary contact of the second relay 12. The beginnings of the fifth wire segment 9 and the sixth wire segment 10 are respectively connected to the second stationary contact of the first relay 11 and the second stationary contact of the second relay 12. The common moving contact of the first relay 11 is connected to the third test lead 13 through a wire, and the common moving contact of the second relay 12 is connected to the fourth test lead 14 through a wire.
[0023] The second detection branch of this invention is used for fault detection of the electronic lock 21, and the third probe 13 and the fourth probe 14 form a detection interface. In application, the third probe 13 and the fourth probe 14 are connected to the positive and negative terminals of the drive motor of the electronic lock 21, respectively.
[0024] The first relay 11 and the second relay 12 are both single-pole double-throw electromagnetic relays. The coils of the first relay 11 and the second relay 12 are both powered by power supply 1. The first stationary contact of the first relay 11 is a normally closed contact, and the second stationary contact of the first relay 11 is a normally open contact. The first stationary contact of the second relay 12 is a normally closed contact, and the second stationary contact of the second relay 12 is a normally open contact.
[0025] When the first relay 11 and the second relay 12 are not energized, the first stationary contact of the first relay 11 is connected to the common moving contact of the first relay 11, and the first stationary contact of the second relay 12 is connected to the common moving contact of the second relay 12. At this time, the third probe 13 and the fourth probe 14 are both connected to the positive terminal of the power supply 1. When the third probe 13 and the fourth probe 14 are respectively connected to the positive and negative terminals of the drive motor of the electronic lock 21, the second detection branch is still open circuit.
[0026] When the third probe 13 and the fourth probe 14 are connected to the positive and negative terminals of the drive motor of the electronic lock 21, respectively, the coil of the second relay 12 is energized, connecting the second stationary contact and the common moving contact of the second relay 12, and disconnecting the first stationary contact and the common moving contact of the second relay 12. At this time, the fourth probe 14 is connected to the negative terminal of the power supply 1 through the sixth wire segment 10, and the third probe 13 is connected to the positive terminal of the power supply 1 through the third wire segment 7. At this time, the second detection branch is formed, and the drive motor of the electronic lock 21 is energized and rotates in the forward direction.
[0027] When the third probe 13 and the fourth probe 14 are connected to the positive and negative terminals of the drive motor of the electronic lock 21, respectively, the coil of the first relay 11 is energized, connecting the second stationary contact and the common moving contact of the first relay 11, and disconnecting the first stationary contact and the common moving contact of the first relay 11. At this time, the third probe 13 is connected to the negative terminal of the power supply 1 through the fifth wire segment 9, and the fourth probe 14 is connected to the positive terminal of the power supply 1 through the fourth wire segment 8. At this time, the second detection branch is formed, and the drive motor of the electronic lock 21 is energized and reverses.
[0028] The electronic lock detection circuit also includes a control unit, which enables the first relay 11 and the second relay 12 to disconnect after a delay. The control unit is used to control the first relay 11 to be energized and de-energized after a first delay time, and to control the second relay 12 to be energized and de-energized after a second delay time.
[0029] The control unit includes a control board 15 powered by the power supply 1, and the control board 15 includes a microcontroller unit; the coil of the first relay 11 is connected to the microcontroller unit through a first drive circuit, and the coil of the second relay 12 is connected to the microcontroller unit through a second drive circuit; the microcontroller unit is a single-chip microcomputer.
[0030] In this invention, the first relay 11 and the second relay 12 achieve delayed disconnection via a control board 15. The control board 15 is a circuit board integrating functional circuits, on which a microcontroller serving as the control core and a first driving circuit for driving the first relay and a second driving circuit for driving the second relay are mounted. The microcontroller is connected to the first driving circuit and the second driving circuit respectively via control signals. The microcontroller is programmed to achieve delayed disconnection of the first relay and the second relay, for example, through its internal timer or software delay function. The control board 15 is powered by the power supply 1, with its power supply pin connected to the positive terminal of the power supply 1 and its ground pin connected to the negative terminal of the power supply 1, forming a power supply loop for the control board 15.
[0031] One end of the coil of the first relay 11 is connected to the positive terminal of power supply 1, and the other end is connected to the first driving circuit and then to the negative terminal of power supply 1, forming a power supply circuit for the coil of the first relay 11. The first driving circuit is implemented using an NPN transistor. The collector of the NPN transistor is connected to the coil of the first relay 11, the emitter of the NPN transistor is connected to the negative terminal of power supply 1, and the base of the NPN transistor is connected to the first control signal port of the microcontroller through a base-limiting current resistor. The first driving circuit is used to turn the connection between the coil of the first relay 11 and the negative terminal of the power supply on or off according to the control signal issued by the first control signal port of the microcontroller.
[0032] One end of the coil of the second relay 12 is connected to the positive terminal of power supply 1, and the other end is connected to the second driving circuit and then connected to the negative terminal of power supply 1 to form a power supply circuit for the coil of the second relay 12. The second driving circuit is also implemented using an NPN transistor. The collector of the NPN transistor is connected to the coil of the second relay 12, the emitter of the NPN transistor is connected to the negative terminal of power supply 1, and the base of the NPN transistor is connected to the second control signal port of the microcontroller through a base-limiting current resistor. The second driving circuit is used to turn the connection between the coil of the second relay 12 and the negative terminal of the power supply on or off according to the control signal issued by the second control signal port of the microcontroller.
[0033] The control unit is connected to the first button 16 and the second button 17 respectively. In response to the trigger signal of the first button 16, the control unit energizes the first relay 11; in response to the trigger signal of the second button 17, the control unit energizes the second relay 12. Specifically, the input port of the microcontroller is connected to the first button 16 and the second button 17 via the control board 15. Both the first button 16 and the second button 17 are self-resetting buttons.
[0034] When the control board 15 is powered on, pressing the first button 16 will trigger the first trigger signal on the microcontroller. In response to the first trigger signal, the microcontroller sends a high-level control signal to the first drive circuit through the first control signal port, which turns on the first drive circuit and connects the coil of the first relay 11 to the negative terminal of the power supply 1, energizing the coil of the first relay 11. After a predetermined first delay time, the microcontroller stops sending high-level control signals to the first drive circuit, turning off the first drive circuit and disconnecting the coil of the first relay 11 from the negative terminal of the power supply 1, thus de-energizing the coil of the first relay 11. When the second button 17 is pressed, it triggers the second trigger signal on the microcontroller. In response to the second trigger signal, the microcontroller sends a high-level control signal to the second drive circuit through the second control signal port, turning on the second drive circuit. This connects the coil of the second relay 12 to the negative terminal of power supply 1, energizing the coil of the second relay 12. After a predetermined second delay time, the microcontroller stops sending high-level control signals to the second drive circuit, turning off the second drive circuit. This disconnects the coil of the second relay 12 from the negative terminal of power supply 1, de-energizing the coil of the second relay 12.
[0035] The first delay time is T1, where 0.3s≤T1≤1s; the second delay time is T2, where 0.3s≤T2≤1s.
[0036] It also includes a main power switch 18, which is connected in series in the power supply circuit of the power source 1, as shown in the attached diagram. Figure 1 As shown, the main power switch 18 controls the on / off state of the entire power supply circuit. It also includes a power indicator light 23 powered by the power supply. One end of the power indicator light 23 is connected to the positive terminal of the power supply, and the other end is connected to the negative terminal. When the main power switch 18 is closed, the power indicator light 23 is powered on and illuminated; when the main power switch 18 is open, the power indicator light 23 is powered off and extinguished.
[0037] An electronic lock detection device includes a housing 20 and the aforementioned electronic lock detection circuit. The electronic lock detection circuit is installed in the housing 20, and the first probe 4, the second probe 5, the third probe 13, and the fourth probe 14 are respectively led out of the housing 20 through wires.
[0038] The surface of the outer casing 20 is provided with a first button 16, a second button 17, a main power switch 18, a power indicator light 23 and a lockout feedback light 6, and the surface of the outer casing 20 is also provided with a charging interface.
[0039] The first button 16 and the second button 17 can be used as an unlock button and a lock button, respectively. In the normal use of the charging gun or charging base in the prior art, the electronic lock feedback switch 22 can automatically close or open according to the locking or unlocking of the electronic lock 21. When the electronic lock 21 is locked, the electronic lock feedback switch 22 can automatically close; when the electronic lock 21 is unlocked, the electronic lock feedback switch 22 can automatically open. If the electronic lock feedback switch 22 cannot automatically open or close according to the locking and unlocking of the electronic lock 21, it can be determined that the electronic lock feedback switch 22 is faulty.
[0040] The working process of this utility model: When it is necessary to check whether the electronic lock 21 and the electronic lock feedback switch 22 are faulty, first connect the third probe 13 and the fourth probe 14 to the positive and negative terminals of the electronic lock 21 drive motor, respectively, and connect the first probe 4 and the second probe 5 to the positive and negative terminals of the electronic lock feedback switch 22, respectively.
[0041] Then turn on the main power switch 18. The power indicator light 23 will light up. At this time, check whether the interlocking feedback light 6 is lit. If it is lit, the electronic lock feedback switch 22 is in the closed state. If it is not lit, the electronic lock feedback switch 22 is in the open state.
[0042] When the interlock feedback light 6 is not lit: First, press the second button 17, the lock button. When the second button 17 is pressed, it triggers the second trigger signal on the microcontroller. In response to the second trigger signal, the microcontroller sends a high-level control signal to the second drive circuit through the second control signal port, turning on the second drive circuit. This connects the coil of the second relay 12 to the negative terminal of power supply 1, energizing the coil of the second relay 12. After a predetermined second delay time, the microcontroller stops sending high-level control signals to the second drive circuit, turning off the second drive circuit. This disconnects the coil of the second relay 12 from the negative terminal of power supply 1, energizing the second drive circuit. When the coil of relay 12 is de-energized, the coil of the second relay 12 is energized, connecting the second stationary contact and the common moving contact of the second relay 12. At this time, the fourth probe 14 is connected to the negative terminal of power supply 1 through the sixth wire segment 10, and the third probe 13 is connected to the positive terminal of power supply 1 through the third wire segment 7. At this time, the second detection branch is connected, and the drive motor of electronic lock 21 is energized and rotates forward. At this time, check whether electronic lock 21 is activated. If it is not activated, it can be preliminarily determined that electronic lock 21 is faulty. If it is activated and the locking feedback light 6 is not lit, it can be preliminarily determined that electronic lock feedback switch 22 is faulty. Then, press the first button 16, the unlock button. When the first button 16 is pressed, it triggers the first trigger signal on the microcontroller. In response to the first trigger signal, the microcontroller sends a high-level control signal to the first drive circuit through the first control signal port, turning on the first drive circuit. This connects the coil of the first relay 11 to the negative terminal of power supply 1, energizing the coil of the first relay 11. After a predetermined first delay time, the microcontroller stops sending high-level control signals to the first drive circuit, turning off the first drive circuit. This disconnects the coil of the first relay 11 from the negative terminal of power supply 1. The coil of the first relay 11 is de-energized; the coil of the first relay 11 is energized, connecting the second stationary contact of the first relay 11 with the common moving contact of the first relay 11. At this time, the third probe 13 is connected to the negative terminal of the power supply 1 through the fifth wire segment 9, and the fourth probe 14 is connected to the positive terminal of the power supply 1 through the fourth wire segment 8. At this time, the second detection branch is formed, the drive motor of the electronic lock 21 is energized and reverses. At this time, check whether the electronic lock 21 is activated. If it is not activated, it can be determined that the electronic lock 21 is faulty. If it is activated and the locking feedback light 6 is not lit, it can be determined that the electronic lock feedback switch 22 is faulty.
[0043] When the interlock feedback light 6 is on: First, press the first button 16, which is the unlock button. The drive motor of the electronic lock 21 will be powered on and reversed. At this time, check whether the electronic lock 21 is working. If it is not working, it can be preliminarily determined that the electronic lock 21 is faulty. If it is working and the locking feedback light 6 is not turned off, it can be preliminarily determined that the electronic lock feedback switch 22 is faulty. Then press the second button 17, which is the locking button. The drive motor of the electronic lock 21 will be powered on and rotate forward. Check again whether the electronic lock 21 is working. If it is not working, the electronic lock 21 is faulty. If it is working and the locking feedback light 6 is not off, the electronic lock feedback switch 22 is faulty.
Claims
1. An electronic lock detection circuit, characterized in that, It includes a power supply (1), a first detection branch powered by the power supply (1), and a second detection branch powered by the power supply (1); The first detection branch includes a first wire segment (2) connected to the positive terminal of the power supply (1) and a second wire segment (3) connected to the negative terminal of the power supply (1). The end of the first wire segment (2) is connected to the first probe (4), and the beginning of the second wire segment (3) is connected to the second probe (5). A lockout feedback lamp (6) is also connected in series on the first detection branch. The second detection branch includes a third wire segment (7) and a fourth wire segment (8) connected to the positive terminal of the power supply (1) respectively. The second detection branch also includes a fifth wire segment (9) and a sixth wire segment (10) connected to the negative terminal of the power supply (1) respectively. The end of the third wire segment (7) and the end of the fourth wire segment (8) are respectively connected to the first stationary contact of the first relay (11) and the first stationary contact of the second relay (12). The beginning of the fifth wire segment (9) and the beginning of the sixth wire segment (10) are respectively connected to the second stationary contact of the first relay (11) and the second stationary contact of the second relay (12). The common moving contact of the first relay (11) is connected to the third probe (13) through a wire. The common moving contact of the second relay (12) is connected to the fourth probe (14) through a wire.
2. The electronic lock detection circuit according to claim 1, characterized in that, It also includes a control unit, which controls the first relay (11) to be energized and de-energized after a first delay time, and controls the second relay (12) to be energized and de-energized after a second delay time.
3. The electronic lock detection circuit according to claim 2, characterized in that, The control unit is connected to the first button (16) and the second button (17) respectively; the control unit responds to the trigger signal of the first button (16) and controls the first relay (11) to be energized; the control unit responds to the trigger signal of the second button (17) and controls the second relay (12) to be energized.
4. The electronic lock detection circuit according to claim 3, characterized in that, The control unit includes a control board (15) powered by the power supply (1), the control board (15) includes a microcontroller unit; the coil of the first relay (11) is connected to the microcontroller unit through a first drive circuit, and the coil of the second relay (12) is connected to the microcontroller unit through a second drive circuit; the input port of the microcontroller unit is connected to a first button (16) and a second button (17); the microcontroller unit is a single-chip microcomputer.
5. The electronic lock detection circuit according to claim 2, characterized in that, The first delay time is T1, where 0.3s≤T1≤1s; the second delay time is T2, where 0.3s≤T2≤1s.
6. The electronic lock detection circuit according to claim 1, characterized in that, It also includes a main power switch (18), which is connected in series in the power supply circuit of the power supply (1); and a power indicator light (23) powered by the power supply.
7. The electronic lock detection circuit according to claim 1, characterized in that, It also includes a charging management module (19), the input of which is used to connect to an external power source, and its output is connected to the power source (1) for charging the power source (1). The charging management module (19) integrates a charging interface; the power source (1) is a rechargeable battery.
8. The electronic lock detection circuit according to claim 1, characterized in that, The first relay (11) and the second relay (12) are both single-pole double-throw electromagnetic relays; the first stationary contact of the first relay (11) is a normally closed contact, the second stationary contact of the first relay (11) is a normally open contact, the first stationary contact of the second relay (12) is a normally closed contact, and the second stationary contact of the second relay (12) is a normally open contact.
9. An electronic lock detection device, comprising a housing (20), characterized in that, It also includes an electronic lock detection circuit according to any one of claims 1-8, wherein the electronic lock detection circuit is installed in the housing (20), and the first probe (4), the second probe (5), the third probe (13) and the fourth probe (14) are respectively led out of the housing (20) through wires.
10. The electronic lock detection device according to claim 9, characterized in that, The surface of the outer casing (20) is provided with a first button (16), a second button (17), a main power switch (18), a power indicator light (23), and a lockout feedback light (6). The surface of the outer casing (20) is also provided with a charging interface.