Intelligent lock single-wire communication control circuit, control method and single-wire communication control system

By using the single-wire communication control circuit of the smart lock and employing analog voltage adjustment and calibration signal analysis, the problem of unstable power supply and communication in traditional smart locks has been solved. Stable power supply and bidirectional communication under a single-wire interface have been achieved, improving the practicality and stability of the smart lock.

CN117789341BActive Publication Date: 2026-05-08JIANGSU AEROSPACE DAWEI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
JIANGSU AEROSPACE DAWEI TECH CO LTD
Filing Date
2023-12-29
Publication Date
2026-05-08

AI Technical Summary

Technical Problem

Traditional smart locks' single-wire communication control method has shortcomings in power supply and communication stability, making it difficult to meet the power requirements for unlocking large lock bodies, and the interface design is complex, which is prone to loose connection problems.

Method used

The smart lock adopts a single-wire communication control circuit, including a power conversion module, a signal sending and receiving module at the key end and the lock body end. Power supply and communication are achieved through a shared communication interface. Voltage matching and data transmission between the key and the lock body are achieved by using analog voltage adjustment and calibration signal analysis.

Benefits of technology

It achieves stable power supply and communication under a single-line communication interface, ensuring high-power power supply to the lock body in passive conditions, and supports bidirectional communication, thus improving practicality and stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117789341B_ABST
    Figure CN117789341B_ABST
Patent Text Reader

Abstract

The application relates to a single-wire communication control circuit of an intelligent lock, which comprises a key end power conversion module; a key end signal sending module connected with the key end power conversion module, which is used for acquiring and adjusting a first signal analog voltage of to-be-sent data, and obtaining a first interface voltage; a lock body end voltage conversion module connected with a communication interface; a lock body end signal conversion output module connected with the lock body end voltage conversion module, which is used for analyzing the first interface voltage to obtain to-be-sent data, and acquiring and adjusting a second signal analog voltage of to-be-returned data to obtain a second interface voltage; a key end signal receiving module, which is used for acquiring and adjusting a calibration signal analog voltage to obtain a third output voltage, and analyzing the calibration signal analog voltage to obtain to-be-returned data when the third output voltage is equal to the second interface voltage. The circuit can realize bidirectional communication between the key end and the lock body end while ensuring power consumption of the circuit through a single wire, and has high practicability and stability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of smart locks, and in particular to a single-wire communication control circuit, control method, and single-wire communication control system for smart locks. Background Technology

[0002] Smart locks for commonly used equipment cabinets require electronic keys for access control. Smart locks consume a lot of power when unlocking and holding the lock, and also need to communicate control commands. Therefore, the interface structure should be as simple as possible.

[0003] In traditional technology, communication between electronic keys and smart locks uses two methods. One is a quasi-two-wire system, requiring at least two independent interfaces or contact points, grounded through the housing. Contact 1 acts as the power supply line, while contact 2 serves as a single-bus communication line. Because the lock rotates during unlocking, the two-wire design faces more structural challenges, increasing the design and manufacturing difficulty of the interface and raising structural complexity. Furthermore, the shaking during rotation can easily cause loose connections, reducing communication and power supply stability. The second method uses a digital single-wire system, also grounded through the housing. The single-bus uses serial data transmission and simultaneous power supply, but its power supply capacity is limited and cannot meet the power requirements of larger locks. Therefore, the practicality and stability of these traditional single-wire communication control methods for smart locks are poor. Summary of the Invention

[0004] Therefore, it is necessary to provide a smart lock single-wire communication control circuit, control method, and single-wire communication control system to address the aforementioned technical problems.

[0005] In a first aspect, this application provides a single-wire communication control circuit for a smart lock. The circuit includes:

[0006] The key-end power conversion module is used to adjust the voltage of the input power supply to obtain the first reference voltage;

[0007] The key end signal transmission module is connected to the key end power conversion module. It is used to acquire the first signal analog voltage corresponding to the data to be transmitted at the key end, adjust the first signal analog voltage to obtain the first output voltage corresponding to the data to be transmitted, and output the first output voltage through a shared communication interface to obtain the first interface voltage.

[0008] The lock body end voltage conversion module is connected to the communication interface and is used to adjust the interface voltage at the communication interface to obtain a second reference voltage.

[0009] The lock body end signal conversion output module is connected to the lock body end voltage conversion module and the communication interface. It is used to receive and parse the first interface voltage to obtain the data to be sent. It is also used to obtain the second signal analog voltage of the data to be returned from the lock body end, adjust the second signal analog voltage to obtain the second output voltage corresponding to the data to be returned, and output the second output voltage through the communication interface to obtain the second interface voltage.

[0010] The key end signal receiving module, connected to the key end power conversion module and the communication interface, is used to acquire the calibration signal analog voltage after all the data to be sent to the matching lock body has been sent, adjust the calibration signal analog voltage to obtain the corresponding third output voltage, and when the third output voltage is equal to the second interface voltage, analyze the calibration signal analog voltage to obtain the data to be transmitted back.

[0011] In one embodiment, the key end signal transmitting module includes:

[0012] The enable submodule is used to obtain the input power and to output control signals;

[0013] The voltage regulation control submodule is connected to the enable submodule. The voltage regulation control submodule receives control signals and controls the connection status with the communication interface according to the control signals. When the key end signal transmitting module is connected to the communication interface according to the control signals, a start signal is output; when the key end signal transmitting module is disconnected from the communication interface according to the control signals, a shutdown signal is output.

[0014] The first voltage regulation submodule is connected to the voltage regulation control submodule. The first voltage regulation submodule is used to receive the first reference voltage and the first signal analog voltage. When the first voltage regulation submodule receives the start signal, it adjusts the superimposed voltage of the first reference voltage and the first signal analog voltage to obtain the first output voltage, and outputs the first output voltage through the communication interface to obtain the first interface voltage.

[0015] In one embodiment, the key end signal transmitting module further includes:

[0016] The output filtering module is connected to the first voltage regulating submodule. The output filtering module is used to obtain the first output voltage, filter the first output voltage to obtain the filtered first output voltage, and output the filtered first output voltage through the communication interface to obtain the first interface voltage.

[0017] In one embodiment, the key end signal transmitting module further includes:

[0018] The first interface protection module is connected to the output filtering module. The first interface protection module is used to transmit the filtered first output voltage and to perform voltage regulation on the filtered first output voltage to protect the communication interface.

[0019] In one embodiment, the key end signal transmitting module further includes:

[0020] The inlet filtering submodule is connected to the enable submodule. The inlet filtering submodule is used to filter the input power supply to obtain the filtered input power supply, and then sends the filtered input power supply to the enable submodule.

[0021] In one embodiment, the lock body end signal conversion output module includes:

[0022] The second voltage regulating submodule is connected to the voltage conversion module at the lock body end, and is used to acquire the second signal analog voltage.

[0023] The first operational amplifier processing submodule is connected to the second voltage regulation submodule. The first operational amplifier processing submodule is used to process the superimposed voltage of the second reference voltage and the second signal analog voltage to obtain the second output voltage, and output the second output voltage through the communication interface to obtain the second interface voltage.

[0024] The first voltage monitoring submodule is connected to the operational amplifier processing submodule and the communication interface. The first voltage monitoring submodule is used to receive and parse the first interface voltage to obtain the data to be sent.

[0025] In one embodiment, the lock body end signal conversion output module further includes:

[0026] The second interface protection module is connected to the first voltage monitoring submodule and the first operational amplifier processing submodule. The second interface protection module is used to transmit the second interface voltage and the first interface voltage, and to perform voltage regulation on the second interface voltage to protect the communication interface.

[0027] In one embodiment, the key end signal receiving module includes:

[0028] The third voltage regulation submodule is connected to the key-end power conversion module and is used to acquire the calibration signal analog voltage.

