Electronic lock driving circuit and electric two-wheeled vehicle

By introducing a current detection and protection module into the electronic lock drive circuit, the power supply current is monitored in real time and the power is cut off when the threshold is reached, which solves the problem of motor damage caused by overcurrent and improves the safety and reliability of the electronic lock.

CN224679300UActive Publication Date: 2026-08-25CHONGQING YADEA TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202521777704.X
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-08-20
Publication Date
2026-08-25
Estimated Expiration
2035-08-20

AI Technical Summary

Technical Problem

The existing electronic lock drive circuit lacks an effective overcurrent protection mechanism, which leads to motor damage and electronic lock malfunction, affecting the user experience.

Method used

Design an electronic lock drive circuit, including a control module, a drive module, a current detection module, and a protection module. The current detection module monitors the supply current in real time. When the current reaches a preset threshold, the control module triggers the protection module to cut off the connection between the external power supply and the drive module to prevent overcurrent.

Benefits of technology

It effectively avoids motor burnout, circuit component damage, and safety hazards caused by overcurrent, thus improving the safety and reliability of electronic locks and drive circuits.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224679300U_ABST
    Figure CN224679300U_ABST
Patent Text Reader

Abstract

The utility model discloses an electronic lock drive circuit and electric two -wheeled vehicle, apply to overcurrent protection technical field to solve the problem of electronic lock overcurrent in prior art causes electronic lock drive circuit failure, specific including control module to drive module output control signal, when the power supply current that current feedback signal representation reaches the preset threshold value, triggers protection module and cut off the connection between external power supply and the power supply end of drive module, drive module responds control module output control signal, and the motor of electronic lock executes open -close action, current detection module real -time detection power supply current, generates current feedback signal and sends to control module, in this way, control module controls protection module and cut off the connection between external power supply and drive module when current reaches the preset threshold value, effectively avoids the motor burn, circuit element damage even fire and other security risks because of overcurrent, and the safety and reliability of electronic lock and electronic lock drive circuit have been improved significantly.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the field of overcurrent protection technology, and in particular to an electronic lock drive circuit and an electric two-wheeled vehicle. Background Technology

[0002] With the acceleration of urbanization and the increasing awareness of environmental protection, two-wheeled electric vehicles have become an important means of transportation for solving short-distance traffic congestion and achieving energy conservation and emission reduction due to their convenience and environmental friendliness. The level of intelligence in two-wheeled electric vehicles is also constantly improving, with electronic seat locks, as one of the intelligent functions, gradually replacing traditional mechanical locks and becoming the mainstream configuration.

[0003] Electronic seat locks achieve automatic opening and closing via a motor, offering advantages over traditional mechanical locks such as ease of operation and superior anti-theft performance. Currently, the drive circuit of electronic seat locks typically consists of a driver chip. This chip receives signals from the controller and controls the motor to open and close the lock. However, in practical use, the lack of an effective overcurrent protection mechanism means that when the motor stalls or experiences abnormal load, the drive circuit may be damaged due to excessive current, causing the electronic seat lock to malfunction. This severely impacts the user experience. Utility Model Content

[0004] This invention provides an electronic lock drive circuit and an electric two-wheeler to solve the problem of electronic lock drive circuit failure caused by overcurrent in the prior art.

[0005] The technical solution provided by this utility model is as follows: On the one hand, this utility model provides an electronic lock driving circuit, including: a control module, a driving module, a current detection module, and a protection module; The input terminal of the drive module is connected to the output terminal of the control module. The power supply terminal of the drive module is connected to the external power supply through the protection module. The output terminal of the drive module is connected to the motor of the electronic lock. The current detection module is connected in series between the protection module and the external power supply. The output terminal of the current detection module is connected to the control module. The control module is used to output control signals to the drive module, and when the power supply current represented by the current feedback signal reaches a preset threshold, it triggers the protection module to disconnect the connection between the external power supply and the power supply terminal of the drive module. The drive module is used to respond to the control signals output by the control module and drive the motor of the electronic lock to perform opening and closing actions; The current detection module is used to detect the power supply current flowing through the protection module in real time and generate a current feedback signal to be sent to the control module. The protection module is used to disconnect or connect the external power supply to the power supply terminal of the drive module under the control of the control module.

