Electronic lock control device
By installing a current sampling and detection module in the charging pile, combined with a timing detection and filtering module, the problem of inaccurate identification of the unlocking status of the electronic lock was solved, achieving more reliable and accurate locking status judgment, and improving user experience and system stability.
Patent Information
- Application Number
- CN202422614824.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-28
- Publication Date
- 2026-01-27
- Estimated Expiration
- 2034-10-28
AI Technical Summary
The electronic locks in existing charging stations do not accurately identify the unlocking status, which can easily lead to false unlocking, affecting user experience and equipment security.
A current sampling module and a current detection module are installed in the charging pile to determine whether the electronic lock is locked or unlocked by detecting changes in the motor drive current. Combined with a timing detection module and a filtering module, the accuracy and stability of status recognition are improved.
It improves the accuracy of electronic lock status recognition, avoids false unlocking, enhances system stability and reliability, and improves user experience and overall charging pile performance.
Smart Images

Figure CN223842444U_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of automatic control technology, and in particular to an electronic lock control device. Background Technology
[0002] With the increasing popularity of electric vehicles, the demand for electric vehicle charging stations is also growing. Ensuring safety during the charging process is crucial in the design and use of charging stations. Especially when the charging current reaches or exceeds 20 amps, to prevent safety hazards caused by accidental disconnection, charging stations need to be equipped with a locking function to secure the charging gun, thus preventing it from being accidentally pulled out due to external force during charging.
[0003] Currently, most charging stations use electronic locks to achieve this function. In related technologies, the electronic lock status feedback mechanism mainly relies on limit switches to determine the lock's status. However, while this method can detect whether the pin is fully locked when locking, during unlocking, the electronic lock pin typically only needs to move a very short distance to trigger the limit switch. At this point, the control device will incorrectly report successful unlocking, resulting in the pin not actually being fully withdrawn from the lock, thus causing a "false unlock" phenomenon.
[0004] In this situation, even if the system shows that the charging gun is unlocked, the user may have difficulty unplugging it, or may forcibly unplug it while it is not fully unlocked, which may damage the charging port. This not only affects the user experience, but may also pose certain safety hazards. Utility Model Content
[0005] In view of this, the present application provides an electronic lock control device, the main purpose of which is to solve the technical problem of inaccurate identification of the unlocking status of electronic locks.
[0006] According to one aspect of this application, an electronic lock control device is provided, which is installed in a charging pile, and the device includes:
[0007] The controller is used to respond to the locking or unlocking command of the electronic lock and output motor control signals;
[0008] The motor drive module is connected to the output terminal of the controller and is used to receive the motor control signal and output the motor drive signal;
[0009] The motor is connected to the output of the motor drive module and is used to operate based on the motor drive signal to drive the locking mechanism of the electronic lock to move, so that the electronic lock is in a locked or unlocked state.
[0010] A current sampling module is connected between the output terminal of the motor drive module and the input terminal of the motor, and is used to collect the motor drive current generated when the motor drive signal drives the motor.
[0011] A current detection module is connected to the output terminal of the current sampling module and the input terminal of the controller. It is used to detect the motor drive current and send the detection signal of the motor drive current to the controller so that the controller can determine whether the electronic lock is locked or unlocked based on the detection signal of the motor drive current.
[0012] Optionally, the current sampling module includes a sampling resistor, wherein the sampling resistor is connected between the output terminal of the motor drive module and the input terminal of the motor, and the two ends of the sampling resistor are connected as the output terminal of the current sampling module and the input terminal of the current detection module.
[0013] Optionally, the current detection module includes a differential amplifier composed of an operational amplifier and several resistors, and a first reference power supply. The negative input terminal of the differential amplifier is connected to the first output terminal of the current sampling module, the positive input terminal of the differential amplifier is connected to the second output terminal of the current sampling module, the positive input terminal of the differential amplifier is also connected to the first reference power supply, and the output terminal of the operational amplifier is connected to the input terminal of the controller.
[0014] Optionally, the output of the operational amplifier is connected to the analog-to-digital converter input of the controller, and the operational amplifier is used to input the detection signal of the motor drive current into the controller; or, the current detection module further includes an analog-to-digital converter, the input of which is connected to the output of the operational amplifier, and the output is connected to the input of the controller; the analog-to-digital converter is used to convert the detection signal of the motor drive current into a digital signal and then input it into the controller.
[0015] Optionally, the electronic lock control device further includes a timing detection module, wherein the input terminal of the timing detection module is connected to the output terminal of the current detection module, and the output terminal is connected to the timer input terminal of the controller; the timing detection module is used to detect the timing detection signal when the electronic lock is in a locked or unlocked state, and send the timing detection signal to the controller.
[0016] Optionally, the timing detection module includes a voltage follower, a first comparator, a second comparator, a second reference power supply, and a third reference power supply; the voltage of the second reference power supply is greater than the voltage of the first reference power supply, and the voltage of the first reference power supply is greater than the voltage of the third reference power supply. The positive input terminal of the voltage follower is connected to the output terminal of the current detection module, and the negative input terminal of the voltage follower is connected to its output terminal. The output terminal of the voltage follower is also connected to the positive input terminal of the first comparator, the negative input terminal of the first comparator is connected to the second reference power supply, and the output terminal of the first comparator is connected to the first timer input terminal of the controller. The output terminal of the voltage follower is also connected to the negative input terminal of the second comparator, the positive input terminal of the second comparator is connected to the third reference power supply, and the output terminal of the second comparator is connected to the second timer input terminal of the controller.
[0017] Optionally, the electronic lock control device further includes at least one filtering module; the filtering module is disposed between the output terminal of the voltage follower and the positive input terminal of the first comparator; and / or, the filtering module is disposed between the output terminal of the voltage follower and the negative input terminal of the second comparator; and / or, the filtering module is disposed between the output terminal of the current detection module and the input terminal of the controller.
[0018] Optionally, the controller is communicatively connected to the signal display module within the charging pile; the controller is also used to send an electronic lock status signal to the signal display module, so that the signal display module displays at least one of the electronic lock's locked status, unlocked status, locked in place status, and unlocked in place status.
[0019] Optionally, the electronic lock control device further includes a first energy storage module and a second energy storage module; the first energy storage module is connected between the power supply terminal and the power source terminal of the motor drive module, and is used to provide power to the motor drive module when the electronic lock is powered off; the second energy storage module is connected between the output terminal of the controller and the input terminal of the motor drive module, and is used to provide the motor control signal to the motor drive module when the electronic lock is powered off.
[0020] Optionally, the first energy storage module includes a first diode, a first current-limiting resistor, and a first energy storage capacitor, wherein the anode of the first diode is connected to the power supply terminal, the cathode of the first diode is connected to the first end of the first current-limiting resistor, the second end of the first current-limiting resistor is connected to the first end of the first energy storage capacitor and the power supply terminal of the motor drive module, and the second end of the first energy storage capacitor is grounded.
[0021] Optionally, the second energy storage module includes a second diode, a second current-limiting resistor, a second energy storage capacitor, and a discharge resistor. The anode of the second diode is connected to the output terminal of the controller, the cathode of the second diode is connected to the first terminal of the second current-limiting resistor, the second terminal of the second current-limiting resistor is connected to the first terminal of the second energy storage capacitor and the first terminal of the discharge resistor, the second terminal of the discharge resistor is connected to the input terminal of the motor drive module, and the second terminal of the second energy storage capacitor is grounded.
[0022] Optionally, the controller's output terminals include a first output terminal and a second output terminal. In response to a locking command from the electronic lock, the controller controls the first output terminal to output a high level and the second output terminal to output a low level, thereby outputting a locked motor control signal. In response to an unlocking command from the electronic lock, the controller controls the first output terminal to output a low level and the second output terminal to output a high level, thereby outputting an unlocked motor control signal. The second energy storage module is connected between the second output terminal of the controller and the input terminal of the motor drive module.
[0023] Optionally, when the controller is configured for power-off unlocking, if the electronic lock is locked, the controller controls the first output terminal and the second output terminal to output a high level so that the electronic lock performs an unlocking action when the power is off; when the controller is configured for power-off locking, if the electronic lock is locked, the controller controls the first output terminal and the second output terminal to output a low level so that the electronic lock remains locked when the power is off.
[0024] Optionally, the electronic lock control device further includes a discharge and protection module, wherein the discharge and protection module is disposed between the first output terminal of the control terminal and the first input terminal of the motor drive module; the discharge and protection module is used to limit the signal strength of the motor control signal and accelerate the release speed of the motor control signal when the electronic lock is powered off.
[0025] Optionally, the discharge and protection module includes a third diode and a third current-limiting resistor, wherein the cathode of the third diode and the first end of the third current-limiting resistor are connected to the first output terminal of the controller, and the anode of the third diode and the second end of the third current-limiting resistor are connected to the first input terminal of the motor drive module.
[0026] By employing the above technical solution, this application provides an electronic lock control device. This electronic lock control device is installed in a charging pile. By setting a current sampling module between the motor drive module and the motor, the device can collect the motor drive current generated when the motor drive signal drives the motor. This allows the controller to determine whether the electronic lock is locked or unlocked based on the detected motor drive current signal. On one hand, by using stall current to detect the unlocking status, and by monitoring the current in the circuit to avoid excessive short-circuit current damaging the control circuit, the electronic lock control device determines the unlocking status by detecting changes in the motor drive current. This not only improves the accuracy of status recognition but also enhances the stability and reliability of the system. The device effectively avoids the occurrence of "false unlocking," reducing operational inconvenience and equipment wear caused by misjudgment, and effectively improving the user experience and the overall performance of the charging pile. Compared to the traditional limit switch method, the current change-based detection method of the above device is more reliable and accurate. On the other hand, the combination of energy storage circuit and state delay control enables control over whether the electronic lock unlocks after power failure, improving the user experience.
[0027] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of this application more obvious and understandable, the following are specific embodiments of this application. Attached Figure Description
[0028] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0029] Figure 1 A schematic diagram of the circuit structure of an electronic lock control device provided by the prior art is shown;
[0030] Figure 2 This paper shows a schematic diagram of the module structure of an electronic lock control device according to an embodiment of the present application;
[0031] Figure 3 This paper shows a schematic diagram of the circuit structure of an electronic lock control device provided in an embodiment of this application;
[0032] Figure 4 This paper shows a schematic diagram of the module structure of an electronic lock control device according to an embodiment of the present application;
[0033] Figure 5 This paper shows a schematic diagram of the circuit structure of an electronic lock control device according to an embodiment of the present application;
[0034] Figure 6 This paper shows a schematic diagram of the module structure of an electronic lock control device according to an embodiment of the present application;
[0035] Figure 7 This paper shows a schematic diagram of the module structure of an electronic lock control device according to an embodiment of the present application;
[0036] Figure 8 A schematic diagram of the circuit structure of an electronic lock control device provided in an embodiment of this application is shown. Detailed Implementation
[0037] The present application will be described in detail below with reference to the accompanying drawings and embodiments. It should be noted that, unless otherwise specified, the embodiments and features described in the embodiments of the present application can be combined with each other.
[0038] In the field of electric vehicle charging infrastructure, especially for charging pile systems equipped with charging gun mounts, when the charging current reaches or exceeds 20A for high-power charging demands, a charging gun locking mechanism is required during the charging process for safety reasons, ensuring the stability and safety of the charging process. In related technologies, such as... Figure 1 As shown, the electronic lock system includes a controller, a motor drive module, and a motor M. The controller sends motor control signals to the motor drive module via signal lines CTR1 and CTR2. The motor drive module then issues drive signals to drive the motor M, which in turn moves the locking mechanism of the electronic lock, thus locking or unlocking the electronic lock. At this time, components in the electronic lock system provide locking and unlocking feedback signals to the controller; these signals primarily rely on the triggering of limit switches. However, this method of electronic lock status identification cannot accurately distinguish whether the electronic lock is fully unlocked; it can only roughly determine the lock's status by observing changes in the travel of the latch, resulting in a "false unlock" problem. This issue not only affects the normal use of the charging station but may also cause unnecessary wear and tear on the electric vehicle's charging interface, reducing the overall user experience and reliability of the charging station.
[0039] To address the technical problem of inaccurate electronic lock status recognition in charging pile systems, one embodiment provides an electronic lock control device, which is installed in the charging pile. Figure 2As shown, the above-mentioned electronic lock control device includes a controller 10, a motor drive module 20, a motor 30, a current sampling module 40, and a current detection module 50. The controller 10 responds to locking or unlocking commands from the electronic lock and outputs motor control signals. The motor drive module 20 is connected to the output of the controller 10 and receives motor control signals while outputting motor drive signals. The motor 30 is connected to the output of the motor drive module 20 and operates based on the motor drive signals to move the locking mechanism of the electronic lock, thus locking or unlocking the electronic lock. The current sampling module 40 is connected between the output of the motor drive module 20 and the input of the motor 30 and collects the motor drive current generated when the motor drive signal drives the motor 30. The current detection module 50 is connected to the output of the current sampling module 40 and the input of the controller 10 and detects the motor drive current, sending the detected motor drive current signal to the controller 10 so that the controller 10 can determine whether the electronic lock is locked or unlocked based on the detected motor drive current signal.
[0040] Specifically, the aforementioned electronic lock control device includes multiple circuit modules such as a controller, a motor drive module, a motor, a current sampling module, and a current detection module. The controller receives locking or unlocking commands from the system or user and outputs motor control signals accordingly. These motor control signals can be high or low level signals corresponding to the locking or unlocking commands. After receiving the motor control signal, the motor drive module generates a motor drive signal to drive the motor to rotate, thereby moving the locking mechanism of the electronic lock to achieve the locking or unlocking function. During this process, the current sampling module collects the motor drive current in real time, and then the current detection module sends the detected motor drive current signal to the controller. Furthermore, the controller can analyze the changes in the motor drive current through the detected signal, particularly the transition from the normal drive current I1 to the stall current I2 and its duration t, to determine whether the electronic lock has been fully unlocked or locked. Because the stall current I2 increases significantly when the electronic lock is in position, and its occurrence time (i.e., duration t) accurately reflects the lock's state change, this current-change-based detection method is more reliable and accurate than the traditional limit switch method.
[0041] In this embodiment, the motor drive module can be implemented using a motor drive chip, or it can be composed of switching devices such as relays and MOSFETs. The motor can be a stepper motor or other motors that can be used in electronic lock scenarios. When the motor is running normally, it can drive the locking mechanism such as the locking lever to move, converting electrical energy into mechanical energy, at which time a current value I1 can be obtained. When the electronic lock drives the locking lever to the correct position, the electronic lock stalls, converting electrical energy into heat energy, at which time another current value I2 can be obtained, where the stall current I2 is greater than the normal drive current I1. Based on the above principle, the controller can identify whether the electronic lock is properly locked or unlocked by recording the time t of the motor drive current changing from I1 to I2. It is understood that the controller 10 can also determine whether the electronic lock is properly locked or unlocked based on the detection signal of the motor drive current in other ways, and this embodiment does not specifically limit it.
[0042] In this embodiment, the motor drive module can output a stable motor drive signal, which is typically a constant voltage signal. Based on this, the motor drive current generated when the motor is driven by the motor drive signal is also stable. Therefore, by sampling the duration of the current change in the electronic lock, the locking and unlocking states of the electronic lock can be identified. It is understood that this embodiment does not require precise current sampling of the motor drive current; it only needs to detect the range and duration of the current change to accurately determine whether the electronic lock is fully locked or unlocked.
[0043] It should be noted that the circuit connection method and component selection of each circuit module in the electronic lock control device can be determined according to the actual situation, and this embodiment does not impose specific limitations. The circuit function of the electronic lock control device provided in this embodiment is mainly realized through the circuit connection relationship between each circuit module, and does not depend on the program module in a particular circuit module. In addition, each circuit module can be implemented by analog circuits or digital circuits, and for circuit modules that can be embedded with program modules, their module functions can be implemented by program modules provided by existing technology.
[0044] The electronic lock control device provided in the above embodiments, by setting a current sampling module between the motor drive module and the motor, can collect the motor drive current generated when the motor drive signal drives the motor. This allows the controller to determine whether the electronic lock is fully locked or unlocked based on the detected motor drive current signal. This electronic lock control device determines the unlocking status of the electronic lock by detecting changes in the motor drive current, which not only improves the accuracy of status recognition but also enhances the stability and reliability of the system. The device effectively avoids the occurrence of "false unlocking," reducing operational inconvenience and equipment wear caused by misjudgments, and effectively improving the user experience and the overall performance of the charging pile. Compared to the traditional limit switch-based discrimination method, the current change-based detection method of the above device is more reliable and accurate.
[0045] In one embodiment, such as Figure 3 As shown, the current sampling module includes a sampling resistor R1, which is connected between the output terminal of the motor drive module 20 and the input terminal of the motor 30. The two ends of the sampling resistor R1 can be connected as the output terminal of the current sampling module and the input terminal of the current detection module.
[0046] Specifically, such as Figure 3 As shown, the sampling resistor R1 can be set between the motor drive module 20 and the motor 30, and is used to collect the current changes during the motor drive process in real time. In this embodiment, the resistance range of the sampling resistor R1 can be determined according to the specific parameters of the motor, such as drive current, stall current, supply voltage, minimum drive voltage of the motor, maximum current of the drive chip, etc., to ensure that the resistance value of the sampling resistor R1 can meet the current sampling requirements and realize the current limiting protection and overcurrent protection functions of the circuit.
[0047] The control principle of the above circuit is as follows: After receiving a lock or unlock command, the controller can send a motor control signal to the motor drive module by adjusting the levels of the CTR1 and CTR2 signals. The motor drive module can then output a motor drive signal to drive the motor to rotate. Simultaneously, the current detection module continuously monitors the voltage drop across the sampling resistor R1, thereby indirectly obtaining the magnitude of the motor drive current. Subsequently, the controller can accurately determine whether the electronic lock is properly locked or unlocked by analyzing changes in the motor drive current, particularly the transition from normal drive current to stall current and its duration. Furthermore, by monitoring the motor drive current value in real time, overcurrent situations can be detected and responded to promptly, thus achieving overcurrent protection for the circuit.
[0048] The above embodiments, by setting a sampling resistor in the current sampling module, not only improve the accuracy of electronic lock status recognition and avoid the misjudgment problems that may arise from traditional limit switch methods, but also reduce the difficulty and cost of circuit design. Furthermore, the circuit described above can also achieve comprehensive monitoring and protection of the motor drive process through current monitoring, enhancing the safety and reliability of the electronic lock control device.
[0049] In one embodiment, such as Figure 3 As shown, the current detection module includes a differential amplifier composed of an operational amplifier U1 and several resistors R2, R3, R4, and R5, as well as a first reference power supply Vref1. The negative input terminal of the differential amplifier is connected to the first output terminal of the current sampling module, the positive input terminal of the differential amplifier is connected to the second output terminal of the current sampling module, the positive input terminal of the differential amplifier is also connected to the first reference power supply Vref1, and the output terminal of the operational amplifier is connected to the input terminal of the controller 10.
[0050] Specifically, the current detection module includes a differential amplifier circuit composed of operational amplifier U1 and resistors R2 to R5. This circuit amplifies the voltage difference across the sampling resistor R1. The negative and positive input terminals of the differential amplifier are connected to the two output terminals of the current sampling module, respectively. The positive input terminal is connected to the first reference power supply Vref1 via resistor R5, which provides a stable reference voltage for the differential amplifier. Based on this circuit, when the motor drive current flows through the sampling resistor R1, the resulting voltage drop can be amplified by the differential amplifier, outputting a voltage signal proportional to the motor drive current. This voltage signal, after appropriate processing, such as analog-to-digital conversion or filtering, can be input to the controller 10 to determine the lock or unlock state.
[0051] In this embodiment, the voltage value of the first reference power supply Vref1 can be set according to the actual needs of the circuit. For example, the voltage value of the first reference power supply Vref1 can be set to 1.65V (half of the controller power supply voltage of 3.3V) to ensure that the output signal of the differential amplifier can be kept at a level greater than 0V when the motor drive current is in both flow directions, thereby avoiding signal confusion and misjudgment.
[0052] This embodiment improves the accuracy and sensitivity of motor drive current detection by incorporating a differential amplifier circuit in the current detection module. This circuit accurately amplifies minute voltage changes across the sampling resistor R1 and converts them into a voltage signal easily processed by the controller. In this way, the controller can accurately determine the locked or unlocked state of the electronic lock based on the received voltage signal, thereby enhancing the stability and reliability of the electronic lock control device. Furthermore, because the differential amplifier circuit has strong common-mode rejection and good anti-interference performance, it also enhances the system's resistance to external interference.
[0053] In one embodiment, such as Figure 3 As shown, the output of operational amplifier U1 is connected to the analog-to-digital converter input of controller 10. Operational amplifier U1 can be used to input the detection signal of the motor drive current into controller 10. Alternatively, the current detection module also includes an analog-to-digital converter. The input of the analog-to-digital converter is connected to the output of the operational amplifier, and its output is connected to the input of the controller. The analog-to-digital converter can be used to convert the detection signal of the motor drive current into a digital signal and then input it into the controller.
[0054] Specifically, considering controller interface compatibility, several methods can be designed to achieve signal interfacing between the current sensing module and the controller. In the first method, the output of operational amplifier U1 can be directly connected to the analog-to-digital converter (ADC) input of controller 10, allowing the amplified motor drive current detection signal to be directly input to the controller. This method simplifies circuit design, reduces circuit cost, and maintains high signal integrity. Furthermore, in the second method, to meet the signal type requirements of different controllers, an ADC can be placed between the operational amplifier and the controller. The ADC's input can receive the analog voltage signal from the operational amplifier; after conversion, the ADC can output the motor drive current detection signal as a digital signal to the controller's input. This method enhances system flexibility and scalability, enabling the current sensing module to adapt to various types of controllers, thereby improving signal processing accuracy and efficiency.
[0055] The above embodiments, through the design of multiple interface connection methods, can achieve stable signal connection between the current detection module and the controller. This circuit design not only improves the system's compatibility and configurability but also ensures that the motor drive current detection signal can be accurately transmitted to the controller, thereby enhancing the overall performance and reliability of the electronic lock control device.
[0056] In one embodiment, such as Figure 4As shown, the electronic lock control device also includes a timing detection module 60. The input terminal 60 of the timing detection module is connected to the output terminal of the current detection module 50, and the output terminal is connected to the timer input terminal of the controller 10. The timing detection module 60 is used to detect the timing signal when the electronic lock is in a locked or unlocked state and sends the timing signal to the controller 10.
[0057] Specifically, the electronic lock control device can also be equipped with a timing detection module to accurately measure the duration of the locking or unlocking process of the electronic lock. In this embodiment, the input terminal of the timing detection module is connected to the output terminal of the current detection module, which can directly obtain the detection signal of the motor drive current. Therefore, it can determine whether the electronic lock has entered the locked or unlocked state based on the detection signal of the motor drive current. Once a change in the electronic lock state is detected, the timing detection module can start the timing function and record the time the electronic lock maintains the current state. Subsequently, the timing detection module can send the timing detection signal (i.e., the duration of the electronic lock state) through its output terminal to the timer input terminal of the controller for further processing and judgment by the controller.
[0058] This embodiment enhances the functionality of the electronic lock control device by introducing a timing detection module, enabling the controller to accurately determine the duration of the electronic lock's locked or unlocked state. By implementing the timing function of the electronic lock's state in hardware, this embodiment improves the accuracy of the electronic lock's timing and avoids the influence of external environmental information such as temperature on the controller's timing function.
[0059] In one embodiment, such as Figure 5 As shown, the timing detection module includes a voltage follower U2, a first comparator U3, a second comparator U4, a second reference power supply Vref2, and a third reference power supply Vref3. The voltage of the second reference power supply Vref2 is greater than the voltage of the first reference power supply Vref1, and the voltage of the first reference power supply Vref1 is greater than the voltage of the third reference power supply Vref3. In this embodiment, the positive input terminal of the voltage follower U2 is connected to the output terminal of the current detection module (e.g., connected to the output terminal of the differential amplifier U1), the negative input terminal of the voltage follower U2 is connected to its output terminal, the output terminal of the voltage follower U2 is also connected to the positive input terminal of the first comparator U3, the negative input terminal of the first comparator U3 is connected to the second reference power supply Vref2, and the output terminal of the first comparator U3 is connected to the first timer input terminal of the controller 10. Furthermore, the output of voltage follower U2 is connected to the negative input of second comparator U4, the positive input of second comparator U4 is connected to third reference power supply Vref3, and the output of second comparator U4 is connected to the second timer input of controller 10.
[0060] Specifically, the timing detection module includes a voltage follower U2, a first comparator U3, a second comparator U4, and reference power supplies Vref2 and Vref3, enabling precise timing of the electronic lock's locking and unlocking durations. In this embodiment, the voltage follower U2 buffers and isolates the detection signal of the motor drive current output from the current detection module and follows this signal. The output of the voltage follower U2 is connected to the positive input of the first comparator U3 and the negative input of the second comparator U4. The outputs of the two comparators are connected to the two timer inputs of the controller 10, allowing timing to be started and stopped by monitoring the high and low level changes of the timer interface.
[0061] In this embodiment, to achieve timing for both locked and unlocked states, two voltage comparison modules are required. Simultaneously, the voltage of the second reference power supply Vref2 needs to be greater than the voltage of the first reference power supply Vref1, and the voltage of the first reference power supply Vref1 needs to be greater than the voltage of the third reference power supply Vref3. Under these conditions, with... Figure 5 Taking the scenario shown as an example, the circuit principle of the timing detection module is as follows:
[0062] In the idle state, the voltage output by the current detection module is Vref1. At this time, both comparators output a low level, and the controller does not start the timing. In the locked state, the current sampling module can collect the current signal in the first direction. At this time, the current detection module can convert the current signal in the first direction into a voltage greater than the first reference power supply Vref1 and output it to the timing detection module. In this state, the higher the current value, the larger the voltage detection value output by the current detection module. In the unlocked state, the current sampling module can collect the current signal in the second direction. At this time, the current detection module can convert the current signal in the second direction into a voltage less than the first reference power supply Vref1 and output it to the timing detection module. In this state, the higher the current value, the smaller the voltage detection value output by the current detection module. At the same time, the voltage value is always greater than 0.
[0063] In the locked state, when the motor starts, the pulse voltage output by the current detection module is greater than the voltage of the second reference power supply Vref2. At this time, the first comparator U3 outputs a high level, and the second comparator U4 outputs a low level, triggering the controller 10 to start identification, timing, and current sampling. The time when the motor starts timing is very close to the time when the motor starts normal operation, and can be considered as the same time. During the locking process, the motor runs normally, and the voltage of the second reference power supply Vref2 is higher than the voltage generated by the current when the motor is running normally. Therefore, during the rotation of the motor, the voltage output by the current detection module is between the voltage of the first reference power supply Vref1 and the voltage of the second reference power supply Vref2. At this time, the first comparator U3 returns to a low level, and the second comparator U4 also outputs a low level. When the motor reaches its rotation position, the motor stalls, the current increases, and the voltage signal output by the operational amplifier U1 increases. At this time, the voltage output by the operational amplifier U1 is greater than the voltage of the second reference power supply Vref2. The first comparator U3 outputs a high level again, and the second comparator U4 outputs a low level, triggering the controller to stop timing, and the time length t between the two signals is obtained through the timer. 上锁 and the current I of current sampling 上锁 The magnitude of the change in voltage indicates whether the lock has been successfully engaged. After engagement, the electronic lock returns to the idle state. At this time, the output level of operational amplifier U1 is the voltage of the first reference power supply Vref1, the first comparator U3 outputs a low level, and the second comparator U4 outputs a low level.
[0064] In the unlocked state, when the motor starts, the pulse voltage output by the current detection module is less than the voltage of the third reference power supply Vref3. At this time, the first comparator U3 outputs a low level, and the second comparator U4 outputs a high level, causing the controller 10 to start the unlock timing and simultaneously start current sampling. The time when the motor starts timing is very close to the time when the motor starts normal operation, and can be considered as the same time. After the motor starts, the current value decreases, causing the voltage output by the operational amplifier U1 to rise to between the voltages of the third reference power supply Vref3 and the first reference power supply Vref1. At this time, the first comparator U3 outputs a low level, and the second comparator U4 also outputs a low level. When the unlock is complete, the motor stalls, the current increases, causing the voltage of the operational amplifier U1 to decrease again. At this time, the voltage output by the operational amplifier U1 is less than the voltage of the third reference power supply Vref3, causing the first comparator U3 to output a low level, and the second comparator U4 to output a high level again, triggering the controller 10 to stop timing, thus obtaining the unlock time t. 解锁 At the same time, the unlocking current value I is obtained. 解锁 At this time, controller 10 can determine the value of t. 解锁 and I 解锁The magnitude of the voltage level determines the unlocked state of the electronic lock. After unlocking, the electronic lock returns to the idle state. At this time, the output level of operational amplifier U1 is the voltage of the first reference power supply Vref1, the first comparator U3 outputs a low level, and the second comparator U4 outputs a low level.
[0065] In this embodiment, the controller can record the duration of locking or unlocking through the timing function of the timing detection module, or it can record the duration of locking or unlocking through the control logic inside the controller, based on I. 上锁、 I 解锁 The comparison between the current and a preset threshold records the duration for which the current falls within the specified range, thus recording the locking or unlocking duration. This can also be achieved by combining these two methods. Changes in the external environment, such as temperature variations, may alter the detected signal of the motor drive current. In this scenario, combining the two methods to collect the locking or unlocking duration of the electronic lock ensures the accuracy of the recorded duration, thereby improving the accuracy of the electronic lock's status recognition.
[0066] The timing detection module provided in the above embodiment can realize independent timing functions for the locking and unlocking processes of the electronic lock. Furthermore, by setting different reference voltages, this embodiment can flexibly adjust the trigger threshold for timing detection to adapt to the operating characteristics and control requirements of different electronic locks. Moreover, by designing a voltage follower in the circuit, the timing detection module can utilize its buffering effect to improve the stability and anti-interference capability of signal transmission, thereby ensuring the accuracy and reliability of timing detection. In addition, this embodiment implements the timing function of the electronic lock state in hardware, which can improve the accuracy of electronic lock timing and avoid the influence of external environmental information such as temperature on the controller's timing function.
[0067] In one embodiment, such as Figure 5 As shown, the electronic lock control device also includes at least one filtering module. The filtering module can be located in at least one of the following positions: between the output of the voltage follower U2 and the positive input of the first comparator U3; between the output of the voltage follower U2 and the negative input of the second comparator U4; between the output of the current detection module (e.g., the output of the differential amplifier U1) and the input of the controller 10.
[0068] Specifically, the electronic lock control device can include at least one filtering module to improve the stability and accuracy of signal processing and transmission. In this embodiment, the filtering module can be located at the connection point between the voltage follower U2 and the voltage comparators U3 and U4, or it can be located on the connection path between the current detection module and the controller 10. The filtering module can be based on an RC filter circuit using components such as resistors and capacitors, or it can integrate more complex filtering components or designs to meet the suppression requirements of noise at different frequencies. In this embodiment, by including a filtering module in the electronic lock control device, the voltage or current signals in the circuit can be smoothed, thereby reducing signal fluctuations caused by electromagnetic interference, power supply fluctuations, and other factors, thus ensuring that the detection signals received by the comparators and the controller are purer.
[0069] This embodiment improves the signal quality and system stability of the electronic lock control device by incorporating a filtering module. Furthermore, the filtering module allows the electronic lock control device to better adapt to complex and changing working environments, thereby reducing the occurrence of misjudgments and missed judgments regarding the electronic lock's status.
[0070] In one embodiment, the electronic lock control device can be installed inside the charging station, wherein the controller can communicate with the signal display module inside the charging station. In this scenario, the controller can be used to send an electronic lock status signal to the signal display module, so that the signal display module can display at least one of the following states of the electronic lock: locked, unlocked, locked in place, and unlocked in place.
[0071] Specifically, the electronic lock control device can be integrated inside the charging pile and communicate with the charging pile's signal display module. In this embodiment, the controller can monitor various states of the electronic lock, including locked, unlocked, locked in place, and unlocked in place, etc., and then converts this state information into corresponding electronic lock status signals in real time, sending them to the signal display module through a preset communication protocol. Furthermore, after receiving the electronic lock status signal, the signal display module can indicate the electronic lock status signal through the charging pile's display screen, indicator lights, buzzers, and other devices, thereby displaying the current status of the electronic lock in an intuitive and clear way, providing users with immediate feedback.
[0072] This embodiment establishes a communication connection between the electronic lock control device and the charging pile's signal display module, allowing users to monitor the electronic lock's operational status at any time, thus effectively enhancing the user experience. Furthermore, indicating the current status of the electronic lock improves the overall performance of the charging pile.
[0073] In existing technologies, the charging gun remains locked after a power outage at a charging station. However, in operational charging or certain home settings, users may need to unlock the charging gun in the event of a power outage during charging to avoid being unable to retrieve it due to the incident. Conversely, in other scenarios (such as home use), users prefer the charging gun to remain locked on the charging station indefinitely and do not want it to be unplugged after charging is complete or a power outage. However, existing technologies do not offer a solution to configure the charging gun's locked state after a power outage to meet actual user needs, nor do they provide a function to unlock the charging gun after a power outage.
[0074] To address the above problems, in one embodiment, such as Figure 6 As shown, the electronic lock control device includes a first energy storage module 70 and a second energy storage module 80. The first energy storage module 70 is connected between the power supply terminal (POWER) and the power source terminal of the motor drive module 20, and can provide power to the motor drive module 20 when the electronic lock loses power. The second energy storage module 80 is connected between the output terminal of the controller 10 and the input terminal of the motor drive module 20, and can provide motor control signals to the motor drive module when the electronic lock loses power.
[0075] Specifically, by incorporating a first energy storage module 70 and a second energy storage module 80 into the electronic lock control device, the electronic lock can achieve power-off unlocking, allowing the charging station to be flexibly unlocked even in the event of a power outage. The first energy storage module 70 is connected between the power supply terminal of the motor drive module 20 and the power source, providing necessary power to the motor drive module 20 during power interruption and supporting its unlocking action. The second energy storage module 80 is located between the output terminal of the controller 10 and the input terminal of the motor drive module 20, sending an unlocking control signal to the motor drive module via a discharge delay after a power outage, thereby enabling the electronic lock to unlock.
[0076] This embodiment integrates a first energy storage module and a second energy storage module into the electronic lock control device, which can solve the problem of the charging gun being unable to unlock after the charging pile loses power. Based on this, the above circuit connection method can greatly improve the user experience and the applicability of the system.
[0077] In one embodiment, such as Figure 8 As shown, the first energy storage module includes a first diode D1, a first current-limiting resistor R9, and a first energy storage capacitor C4. The anode of the first diode D1 is connected to the power supply terminal POWER, the cathode of the first diode D1 is connected to the first terminal of the first current-limiting resistor R9, the second terminal of the first current-limiting resistor R9 is connected to the first terminal of the first energy storage capacitor C4 and the power supply terminal of the motor drive module 20, and the second terminal of the first energy storage capacitor C4 is grounded.
[0078] Specifically, the first energy storage module can provide the necessary power to the motor drive module after a power outage, while ensuring circuit safety. In this embodiment, when the power supply is working normally, the current in the power supply can enter the first current-limiting resistor R9 through the unidirectional conductivity of the first diode D1, and then charge the first energy storage capacitor C4. The energy stored in the first energy storage capacitor C4 can continue to supply power to the motor drive module after a power outage, thereby realizing the power-off unlocking function of the device. In addition, during the charging process, the first current-limiting resistor R9 can limit the current magnitude, thereby effectively preventing the motor drive module 20 from overheating or being damaged due to a sudden large current.
[0079] This embodiment effectively limits the charging current by setting a first current-limiting resistor in the first energy storage module, thereby preventing damage to the motor drive module and improving safety. Furthermore, by setting a first energy storage capacitor in the first energy storage module, the stored energy can continue to power the motor drive module in the event of a power outage, thus achieving a power-off unlocking function and enhancing the user experience.
[0080] In one embodiment, such as Figure 8 As shown, the second energy storage module includes a second diode D2, a second current-limiting resistor R10, a second energy storage capacitor C5, and a discharge resistor R11. The anode of the second diode D2 is connected to the output terminal of the controller 10, the cathode of the second diode D2 is connected to the first terminal of the second current-limiting resistor R10, the second terminal of the second current-limiting resistor R10 is connected to the first terminals of the second energy storage capacitor C5 and the first terminal of the discharge resistor R11, the second terminal of the discharge resistor R11 is connected to the input terminal of the motor drive module 20, and the second terminal of the second energy storage capacitor C5 is grounded.
[0081] Specifically, when the controller 10 is working normally, the second energy storage capacitor C5 can be charged through the unidirectional conductivity of the second diode D2. When the power is off, the second energy storage capacitor C5 can discharge to the motor drive module 20 through the discharge resistor R11, thereby providing the necessary motor control signal to the motor drive module 20 to drive the motor to run, and thus drive the lock cylinder to return to its position. In this embodiment, the resistance value of the second current-limiting resistor R10 can be set to be relatively small, just enough to prevent damage to the motor drive module 20 due to excessive current at the moment of power-on. In addition, the resistance value of the discharge resistor R11 can be set to be relatively large to ensure that the discharge process has sufficient time so that the lock cylinder can successfully complete the return action.
[0082] This embodiment, by incorporating a second diode and a second energy storage capacitor in the second energy storage module, enables the supply of control signals to the motor drive module in the event of a power outage, thereby ensuring the device can perform power-off unlocking. Furthermore, by including a second current-limiting resistor and a discharge resistor in the second energy storage module, it is ensured that circuit components are not damaged and that the lock cylinder can accurately return to its original position.
[0083] In one embodiment, such as Figure 6 As shown, the controller 10 has two output terminals: a first output terminal CTR1 and a second output terminal CTR2. The controller 10 can respond to a locking command from the electronic lock by controlling the first output terminal CTR1 to output a high level and the second output terminal CTR2 to output a low level, thus outputting a locked motor control signal. Similarly, the controller 10 can respond to an unlocking command from the electronic lock by controlling the first output terminal CTR1 to output a low level and the second output terminal CTR2 to output a high level, thus outputting an unlocked motor control signal. In this embodiment, the second energy storage module 80 can be connected between the second output terminal CTR2 of the controller 10 and the input terminal of the motor drive module 20.
[0084] Specifically, the controller 10 has two independent output terminals, CTR1 and CTR2, which can be used to flexibly control the locking and unlocking states of the electronic lock. When the controller 10 receives a locking command, it can control the first output terminal CTR1 to output a high-level signal and the second output terminal CTR2 to output a low-level signal. These two signals combined serve as the motor control signal to control the electronic lock's locking action, driving the motor to perform the locking action. Conversely, when the controller 10 receives an unlocking command, it can switch its output states, controlling the first output terminal CTR1 to output a low level and the second output terminal CTR2 to output a high level, thereby generating the unlocking motor control signal and driving the motor to perform the unlocking action. In this embodiment, the second energy storage module 80 can be located between the controller's second output terminal CTR2 and the motor drive module 20 to ensure that in the event of a power failure, the energy stored in the second energy storage module 80 can provide the necessary motor control signal to the motor drive module 20 to maintain the unlocking function.
[0085] This embodiment enables precise control over the locking and unlocking states of the electronic lock. Furthermore, by placing the second energy storage module between the controller's second output terminal and the motor drive module, the stored energy in the second energy storage module can provide the necessary power supply for the unlocking control signal. This ensures that the electronic lock can unlock promptly even in the event of a power failure, improving system security and user experience.
[0086] In one embodiment, such as Figure 8As shown, when the controller 10 is configured for power-down unlocking, if the electronic lock is locked, it controls both the first output terminal CTR1 and the second output terminal CTR2 to output a high level, so that the electronic lock performs an unlocking action when power is lost. Conversely, when the controller 10 is configured for power-down locking, if the electronic lock is locked, it controls both the first output terminal CTR1 and the second output terminal CTR2 to output a low level, so that the electronic lock remains locked when power is lost.
[0087] Specifically, the controller 10 can be configured with different functions to enable the electronic lock to automatically perform an unlocking action or remain in the locked state when power is lost, depending on actual needs. In this embodiment, when the controller 10 is configured for power-off unlocking, after the electronic lock is locked, the controller can control both the first output terminal CTR1 and the second output terminal CTR2 to output a high level. At this time, capacitor C5 is charging. After power failure, the residual charge in capacitor C5 can be used in conjunction with capacitor C4 to drive the electronic lock to unlock via the motor drive module 20. Conversely, when the controller is configured for power-off locking, after locking, the controller can control both the first output terminal CTR1 and the second output terminal CTR2 to output a low level to ensure that there is no voltage at the two ends of the electronic lock when power is lost, thereby keeping the electronic lock in the locked state.
[0088] Reference Figure 8 The working principle of the above circuit is as follows: When the controller 10 is configured for power-off unlocking, during locking, the first output terminal CTR1 is controlled to output a high level, and the second output terminal CTR2 is controlled to output a low level. After locking is completed, both the first output terminal CTR1 and the second output terminal CTR2 are controlled to output a high level. At this time, capacitor C5 is charged through diode D2 and resistor R10. When the charge reaches the control high level of motor drive module 20, the two ends of the electronic lock output power voltage, and the motor stops rotating. When the system power fails, the control signal sent by the second output terminal CTR2 is the signal formed by the discharge of the electrical energy stored in capacitor C5 through resistor R11. By configuring the resistance value of R11, the power failure time of CTR2 can be delayed, while the control signal of the first output terminal CTR1 can be quickly de-energized. The power stored in capacitor C4 can only be discharged through motor drive module 20. At this time, the motor can be controlled by the residual charge of capacitor C5, and the electronic lock can be unlocked by the residual charge of capacitor C4.
[0089] When the controller is configured for power-off locking, during locking, the first output terminal CTR1 is controlled to output a high level, and the second output terminal CTR2 is controlled to output a low level. After locking is completed, both the first output terminal CTR1 and the second output terminal CTR2 are controlled to output low levels. At this time, both ends of the electronic lock output 0V, and the motor stops rotating. When the system power fails, since capacitor C5 has no residual charge, the control signal from the second output terminal CTR2 cannot enable the residual charge of capacitor C4 to drive the electronic lock to unlock. At this time, the electronic lock remains in the locked state.
[0090] This embodiment achieves flexible control of the electronic lock even during power outages by precisely controlling the high and low levels output by the two output terminals of the controller and combining this with the charging and discharging characteristics of the capacitor. This approach not only improves the system's flexibility and adaptability but also meets users' security requirements for electronic locks in different scenarios, thus providing users with a more convenient and reliable user experience.
[0091] In one embodiment, such as Figure 7 As shown, the electronic lock control device also includes a discharge and protection module 90. The discharge and protection module 90 is located between the first output terminal CTR1 of the control terminal 10 and the first input terminal of the motor drive module 20. In this embodiment, the discharge and protection module 90 can be used to limit the signal strength of the motor control signal and accelerate the release speed of the motor control signal when the electronic lock is powered off.
[0092] Specifically, the electronic lock control device may also include a discharge and protection module 90, which can be located between the first output terminal CTR1 of the controller 10 and the first input terminal of the motor drive module 20. In this embodiment, the main function of the discharge and protection module 90 is to optimize the motor control signal. On the one hand, the discharge and protection module 90 can limit the signal strength to prevent excessively strong control signals from causing potential damage to the motor drive module; on the other hand, when the electronic lock control device encounters a power failure, the discharge and protection module 90 can respond quickly and accelerate the release speed of the motor control signal, thereby avoiding uncertain operation of the electronic lock and improving the safety and stability of the electronic lock control device.
[0093] This embodiment, by setting a discharge and protection module in the electronic lock control device, can effectively protect the motor drive module from the impact of high-intensity control signals, and can improve the response speed of the electronic lock in the power-off state, ensuring that the electronic lock can be fully unlocked or remain locked immediately when power is off.
[0094] In one embodiment, such as Figure 8As shown, the discharge and protection module includes a third diode D3 and a third current-limiting resistor R12. The cathode of the third diode D3 is connected to the first terminal of the third current-limiting resistor R12, and then connected to the first output terminal CTR1 of the controller 10. The anode of the third diode D3 is connected to the second terminal of the third current-limiting resistor R12, and then connected to the first input terminal of the motor drive module 20.
[0095] Specifically, this embodiment, by setting a third current-limiting resistor R12 in the discharge and protection module, can limit the strength of the control signal, thereby preventing excessively strong control signals from causing potential damage to the motor drive module. Furthermore, by setting a third diode D3 in the discharge and protection module, the voltage at the first output terminal CTR1 of the controller can be quickly released and restored to a low level in the event of a power failure, thus helping the electronic lock to achieve immediate and complete unlocking or to remain locked.
[0096] This embodiment achieves effective limitation and protection of motor control signals by incorporating a third diode D3 and a third current-limiting resistor R12 in the discharge and protection module. Furthermore, through the aforementioned circuit, the electronic lock can immediately and completely unlock or remain locked in the event of a power outage, thereby effectively improving the response speed and reliability of the electronic lock control device and enhancing the user experience.
[0097] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0098] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. An electronic lock control device, characterized in that, The electronic lock control device is installed in the charging station, and the electronic lock control device includes: The controller is used to respond to the locking or unlocking command of the electronic lock and output motor control signals; The motor drive module is connected to the output terminal of the controller and is used to receive the motor control signal and output the motor drive signal; The motor is connected to the output of the motor drive module and is used to operate based on the motor drive signal to drive the locking mechanism of the electronic lock to move, so that the electronic lock is in a locked or unlocked state. A current sampling module is connected between the output terminal of the motor drive module and the input terminal of the motor, and is used to collect the motor drive current generated when the motor drive signal drives the motor. A current detection module is connected to the output terminal of the current sampling module and the input terminal of the controller. It is used to detect the motor drive current and send the detection signal of the motor drive current to the controller so that the controller can determine whether the electronic lock is locked or unlocked based on the detection signal of the motor drive current. The current detection module is equipped with a first reference power supply. The timing detection module has its input terminal connected to the output terminal of the current detection module and its output terminal connected to the timer input terminal of the controller. It is used to detect the timing detection signal when the electronic lock is in the locked or unlocked state and send the timing detection signal to the controller. The timing detection module includes a voltage follower, a first comparator, a second comparator, a second reference power supply, and a third reference power supply; the voltage of the second reference power supply is greater than the voltage of the first reference power supply, and the voltage of the first reference power supply is greater than the voltage of the third reference power supply. The positive input terminal of the voltage follower is connected to the output terminal of the current detection module, and the negative input terminal of the voltage follower is connected to the output terminal of the voltage follower. The output of the voltage follower is also connected to the positive input of the first comparator, the negative input of the first comparator is connected to the second reference power supply, and the output of the first comparator is connected to the first timer input of the controller. The output of the voltage follower is also connected to the negative input of the second comparator, the positive input of the second comparator is connected to the third reference power supply, and the output of the second comparator is connected to the second timer input of the controller.
2. The electronic lock control device according to claim 1, characterized in that, The current sampling module includes a sampling resistor, wherein, The sampling resistor is connected between the output terminal of the motor drive module and the input terminal of the motor. The two ends of the sampling resistor are connected as the output terminal of the current sampling module and the input terminal of the current detection module.
3. The electronic lock control device according to claim 1, characterized in that, The current detection module includes a differential amplifier composed of an operational amplifier and several resistors, and a first reference power supply, wherein... The negative input terminal of the differential amplifier is connected to the first output terminal of the current sampling module, the positive input terminal of the differential amplifier is connected to the second output terminal of the current sampling module, the positive input terminal of the differential amplifier is also connected to the first reference power supply, and the output terminal of the operational amplifier is connected to the input terminal of the controller.
4. The electronic lock control device according to claim 3, characterized in that, The output of the operational amplifier is connected to the analog-to-digital converter input of the controller, and the operational amplifier is used to input the detection signal of the motor drive current into the controller; or, The current detection module also includes an analog-to-digital converter (ADC). The input terminal of the ADC is connected to the output terminal of the operational amplifier, and the output terminal is connected to the input terminal of the controller. The ADC is used to convert the detection signal of the motor drive current into a digital signal and then input it into the controller.
5. The electronic lock control device according to claim 1, characterized in that, The electronic lock control device also includes at least one filtering module; The filtering module is disposed between the output terminal of the voltage follower and the positive input terminal of the first comparator; and / or, the filtering module is disposed between the output terminal of the voltage follower and the negative input terminal of the second comparator; and / or, the filtering module is disposed between the output terminal of the current detection module and the input terminal of the controller.
6. The electronic lock control device according to claim 1, characterized in that, The controller is communicatively connected to the signal display module inside the charging pile; The controller is also used to send an electronic lock status signal to the signal display module, so that the signal display module can display at least one of the following states of the electronic lock: locked, unlocked, locked in place, and unlocked in place.
7. The electronic lock control device according to claim 1, characterized in that, The electronic lock control device also includes a first energy storage module and a second energy storage module; The first energy storage module is connected between the power supply terminal and the power source terminal of the motor drive module, and is used to provide power to the motor drive module when the electronic lock loses power; The second energy storage module is connected between the output terminal of the controller and the input terminal of the motor drive module, and is used to provide the motor control signal to the motor drive module when the electronic lock loses power.
8. The electronic lock control device according to claim 7, characterized in that, The first energy storage module includes a first diode, a first current-limiting resistor, and a first energy storage capacitor, wherein, The anode of the first diode is connected to the power supply terminal, the cathode of the first diode is connected to the first end of the first current-limiting resistor, the second end of the first current-limiting resistor is connected to the first end of the first energy storage capacitor and the power supply terminal of the motor drive module, and the second end of the first energy storage capacitor is grounded.
9. The electronic lock control device according to claim 7, characterized in that, The second energy storage module includes a second diode, a second current-limiting resistor, a second energy storage capacitor, and a discharge resistor, wherein, The anode of the second diode is connected to the output terminal of the controller, the cathode of the second diode is connected to the first terminal of the second current-limiting resistor, the second terminal of the second current-limiting resistor is connected to the first terminal of the second energy storage capacitor and the first terminal of the discharge resistor, the second terminal of the discharge resistor is connected to the input terminal of the motor drive module, and the second terminal of the second energy storage capacitor is grounded.
10. The electronic lock control device according to claim 7, characterized in that, The controller's output terminals include a first output terminal and a second output terminal, wherein... The controller responds to the locking command of the electronic lock by controlling the first output terminal to output a high level and the second output terminal to output a low level, so as to output the locking motor control signal; In response to the unlocking command of the electronic lock, the controller controls the first output terminal to output a low level and controls the second output terminal to output a high level, so as to output an unlocking motor control signal; The second energy storage module is connected between the second output terminal of the controller and the input terminal of the motor drive module.
11. The electronic lock control device according to claim 10, characterized in that, When the controller is configured for power-off unlocking, if the electronic lock is locked, it controls the first output terminal and the second output terminal to output a high level so that the electronic lock performs an unlocking action when the power is off. When the controller is configured for power-off locking, if the electronic lock is locked in place, it controls the first output terminal and the second output terminal to output a low level so that the electronic lock remains locked when power is off.
12. The electronic lock control device according to claim 10, characterized in that, The electronic lock control device also includes a discharge and protection module, wherein... The discharge and protection module is located between the first output terminal of the control terminal and the first input terminal of the motor drive module; the discharge and protection module is used to limit the signal strength of the motor control signal and accelerate the release speed of the motor control signal when the electronic lock is powered off.
13. The electronic lock control device according to claim 12, characterized in that, The discharge and protection module includes a third diode and a third current-limiting resistor, wherein, The cathode of the third diode is connected to the first end of the third current-limiting resistor and then connected to the first output terminal of the controller. The anode of the third diode is connected to the second end of the third current-limiting resistor and then connected to the first input terminal of the motor drive module.