[0029] The second operational amplifier processing submodule is connected to the third voltage regulation submodule and the communication interface. The second operational amplifier processing submodule is used to process the superimposed voltage of the first reference voltage and the calibration signal analog voltage to obtain the third output voltage. The second operational amplifier processing submodule is also used to obtain the second interface voltage.

[0030] The second voltage monitoring submodule is connected to the second operational amplifier processing submodule. The second voltage monitoring submodule is used to acquire the third output voltage and, when the third output voltage is equal to the second interface voltage, analyze the calibration signal analog voltage to obtain the data to be transmitted back.

[0031] Secondly, this application also provides a control method for a single-wire communication control circuit of a smart lock. This control method is applied to any of the single-wire communication control circuits of a smart lock provided in the first aspect. The single-wire communication control circuit includes a key-end power conversion module, a key-end signal transmission module, a lock-body voltage conversion module, a lock-body signal conversion output module, and a key-end signal receiving module. The control method includes the following steps:

[0032] The key-end power conversion module adjusts the voltage of the input power supply to obtain the first reference voltage;

[0033] The key end signal transmission module acquires the first reference voltage and the first signal analog voltage corresponding to the data to be transmitted at the key end, adjusts the first signal analog voltage to obtain the first output voltage corresponding to the data to be transmitted, and outputs the first output voltage through a shared communication interface to obtain the first interface voltage;

[0034] The lock body end voltage conversion module obtains the interface voltage of the communication interface and adjusts the interface voltage to obtain the second reference voltage;

[0035] The lock body end signal conversion output module acquires the second reference voltage and the first interface voltage, and parses the first interface voltage to obtain the data to be sent. The lock body end signal conversion output module also acquires the second signal analog voltage of the data to be returned from the lock body end, and adjusts the second signal analog voltage to obtain the second output voltage corresponding to the data to be returned. The second output voltage is then output through the communication interface to obtain the second interface voltage.

[0036] The key end signal receiving module acquires the first reference voltage and the second interface voltage. After all the data to be sent to the matching lock body end has been sent, it acquires the calibration signal analog voltage and adjusts it to obtain the corresponding third output voltage. When the third output voltage is equal to the second interface voltage, it analyzes the calibration signal analog voltage to obtain the data to be transmitted back.

[0037] Thirdly, this application also provides a smart lock single-line communication control system, which includes a lock body and an electronic key adapted to the lock body. The system also includes any of the smart lock single-line communication control circuits provided in the first aspect. The system is used to perform smart lock single-line communication control according to the circuit control method provided in the second aspect.

[0038] The aforementioned smart lock single-wire communication control circuit includes a key-end power conversion module for adjusting the voltage of the input power supply to obtain a first reference voltage; a key-end signal transmission module connected to the key-end power conversion module for acquiring a first analog voltage corresponding to the data to be transmitted at the key end, adjusting the first analog voltage to obtain a first output voltage corresponding to the data to be transmitted, and outputting the first output voltage through a shared communication interface to obtain a first interface voltage; a lock-body-end voltage conversion module connected to the communication interface for adjusting the interface voltage at the communication interface to obtain a second reference voltage; and a lock-body-end signal conversion output module connected to the lock-body-end voltage conversion module and the communication interface for... The system receives and parses the first interface voltage to obtain the data to be sent. It is also used to acquire the second signal analog voltage of the data to be returned from the lock body end, adjust the second signal analog voltage to obtain the second output voltage corresponding to the data to be returned, and output the second output voltage through the communication interface to obtain the second interface voltage. The key end signal receiving module is connected to the key end power conversion module and the communication interface. It is used to acquire the calibration signal analog voltage after all the data to be sent to the matching lock body end has been sent, adjust the calibration signal analog voltage to obtain the corresponding third output voltage, and parse the calibration signal analog voltage when the third output voltage is equal to the second interface voltage to obtain the data to be returned. This application uses the aforementioned circuit, which achieves both power supply and communication between the electronic key and the lock body through a single shared communication interface, resulting in a simple structure. After the key is inserted into the lock body, the key-end signal transmitting module sends data to be transmitted regarding control commands to the lock body. The digital signal corresponding to the data to be transmitted can be converted into a specific electrical signal with driving capability, ensuring that the lock body can continuously receive sufficient driving current to achieve unlocking and unlocking / unlocking actions. Simultaneously, the lock body-end signal conversion output module analyzes the voltage of the first interface to obtain the data to be transmitted. After all data to be transmitted from the key end to the lock body end is transmitted, the lock body end sends feedback data back to the key end. At this time, the key end switches from the key-end signal transmitting module to the key-end signal receiving module. When the end signal transmitting module is cut off, the interface voltage at the communication interface decreases. The key end signal receiving module adjusts to a low current supply and senses the difference between the third output voltage and the second interface voltage at the communication interface. When the third output voltage and the second interface voltage are inconsistent, the key end signal receiving module continuously adjusts the calibration signal analog voltage until the third output voltage matches the second interface voltage, thus achieving voltage matching between the key and the lock body. The returned data is then parsed from the calibration signal analog voltage, enabling the lock body to be powered by the key in a passive state. Basic control communication can be achieved during the power supply process, and bidirectional communication can still be achieved through a single line while ensuring circuit power supply. This demonstrates high practicality and stability. Attached Figure Description

[0039] Figure 1 This is a schematic diagram of a single-wire communication control circuit for a smart lock in one embodiment;

[0040] Figure 2 This is a schematic diagram of the key end signal transmission module in one embodiment;

[0041] Figure 3 This is a schematic diagram of the signal conversion and output module at the lock body end in one embodiment;

[0042] Figure 4 This is a schematic diagram of the key end signal receiving module in one embodiment;

[0043] Figure 5 This is a schematic diagram of the key-end power conversion module in one embodiment;

[0044] Figure 6 This is a schematic diagram of the voltage conversion module at the lock body end in one embodiment;

[0045] Figure 7 A circuit diagram of a signal transmission circuit with strong power supply at the key end in another embodiment;

[0046] Figure 8 The circuit diagram of the signal conversion output circuit at the lock body end in another embodiment is shown.

[0047] Figure 9 A circuit diagram of a signal receiving circuit with weak power supply at the key end in another embodiment;

[0048] Figure 10 A circuit diagram of the first power conversion circuit at the key end in another embodiment;

[0049] Figure 11 The circuit diagram of the second power conversion circuit at the lock body end in another embodiment is shown.

[0050] Figure 12 A flowchart of a control method for a smart lock single-wire communication control circuit in another embodiment;

[0051] Figure 13 This is a schematic diagram of the overall structure of the smart lock in another embodiment.

[0052] Explanation of reference numerals in the attached diagram: 100, Key end power conversion module; 110, First inlet filter submodule; 120, First enable submodule; 130, First voltage change submodule; 140, First voltage regulation submodule; 150, First output filter submodule; 200, Key end signal transmission module; 210, Enable submodule; 220, Voltage regulation control submodule; 230, First voltage regulation submodule; 240, Output filter module; 250, First interface protection module; 260, Inlet filter submodule; 300, Lock body voltage conversion module; 310, Second inlet filter. Sub-modules; 320, Second enable sub-module; 330, Second voltage conversion sub-module; 340, Second voltage regulation sub-module; 350, Second output port filtering sub-module; 400, Lock body end signal conversion output module; 410, Second voltage regulation sub-module; 420, First operational amplifier processing sub-module; 430, First voltage monitoring sub-module; 440, Second interface protection module; 500, Key end signal receiving module; 510, Third voltage regulation sub-module; 520, Second operational amplifier processing sub-module; 530, Second voltage monitoring sub-module; 702, Lock body; 704, Electronic key. Detailed Implementation

[0053] To make the above-mentioned objectives, features, and advantages of this application more apparent and understandable, the specific embodiments of this application are described in detail below with reference to the accompanying drawings. Many specific details are set forth in the following description to provide a thorough understanding of this application. However, this application can be implemented in many other ways different from those described herein, and those skilled in the art can make similar modifications without departing from the spirit of this application. Therefore, this application is not limited to the specific embodiments disclosed below.