[0006] Optionally, the protection module includes: a power switch unit and a switch drive unit; The power switch unit is connected in series between the power supply terminal of the drive module and the external power supply. The control terminal of the power switch unit is connected to the switch drive unit, and the switch drive unit is also connected to the output terminal of the control module and ground respectively. The power switch unit is used to connect or disconnect the power supply path from the external power supply to the drive module according to the output command of the switch drive unit. The switch drive unit is used to convert the control signals output by the control module into power drive signals that drive the power switch unit to turn on or off.

[0007] Optionally, the power switch unit includes: a first resistor, a first MOSFET, and a second resistor; The source of the first MOSFET is connected to an external power supply, the drain of the first MOSFET is connected to the power supply terminal of the drive module, and the gate of the first MOSFET is connected to the switch drive unit via a first resistor. The second resistor is connected in parallel between the source and the gate of the first MOSFET.

[0008] Optionally, the switch driving unit includes: a first transistor, a third resistor, and a fourth resistor; The collector of the first transistor is connected to the gate of the first MOS transistor via a first resistor, the emitter of the first transistor is connected to ground, and the base of the first transistor is connected to the first output terminal and the second output terminal of the control module via a third resistor; the base of the first transistor is also connected to ground via a fourth resistor.

[0009] Optionally, the switch driving unit may further include: a first diode and a second diode; The anode of the first diode is connected to the first output terminal of the control module, and the cathode of the first diode is connected to the base of the first transistor via a third resistor; the anode of the second diode is connected to the second output terminal of the control module, and the cathode of the second diode is connected to the base of the first transistor via a third resistor.

[0010] Optionally, the current detection module includes: a current detection unit and a signal generation unit; The current detection unit is connected in series between the power switch unit and the external power supply. The output terminal of the current detection unit is connected to the signal generation unit, and the signal generation unit is also connected to the input terminal of the control module and ground. The current detection unit is used to convert the supply current flowing through it into a detection voltage signal; The signal generation unit is used to convert the detected voltage signal into a current feedback signal that represents the supply current value.

[0011] Optionally, the current sensing unit includes: a fifth resistor and a sixth resistor; The first end of the fifth resistor is connected to the first end of the external power supply and the signal generation unit, respectively; the second end of the fifth resistor is connected to the second end of the power switch unit and the signal generation unit, respectively. The sixth resistor is connected in parallel with the fifth resistor.

[0012] Optionally, the signal generation unit includes: a second transistor, a seventh resistor, and an eighth resistor; The collector of the second transistor is connected to the first end of the seventh resistor, the emitter of the second transistor is connected to the first end of the fifth resistor, and the base of the second transistor is connected to the second end of the fifth resistor. The second end of the seventh resistor is connected to ground via the eighth resistor, and the second end of the seventh resistor is also connected to the input terminal of the control module.

[0013] Optionally, the driver module includes: a driver chip, a ninth resistor, and a tenth resistor; The first input terminal of the driver chip is connected to the first output terminal of the control module and the switch driving unit via the ninth resistor; the second input terminal of the driver chip is connected to the second output terminal of the control module and the switch driving unit via the tenth resistor; the output terminal of the driver chip is connected to the motor control terminal of the electronic lock; and the power supply terminal of the driver chip is connected to the power switch unit.

[0014] On the other hand, this utility model provides an electric two-wheeled vehicle, including: an electronic lock alarm and an electronic lock; the electronic lock alarm is provided with the above-mentioned electronic lock drive circuit; The output of the electronic lock drive circuit is connected to the electronic lock.

[0015] The beneficial effects of this utility model are as follows: In this invention, the electronic lock drive circuit monitors the power supply current flowing through the protection module in real time via a current detection module. When the power supply current reaches a preset threshold, a current feedback signal is generated and sent to the control module. The control module then controls the protection module to disconnect the external power supply from the drive module, effectively avoiding safety hazards such as motor burnout, circuit component damage, or even fire caused by overcurrent, significantly improving the safety and reliability of the electronic lock and its drive circuit.

[0016] Other features and advantages of this invention will be set forth in the following description, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of this invention can be realized and obtained by means of the structures particularly pointed out in the written description, claims, and drawings. Attached Figure Description