[0054] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "multiple" means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0055] In this application, unless otherwise expressly specified and limited, the terms "installation," "connection," and "fixation," etc., should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components, unless otherwise expressly limited. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances. It is understood that in the following embodiments, "connection" should be understood as "electrical connection," "communication connection," etc., if the connected circuits, modules, units, etc., transmit electrical signals or data to each other.

[0056] It is understood that "at least one" means one or more, and "multiple" means two or more. "At least a part of an element" means part or all of an element. When used herein, the singular forms "a," "an," and "the" may also include the plural forms unless the context clearly indicates otherwise. It should also be understood that the terms "comprising / including" or "having," etc., specify the presence of the stated features, integrals, steps, operations, components, parts, or combinations thereof, but do not preclude the possibility of the presence or addition of one or more other features, integrals, steps, operations, components, parts, or combinations thereof. Meanwhile, the term "and / or" as used in this specification includes any and all combinations of the associated listed items.

[0057] Firstly, such as Figure 1As shown, this application provides a single-wire communication control circuit for a smart lock. The circuit includes a key-end power conversion module 100, a key-end signal transmission module 200, a lock-body voltage conversion module 300, a lock-body signal conversion output module 400, and a key-end signal receiving module 500. The key-end power conversion module 100 adjusts the voltage of the input power supply to obtain a first reference voltage. The key-end signal transmission module 200, connected to the key-end power conversion module 100, acquires the first analog voltage corresponding to the data to be transmitted at the key end, adjusts the first analog voltage to obtain a first output voltage corresponding to the data to be transmitted, and outputs the first output voltage through a shared communication interface to obtain a first interface voltage. The lock-body voltage conversion module 300, connected to the communication interface, adjusts the interface voltage at the communication interface to obtain a first interface voltage. The second reference voltage is obtained; the lock body end signal conversion output module 400 is connected to the lock body end voltage conversion module 300 and the communication interface, and is used to receive and parse the first interface voltage to obtain the data to be sent. It is also used to obtain the second signal analog voltage of the data to be returned from the lock body end, and adjust the second signal analog voltage to obtain the second output voltage corresponding to the data to be returned. The second output voltage is then output through the communication interface to obtain the second interface voltage; the key end signal receiving module 500 is connected to the key end power conversion module 100 and the communication interface. After all the data to be sent to the corresponding lock body end has been sent, it is used to obtain the calibration signal analog voltage, adjust the calibration signal analog voltage to obtain the corresponding third output voltage, and parse the calibration signal analog voltage when the third output voltage is equal to the second interface voltage to obtain the data to be returned.

[0058] The smart lock is a complete lock system consisting of an electronic key and a smart lock body. The input power can be an external power source or a power source built into the key. A first reference voltage is used to activate the various modules of the smart lock's single-wire communication control circuit. A second reference voltage is used to activate the signal conversion output module 400 at the lock body end; theoretically, in this embodiment, the second reference voltage is equal to the first reference voltage. The key-end power conversion module 100, the key-end signal transmitting module 200, and the key-end signal receiving module 500 are installed inside the electronic key. They are used to convert the digital signals that the electronic key needs to output into specific signals with driving capability. When the smart lock, i.e., the lock body, needs to transmit signals, the circuit is switched in time (from the key-end signal transmitting module 200 to the key-end signal receiving module 500) to realize signal reception. In this embodiment, the key-end signal transmitting module 200 is a signal transmitting circuit with strong power supply, the key-end signal receiving module 500 is a signal receiving circuit with weak power supply, and the key-end power conversion module 100 is a first power conversion circuit. The signal transmitting circuit with strong power supply, the signal receiving circuit with weak power supply, and the first power conversion circuit all belong to the key-end circuit.

[0059] The lock body voltage conversion module 300 is a second power conversion circuit, and the lock body signal conversion output module 400 is a signal conversion output circuit. Both the second power conversion circuit and the signal conversion output circuit belong to the lock body circuit. The lock body voltage conversion module 300 and the lock body signal conversion output module 400 are installed inside the smart lock (lock body) compatible with the electronic key. They draw power and analyze signals from the electronic key through a specific interface (communication interface). When a signal needs to be sent back to the electronic key, the voltage oscillation adjustment feedback is used to send the data back to the electronic key. The data to be sent is transmitted multiple times in the form of four-bit binary data. For example, binary 0000 to 1111 can represent data between 0 and 15, meaning the voltage change value can be divided into 16 levels. Through analog-to-digital conversion, the corresponding level is read, the four-bit data is determined, and the data is sent. This embodiment implements the conversion between analog signals and digital signals, and the processor circuit for the logic implementation part, which will not be described here. This part of the circuit is an existing general circuit. This embodiment only describes the core modules or circuits related to single-wire power supply and communication.

[0060] The single-wire communication control circuit of the smart lock in this embodiment can simultaneously realize power supply and communication between the electronic key and the lock body through only a shared communication interface, resulting in a simple structure. After the key is inserted into the lock body, the key-end signal transmitting module 200 sends data to be transmitted regarding control commands to the lock body. The digital signal corresponding to the data to be transmitted can be converted into a specific electrical signal with driving capability, so that the lock body can continuously obtain sufficient driving current to realize the unlocking and unlocking actions. At the same time, the lock body-end signal conversion output module 400 analyzes the voltage of the first interface to obtain the data to be transmitted. When all the data to be transmitted from the key end to the lock body end is transmitted, the lock body end sends back data to the key end. At this time, the key end switches from the key end signal transmitting module 200 to the key end signal receiving module 500. Because the key-end signal transmitting module 200 is cut off, the interface voltage at the communication interface decreases. The key-end signal receiving module 500 adjusts to a low current power supply and senses the difference between the third output voltage and the second interface voltage at the communication interface. When the third output voltage and the second interface voltage are inconsistent, the key-end signal receiving module 500 continuously adjusts the calibration signal analog voltage until the third output voltage is consistent with the second interface voltage, thus achieving voltage matching between the key and the lock body. The returned data is then parsed from the calibration signal analog voltage, enabling the lock body to be powered by the key in a passive state. Basic control communication can be achieved during the power supply process, and bidirectional communication can still be achieved through a single line while ensuring circuit power supply. This demonstrates high practicality and stability.

[0061] In one embodiment, such as Figure 2 As shown, the key terminal signal transmission module 200 includes an enable submodule 210, a voltage regulation control submodule 220, and a first voltage regulation submodule 230. The enable submodule 210 is used to acquire input power and output control signals. The voltage regulation control submodule 220 is connected to the enable submodule 210 and receives the control signals. It controls the connection state with the communication interface according to the control signals. When the key terminal signal transmission module 200 is connected to the communication interface according to the control signals, it outputs a start signal. When the key terminal signal transmission module 200 is disconnected from the communication interface according to the control signals, it outputs a shutdown signal. The first voltage regulation submodule 230 is connected to the voltage regulation control submodule 220 and receives a first reference voltage and a first signal analog voltage. When the first voltage regulation submodule 230 receives the start signal, it adjusts the superimposed voltage of the first reference voltage and the first signal analog voltage to obtain a first output voltage, which is then output through the communication interface to obtain a first interface voltage.

[0062] The enable submodule 210, after receiving input power, is controlled by the key-end processor. When the key needs to send data to the lock body, the key-end processor controls the enable submodule 210 to output a start signal, so that the voltage regulation control submodule 220 controls the key-end signal sending module 200 to connect to the communication interface. When the key does not need to send data to the lock body, the key-end processor controls the enable submodule 210 to output a shut-off signal, so that the voltage regulation control submodule 220 controls the key-end signal sending module 200 to disconnect from the communication interface. When the key-end signal sending module 200 is connected to the communication interface, the first voltage regulation submodule 230 receives the first reference voltage and the first signal analog voltage, adjusts the superimposed voltage of the first reference voltage and the first signal analog voltage to obtain the first output voltage, and then outputs the first output voltage through the communication interface to obtain the first interface voltage.

[0063] In this embodiment, when the electronic key sends the data to be sent corresponding to the control command to the lock body, the combination of the first reference voltage and the first signal analog voltage helps to provide sufficient driving current to the lock body, and can also output the first interface voltage corresponding to the data to be sent through the shared communication interface, so as to realize the power supply to the lock body and the communication between the electronic key and the lock body at the same time.

[0064] In one embodiment, such as Figure 2 As shown, the key end signal transmission module 200 also includes an output filtering module 240, which is connected to the first voltage regulation submodule 230. The output filtering module 240 is used to obtain the first output voltage, filter the first output voltage to obtain the filtered first output voltage, and output the filtered first output voltage through the communication interface to obtain the first interface voltage.

[0065] In this embodiment, the output filter module 240 is connected to the output terminal of the first voltage regulation submodule 230 and the output terminal of the voltage regulation control submodule 220. The output filter module 240 performs voltage stabilization and noise filtering on the first output voltage, which helps to ensure the stability of the first output voltage and thus provides a certain degree of protection against damage to the communication interface. Furthermore, noise filtering on the first output voltage can reduce or eliminate noise or spurious signals in the first output voltage, thereby ensuring the purity and stability of the first output voltage.

[0066] In one embodiment, such as Figure 2 As shown, the key end signal transmission module 200 also includes a first interface protection module 250, which is connected to the output filtering module 240. The first interface protection module 250 is used to transmit the filtered first output voltage and to perform voltage regulation on the filtered first output voltage to protect the communication interface.

[0067] In this embodiment, the first output voltage after filtering is regulated by the first interface protection module 250 to ensure the stability of the first output voltage after filtering within a certain range, and to help avoid communication errors caused by voltage fluctuations in the communication interface.

[0068] In one embodiment, such as Figure 2 As shown, the key end signal transmission module 200 also includes an input filtering submodule 260, which is connected to the enable submodule 210. The input filtering submodule 260 is used to filter the input power supply to obtain the filtered input power supply, and then transmits the filtered input power supply to the enable submodule 210.

[0069] In this embodiment, the input power supply is filtered by the inlet filter submodule 260, which can remove high-frequency noise, electromagnetic interference and other noise from the input power supply, thereby ensuring that the filtered input power supply has higher interference suppression capability and stability.

[0070] In one embodiment, such as Figure 3 As shown, the lock body end signal conversion output module 400 includes a second voltage regulation submodule 410, a first operational amplifier processing submodule 420, and a first voltage monitoring submodule 430. The second voltage regulation submodule 410 is connected to the lock body end voltage conversion module 300 and is used to acquire a second signal analog voltage. The first operational amplifier processing submodule 420 is connected to the second voltage regulation submodule 410 and is used to perform operational amplifier processing on the superimposed voltage of the second reference voltage and the second signal analog voltage to obtain a second output voltage. This second output voltage is then output through a communication interface to obtain a second interface voltage. The first voltage monitoring submodule 430 is connected to the operational amplifier processing submodule and the communication interface and is used to receive and parse the first interface voltage to obtain the data to be sent.

[0071] In this embodiment, after the first voltage monitoring submodule 430 obtains the first interface voltage, it uses a preset digital-to-electrical conversion module to parse the first interface voltage and obtain the data to be sent. When the electronic key completes the data transmission to the lock body, and the lock body needs to communicate with the electronic key, the electronic key switches its power supply. That is, the key end processor controls the enable submodule 210 to output a shutdown signal so that the voltage regulation control submodule 220 controls the key end signal sending module 200 to disconnect from the communication interface and switch to the key end signal receiving module 500. At this time, the second voltage regulation submodule 410 obtains the second signal analog voltage corresponding to the data to be transmitted back from the lock body. The first operational amplifier processing submodule 420 performs operational amplifier processing on the superimposed voltage of the second signal analog voltage and the second reference voltage to obtain the second output voltage, and outputs the second output voltage through the communication interface to obtain the second interface voltage. Thus, communication between the lock body and the key end can be achieved through a shared communication interface.

[0072] In one embodiment, such as Figure 3 As shown, the lock body end signal conversion output module 400 also includes a second interface protection module 440. The second interface protection module 440 is connected to the first voltage monitoring submodule 430 and the first operational amplifier processing submodule 420. The second interface protection module 440 is used to transmit the second interface voltage and the first interface voltage, and to perform voltage regulation on the second interface voltage to protect the communication interface.

[0073] In this embodiment, the second interface voltage is stabilized by the second interface protection module 440 to ensure the stability of the second interface voltage within a certain range, thereby helping to prevent voltage fluctuations from damaging the communication interface.

[0074] In one embodiment, such as Figure 4 As shown, the key-end signal receiving module 500 includes a third voltage regulation submodule 510, a second operational amplifier processing submodule 520, and a second voltage monitoring submodule 530. The third voltage regulation submodule 510 is connected to the key-end power conversion module 100 and is used to acquire the calibration signal analog voltage. The second operational amplifier processing submodule 520 is connected to the third voltage regulation submodule 510 and the communication interface. The second operational amplifier processing submodule 520 performs operational amplifier processing on the superimposed voltage of the first reference voltage and the calibration signal analog voltage to obtain a third output voltage. The second operational amplifier processing submodule 520 is also used to acquire the second interface voltage. The second voltage monitoring submodule 530 is connected to the second operational amplifier processing submodule 520 and is used to acquire the third output voltage. When the third output voltage is equal to the second interface voltage, the second operational amplifier processing submodule 530 analyzes the calibration signal analog voltage to obtain the data to be transmitted back.

[0075] The calibration signal analog voltage is an analog voltage sent by the key terminal processor. Before the third output voltage equals the second interface voltage, the calibration signal analog voltage is a changing value, which is continuously adjusted by the key terminal processor based on the comparison result between the third output voltage and the second interface voltage.

[0076] In this embodiment, when the circuit switches to the key end signal receiving module 500, the key end signal sending module 200 is cut off, causing the interface voltage at the communication interface to decrease. The key end signal receiving module 500 adjusts to a small current supply and senses the difference between the third output voltage and the second interface voltage at the communication interface. When the third output voltage and the second interface voltage are inconsistent, the key end signal receiving module 500 continuously adjusts the calibration signal analog voltage through the key end processor until the third output voltage is consistent with the second interface voltage, thus achieving voltage matching between the key and the lock body. The returned data is then parsed from the calibration signal analog voltage, thereby enabling basic control communication during power supply. When bidirectional communication is required, it can still achieve bidirectional communication while ensuring circuit power supply through a single line, demonstrating high practicality and stability.

[0077] In one embodiment, such as Figure 5 As shown, the key-end power conversion module 100 includes a first inlet filter submodule 110, a first enable submodule 120, a first voltage change submodule 130, a first voltage regulation submodule 140, and a first output port filter submodule 150 connected in sequence. The first inlet filter submodule 110 is used to filter the input power. The first enable submodule 120 is used to control the opening and closing of the first voltage change submodule 130 according to the control signal of the key-end processor. When the first voltage change submodule 130 is started, it changes the input voltage to obtain a first changed voltage and outputs the first changed voltage to the first voltage regulation submodule 140. The first voltage regulation submodule 140 is used to adjust the first changed voltage according to the preset smart lock usage requirements to obtain the adjusted first changed voltage and outputs the adjusted first changed voltage to the first output port filter submodule 150, so that the first output port filter submodule 150 filters and regulates the adjusted first changed voltage to obtain a first reference voltage.

[0078] In this embodiment, the input voltage of the input power supply is adjusted through the joint cooperation of the first inlet filter submodule 110, the first enable submodule 120, the first voltage change submodule 130, the first voltage regulation submodule 140, and the first output filter submodule 150. This allows the required first reference voltage to be obtained under a given input power supply voltage. In other words, when the input voltage (supply voltage) of the input power supply is inconsistent, the key end power conversion module 100 can adjust the input voltage to the first reference voltage required by the single-wire communication control circuit of the smart lock.