[0017] The accompanying drawings, which are included to provide a further understanding of the present invention and constitute a part of this invention, illustrate exemplary embodiments of the present invention and, together with the description thereof, serve to explain the present invention and do not constitute an undue limitation thereof. In the drawings: Figure 1 This is a schematic diagram of the first circuit structure of the electronic lock driving circuit in this embodiment of the present invention; Figure 2 This is a schematic diagram of a second circuit structure of the electronic lock drive circuit in an embodiment of this utility model; Figure 3 This is a schematic diagram of the third circuit structure of the electronic lock drive circuit in this embodiment of the present invention; Figure 4 This is a schematic diagram of the fourth circuit structure of the electronic lock drive circuit in this embodiment of the present invention; Figure 5 This is a schematic diagram of the fifth circuit structure of the electronic lock driving circuit in this embodiment of the present invention; Figure 6 This is a schematic diagram of the sixth circuit structure of the electronic lock driving circuit in this embodiment of the present utility model; Figure 7 This is a schematic diagram of the seventh circuit structure of the electronic lock driving circuit in this embodiment of the present utility model; Figure 8 This is a schematic diagram of the eighth circuit structure of the electronic lock driving circuit in this utility model embodiment; Figure 9 This is a schematic diagram of the ninth circuit structure of the electronic lock driving circuit in this embodiment of the present invention; Figure 10 This is a schematic diagram of the circuit structure of the electric two-wheeled vehicle in this embodiment of the present invention.

[0018] Icons: 100 - Electronic lock drive circuit; 110 - Control module; 120 - Drive module; 121 - Drive chip; 130 - Current detection module; 131 - Current detection unit; 132 - Signal generation unit; 140 - Protection module; 141 - Power switch unit; 142 - Switch drive unit; Q1 - First MOSFET; R1 - First resistor; R2 - Second resistor; R3 - Third resistor; R4 - Fourth resistor; R5 - Fifth resistor; R6 - Sixth resistor; R7 - Seventh resistor; R8 - Eighth resistor; R9 - Ninth resistor; R10 - Tenth resistor; P1 - First transistor; P2 - Second transistor; D1 - First diode; D2 - Second diode; 200 - Electric two-wheeled vehicle; 210 - Electronic lock alarm; 220 - Electronic lock. Detailed Implementation

[0019] The technical solutions of the present utility model will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of the present utility model, and not all embodiments. Based on the embodiments of the present utility model, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of the present utility model.

[0020] This utility model embodiment provides an electronic lock driving circuit, see reference. Figure 1 As shown, the electronic lock drive circuit 100 includes: a control module 110, a drive module 120, a current detection module 130, and a protection module 140; The input terminal of the drive module 120 is connected to the output terminal of the control module 110. The power supply terminal of the drive module 120 is connected to an external power supply via the protection module 140. The output terminal of the drive module 120 is connected to the motor of the electronic lock. The current detection module 130 is connected in series between the protection module 140 and the external power supply. The output terminal of the current detection module 130 is connected to the control module 110. The control module 110 is used to output control signals to the drive module 120, and when the power supply current represented by the current feedback signal reaches a preset threshold, it triggers the protection module 140 to disconnect the connection between the external power supply and the power supply terminal of the drive module 120. The drive module 120 is used to respond to the control signal output by the control module 110 and drive the motor of the electronic lock to perform opening and closing actions; The current detection module 130 is used to detect the power supply current flowing through the protection module 140 in real time and generate a current feedback signal to be sent to the control module 110. The protection module 140 is used to disconnect or connect the external power supply and the power supply terminal of the drive module 120 under the control of the control module 110.