[0079] In one embodiment, such as Figure 6 As shown, the lock body voltage conversion module 300 includes a second inlet filter submodule 310, a second enable submodule 320, a second voltage conversion submodule 330, a second voltage regulation submodule 340, and a second output port filter submodule 350 connected in sequence. The second inlet filter submodule 310 filters the interface voltage obtained from the communication interface. The second enable submodule 320 controls the opening and closing of the second voltage conversion submodule 330 according to the control signal from the key terminal processor. When the second voltage conversion submodule 330 is activated, it changes the input interface voltage to obtain a second changed voltage and outputs the second changed voltage to the second voltage regulation submodule 340. The second voltage regulation submodule 340 adjusts the second changed voltage according to preset smart lock usage requirements to obtain an adjusted second changed voltage and outputs the adjusted second changed voltage to the second output port filter submodule 350. The second output port filter submodule 350 then filters and regulates the adjusted second changed voltage to obtain a second reference voltage.

[0080] In this embodiment, the second inlet filter submodule 310, the second enable submodule 320, the second voltage conversion submodule 330, the second voltage adjustment submodule 340, and the second output port filter submodule 350 work together to adjust the acquired interface voltage, thereby achieving the second reference voltage required by the lock body end under a given interface voltage.

[0081] Figures 7 to 11 The following is a detailed circuit diagram of each module in the single-wire communication control circuit of a smart lock provided in one embodiment of this application. Figures 7 to 11 As an example, the single-wire communication control circuit of the smart lock of this application will be described in detail.

[0082] In one embodiment, such as Figure 7As shown, the key-end signal transmission module 200, i.e., the input filtering submodule 260 in the key-end signal transmission circuit with strong power supply, includes an input power supply V+ and a capacitor C8; the enable submodule 210 includes a resistor R14; the voltage regulation control submodule 220 includes a voltage regulation control chip U4, a capacitor C9, and an inductor L3; the first voltage regulation submodule 230 includes resistors R22 and R23, an operational amplifier U5, resistors R24, R25, R26, and R27, a capacitor C11, a resistor R21, a resistor R15, and a resistor R18; the output filtering module 240 includes a capacitor C10; and the first interface protection module 250 includes a diode D2.

[0083] The voltage regulator chip U4 is model TPS563201DD. Pin 1 is the GND pin, used for grounding. Pin 2 is the SW pin, the switch pin, used to connect the source of the switch and the node between the output voltage filter inductor. When the switch is on, the voltage on the SW pin is lower than the input voltage; when the switch is off, the voltage on the SW pin is higher than the input voltage. Pin 3 is the VIN pin, the input power supply pin of the voltage regulator chip U4, used to receive input power. Pin 4 is the VFB pin... The FB pin is the feedback pin, used to control the output voltage. By measuring and adjusting the feedback voltage on the VFB pin, the voltage regulator chip U4 can make the output voltage reach the desired set value. Pin 5 of the chip is the EN pin, which is the enable / disable pin, used to control the opening and closing of the voltage regulator chip U4. In this embodiment, the switching control of the chip is achieved by controlling the level of PEN. Pin 6 of the chip is the VBST pin, which is used to provide the power supply voltage required to drive the high-side switch. It is usually connected to the SW pin to provide the required power supply voltage.

[0084] The input power supply V+ and one end of capacitor C8 are connected to pin 3 of the voltage regulator chip U4. The PEN enable control signal is provided by the key-end processor. One end of resistor R14 is connected to pin 5 of the voltage regulator chip U4. The other ends of capacitor C8, resistor R14, and pin 1 of the voltage regulator chip U4 are all grounded. Pin 2 of the voltage regulator chip U4 and one end of capacitor C9 are connected to one end of inductor L3. The other end of capacitor C9 is connected to pin 6 of the voltage regulator chip U4. The other end of inductor L3, one end of capacitor C10, and resistor R14 are all grounded. One end of R15, the negative terminal of diode D2, and the communication interface S; pin 4 of voltage regulator chip U4, one end of resistor R21, one end of resistor R18, and the other end of resistor R15 are connected; the other end of capacitor C10, the other end of resistor R18, and the positive terminal of diode D2 are all grounded; pin 3 of operational amplifier U5, one end of capacitor C11, one end of resistor R23, and the other end of resistor R21 are connected; pin 4 of operational amplifier U5 is connected to the input power supply V+; pin 5 of operational amplifier U5 and the other end of capacitor C11 are both grounded. Pin 1 of op-amp U5 is connected between resistors R22 and R23, with the end of resistor R22 furthest from resistor R23 grounded; one end of resistor R24 ​​is used to receive the first reference voltage VCC1, and the other end of resistor R24, one end of resistor R25, and one end of resistor R27 are connected to pin 2 of op-amp U5; one end of resistor R26 and the other end of resistor R25 are used to receive the first signal analog voltage DDA1 corresponding to the data to be transmitted; the other ends of resistors R27 and R26 are both grounded.

[0085] In this embodiment, the circuit converts the input voltage (input power supply V+) into a voltage output after passing through the voltage regulation control chip U4. The specific voltage value adjustment of the output voltage is achieved by the first voltage regulation submodule 230. The input filter submodule 260 stabilizes the input power supply V+ and filters noise. The enable submodule 210 controls the operation and shutdown of the voltage regulation control chip U4, thereby realizing the transformation and output of the input voltage. The first voltage regulation submodule 230 mainly adjusts the voltage at the VFB pin of the voltage regulation control chip U4. The first signal analog voltage DDA1 corresponding to the data to be transmitted is output by the key terminal processor. This analog voltage is superimposed and amplified with the first reference voltage VCC1 by the operational amplifier U5 and output at pin 3 of the operational amplifier U5. When the VFB voltage is kept constant, the change in the output voltage at pin 3 of the operational amplifier U5 causes a change in the current in the resistor R15, thereby adjusting the first output voltage of the first voltage regulation submodule 230. Capacitor C10 stabilizes the first output voltage and filters noise, resulting in the filtered first output voltage. Diode D2 protects the communication interface S, resulting in the first interface voltage.

[0086] In one embodiment, such as Figure 8As shown, the second voltage regulation submodule 410 in the signal conversion output module 400 of the lock body end, i.e. the signal conversion output circuit of the lock body end, includes resistors R12, R13, R16 and R17; the first operational amplifier processing submodule 420 includes resistor R11, capacitor C7, operational amplifier chip U3, resistor R9 and resistor R10; the first voltage monitoring submodule 430 includes resistors R19 and R20; and the second interface module includes diode D1.

[0087] Specifically, the interface voltage at communication interface S, the negative terminal of diode D1, one end of resistor R19, and one end of resistor R11 are connected. The other end of resistor R19 and one end of resistor R20 are used to receive the voltage monitoring signal ADB. The positive terminal of diode D1 and the other end of resistor R20 are both grounded. One end of resistor R9 and one end of capacitor C7 are connected to pin 3 of operational amplifier chip U3. Pin 5 of operational amplifier chip U3 and the other end of capacitor C7 are both grounded. Pin 4 of operational amplifier chip U3 receives the interface voltage at communication interface S. The other end of resistor R9 and one end of resistor R10 are connected to pin 1 of operational amplifier chip U3. The other end of resistor R10 is grounded. Pin 2 of operational amplifier chip U3, one end of resistor R12, one end of resistor R16, and one end of resistor R13 are connected. The other end of resistor R12 is used to receive the second reference voltage VCC2. The other end of resistor R13 and one end of resistor R17 are used to receive the second signal analog voltage DAB corresponding to the data to be transmitted back from the lock body. The other ends of resistors R16 and R17 are both grounded.

[0088] In this embodiment, the circuit converts the output signal provided by the processor and outputs it through the communication interface S. The second voltage regulation submodule 410 superimposes the DAB voltage and the second reference voltage VCC2, and performs superposition and amplification operations through the operational amplifier chip U3 to obtain the second output voltage. The first voltage monitoring submodule 430 divides the voltage through voltage divider resistors R19 and R20 to obtain the analog voltage ADB. The processor then collects the analog signal and identifies the first interface voltage to obtain the data to be sent at the key end. The processor then provides closed-loop feedback through the second voltage regulation submodule 410, and diode D1 is used to protect the communication interface S.

[0089] In one embodiment, such as Figure 9 As shown, the third voltage regulation submodule 510 in the key end signal receiving module 500, i.e. the signal receiving circuit with weak power supply in the key end, includes resistors R31, R33, R34, and R35; the second operational amplifier processing submodule 520 includes resistors R28 and R29, operational amplifier U6, capacitor C12, and resistor R30; and the second voltage monitoring submodule 530 includes resistors R32 and R36.

[0090] Among them, one end of resistor R33 and one end of resistor R34 are used to receive the calibration signal analog voltage DAA2. The other end of resistor R33, one end of resistor R31, and one end of resistor R35 are connected to pin 2 of operational amplifier U6. The other end of resistor R35 and the other end of resistor R34 are both grounded. The other end of resistor R31 is used to receive the first reference voltage VCC1. One end of resistor R28 is grounded. The other end of resistor R28 and one end of resistor R29 are connected to pin 1 of operational amplifier U6. Pin 4 of operational amplifier U6 is connected to the input power supply V+. Pin 5 of operational amplifier U6 is grounded. The other end of resistor R29 and one end of resistor R30 are connected to the communication interface S. Pin 3 of operational amplifier U6, one end of resistor R32, one end of capacitor C12, and the other end of resistor R30 are connected. The other end of resistor R32 and one end of resistor R36 are used to connect the monitoring signal ADA. The other end of capacitor C12 and the other end of resistor R36 are both grounded.

[0091] In this embodiment, the circuit provides weak power to the communication interface S while simultaneously parsing the online signals of the communication interface S to receive data. The processor outputs a calibration signal analog voltage DAA2. The third voltage regulation submodule 510 superimposes the calibration signal analog voltage DAA2 and the first reference voltage VCC1, and performs superposition and amplification operations through operational amplifier U6, outputting the signal through the communication interface S. The second voltage monitoring submodule 530 divides the output voltage (third output voltage) of pin 2 of operational amplifier U6 to obtain the monitoring signal ADA corresponding to the analog voltage. The processor then acquires the analog signal and identifies the calibration signal analog voltage DAA2 to obtain the data to be transmitted back.

[0092] In one embodiment, such as Figure 10 As shown, the key-end power conversion module 100, i.e., the first inlet filter submodule 110 in the first power conversion circuit, includes capacitor C3; the first enable submodule 120 includes resistors R1 and R4; the first voltage change submodule 130 includes transformer control chip U1, capacitor C1, and inductor L1. The transformer control chip U1 is model TPS563201DD, which is the same as the model of the voltage regulation control chip U4 mentioned above; the first voltage regulation submodule 140 includes resistors R2 and R3; and the first output port filter submodule 150 includes capacitor C2.

[0093] One end of capacitor C3 and one end of resistor R1 are connected to pin 3 of transformer control chip U1 and to the input power supply V+. The other ends of resistor R1 and one end of resistor R4 are connected to pin 5 of transformer control chip U1. The other end of resistor R4, pin 1 of transformer control chip U1, and the other end of capacitor C3 are all grounded. Pin 2 of transformer control chip U1 and one end of capacitor C1 are connected to one end of inductor L1. The other end of capacitor C1 is connected to pin 6 of transformer control chip U1. The other end of inductor L1, one end of resistor R2, and one end of capacitor C2 are used to receive the first reference voltage VCC1. Pin 6 of transformer control chip U1 is connected to the other end of capacitor C1. Pin 4 of transformer control chip U1 is connected to the other end of resistor R2 and one end of resistor R3. The other end of resistor R3 is grounded.

[0094] In this embodiment, the circuit converts the input power supply V+ through the transformer control chip U1 in the first voltage transformation submodule 130, ultimately outputting a fixed voltage VCC1, which is the first reference voltage VCC1. The capacitor C3 in the first inlet filter submodule 110 regulates the input power supply V+ and filters out noise. The first enable submodule 120, through the cooperation of resistors R1 and R4, divides the input power supply V+ to enable the first voltage transformation submodule 130 to obtain an enable voltage. The first voltage transformation submodule 130 transforms the obtained enable voltage. The first voltage regulation submodule 140 sets the output voltage of the first voltage transformation submodule 130. Capacitor C2 regulates the output voltage and filters out noise to obtain the first reference voltage VCC1.

[0095] In one embodiment, such as Figure 11 As shown, the lock body voltage conversion module 300, i.e., the second inlet filter submodule 310 in the second power conversion circuit, includes capacitor C5; the second enable submodule 320 includes resistors R5 and R8; the second voltage conversion submodule 330 includes voltage regulation control chip U2, capacitor C4 and inductor L2; the second voltage regulation submodule 340 includes resistors R6 and R7; and the second output port filter submodule 350 includes capacitor C6.

[0096] Among them, the voltage regulation control chip U2 is model TPS563201DD, which is the same as the voltage regulation control chip U4 mentioned above. The communication interface S, one end of capacitor C5, and one end of resistor R5 are connected to pin 3 of voltage regulation control chip U2 to obtain the interface voltage. The other end of resistor R5 and one end of resistor R8 are connected to pin 5 of voltage regulation control chip U2. The other end of capacitor C5 and the other end of resistor R8 are both grounded. Pin 2 of voltage regulation control chip U2 and one end of capacitor C4 are connected to one end of inductor L2. Pin 4 of voltage regulation control chip U2 and one end of resistor R7 are connected to one end of resistor R6. The other end of inductor L2, the other end of resistor R6, and one end of capacitor C6 are used to connect to the output terminal of the second reference voltage VCC2. The other end of resistor R7 and the other end of capacitor C6 are both grounded.

[0097] In this embodiment, the circuit converts the output voltage from the communication interface S through the voltage regulation control chip U2, ultimately outputting a fixed voltage VCC2, which is the second reference voltage VCC2. The capacitor C5 in the second inlet filter submodule 310 regulates and filters noise from the interface voltage input from the communication interface S. Resistors R5 and R8 divide the interface voltage to enable the second voltage conversion submodule 330 to obtain an enable voltage. The second voltage conversion submodule 330 transforms the obtained enable voltage. The second voltage regulation submodule 340 sets the output voltage of the second voltage conversion submodule 330. Capacitor C6 regulates and filters noise from the output voltage to obtain the second reference voltage VCC2.

[0098] Figure 12 This application provides a control method for a smart lock single-wire communication control circuit according to one embodiment. This control method can be applied to the smart lock single-wire communication control circuit provided in the above embodiment. The smart lock single-wire communication control circuit includes a key-end power conversion module 100, a key-end signal transmission module 200, a lock-body voltage conversion module 300, a lock-body signal conversion output module 400, and a key-end signal receiving module 500. The control method of this application embodiment may include the following steps:

[0099] Step 602: The key-end power conversion module 100 adjusts the voltage of the input power supply to obtain the first reference voltage;

[0100] Step 604: The key end signal transmission module 200 acquires the first reference voltage and the first signal analog voltage corresponding to the data to be transmitted at the key end, adjusts the first signal analog voltage to obtain the first output voltage corresponding to the data to be transmitted, and outputs the first output voltage through a shared communication interface to obtain the first interface voltage;

[0101] Step 606: The lock body end voltage conversion module 300 acquires the interface voltage of the communication interface and adjusts the interface voltage to obtain the second reference voltage;