[0021] exist Figure 1In the electronic lock drive circuit 100 shown, the control module 110 can be an independent control chip within the electronic lock drive circuit 100, or it can be the control module of an alarm. The input terminal of the drive module 120 is connected to the output terminal of the control module 110 to receive control signals from the control module 110. The power supply terminal of the drive module 120 is connected to an external power source through the protection module 140 and the current detection module 130. The power supply current detected by the current detection module 130 is actually the power supply current flowing from the external power source to the drive module 120. When the motor of the electronic lock is running, the current path is: external power source - current detection module 130 - protection module 140 - drive module 120 - motor of the electronic lock. When the motor of the electronic lock experiences an abnormal increase in current due to stall, short circuit, or overload, the current flowing through the drive module 120 will increase synchronously, and this current must pass through the current detection module 130. Therefore, the current detection module 130 will capture the abnormal change in current in real time and convert it into a current feedback signal to be fed back to the control module 110. The drive module 120, acting as a power execution unit, responds to low-power control signals from the control module 110, converting logic signals such as control signals into power signals capable of driving the motor to rotate. It provides sufficient drive current and voltage to the electronic lock's motor to drive it to perform opening and closing actions. The protection module 140 receives commands from the control module 110. During normal operation, the protection module 140 remains on, ensuring that the external power supply can normally power the drive module 120. Upon receiving a disconnect command from the control module 110, the protection module 140 immediately cuts off the connection between the external power supply and the power supply terminal of the drive module 120, thereby achieving overcurrent protection. The control module 110 can typically be implemented using a microcontroller (MCU), a single-chip microcomputer, or a programmable chip with similar logic processing capabilities. The control module 110 outputs control signals to the drive module 120 according to preset program logic or external inputs, such as user unlock / lock commands, to control the forward, reverse, start, and stop of the electronic lock's motor, thereby performing unlocking and locking actions. The control module 110 is also used to receive a current feedback signal from the current detection module 130. The current feedback signal can be a voltage signal proportional to the actual supply current, or it can be a signal that indicates whether the supply current has reached a preset threshold by using high and low levels. When the current feedback signal is a voltage signal proportional to the actual supply current, the analog-to-digital converter inside the control module 110 converts it into a digital value. The control module 110 has a preset current threshold. When the current value after analog-to-digital conversion reaches or exceeds the preset current threshold, the control module 110 determines that there is an abnormal overcurrent condition in the sub-lock and sends a command to the protection module 140 to disconnect the power supply to the drive module 120, thereby achieving overcurrent protection.When the current feedback signal is a signal that represents the supply current reaching a preset threshold through high and low level responses, the control module 110 determines that there is an abnormal overcurrent situation in the electronic lock when it receives a high-level current feedback signal, and sends a command to the protection module 140 to control the protection module 140 to disconnect the power supply to the drive module 120 in order to achieve overcurrent protection.

[0022] In this way, the electronic lock drive circuit monitors the supply current flowing through the protection module in real time through the current detection module. When the supply current reaches a preset threshold, a current feedback signal is generated and sent to the control module. The control module then controls the protection module to cut off the connection between the external power supply and the drive module, effectively avoiding safety hazards such as motor burnout, circuit component damage, or even fire caused by overcurrent, significantly improving the safety and reliability of the electronic lock and its drive circuit.

[0023] In practical implementation, the protection module in the electronic lock drive circuit has various structures to achieve its function; see [reference needed]. Figure 2 As shown, the protection module 140 includes: a power switch unit 141 and a switch drive unit 142; The power switch unit 141 is connected in series between the power supply terminal of the drive module 120 and the external power supply. The control terminal of the power switch unit 141 is connected to the switch drive unit 142. The switch drive unit 142 is also connected to the output terminal of the control module 110 and ground respectively. The power switch unit 141 is used to connect or disconnect the power supply path from the external power supply to the drive module 120 according to the output command of the switch drive unit 142. The switch drive unit 142 is used to convert the control signal output by the control module 110 into a power drive signal that drives the power switch unit 141 to turn on or off.

[0024] exist Figure 2 In the electronic lock drive circuit 100 shown, the power switch unit 141 is the component that actually performs the on / off action of the power supply path. It is connected in series in the power supply path between the power supply terminal of the drive module 120 and the external power supply. Since the signal output from the I / O port of the control module 110 is usually weak, it is insufficient to directly drive the power switch unit 141. The switch drive unit 142 receives the control signal from the control module 110 and converts it into a power drive signal sufficient to reliably turn the power switch unit 141 on or off.