[0102] Step 608: The lock body end signal conversion output module 400 acquires the second reference voltage and the first interface voltage, and parses the first interface voltage to obtain the data to be sent. The lock body end signal conversion output module 400 also acquires the second signal analog voltage of the data to be returned from the lock body end, and adjusts the second signal analog voltage to obtain the second output voltage corresponding to the data to be returned. The second output voltage is then output through the communication interface to obtain the second interface voltage.

[0103] Step 610: The key end signal receiving module 500 acquires the first reference voltage and the second interface voltage. After all the data to be sent to the corresponding lock body end has been sent, it acquires the calibration signal analog voltage and adjusts the calibration signal analog voltage to obtain the corresponding third output voltage. When the third output voltage is equal to the second interface voltage, it analyzes the calibration signal analog voltage to obtain the data to be transmitted back.

[0104] Specifically, refer to Figures 7-11 As shown in the circuit diagram, when the key circuit and the lock body circuit are connected through the communication interface S, the lock body circuit is powered on. After the power conversion circuit completes the voltage conversion, it converts the supply voltage of the interface voltage Vs at the communication interface S into VCC2. The theoretical calculated value of VCC2 here is the same as VCC1. At the same time, the interface voltage Vs powers the operational amplifier chip U3 of the signal conversion output circuit. The operational amplifier chip U3 is an operational amplifier chip that realizes the superposition and output of the VCC2 voltage and the DAB signal voltage Vdab. After the key circuit switches to the data receiving mode, the interface voltage Vs will be maintained at twice the value of VCC1 (same as twice VCC2).

[0105] When the key transmits data to the lock body, the electronic key processor first outputs a high-level PEN signal to establish a power supply voltage, enabling the compatible lock body to operate normally. Then, the electronic key processor converts the data to be transmitted into an analog signal and applies it to the DAA1 position, driving the voltage regulation control chip U4 to output the target voltage VCC1+Vdaa1. Here, Vdaa1 is the aforementioned first signal analog voltage DDA1, and Vdaa1 = VCC1*Dat / 16, where Dat is the 4-bit data corresponding to the data to be transmitted by the electronic key. VCC1 and Vdaa1 simultaneously enter the operational amplifier U5, where they are superimposed. The output value of operational amplifier U5 is transmitted to the voltage regulation feedback terminal of the voltage regulation control chip U4. The voltage regulation feedback terminal adjusts the interface voltage value Vs based on the sensed voltage value, where Vs = VCC1+Vdaa1. The PEN signal in the circuit is the enable signal. The ADA signal is used to enable the voltage regulation control chip U4. DAA1 and DAA2 provide analog output signals to the processor. The ADA signal is connected to the processor's analog-to-digital interface. Then, the lock body obtains the interface voltage value Vs by reading the ADB position voltage Vadb, where Vs = Vadb * (R19 + R20) / R20. The interface voltage value Vs is converted or parsed by a preset analog-to-digital conversion module to obtain the data to be sent, i.e., four-bit binary communication data. The key then adjusts Vdaa1 to 0V, making the interface voltage value Vs of the communication interface S equal to the value of the first reference voltage VCC1. That is, after completing one 4-bit data transmission, the output voltage of the electronic key is pulled down to VCC1, which also pulls Vs down to VCC1. After maintaining this for a certain period of time, when the lock body receives this voltage, the output voltage value of the electronic key is pulled up again (pulling Vs up to 2 * VCC1) to indicate the start of the next 4-bit data transmission.

[0106] The data to be sent is parsed using a preset data decoding and conversion formula, which is: Dbt1=(Vadb*(R19+R20) / R20-VCC2) / VCC2*16, where Dbt1 represents the theoretical conversion data of the voltage-to-digital signal, and Dbt represents the final decoded data received by the lock body. When the decimal part of Dbt1 is less than 0.5, Dbt is the integer part of Dbt1; when the decimal part of Dbt1 is greater than 0.5, it indicates that the circuit offset value is too large, the data is invalid, and Dbt is recorded as unknown data. This method is used for data verification. This formula is also applied to the decoding of data from analog signals to digital signals in the data return process.

[0107] After the electronic key completes data transmission, first adjust the DDA2 signal voltage to Vs-VCC1, that is, adjust the voltage value (Vdaa2) of the calibration signal analog voltage DDA2 to Vs-VCC1. Then, adjust the PEN signal to 0V, cutting off the power supply while ensuring the stability of the interface voltage value Vs at the communication interface S. At the same time, switch the signal transmission circuit with strong power supply to the signal reception circuit with weak power supply, and adjust the DAA1 voltage value Vdaa1 to adjust the interface voltage Vs to 2*VCC1. That is to say, the output voltage of the electronic key at this time is 2*VCC1. To facilitate continuous adjustment of the Vdaa2 value, the lock body forces the interface voltage Vs at communication interface S to oscillate and decrease. The electronic key senses this voltage fluctuation and actively adjusts the Vdaa2 value accordingly. The adjustment range of Vdaa2 is 0 to VCC1. The lock body then adjusts the DAB voltage Vdab to the VCC2 voltage (VCC2 = VCC1). After adjustment, Vdab is calculated according to the formula Vdab = Dbr * VCC2 / 16, where Dbr is the analog voltage of the second signal corresponding to the data to be transmitted. The lock body then reads the ADB position voltage Va. The db module obtains the voltage value of Vs through an analog-to-digital converter and compares it with the converted voltage value of the data to be transmitted. Specifically, it checks if the third output voltage matches the interface voltage value Vs. If they don't match, the value of Vdaa2 is adjusted. After adjusting Vdaa2, a voltage difference exists between the lock body and the third output voltage output by operational amplifier U6 in the key-end signal receiving module 500. This voltage difference causes an increase in the current through resistors R11 and R30, leading to an increase in the voltage at pin 3 of operational amplifier U6. The key-end circuit can acquire the voltage after voltage division via ADA. The voltage acquisition value Vada at the ADA position is obtained, and the third output voltage value Vu = Vada*(R32+R36) / R36 of the operational amplifier U6 is obtained. After analog-to-digital conversion, the electronic key processor compares the voltage values ​​at positions Vdaa2 and Vu. If the voltage value at position Vu is higher than that at Vdaa2, the processor in the electronic key section readjusts the value of Vdaa2. After adjustment, the voltage value Vs at position S of interface will be reduced. If Vu = Vs, it means that the voltage of DAA2 and the voltage of DAB are consistent, which means that the data transmitted by the smart lock to the outside is accepted by the electronic key.Furthermore, the output of operational amplifier U6 first passes through resistor R30, creating a voltage difference across resistor R30. The weak power supply signal receiving circuit of the electronic key, i.e., the key-end signal receiving module 500, will automatically adjust to ensure that Vs = VCC1 + Vdaa2, and that a voltage difference exists across resistor R30. Ultimately, this results in the ADB position monitoring detecting an increase in voltage Vadb. Upon detecting the increase in Vadb, the electronic key actively lowers Vdaa2 to reduce the output voltage of operational amplifier U6, i.e., the third output voltage. After linear adjustment, the interface voltage at communication interface S and Vadb form a fixed voltage division ratio. At this point, the voltage value of Vdaa2 is the analog value of the data transmitted externally by the lock body, i.e., the analog value corresponding to the data to be returned. After analog-to-digital conversion, the electronic key can obtain the data to be returned transmitted by the lock body. The electronic key adjusts Vdaa2 to VCC1, and the lock body adjusts Vdaa2 to VCC2, repeating the above process to achieve the transmission of multiple data to be returned.

[0108] The control method of this embodiment helps to enable the lock body to be powered by a key in the absence of a passive state, and to achieve basic control communication during the power supply process. When bidirectional communication is required, it can still achieve bidirectional communication while ensuring the power supply of the circuit through a single line, which is highly practical and stable.

[0109] The control method provided in this application embodiment can be applied to the smart lock single-line communication control circuit provided in the above embodiment. Its implementation principle and technical effect are similar, and will not be described again here.

[0110] Figure 13 The present application provides a smart lock single-line communication control system, which includes a lock body 702 and an electronic key 704 adapted to the lock body. The system also includes the smart lock single-line communication control circuit provided in the above embodiment, and the system is used to perform smart lock single-line communication control according to the control method provided in the above embodiment.