[0025] In one possible implementation, see [reference] Figure 3 As shown, the power switch unit 141 includes: a first resistor R1, a first MOSFET Q1, and a second resistor R2; The source of the first MOSFET Q1 is connected to an external power supply, the drain of the first MOSFET Q1 is connected to the power supply terminal of the drive module 120, and the gate of the first MOSFET Q1 is connected to the switch drive unit 142 via the first resistor R1. The second resistor R2 is connected in parallel between the source and the gate of the first MOSFET Q1.

[0026] exist Figure 3 In the electronic lock drive circuit 100 shown, the first MOSFET Q1 can be a P-channel MOSFET. The source of the first MOSFET Q1 is connected to the positive terminal of the external power supply, and the drain of the first MOSFET Q1 is connected to the power supply terminal of the drive module 120. When the first MOSFET Q1 is turned on, the power supply path between the external power supply and the drive module 120 is connected; when the first MOSFET Q1 is turned off, the power supply path between the external power supply and the drive module 120 is disconnected. The first resistor R1 is a gate drive resistor, used to limit the charging and discharging current of the gate, prevent oscillation, and protect the preceding switching drive unit 142. The second resistor R2 is a pull-up resistor, used to pull up the gate potential of the first MOSFET Q1 to the same level as the source potential when the switching drive unit 142 does not output a drive signal, so that the first MOSFET Q1 is in a reliable off state, preventing the motor from malfunctioning at the moment of power-on.

[0027] In addition, when the electronic lock is in standby or unlocked state, the control module will actively turn off the first MOSFET and cut off the external power supply to achieve low power consumption and effectively solve the leakage current problem.

[0028] In one possible implementation, see [reference] Figure 4 As shown, the switch driving unit 142 includes: a first transistor P1, a third resistor R3 and a fourth resistor R4; The collector of the first transistor P1 is connected to the gate of the first MOSFET Q1 via the first resistor R1. The emitter of the first transistor P1 is connected to ground. The base of the first transistor P1 is connected to the first output terminal and the second output terminal of the control module 110 via the third resistor R3. The base of the first transistor P1 is also connected to ground via the fourth resistor R4.

[0029] exist Figure 4In the electronic lock drive circuit 100 shown, the first transistor P1 is an NPN transistor. The third resistor R3 serves as the base current-limiting resistor for the first transistor P1, and the fourth resistor R4 serves as the base pull-down resistor for the first transistor P1. The fourth resistor R4 ensures that when the control module 110 has no high-level output, the base level of the first transistor P1 is pulled low, keeping the first transistor P1 reliably off. When the control module 110 outputs a high-level signal, current flows through the third resistor R3 into the base of the first transistor P1, turning it on. After the first transistor P1 is turned on, its collector is pulled to ground, thereby pulling down the gate potential of the first MOSFET Q1, turning on the first MOSFET Q1, and connecting the power supply path from the external power supply to the drive module 120. When the control module 110 outputs a low-level or high-impedance signal, the fourth resistor R4 pulls the base of the first transistor P1 low, turning it off. After the first transistor P1 is turned off, its collector is in a high-resistance state. The gate of the first MOSFET Q1 is pulled up to the source potential through the second resistor R2. The first MOSFET Q1 is turned off, and the power supply path from the external power supply to the drive module 120 is cut off.

[0030] In one possible implementation, see [reference] Figure 5 As shown, the switch driving unit 142 further includes: a first diode D1 and a second diode D2; The positive terminal of the first diode D1 is connected to the first output terminal of the control module 110, and the negative terminal of the first diode D1 is connected to the base of the first transistor P1 via the third resistor R3; the positive terminal of the second diode D2 is connected to the second output terminal of the control module 110, and the negative terminal of the second diode D2 is connected to the base of the first transistor P1 via the third resistor R3.

[0031] exist Figure 5In the electronic lock drive circuit 100 shown, the anodes of the first diode D1 and the second diode D2 are connected to two different output terminals of the control module 110, respectively, and the cathodes of the first diode D1 and the second diode D2 are connected to one end of the third resistor R3. The two different output terminals of the control module 110 include a first output terminal and a second output terminal. The first output terminal can be the output terminal controlling the forward rotation of the motor, and the second output terminal of the control module 110 can be the output terminal controlling the reverse rotation of the motor. When either the first output terminal or the second output terminal of the control module 110 outputs a high level, current flows through the corresponding diode and the third resistor R3, thereby turning on the first transistor P1, which in turn turns on the first MOSFET Q1, connecting the drive module 120 to the external power supply. Only when both the first output terminal and the second output terminal of the control module 110 are at a low level does the first MOSFET Q1 turn off, and the power supply path between the drive module 120 and the external power supply is cut off. This simplifies the software logic of the control module 110, eliminating the need for a separate control pin for the protection module 140, and instead reusing the motor drive pin. When an overcurrent occurs, the control module 110 only needs to set the first output terminal and the second output terminal to low level at the same time to achieve overcurrent protection.

[0032] In practical implementation, the current detection module in the electronic lock drive circuit has various structures to achieve its function; see [reference needed]. Figure 6 As shown, the current detection module 130 includes: a current detection unit 131 and a signal generation unit 132; The current detection unit 131 is connected in series between the power switch unit 141 and the external power supply. The output terminal of the current detection unit 131 is connected to the signal generation unit 132. The signal generation unit 132 is also connected to the input terminal of the control module 110 and ground. The current detection unit 131 is used to convert the supply current flowing through it into a detection voltage signal; The signal generation unit 132 is used to convert the detected voltage signal into a current feedback signal that represents the supply current value.

[0033] exist Figure 6 In the electronic lock drive circuit 100 shown, the current detection unit 131 is connected in series between the power switch unit 141 and the external power supply. The current detection unit 131 linearly converts the supply current flowing through it into a detection voltage signal. The signal generation unit 132 receives the detection voltage signal and converts it into a current feedback signal with an amplitude and level range suitable for the control module 110.

[0034] In one possible implementation, see [reference] Figure 7 As shown, the current detection unit 131 includes: a fifth resistor R5 and a sixth resistor R6; The first end of the fifth resistor R5 is connected to the first end of the external power supply and the signal generation unit 132, respectively; the second end of the fifth resistor R5 is connected to the second end of the power switch unit 141 and the signal generation unit 132, respectively. The sixth resistor R6 is connected in parallel with the fifth resistor R5.

[0035] exist Figure 7 In the electronic lock drive circuit 100 shown, the current detection unit 131 employs a sampling circuit composed of a fifth resistor R5 and a sixth resistor R6. The fifth resistor R5 is connected in series between the external power supply and the power switch unit 141. When the supply current flows, a voltage drop proportional to the supply current is generated across the fifth resistor R5, serving as the detection voltage signal. The sixth resistor R6 is connected in parallel with the fifth resistor R5, allowing adjustment of the sampling accuracy and sharing of some current. Thus, the low-resistance fifth resistor R5 enables supply current detection with low power consumption, while the parallel connection of the sixth resistor R6 further optimizes the sampling range and reliability.

[0036] In one possible implementation, see [reference] Figure 8 As shown, the signal generation unit includes: a second transistor P2, a seventh resistor R7, and an eighth resistor R8; The collector of the second transistor P2 is connected to the first end of the seventh resistor R7, the emitter of the second transistor P2 is connected to the first end of the fifth resistor R5, and the base of the second transistor P2 is connected to the second end of the fifth resistor R5. The second end of the seventh resistor R7 is connected to ground via the eighth resistor R8. The second end of the seventh resistor R7 is also connected to the input terminal of the control module 110.

[0037] exist Figure 8In the electronic lock drive circuit 100 shown, the second transistor P2 is a PNP transistor. The base of the second transistor P2 is connected to the second terminal of the fifth resistor R5, the emitter is connected to the first terminal of the fifth resistor R5, and the collector is connected to the seventh resistor R7. When the supply current increases, the voltage drop across the fifth resistor R5 increases accordingly. When the voltage drop across the fifth resistor R5 exceeds the conduction threshold of the second transistor P2, the second transistor P2 conducts, and the collector voltage is pulled low. The seventh resistor R7 and the eighth resistor R8 form a voltage divider circuit. The first terminal of the seventh resistor R7 is connected to the collector of the second transistor P2, and the second terminal of the seventh resistor R7 is grounded through the eighth resistor R8. When the second transistor P2 is turned on, the seventh resistor R7 and the eighth resistor R8 divide the voltage of the external power supply to obtain a high-level current feedback signal, which is then transmitted to the control module 110. When the second transistor P2 is turned off, the port of the control module 110 is grounded through the eighth resistor R8, and the current feedback signal transmitted to the control module 110 is low-level. This design converts the current signal into a voltage signal through the switching characteristics of the transistor, and the voltage divider resistors further adapt to the input range of the control module 110, achieving high-precision current feedback.