[0111] The smart lock single-wire communication control system in this embodiment can simultaneously achieve power supply and communication between the electronic key 704 and the lock body 702 through only a single shared communication interface, resulting in a simple structure. Furthermore, the system enables the lock body 702 to be powered by the electronic key 704 even when it is not in a passive state. Specifically, it can provide a driving current of no less than 1A during unlocking or unlocking hold, and can perform basic control communication during power supply. When bidirectional communication is required, it can still achieve bidirectional communication while ensuring power supply to the data processing circuit through a single wire, and can provide a small current supply, typically around 10mA, during communication. All of the above functions are achieved through a single wire, ensuring the simplicity of the structure and the stability of use.

[0112] In the description of this specification, references to terms such as "some embodiments," "other embodiments," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative descriptions of the above terms do not necessarily refer to the same embodiments or examples.

[0113] 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.

[0114] 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 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 modifications and improvements 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. A single-wire communication control circuit for an intelligent lock, characterized in that, The circuit includes: The key-end power conversion module is used to adjust the voltage of the input power supply to obtain the first reference voltage; The key end signal transmission module is connected to the key end power conversion module. It is used to acquire the first signal analog voltage corresponding to the data to be transmitted at the key end, adjust the first signal analog voltage to obtain the first output voltage corresponding to the data to be transmitted, and output the first output voltage through a shared communication interface to obtain the first interface voltage. A lock body end voltage conversion module is connected to the communication interface and is used to adjust the interface voltage at the communication interface to obtain a second reference voltage; The lock body end signal conversion output module is connected to the lock body end voltage conversion module and the communication interface. It is used to receive and parse the first interface voltage to obtain the data to be sent. It is also used to obtain the second signal analog voltage of the data to be returned from the lock body end, adjust the second signal analog voltage to obtain the second output voltage corresponding to the data to be returned, and output the second output voltage through the communication interface to obtain the second interface voltage. The key end signal receiving module is connected to the key end power conversion module and the communication interface. It is used to obtain the calibration signal analog voltage after all the data to be sent to the matching lock body end has been sent, and adjust the calibration signal analog voltage to obtain the corresponding third output voltage. When the third output voltage is equal to the second interface voltage, the calibration signal analog voltage is parsed to obtain the data to be transmitted back.

2. The circuit according to claim 1, characterized in that, The key end signal transmitting module includes: An enabling submodule is used to acquire the input power supply and to output a control signal; A voltage regulation control submodule is connected to the enable submodule. The voltage regulation control submodule receives the control signal and controls the connection state with the communication interface according to the control signal. When the key end signal transmitting module is connected to the communication interface according to the control signal, a start signal is output; when the key end signal transmitting module is disconnected from the communication interface according to the control signal, a shutdown signal is output. The first voltage regulation submodule is connected to the voltage regulation control submodule. The first voltage regulation submodule is used to receive the first reference voltage and the first signal analog voltage. When the first voltage regulation submodule receives the start signal, it adjusts the superimposed voltage of the first reference voltage and the first signal analog voltage to obtain the first output voltage, and outputs the first output voltage through the communication interface to obtain the first interface voltage.

3. The circuit according to claim 2, characterized in that, The key end signal transmitting module further includes: An output filtering module is connected to the first voltage regulating submodule. The output filtering module is used to acquire the first output voltage, filter the first output voltage to obtain the filtered first output voltage, and output the filtered first output voltage through the communication interface to obtain the first interface voltage.

4. The circuit according to claim 3, characterized in that, The key end signal transmitting module further includes: A first interface protection module is connected to the output filtering module. The first interface protection module is used to transmit the filtered first output voltage and to perform voltage regulation on the filtered first output voltage to protect the communication interface.

5. The circuit according to claim 2, characterized in that, The key end signal transmitting module further includes: An inlet filtering submodule is connected to the enable submodule. The inlet filtering submodule is used to filter the input power supply to obtain a filtered input power supply, and then delivers the filtered input power supply to the enable submodule.

6. The circuit according to claim 1, characterized in that, The lock body end signal conversion output module includes: The second voltage regulating submodule is connected to the lock body terminal voltage conversion module, and the second voltage regulating submodule is used to acquire the second signal analog voltage; The first operational amplifier processing submodule is connected to the second voltage regulation submodule. The first operational amplifier processing submodule is used to process the superimposed voltage of the second reference voltage and the second signal analog voltage to obtain the second output voltage, and output the second output voltage through the communication interface to obtain the second interface voltage. A first voltage monitoring submodule is connected to the operational amplifier processing submodule and the communication interface. The first voltage monitoring submodule is used to receive and parse the first interface voltage to obtain the data to be sent.

7. The circuit according to claim 6, characterized in that, The lock body end signal conversion and output module also includes: The second interface protection module is connected to the first voltage monitoring submodule and the first operational amplifier processing submodule. The second interface protection module is used to transmit the second interface voltage and the first interface voltage, and to perform voltage regulation on the second interface voltage to protect the communication interface.

8. The circuit according to claim 1, characterized in that, The key end signal receiving module includes: The third voltage regulation submodule is connected to the key-end power conversion module and is used to acquire the calibration signal analog voltage. The second operational amplifier processing submodule is connected to the third voltage regulation submodule and the communication interface. The second operational amplifier processing submodule is used to process the superimposed voltage of the first reference voltage and the calibration signal analog voltage to obtain the third output voltage. The second operational amplifier processing submodule is also used to obtain the second interface voltage. The second voltage monitoring submodule is connected to the second operational amplifier processing submodule. The second voltage monitoring submodule is used to acquire the third output voltage and, when the third output voltage is equal to the second interface voltage, to parse the calibration signal analog voltage to obtain the data to be transmitted back.

9. A control method for a single-wire communication control circuit of an intelligent lock, characterized in that, The control method is applied to the smart lock single-line communication control circuit according to any one of claims 1-8. The smart lock single-line communication control circuit includes a key-end power conversion module, a key-end signal transmission module, a lock body-end voltage conversion module, a lock body-end signal conversion output module, and a key-end signal receiving module. The method includes the following steps: The key-end power conversion module adjusts the voltage of the input power supply to obtain a first reference voltage; The key end signal transmission module acquires the first reference voltage and the first signal analog voltage corresponding to the data to be transmitted at the key end, adjusts the first signal analog voltage to obtain the first output voltage corresponding to the data to be transmitted, and outputs the first output voltage through a shared communication interface to obtain the first interface voltage. The lock body end voltage conversion module obtains the interface voltage of the communication interface and adjusts the interface voltage to obtain a second reference voltage; The lock body end signal conversion output module acquires the second reference voltage and the first interface voltage, and parses the first interface voltage to obtain the data to be sent. The lock body end signal conversion output module also acquires the second signal analog voltage of the data to be transmitted back from the lock body end, and adjusts the second signal analog voltage to obtain the second output voltage corresponding to the data to be transmitted back, and outputs the second output voltage through the communication interface to obtain the second interface voltage. The key end signal receiving module acquires the first reference voltage and the second interface voltage. After all the data to be sent to the corresponding lock body end has been sent, it acquires the calibration signal analog voltage and adjusts the calibration signal analog voltage to obtain the corresponding third output voltage. When the third output voltage is equal to the second interface voltage, it parses the calibration signal analog voltage to obtain the data to be transmitted back.

10. A smart lock single-line communication control system, characterized in that, The system includes a lock body and an electronic key adapted to the lock body. The system also includes a smart lock single-line communication control circuit according to any one of claims 1-8. The system is used for smart lock single-line communication control by the circuit control method according to claim 9.

Citation Information

Patent Citations

  • Communication circuit between active equipment and inactive equipment as well as lock

    CN102325022A

  • Continuous launching control device for single-wire-system guided rocket projectile and signal processing method

    CN115060114A