[0038] In practical implementation, the drive module in the electronic lock drive circuit has various structures to achieve its function; see [reference needed]. Figure 9 As shown, the drive module 120 includes: a drive chip 121, a ninth resistor R9, and a tenth resistor R10; The first input terminal of the driver chip 121 is connected to the first output terminal of the control module 110 and the switch driving unit 142 via the ninth resistor R9; the second input terminal of the driver chip 121 is connected to the second output terminal of the control module 110 and the switch driving unit 142 via the tenth resistor R10; the output terminal of the driver chip 121 is connected to the motor control terminal of the electronic lock; and the power supply terminal of the driver chip 121 is connected to the power switch unit 141.

[0039] exist Figure 9In the electronic lock drive circuit 100 shown, the drive chip 121 is typically an integrated H-bridge drive chip, which integrates multiple MOSFETs to easily implement functions such as forward rotation, reverse rotation, braking, and coasting of the motor. The two logic input terminals of the drive chip 121 are connected to the two output terminals of the control module 110 via resistors R9 and R10, respectively. Resistors R9 and R10 serve as current limiting and protection. The first output terminal of the drive chip 121 is connected to the first terminal of the electronic lock's motor, and the second output terminal is connected to the second terminal of the electronic lock's motor. The power supply terminal of the drive chip 121 is connected to the output terminal of the power switch unit 141. When the protection module 140 cuts off the external power supply, the power supply to the drive chip 121 is cut off, and the drive chip 121 immediately stops working, completely cutting off the current path to the motor and achieving fundamental protection.

[0040] Based on the same concept, this utility model also provides an electric two-wheeled vehicle, see reference. Figure 10 As shown, the electric two-wheeler 200 includes at least: an electronic lock alarm 210 and an electronic lock 220; the electronic lock alarm 210 is equipped with the aforementioned electronic lock drive circuit 100; The output terminal of the electronic lock drive circuit 100 is connected to the electronic lock 220.

[0041] In practical applications, the output of the electronic lock drive circuit 100 is connected to the motor of the electronic lock on the electric two-wheeler 200. The electronic lock on the electric two-wheeler 200 can be a steering wheel lock, battery compartment lock, or seat lock. When the user issues a command via remote control, mobile APP, or key, the control module in the electronic lock alarm 210 drives the electronic lock motor to perform locking or unlocking actions. If, during this process, the lock tongue is jammed or encounters an obstruction, causing the motor to stall, the supply current will surge rapidly. At this time, the current detection module in this drive circuit will immediately detect this abnormal current, and the control module will then command the protection module to cut off the external power supply, thereby avoiding the risk of burning out the motor and drive circuit due to prolonged high current, or even causing electrical system failure in the vehicle, greatly improving the reliability and safety of the electronic lock system of the electric two-wheeler 200.

[0042] Although preferred embodiments of the present invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the present invention.

[0043] Obviously, those skilled in the art can make various modifications and variations to the embodiments of this utility model without departing from the spirit and scope of the embodiments of this utility model. Therefore, if these modifications and variations to the embodiments of this utility model fall within the scope of the claims of this utility model and their equivalents, then this utility model also intends to include these modifications and variations.

Claims

1. An electronic lock driving circuit, characterized in that, include: Control module, drive module, current detection module, and protection module; The input terminal of the drive module is connected to the output terminal of the control module, the power supply terminal of the drive module is connected to an external power source via a protection module, and the output terminal of the drive module is connected to the motor of the electronic lock; the current detection module is connected in series between the protection module and the external power source, and the output terminal of the current detection module is connected to the control module. The current detection module is used to detect the power supply current flowing through the protection module in real time and generate a current feedback signal to be sent to the control module. The control module is used to output a control signal to the drive module, and when the power supply current represented by the current feedback signal reaches a preset threshold, it triggers the protection module to disconnect the connection between the external power supply and the power supply terminal of the drive module. The drive module is used to respond to the control signal output by the control module and drive the motor of the electronic lock to perform opening and closing actions; The protection module is used to disconnect or connect the external power supply and the power supply terminal of the drive module under the control of the control module.

2. The electronic lock driving circuit according to claim 1, characterized in that, The protection module includes: a power switch unit and a switch drive unit; The power switch unit is connected in series between the power supply terminal of the drive module and the external power supply. The control terminal of the power switch unit is connected to the switch drive unit. The switch drive unit is also connected to the output terminal of the control module and ground. The power switch unit is used to connect or disconnect the power supply path from the external power source to the drive module according to the output command of the switch drive unit. The switch drive unit is used to convert the control signal output by the control module into a power drive signal that drives the power switch unit to turn on or off.

3. The electronic lock driving circuit according to claim 2, characterized in that, The power switch unit includes: a first resistor, a first MOSFET, and a second resistor; The source of the first MOS transistor is connected to an external power supply, the drain of the first MOS transistor is connected to the power supply terminal of the driving module, and the gate of the first MOS transistor is connected to the switching driving unit through the first resistor. The second resistor is connected in parallel between the source and the gate of the first MOS transistor.

4. The electronic lock driving circuit according to claim 3, characterized in that, The switch driving unit includes: a first transistor, a third resistor, and a fourth resistor; The collector of the first transistor is connected to the gate of the first MOS transistor via the first resistor, the emitter of the first transistor is connected to ground, and the base of the first transistor is connected to the first output terminal and the second output terminal of the control module via the third resistor; the base of the first transistor is also connected to ground via the fourth resistor.

5. The electronic lock driving circuit according to claim 4, characterized in that, The switch driving unit further includes: a first diode and a second diode; The anode of the first diode is connected to the first output terminal of the control module, and the cathode of the first diode is connected to the base of the first transistor via the third resistor; the anode of the second diode is connected to the second output terminal of the control module, and the cathode of the second diode is connected to the base of the first transistor via the third resistor.

6. The electronic lock driving circuit according to any one of claims 2-5, characterized in that, The current detection module includes: a current detection unit and a signal generation unit; The current detection unit is connected in series between the power switch unit and the external power supply. The output terminal of the current detection unit is connected to the signal generation unit. The signal generation unit is also connected to the input terminal of the control module and ground. The current detection unit is used to convert the flowing supply current into a detection voltage signal; The signal generation unit is used to convert the detected voltage signal into a current feedback signal that characterizes the supply current value.

7. The electronic lock driving circuit according to claim 6, characterized in that, The current detection unit includes: a fifth resistor and a sixth resistor; The first end of the fifth resistor is connected to the external power supply and the first end of the signal generation unit, respectively; the second end of the fifth resistor is connected to the power switch unit and the second end of the signal generation unit, respectively. The sixth resistor is connected in parallel with the fifth resistor.

8. The electronic lock driving circuit according to claim 7, characterized in that, The signal generation unit includes: a second transistor, a seventh resistor, and an eighth resistor; The collector of the second transistor is connected to the first end of the seventh resistor, the emitter of the second transistor is connected to the first end of the fifth resistor, and the base of the second transistor is connected to the second end of the fifth resistor. The second end of the seventh resistor is connected to ground via the eighth resistor, and the second end of the seventh resistor is also connected to the input terminal of the control module.

9. The electronic lock driving circuit according to claim 6, characterized in that, The driving module includes: a driving chip, a ninth resistor, and a tenth resistor; The first input terminal of the driver chip is connected to the first output terminal of the control module and the switch driving unit via the ninth resistor; the second input terminal of the driver chip is connected to the second output terminal of the control module and the switch driving unit via the tenth resistor; the output terminal of the driver chip is connected to the motor control terminal of the electronic lock; and the power supply terminal of the driver chip is connected to the power switch unit.

10. An electric two-wheeled vehicle, characterized in that, include: An electronic lock alarm and an electronic lock; the electronic lock alarm is provided with an electronic lock drive circuit as described in any one of claims 1-9; The output terminal of the electronic lock drive circuit is connected to the electronic lock.