Low power electronic lock
Patent Information
- Application Number
- CN202611318967.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-28
- Publication Date
- 2026-10-30
AI Technical Summary
[0007]鉴于以上技术问题,本发明提供了一种低功耗电子锁,旨在解决现有电子锁难以根据实际使用规律合理选择功耗状态,长期空闲时存在不必要待机消耗,而频繁切换功耗状态又会增加恢复能耗的问题,以兼顾电子锁的低功耗运行和操作响应能力
本发明将长期保持工作的基础电路与多个功能模块的供电进行分离,使部分功能模块断电后仍可借助独立物理检测支路和低功耗协处理器检测实际操作,从而能够在不依赖主控制器持续主动轮询的情况下关闭非必要功能供电;通过记录操作事件的时间信息,并针对触摸操作形成相互独立的历史事件序列,对同源事件间隔进行区间化处理,结合近期事件分布、历史统计状态及重复规律获得下一触摸操作事件的预测时间范围,使电子锁能够按照实际使用习惯判断后续可能持续的空闲时间。进一步将预计空闲时长与结合不同功耗状态的待机功耗差和状态切换能耗确定的省电切换时长进行比较,可在空闲时间较长时进一步关闭非必要功能模块,在空闲时间较短或预测结果可靠性不足时保持相应检测功能,减少频繁进入和退出较低功耗状态产生的额外能耗。
Smart Images

Figure CN123016554A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electronic lock technology, and in particular to a low-power electronic lock. Background Technology
[0002] As fingerprint recognition, password input, card recognition, display, voice and wireless communication functions are gradually integrated into electronic locks, the number of continuously operating circuits and functional modules inside electronic locks is increasing. Since electronic locks usually rely on batteries for long-term power supply, standby power consumption has a significant impact on battery life.
[0003] The patent application number 201811239942.X, entitled "Low Power Control Method, Device and Smart Electronic Door Lock", wakes up the main control chip and Zigbee communication module after obtaining a target wake-up signal, and keeps the main control chip in sleep mode when no target signal is obtained, thereby reducing the power consumption generated by the continuous operation of the wireless communication part.
[0004] The patent application number 201911072214.9, entitled "A Low-Power Circuit System and Control Method for Smart Locks", selects an LDO linear buck power supply or a DC-DC buck power supply to power the lock depending on whether the lock is in sleep or working state, so as to balance sleep power consumption and power conversion efficiency during operation.
[0005] The patent application number 202020281060.6, entitled "A Low-Power WiFi Visual Smart Lock", uses low-power WiFi connection to meet the needs of door lock information reception and audio and video communication.
[0006] The aforementioned solutions reduce the energy consumption of electronic locks by addressing module hibernation, power conversion, and communication power consumption. However, the actual use of electronic locks is significantly intermittent, with substantial differences in continuous idle time across different periods. If power consumption is controlled solely based on fixed operating states or predetermined trigger conditions, unnecessary functional checks may still be maintained during prolonged periods of inactivity. Conversely, prematurely entering a lower power consumption state during brief idle periods increases the additional energy consumption required for subsequent power restoration. For electronic locks with multiple operation sources, the occurrence patterns of these sources may interfere with each other, making it difficult to accurately determine the actual idle time. Therefore, it remains necessary to improve the rationality of electronic locks' selection of different standby power states, ensuring reliable response to operational events while further reducing long-term standby power consumption. Summary of the Invention
[0007] In view of the above technical problems, the present invention provides a low-power electronic lock, which aims to solve the problems that existing electronic locks have difficulty in reasonably selecting power consumption states according to actual usage patterns, have unnecessary standby power consumption when idle for a long time, and have increased recovery power consumption when frequently switching power consumption states, so as to balance the low-power operation and operation response capability of the electronic lock.
[0008] The present invention provides a low-power electronic lock, including a main controller, a timing unit, a low-power coprocessor, multiple operation modules corresponding to different operation event sources, a constant power supply domain for powering the main controller, the timing unit and the low-power coprocessor, and multiple controllable functional power supply domains that respectively power the multiple operation modules and are controlled by the main controller to switch on and off. At least one of the operation modules is provided with a physical detection branch that is powered independently of the corresponding controllable function power domain. The physical detection branch can still output a detection signal representing the operation event after the corresponding controllable function power domain is powered off. The low-power coprocessor receives the detection signal and outputs a wake-up signal corresponding to the source of the event to the main controller. At least one of the operation modules relies on the power supply of the corresponding controllable functional power domain for event detection, and loses its event detection capability after the power supply of the corresponding controllable functional power domain is de-energized. The electronic lock has a first power consumption state and a second power consumption state. In the first power consumption state, the operation module whose event detection depends on the power supply of the corresponding controllable functional power domain is kept in a detectable state. In the second power consumption state, the controllable functional power domain corresponding to the operation module is turned off, and the main controller stops actively polling operation events, while maintaining the ability to respond to the wake-up signal output by the low-power coprocessor. The main controller establishes historical event information based on the operation event time information provided by the timing unit, obtains the predicted time range of the next operation event corresponding to the operation module powered by the corresponding controllable functional power domain, determines the expected idle time based on the current time and the start time of the predicted time range, and controls the electronic lock to maintain the first power consumption state or enter the second power consumption state based on the comparison result of the expected idle time and the preset power saving switching time. In the second power consumption state, when the physical detection branch detects an actual physical operation event, the low-power coprocessor wakes up the main controller, the main controller exits the second power consumption state, and restores the power supply to the operation module that the event detection depends on the power supply of the corresponding controllable functional power domain.
[0009] Furthermore, the plurality of operation modules include a fingerprint authentication module, an encrypted card authentication module, and a touch module; The multiple controllable power domains include a fingerprint power domain that powers the fingerprint authentication module, an encryption card power domain that powers the encryption card authentication module, and a touch power domain that powers the touch module; the fingerprint authentication module is provided with a fingerprint press detection branch, the encryption card authentication module is provided with an encryption card insertion detection branch, the fingerprint press detection branch and the encryption card insertion detection branch are the physical detection branches, and the touch detection of the touch module depends on the power supply of the touch power domain; In the first power consumption state, the power domain of the fingerprint function and the power domain of the encryption card function are turned off, while the power domain of the touch function is kept powered. In the second power consumption state, the touch function power domain is further turned off based on the first power consumption state.
[0010] Furthermore, the fingerprint press detection branch includes at least one mechanical switch that switches according to the finger press action, and the mechanical switch is connected to the first detection input terminal of the low-power coprocessor; The encryption card insertion detection branch includes a detection contact that cooperates with the encryption card socket. When a contact-type encryption card is inserted into the encryption card socket, the detection contact causes a level change at the second detection input terminal of the low-power coprocessor. The low-power coprocessor determines the source of the actual physical operation event based on the level change of the first detection input terminal or the second detection input terminal, and outputs the corresponding wake-up signal to the main controller.
[0011] Furthermore, the main controller records the time information of fingerprint press events, encrypted card insertion events, and touch operation events according to the event source, and forms mutually independent historical event sequences; The main controller obtains the same-source event interval based on the difference in time information between two adjacent touch operation events in the historical event sequence corresponding to the touch operation event. The fingerprint press event and the encryption card insertion event are not included in the calculation of the same-source event interval.
[0012] Furthermore, the main controller maps the multiple intervals of the same source events to multiple time intervals respectively. The width of the multiple time intervals increases with the increase of the time interval, and forms an interval coding sequence according to the time interval in which each interval of the same source event is located.
[0013] Furthermore, the main controller counts the number of occurrences of each time interval within a preset recent historical range to form a recent event distribution, and uses an exponential moving average method to update the historical statistical status corresponding to each time interval based on the recent event distribution, so that the impact of the interval between similar events corresponding to recent touch operation events on the historical statistical status is greater than that of the interval between similar events corresponding to earlier touch operation events.
[0014] Furthermore, the main controller identifies a repeating pattern from the interval encoding sequence, determines the target time interval corresponding to the next co-originating event interval based on the current phase of the repeating pattern, and determines the predicted time range of the next touch operation event based on the current time information provided by the timing unit and the target time interval. When the number of valid samples in the interval coding sequence reaches a preset number, and the target time interval meets the preset support conditions in the recent event distribution or the historical statistical state, the predicted time range is determined as a valid prediction result.
[0015] Furthermore, the expected idle time is the duration between the current time and the start time of the predicted time range; The preset power-saving switching time is determined based on the standby power consumption difference between the first power consumption state and the second power consumption state and the state switching energy consumption. The state switching energy consumption includes the energy consumption generated when the electronic lock enters the second power consumption state from the first power consumption state and when it is powered by the function recovery from the second power consumption state. The preset power-saving switching time increases with the increase of the state switching energy consumption and decreases with the increase of the standby power consumption difference. When a valid prediction result is obtained and the expected idle time reaches the preset power-saving switching time, the main controller controls the electronic lock to enter the second power consumption state. When the expected idle time does not reach the preset power-saving switching time, or when no effective prediction result is obtained, the main controller controls the electronic lock to maintain the first power consumption state.
[0016] Furthermore, in the second power consumption state, when the fingerprint press detection branch detects a fingerprint press event, the low-power coprocessor wakes up the main controller, the main controller powers the fingerprint function power domain, and restores the touch function power domain without requiring fingerprint authentication to pass. When the encryption card insertion detection branch detects an encryption card insertion event, the low-power coprocessor wakes up the main controller, the main controller powers the encryption card function power domain, and restores the touch function power domain without requiring successful encryption card authentication.
[0017] Furthermore, the electronic lock also includes a display module, a voice module, a motor drive module, and an output functional power domain that supplies power to the display module, the voice module, and the motor drive module. The main controller controls the power supply of the output functional power domain according to the operation process, and controls the motor drive module to perform the unlocking action after the identity authentication is successful. After this operation is completed, the main controller shuts down the controllable function power domains that are no longer needed in this operation, updates the historical event information, and redetermines whether the electronic lock should maintain the first power consumption state or enter the second power consumption state based on the updated prediction results.
[0018] The technical solution disclosed herein has the following beneficial effects: This invention separates the power supply of the long-term operating base circuit from that of multiple functional modules. This allows some functional modules to continue detecting actual operations even after power loss via independent physical detection branches and low-power coprocessors. This enables the shutdown of power to unnecessary functions without relying on continuous active polling by the main controller. By recording the time information of operation events and forming independent historical event sequences for touch operations, the intervals of events from the same source are processed into intervals. Combining recent event distribution, historical statistical states, and repetitive patterns, the predicted time range of the next touch operation event is obtained, allowing the electronic lock to determine the likely duration of subsequent idle time based on actual usage habits. Furthermore, the predicted idle time is compared with the power-saving switching time determined by combining the standby power consumption difference and state switching energy consumption under different power consumption states. This allows for further shutdown of unnecessary functional modules when the idle time is long, while maintaining corresponding detection functions when the idle time is short or the prediction result is unreliable, reducing the additional energy consumption caused by frequent entry and exit from lower power consumption states. Attached Figure Description
[0019] Figure 1 This is a structural block diagram of a low-power electronic lock as described in the embodiments of this specification; Figure 2 This is a circuit diagram of the main controller in the embodiments of this specification; Figure 3 This is a circuit schematic diagram of the constant power supply domain in the embodiments of this specification; Figure 4 This is a circuit diagram of the timing unit in the embodiments of this specification; Figure 5 This is a circuit schematic of the low-power coprocessor in the embodiments of this specification; Figure 6 This is a circuit schematic diagram of the fingerprint function power domain in the embodiments of this specification; Figure 7 This is a circuit schematic diagram of the fingerprint authentication module interface in the embodiments of this specification; Figure 8 This is a schematic diagram of the fingerprint pressure detection branch in the embodiments of this specification; Figure 9 This is a circuit schematic diagram of the power supply domain of the encryption card function in the embodiments of this specification; Figure 10This is a circuit diagram of the encryption card authentication module and the encryption card insertion detection branch in the embodiments of this specification; Figure 11 This is a circuit schematic diagram of the power domain for the touch function in the embodiments of this specification; Figure 12 This is a circuit schematic diagram of the touch module in the embodiments of this specification; Figure 13 This is a circuit schematic diagram of the output power domain in the embodiments of this specification; Figure 14 This is a circuit schematic diagram of the voice module in the embodiments of this specification; Figure 15 This is a circuit schematic diagram of the display module in the embodiments of this specification; Figure 16 This is a circuit diagram of the motor drive module and the unlocking motor interface in the embodiments of this specification. Detailed Implementation
[0020] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided to make this disclosure more comprehensive and complete, and to fully convey the concept of the example embodiments to those skilled in the art. The described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a full understanding of embodiments of this disclosure. However, those skilled in the art will recognize that the technical solutions of this disclosure can be practiced with one or more of the specific details omitted, or other methods, components, apparatus, steps, etc., can be employed. In other instances, well-known technical solutions are not shown or described in detail to avoid obscuring various aspects of this disclosure.
[0021] Furthermore, the accompanying drawings are merely illustrative of this disclosure. The same reference numerals in the drawings denote the same or similar parts, and therefore repeated descriptions of them will be omitted. Some block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.
[0022] In one embodiment, refer to Figures 1 to 5As shown in the figure, the present invention provides a low-power electronic lock, including a main controller 1, a timing unit 2, a low-power coprocessor 3, multiple operation modules corresponding to different operation event sources, a constant power supply domain 4 that supplies power to the main controller 1, the timing unit 2 and the low-power coprocessor 3, and multiple controllable functional power supply domains that supply power to the multiple operation modules and are controlled by the main controller 1 to switch on and off. The main controller 1 can be an FM33FH0X6 main control chip U8. The main control chip U8 is used to process the operating logic of the electronic lock and has control terminals for controlling the on / off of power supply branches for different functions. The timing unit 2 can be a PN8303 clock chip U6. The clock chip U6 is connected to crystal oscillator Y1, capacitors C37 and C38, and is connected to the main controller 1 via RTC_CLK, RTC_Data, and RTC_CE to provide the current time and the time information corresponding to the operation event. The low-power coprocessor 3 can be a TS8102 chip U7. The TS8102 chip U7 is connected to the main controller 1 and is used to provide a wake-up signal to the main controller 1 after detecting an external operation event.
[0023] The constant power supply domain 4 can be formed by a voltage regulator chip U1 and its peripheral circuitry. The voltage regulator chip U1 can be an SGM2202-3.3YN5G / TR, with its input connected to VCC_Battery and its output forming the MCU_3.3V power supply network. Capacitors C2 and C3, and resistor R1 are included in this power supply circuit. The main controller 1, timing unit 2, and low-power coprocessor 3 are connected to this constant power supply domain 4. When the constant power supply domain 4 is powered, the main controller 1 can still reduce its own operating power consumption according to its current working state, and its power supply state does not change with the switching on and off of multiple controllable functional power supply domains.
[0024] Multiple controllable functional power domains each have an enable terminal controlled by the main controller 1. The main controller 1 connects or disconnects the corresponding power supply branch by changing the control state of the corresponding enable terminal. Multiple operation modules are connected to the corresponding controllable functional power domains, enabling the electronic lock to shut off the power supply for functions that do not require continuous operation during standby. The disclosed solution adopts a multi-path independent power supply structure, with the main controller controlling the on / off state of different power supply components according to the operating status.
[0025] At least one of the operation modules is provided with a physical detection branch that is powered independently of the corresponding controllable function power domain. The physical detection branch can still output a detection signal representing the operation event after the corresponding controllable function power domain is powered off. The low-power coprocessor 3 receives the detection signal and outputs a wake-up signal corresponding to the source of the event to the main controller 1. The power supply for the physical detection branch is separate from the controllable power domain required for the corresponding operation module to perform its normal function. When the controllable power domain corresponding to the operation module is disconnected, the operation module stops performing its normal function, but the physical detection branch still has the electrical conditions to generate a detection signal. After receiving the detection signal, the low-power coprocessor 3 identifies the source of the operation event based on the detection input terminal that generated the detection signal and provides a corresponding wake-up signal to the main controller 1. The main controller 1 does not need to continuously read the operating status of the operation module during the period when the operation module stops receiving power.
[0026] At least one of the operation modules relies on the power supply of the corresponding controllable functional power domain for event detection, and loses its event detection capability after the power supply of the corresponding controllable functional power domain is de-energized. The event detection circuit of this type of operating module is powered by the corresponding controllable functional power domain. When the corresponding controllable functional power domain is kept powered, the operating module can detect external operating events; when the corresponding controllable functional power domain is disconnected, the corresponding event detection circuit stops working. Therefore, different operating modules have different event detection conditions after the corresponding functional power supply is disconnected, which can be used as a basis for selecting the functional power supply range during standby.
[0027] The electronic lock has a first power consumption state and a second power consumption state. In the first power consumption state, the operation module whose event detection depends on the power supply of the corresponding controllable functional power domain is kept in a detectable state. In the second power consumption state, the controllable functional power domain corresponding to the operation module is turned off, and the main controller 1 stops actively polling operation events, while maintaining the ability to respond to the wake-up signal output by the low-power coprocessor 3. In this embodiment, the first power consumption state and the second power consumption state are distinguished by the actual on / off state of the controllable functional power domain and the working state of the operation event detection path. The first power consumption state retains the event detection path that depends on the power supply of the corresponding controllable functional power domain, while the second power consumption state further shuts down the functional power supply corresponding to the event detection path. In the second power consumption state, the actual physical operations during standby are detected by the working physical detection branch and the low-power coprocessor 3, and the main controller 1 does not need to actively poll to confirm external operations.
[0028] The first power consumption state and the second power consumption state are determined by the actual working state of each power supply part and detection path of the electronic lock, and are not distinguished by a sleep mode with a specific name inside the main controller 1.
[0029] The main controller 1 establishes historical event information based on the operation event time information provided by the timing unit 2, obtains the predicted time range of the next operation event corresponding to the operation module powered by the corresponding controllable functional power domain, determines the expected idle time based on the current time and the start time of the predicted time range, and controls the electronic lock to maintain the first power consumption state or enter the second power consumption state based on the comparison result of the expected idle time and the preset power saving switching time. When an operation event occurs, the main controller 1 obtains the time information provided by the timing unit 2 and saves the operation event and its corresponding time information as historical event information. In this embodiment, the timing unit 2 is used to provide a time reference and is not required to periodically wake up the main controller 1 according to the predicted time.
[0030] The predicted time range indicates the time frame in which the next operational event may occur. The time between the current time and the start of this predicted time range is used as the expected idle duration. The expected idle duration reflects the time scale in which the electronic lock can maintain its current standby state before the next operational event may occur. Based on this, the main controller 1 determines whether it is appropriate to further reduce the functional power supply range during standby.
[0031] Different power states have different continuous power consumption, and state switching and function recovery themselves also consume energy. Predicting the occurrence time of the next operation event allows the selection of power state to be combined with the expected duration of idle time, reducing the additional energy consumption caused by repeated switching of power state when the idle time is short.
[0032] In the second power consumption state, when the physical detection branch detects an actual physical operation event, the low-power coprocessor 3 wakes up the main controller 1, the main controller 1 exits the second power consumption state, and restores the power supply to the operation module that the event detection depends on the power supply of the corresponding controllable functional power domain.
[0033] After the physical operation causes the physical detection branch to generate a detection signal, the low-power coprocessor 3 receives the detection signal and outputs a corresponding wake-up signal to the main controller 1. After the main controller 1 resumes operation, the operation module that relies on the power supply of the corresponding controllable functional power domain for controllable event detection regains its operating voltage, enabling the operation module to restore its event detection capability. When exiting the second power consumption state, each controllable functional power domain is still controlled separately by the main controller 1, and the corresponding power supply can be restored according to the function required for the current operation, without the need to restore the power supply of all functions at the same time.
[0034] In one embodiment, refer to Figures 6 to 12As shown, the multiple operation modules include a fingerprint authentication module 9, an encrypted card authentication module 10, and a touch module 11; the multiple controllable functional power domains include a fingerprint function power domain 5 that powers the fingerprint authentication module 9, an encrypted card function power domain 6 that powers the encrypted card authentication module 10, and a touch function power domain 7 that powers the touch module 11; the fingerprint authentication module 9 is correspondingly provided with a fingerprint press detection branch 15, the encrypted card authentication module 10 is correspondingly provided with an encrypted card insertion detection branch 16, the fingerprint press detection branch 15 and the encrypted card insertion detection branch 16 are the physical detection branches, and the touch detection of the touch module 11 depends on the touch function power domain 7 for power supply; The fingerprint function power domain 5 can be formed by a voltage regulator chip U2 and its peripheral circuitry. The input of the voltage regulator chip U2 is connected to VCC_Battery, and its output forms the Module1_3.3V power supply network. The main controller 1 controls the enable state of the voltage regulator chip U2 through Module1_En. The fingerprint authentication module 9 can be connected to the main controller 1 through interface J3. Interface J3 is connected to Module1_3.3V, and transmits interrupt signals and communication data during the fingerprint authentication process to the main controller 1 through FP_INT, FP_RX_M, and FP_TX_M.
[0035] The power domain 6 of the encryption card function can be formed by the voltage regulator chip U3 and its peripheral circuits. The output of the voltage regulator chip U3 forms the Module2_3.3V power supply network, and the main controller 1 controls the enable state of the voltage regulator chip U3 through Module2_En. The encryption card authentication module 10 can connect to the contact encryption card through the encryption card socket J15. The encryption card socket J15 has IC_CLK, IC_RST, and IC_I / O communication terminals, and the Module2_3.3V provides the operating voltage to the authentication circuit of the encryption card. The contact encryption card contains an encryption chip, circuitry, and a metal interface. After being inserted into the encryption card socket J15, it can communicate with the main controller 1.
[0036] The touch function power domain 7 can be formed by a voltage regulator chip U4 and its peripheral circuitry. The output of the voltage regulator chip U4 forms the Module3_3.3V power supply network. The main controller 1 controls the enable state of the voltage regulator chip U4 through Module3_En. The touch module 11 can use a touch chip U12, which is a CY8C4125AXI-483, and is powered by Module3_3.3V. The touch module 11 outputs touch event signals through Touch_Int and transmits data with the main controller 1 through EZIIC_SCL and EZIIC_SDA. Since the touch chip U12 and its detection circuit are powered by Module3_3.3V, the touch module 11 cannot continue to generate touch detection signals after the touch function power domain 7 is powered off.
[0037] In the first power consumption state, the power domain 5 of the fingerprint function and the power domain 6 of the encryption card function are turned off, while the power domain 7 of the touch function is kept powered. In this state, the main controller 1 shuts off the power supply to the corresponding functions of voltage regulator chips U2 and U3 via Module1_En and Module2_En, causing the fingerprint authentication module 9 and the encryption card authentication module 10 to stop normal authentication operations. Simultaneously, it keeps the voltage regulator chip U4 operational via Module3_En, allowing the touch module 11 to continue to have touch detection capabilities. After the normal authentication functions of the fingerprint authentication module 9 and the encryption card authentication module 10 cease, their corresponding physical detection branches are still maintained by the constant power supply side.
[0038] In the second power consumption state, the touch function power domain 7 is further turned off based on the first power consumption state.
[0039] Upon entering this state, the main controller 1 further shuts down the voltage regulator chip U4 via Module3_En, causing Module3_3.3V to stop supplying power to the touch module 11, and the touch module 11 accordingly loses its touch detection capability. The fingerprint pressure detection branch 15, the encrypted card insertion detection branch 16, and the low-power coprocessor 3 remain connected to the detection path that is not shut down with the power domain of the corresponding authentication function, so that the electronic lock retains the physical operation wake-up conditions even after the fingerprint authentication, encrypted card authentication, and touch detection functions are powered off.
[0040] The fingerprint press detection branch 15 includes at least one mechanical switch that switches according to the finger press action, and the mechanical switch is connected to the first detection input terminal of the low power coprocessor 3; In this embodiment, the fingerprint pressure detection branch 15 may include mechanical switches S1, S2, S3, and S4, which are connected between the FP_Check detection node and the ground terminal. FP_Check is connected to MCU_3.3V via resistor R16 to form a pull-up state. When a finger presses, causing at least one mechanical switch to activate, FP_Check changes from its original level to a low level and transmits this level change to the low-power coprocessor 3. The pull-up power supply of FP_Check comes from MCU_3.3V and does not depend on Module1_3.3V which powers the fingerprint authentication module 9, so the fingerprint function power domain 5 can still detect finger pressure even when it is turned off.
[0041] The encryption card insertion detection branch 16 includes a detection contact that cooperates with the encryption card socket. When a contact encryption card is inserted into the encryption card socket, the detection contact causes a level change at the second detection input terminal of the low-power coprocessor 3. In this embodiment, the encryption card insertion detection branch 16 corresponds to the IC_Check detection node. IC_Check is pulled up by a resistor R32 connected to MCU_3.3V. The encryption card uses a contact-type IC structure and utilizes a reserved contact connected to the ground terminal for insertion detection. When the encryption card is inserted into the encryption card socket J15, the corresponding detection contact is turned on, pulling IC_Check low. This detection process does not rely on Module2_3.3V to maintain the encryption card authentication function; the encryption card insertion action can still be detected even after the encryption card function power domain 6 is turned off.
[0042] The low-power coprocessor 3 determines the source of the actual physical operation event based on the level change of the first detection input terminal or the second detection input terminal, and outputs the corresponding wake-up signal to the main controller 1.
[0043] The low-power coprocessor 3 can be a TS8102 chip U7. FP_Check and IC_Check are connected to the two detection inputs of the TS8102 chip U7, respectively. The TS8102 chip U7 also has FP_Wake and IC_Wake outputs connected to the main controller 1, respectively. When the FP_Check level changes, the TS8102 chip U7 provides a wake-up signal corresponding to the fingerprint press event to the main controller 1 through FP_Wake; when the IC_Check level changes, the TS8102 chip U7 provides a wake-up signal corresponding to the encryption card insertion event to the main controller 1 through IC_Wake. The two detection inputs form independent detection paths, enabling the main controller 1 to determine the source of the physical operation event when it is woken up.
[0044] In the second power consumption state, when the fingerprint press detection branch 15 detects a fingerprint press event, the low-power coprocessor 3 wakes up the main controller 1, the main controller 1 powers the fingerprint function power domain 5, and restores the power supply of the touch function power domain 7 without requiring fingerprint authentication to pass. After receiving the wake-up signal corresponding to FP_Wake, the main controller 1 restores the operation of the voltage regulator chip U2 via Module1_En, and Module1_3.3V resumes power supply to the fingerprint authentication module 9. Simultaneously, it restores the operation of the voltage regulator chip U4 via Module3_En, allowing the touch module 11 to regain power from Module3_3.3V. The signal generated by the fingerprint pressure detection branch 15 is used to characterize the physical operation of a finger press. Fingerprint authentication is performed separately after the fingerprint authentication module 9 resumes power supply; the restoration of the touch function power domain 7 does not depend on this authentication result.
[0045] When the encryption card insertion detection branch 16 detects an encryption card insertion event, the low-power coprocessor 3 wakes up the main controller 1. The main controller 1 powers the encryption card function power domain 6 and restores the power supply to the touch function power domain 7 without requiring successful encryption card authentication.
[0046] After receiving the wake-up signal corresponding to IC_Wake, the main controller 1 restores the operation of the voltage regulator chip U3 via Module2_En, and Module2_3.3V re-supplyes the encryption card authentication module 10, enabling it to communicate with the inserted encryption card via IC_CLK, IC_RST, and IC_I / O. Simultaneously, it restores power supply to the touch function power domain 7 via Module3_En. The encryption card insertion detection branch 16 confirms that the physical operation of card insertion has occurred. Encryption card authentication is performed after the encryption card authentication module 10 receives power; the restoration of power supply to the touch module 11 does not depend on whether this authentication is successful.
[0047] In one embodiment, the main controller 1 records the time information of fingerprint press events, encrypted card insertion events, and touch operation events according to the event source, and forms mutually independent historical event sequences; When each operation event occurs, the main controller 1 associates and saves the event source with the time information provided by the timing unit 2. The fingerprint press event corresponds to the operation source of the fingerprint authentication module 9, the encrypted card insertion event corresponds to the operation source of the encrypted card authentication module 10, and the touch operation event corresponds to the operation source of the touch module 11. Operation events from different sources are written into their respective historical event sequences, ensuring that the occurrence of one operation event does not alter the temporal relationship between adjacent events in another operation event sequence.
[0048] Historical event sequences can be stored in a fixed-length circular manner to save recent operation events. When the number of stored events reaches the set capacity, the oldest operation event is replaced by a newly generated operation event, keeping the amount of data stored by the main controller 1 within a defined range. Each historical event record includes at least an event identifier to distinguish the source of the operation event and the corresponding time information.
[0049] The main controller 1 obtains the same-source event interval based on the difference in time information between two adjacent touch operation events in the historical event sequence corresponding to the touch operation event. The fingerprint press event and the encryption card insertion event are not included in the calculation of the same-source event interval.
[0050] Let the time of the i-th touch operation event in the historical event sequence corresponding to the touch operation event be . , No. The time for the next touch operation event is The corresponding interval of the same source event satisfy: ; The interval between touch events is determined solely by the timing information of two adjacent touch events. If a fingerprint press or encrypted card insertion event occurs between two touch events, this event is not considered an intermediate time point for calculating the interval. This preserves the inherent temporal relationships of the touch events themselves, preventing the insertion of other events from altering the corresponding interval data.
[0051] The main controller 1 maps the multiple originating event intervals to multiple time intervals respectively. The width of the multiple time intervals increases with the increase of the time interval, and forms an interval coding sequence according to the time interval where each originating event interval is located.
[0052] In practical implementation, nonlinear interval division can be used for continuously increasing time scales. Let... The base time unit, the kth time interval It can be represented as: ; When the interval between events of the same origin Located in the time range Within that time, the interval of the same source event is encoded as... The corresponding interval identifiers are used, and these interval identifiers are arranged in chronological order according to the time intervals of the events from the same source, forming an interval coding sequence. Basic time unit. The timescale used to record operation events by the electronic lock is determined.
[0053] For any interval of homogeneous events Its corresponding interval index It can also be determined using the following formula: ; In the formula, Interval between events of the same origin The corresponding interval number, Indicates rounding down. When Falling into When there are multiple time intervals, the interval of the same source event is encoded as an interval identifier corresponding to that time interval, and an interval encoding sequence is formed according to the time sequence of each interval identifier.
[0054] When using the above interval division, time intervals closer to shorter time scales have smaller interval widths, which gradually increase as the time interval increases. Shorter intervals between similar events can preserve finer temporal differences, while longer intervals between similar events are represented by coarser time scales, reducing the statistical range occupied by the large-span original time data. Time intervals can also be divided using other non-linear division methods that widen with increasing time intervals.
[0055] The main controller 1 counts the number of occurrences of each time interval within a preset recent historical range to form a recent event distribution. It then uses an exponential moving average method to update the historical statistical status corresponding to each time interval based on the recent event distribution, so that the impact of the interval between similar events corresponding to recent touch operation events on the historical statistical status is greater than that of the interval between similar events corresponding to earlier touch operation events.
[0056] The preset recent historical range can be composed of the most recent preset number of interval identifiers in the interval coding sequence. The main controller 1 counts the number of times the interval identifier corresponding to each time interval appears within that range to obtain the distribution of each time scale in recent touch operations. As new touch operation events are written into the historical event sequence, the recent event distribution is updated accordingly.
[0057] Let the number of recent occurrences of the k-th time interval at the nth update be . The historical statistical status of the k-th time interval after the nth update is as follows: The weighting coefficient of the exponential moving average is The historical statistical status can then be updated according to the following formula: ; in, , This represents the historical statistical state retained since the last update for this time interval. Weighting coefficients. This is used to adjust the influence of recent event distribution and existing historical information on the update results. As new recent event distributions continue to participate in the update, the influence of earlier historical data on the current historical statistical status gradually decreases, thus enabling the historical statistical status to be updated according to the changes in the recent touch operation time pattern of the electronic lock.
[0058] In one embodiment, the main controller 1 identifies a repeating pattern from the interval encoding sequence, determines the target time interval corresponding to the next co-originating event interval based on the current phase of the repeating pattern, and determines the predicted time range of the next touch operation event based on the current time information provided by the timing unit 2 and the target time interval. In practice, the main controller 1 compares the recently occurring interval codes according to the order of the interval codes in the interval coding sequence. When a group of interval codes repeats in the same order, this group of interval codes is taken as a repetition pattern, and the period of the repetition pattern is represented by the number of codes contained in this group of interval codes. Let the period of the repetition pattern be... The number of interval codes currently involved in repeating pattern detection is The position of the next common-source event interval in the repeating pattern. It can be determined according to the following formula: ; In the formula, This indicates the position of the next common-source event interval within the repeating pattern. This represents the number of interval codes currently involved in the repetition pattern determination. For the identified repetitive pattern period, This indicates the modulo operation. Main controller 1 determines the position... The corresponding interval code determines the target time interval. The target time interval gives the time scale of the next common source event interval, which, combined with the current time information provided by timing unit 2, forms the predicted time range of the next touch operation event.
[0059] When the number of valid samples in the interval coding sequence reaches a preset number, and the target time interval meets the preset support conditions in the recent event distribution or the historical statistical state, the predicted time range is determined as a valid prediction result.
[0060] Valid samples are touch operation event data that can form a common event interval and complete time interval mapping. Preset support conditions are used to determine whether the target time interval obtained from the repetitive pattern has a corresponding historical data basis, which can be determined based on the occurrence of the target time interval in recent event distribution and the corresponding historical statistical status. When the number of samples is insufficient or the target time interval lacks corresponding recent and historical data support, this prediction is not considered a valid prediction result. The recent event distribution and historical statistical status follow the processing results in Example 3 and are not recalculated in this example.
[0061] The estimated idle time is the duration from the current time to the start time of the predicted time range; The estimated idle time represents the length of time from the current moment until the next touch operation event is expected to begin. After obtaining a valid prediction result, the main controller 1 calculates the estimated idle time based on the current time and the start time of the predicted time range provided by the timing unit 2. In this embodiment, the timing unit 2 is used to provide time information, and the power consumption state is selected by the main controller 1 based on the estimated idle time.
[0062] The preset power-saving switching time is determined based on the standby power consumption difference between the first power consumption state and the second power consumption state and the state switching energy consumption. The state switching energy consumption includes the energy consumption generated when the electronic lock enters the second power consumption state from the first power consumption state and when it is powered by the function recovery from the second power consumption state. The preset power-saving switching time increases with the increase of the state switching energy consumption and decreases with the increase of the standby power consumption difference. Let the standby power of the electronic lock in its first power consumption state be... The standby power in the second power consumption state is ,and The energy consumption during the state transition from the first power consumption state to the second power consumption state and back to the second power consumption state is... When the duration is T, the energy consumption corresponding to maintaining the first power consumption state. It can be represented as: ; Energy consumption after entering the second power consumption state It can be represented as: ; When the energy consumed by the two control methods is equal during this time period, the corresponding time is the critical time when entering the second power consumption state can achieve energy-saving benefits. Let Then preset power-saving switching time It can be determined according to the following formula: ; In the formula, Let be the difference in standby power consumption between the first and second power states. This formula shows that when power consumption increases during state transitions, the second power state needs to be maintained for a longer period to compensate for the energy consumed during the transition; conversely, when the difference in standby power consumption between the two power states increases, the time required to reach energy balance is correspondingly shortened. This energy balance relationship is used to avoid frequent power state transitions when the expected idle time is short.
[0063] The standby power and state switching energy consumption corresponding to the first and second power consumption states can be predetermined based on the power consumption parameters of the electronic lock in the corresponding working state, and a preset power-saving switching duration can be obtained accordingly. When the main controller 1 performs power consumption state selection, it calls the predetermined preset power-saving switching duration, without having to re-perform energy consumption measurement before each state switch.
[0064] When a valid prediction result is obtained and the expected idle time reaches the preset power-saving switching time, the main controller 1 controls the electronic lock to enter the second power consumption state. Let the expected idle time be When satisfied When the expected idle time has reached the power-saving time condition required to enter the second power consumption state, the main controller 1 controls the electronic lock to enter the second power consumption state. At this time, the energy savings generated by the lower standby power consumption during the expected idle time can compensate for the energy consumption caused by the state transition.
[0065] When the expected idle time does not reach the preset power-saving switching time, or when no effective prediction result is obtained, the main controller 1 controls the electronic lock to maintain the first power consumption state.
[0066] When satisfied If the expected idle time is insufficient to meet the corresponding power-saving switching conditions, the main controller 1 keeps the electronic lock in the first power consumption state. Even when no valid prediction result is obtained, the first power consumption state is maintained, ensuring that power consumption state switching is based on prediction results supported by historical event data.
[0067] Example 5 Reference Figures 13 to 16 As shown, the electronic lock also includes a display module 12, a voice module 13, a motor drive module 14, and an output functional power domain 8 that supplies power to the display module 12, the voice module 13, and the motor drive module 14. The main controller 1 controls the power supply of the output functional power domain 8 according to the operation process, and controls the motor drive module 14 to perform the unlocking action after the identity authentication is passed. The output power domain 8 can be composed of a voltage regulator chip U5 and its peripheral circuitry. The voltage regulator chip U5 can be an AP2972, with its input connected to VCC_Battery and its output forming a Module4_4.0V power supply network. The enable terminal receives the Module4_En control signal output by the main controller 1. The main controller 1 controls the output power domain 8 to be turned on or off via Module4_En. Module4_4.0V provides operating voltage for the display module 12, the voice module 13, and the motor drive module 14, respectively.
[0068] The voice module 13 may include a voice chip U9, which may be an MH8060, and is connected to the main controller 1 via Voice_RST, Voice_TG1, Voice_PWM1, and Voice_PWM2. The voice output is connected to an external speaker via interface J4. The display module 12 may include an OLED display U11, and is connected to the main controller 1 via OLED_CS, OLED_RST, OLED_MISO, OLED_MOSI, and OLED_CLK. The motor drive module 14 may include a motor drive chip U10, which may be an SGM42507. Its control terminals are connected to the main controller 1 via Moto_IA and Moto_IB, and its output terminals Moto_OutA and Moto_OutB are connected to the unlocking motor via motor interface J5.
[0069] After successful authentication, the main controller 1 restores power to the output function power domain 8, displays relevant information on the control display module 12 according to the current operation, and controls the voice module 13 to output corresponding voice information. Simultaneously, it controls the motor drive module 14 via Moto_IA and Moto_IB, causing the motor drive module 14 to output drive signals to the unlocking motor via Moto_OutA and Moto_OutB. The output function power domain 8 is activated to provide operating power to the aforementioned output modules. Whether the unlocking motor operates is still controlled by the main controller 1 based on the authentication result and the current operation process. In the disclosed scheme, the corresponding output power is activated and the unlocking, display, and voice announcements are executed only after authentication confirmation.
[0070] After this operation is completed, the main controller 1 shuts down the controllable function power domains that are no longer needed in this operation, updates the historical event information, and redetermines whether the electronic lock should maintain the first power consumption state or enter the second power consumption state based on the updated prediction results.
[0071] After the display, voice, and unlocking actions are completed, the main controller 1 can shut down the output function power domain 8 via Module4_En, and determine the power supply status of other controllable function power domains based on the functions that still need to be maintained after this operation. The main controller 1 writes the operation event and the corresponding time information provided by the timing unit 2 into the historical event information. The updating of the historical event information and the acquisition of the prediction results adopt the processing method in the aforementioned embodiment. After completing the corresponding power consumption state selection based on the updated prediction results, the electronic lock re-enters the standby operation process.
[0072] This embodiment provides a low-power electronic lock's overall workflow, specifically including the following steps S101-108: S101, after the electronic lock is powered on, the constant power supply domain 4 supplies power to the main controller 1, the timing unit 2 and the low-power coprocessor 3. The main controller 1 completes initialization and controls the power supply of the corresponding controllable function power domain according to the current working needs.
[0073] S102, after this operation is completed, the main controller 1 obtains the operation event time information provided by the timing unit 2, and updates the corresponding historical event information according to the event source. For the touch operation event corresponding to the touch module 11, the same source event interval, interval coding sequence, recent event distribution and historical statistical status are updated in the manner described in the above embodiment.
[0074] S103, the main controller 1 obtains the predicted time range of the next touch operation event according to the updated historical event information and the method described in Embodiment 4, and determines the expected idle time. The main controller 1 compares the expected idle time with the preset power-saving switching time. If a valid prediction result is obtained and the expected idle time reaches the preset power-saving switching time, step S104 is executed; otherwise, step S105 is executed.
[0075] S104, the main controller 1 controls the electronic lock to enter the second power consumption state, shutting down the fingerprint function power domain 5, the encryption card function power domain 6, and the touch function power domain 7, and stopping the active polling operation events. The low-power coprocessor 3 maintains the ability to detect the output signals of the fingerprint pressure detection branch 15 and the encryption card insertion detection branch 16.
[0076] S105, the main controller 1 controls the electronic lock to maintain the first power consumption state, turns off the fingerprint function power domain 5 and the encryption card function power domain 6, and keeps the touch function power domain 7 powered, so that the touch module 11 maintains its touch detection capability. After the touch module 11 detects a touch operation event, it provides a touch event signal to the main controller 1 through Touch_Int.
[0077] S106, in the second power consumption state, when the fingerprint press detection branch 15 detects a fingerprint press event, the low-power coprocessor 3 outputs a corresponding wake-up signal to the main controller 1 according to the level change of FP_Check, and the main controller 1 restores power supply to the fingerprint function power domain 5 and the touch function power domain 7; when the encrypted card insertion detection branch 16 detects an encrypted card insertion event, the low-power coprocessor 3 outputs a corresponding wake-up signal to the main controller 1 according to the level change of IC_Check, and the main controller 1 restores power supply to the encrypted card function power domain 6 and the touch function power domain 7. The restoration of the touch function power domain 7 is not conditional upon successful authentication.
[0078] S107, the main controller 1 calls the corresponding authentication function according to the source of the current operation event. After successful authentication, the main controller 1 controls the power supply of the output function power domain 8 and controls the corresponding modules in the display module 12, voice module 13 and motor drive module 14 to work according to the current operation. Among them, the motor drive module 14 drives the unlocking motor to perform the unlocking action.
[0079] S108 After this operation is completed, the main controller 1 shuts down the controllable function power domain that is no longer needed, writes the operation event and the time information provided by the timing unit 2 into the corresponding historical event information, and returns to step S102 to redetermine whether the electronic lock enters the first power consumption state or the second power consumption state based on the updated historical event information.
[0080] Beneficial effects: This invention separates the power supply of the long-term operating base circuit from that of multiple functional modules. This allows some functional modules to continue detecting actual operations even after power loss via independent physical detection branches and low-power coprocessors. This enables the shutdown of power to unnecessary functions without relying on continuous active polling by the main controller. By recording the time information of operation events and forming independent historical event sequences for touch operations, the intervals of events from the same source are processed into intervals. Combining recent event distribution, historical statistical states, and repetitive patterns, the predicted time range of the next touch operation event is obtained, allowing the electronic lock to determine the likely duration of subsequent idle time based on actual usage habits. Furthermore, the predicted idle time is compared with the power-saving switching time determined by combining the standby power consumption difference and state switching energy consumption under different power consumption states. This allows for further shutdown of unnecessary functional modules when the idle time is long, while maintaining corresponding detection functions when the idle time is short or the prediction result is unreliable, reducing the additional energy consumption caused by frequent entry and exit from lower power consumption states.
[0081] It should be noted that although several modules or units of the system have been mentioned in the detailed description above, this division is not mandatory. In fact, according to exemplary embodiments of this disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.
[0082] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and embodiments are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the claims.
[0083] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A low-power electronic lock, characterized in that, It includes a main controller, a timing unit, a low-power coprocessor, multiple operation modules corresponding to different operation event sources, a constant power supply domain that supplies power to the main controller, the timing unit and the low-power coprocessor, and multiple controllable functional power supply domains that supply power to the multiple operation modules and are controlled by the main controller to switch on and off. At least one of the operation modules is provided with a physical detection branch that is powered independently of the corresponding controllable function power domain. The physical detection branch can still output a detection signal representing the operation event after the corresponding controllable function power domain is powered off. The low-power coprocessor receives the detection signal and outputs a wake-up signal corresponding to the source of the event to the main controller. At least one of the operation modules relies on the power supply of the corresponding controllable functional power domain for event detection, and loses its event detection capability after the power supply of the corresponding controllable functional power domain is de-energized. The electronic lock has a first power consumption state and a second power consumption state. In the first power consumption state, the operation module whose event detection depends on the power supply of the corresponding controllable functional power domain is kept in a detectable state. In the second power consumption state, the controllable functional power domain corresponding to the operation module is turned off, and the main controller stops actively polling operation events, while maintaining the ability to respond to the wake-up signal output by the low-power coprocessor. The main controller establishes historical event information based on the operation event time information provided by the timing unit, obtains the predicted time range of the next operation event corresponding to the operation module powered by the corresponding controllable functional power domain, determines the expected idle time based on the current time and the start time of the predicted time range, and controls the electronic lock to maintain the first power consumption state or enter the second power consumption state based on the comparison result of the expected idle time and the preset power saving switching time. In the second power consumption state, when the physical detection branch detects an actual physical operation event, the low-power coprocessor wakes up the main controller, the main controller exits the second power consumption state, and restores the power supply to the operation module that the event detection depends on the power supply of the corresponding controllable functional power domain.
2. The low-power electronic lock according to claim 1, characterized in that, The multiple operation modules include a fingerprint authentication module, an encrypted card authentication module, and a touch module; The multiple controllable power domains include a fingerprint power domain that powers the fingerprint authentication module, an encryption card power domain that powers the encryption card authentication module, and a touch power domain that powers the touch module; the fingerprint authentication module is provided with a fingerprint press detection branch, the encryption card authentication module is provided with an encryption card insertion detection branch, the fingerprint press detection branch and the encryption card insertion detection branch are the physical detection branches, and the touch detection of the touch module depends on the power supply of the touch power domain; In the first power consumption state, the power domain of the fingerprint function and the power domain of the encryption card function are turned off, while the power domain of the touch function is kept powered. In the second power consumption state, the touch function power domain is further turned off based on the first power consumption state.
3. The low-power electronic lock according to claim 2, characterized in that, The fingerprint press detection branch includes at least one mechanical switch that switches according to the finger press action, and the mechanical switch is connected to the first detection input terminal of the low power coprocessor; The encryption card insertion detection branch includes a detection contact that cooperates with the encryption card socket. When a contact-type encryption card is inserted into the encryption card socket, the detection contact causes a level change at the second detection input terminal of the low-power coprocessor. The low-power coprocessor determines the source of the actual physical operation event based on the level change of the first detection input terminal or the second detection input terminal, and outputs the corresponding wake-up signal to the main controller.
4. The low-power electronic lock according to claim 2, characterized in that, The main controller records the time information of fingerprint press events, encrypted card insertion events, and touch operation events according to the event source, and forms an independent historical event sequence; The main controller obtains the same-source event interval based on the difference in time information between two adjacent touch operation events in the historical event sequence corresponding to the touch operation event. The fingerprint press event and the encryption card insertion event are not included in the calculation of the same-source event interval.
5. The low-power electronic lock according to claim 4, characterized in that, The main controller maps the multiple intervals of the same source events to multiple time intervals respectively. The width of the multiple time intervals increases with the increase of the time interval, and forms an interval coding sequence according to the time interval in which each interval of the same source event is located.
6. The low-power electronic lock according to claim 5, characterized in that, The main controller counts the number of occurrences of each time interval within a preset recent historical range to form a recent event distribution. It then uses an exponential moving average method to update the historical statistical status corresponding to each time interval based on the recent event distribution, so that the impact of the interval between similar events corresponding to recent touch operation events on the historical statistical status is greater than that of the interval between similar events corresponding to earlier touch operation events.
7. The low-power electronic lock according to claim 6, characterized in that, The main controller identifies a repeating pattern from the interval encoding sequence, determines the target time interval corresponding to the next co-originating event interval based on the current phase of the repeating pattern, and determines the predicted time range of the next touch operation event based on the current time information provided by the timing unit and the target time interval. When the number of valid samples in the interval coding sequence reaches a preset number, and the target time interval meets the preset support conditions in the recent event distribution or the historical statistical state, the predicted time range is determined as a valid prediction result.
8. The low-power electronic lock according to claim 7, characterized in that, The estimated idle time is the duration from the current time to the start time of the predicted time range; The preset power-saving switching time is determined based on the standby power consumption difference between the first power consumption state and the second power consumption state and the state switching energy consumption. The state switching energy consumption includes the energy consumption generated when the electronic lock enters the second power consumption state from the first power consumption state and when it is powered by the function recovery from the second power consumption state. The preset power-saving switching time increases with the increase of the state switching energy consumption and decreases with the increase of the standby power consumption difference. When a valid prediction result is obtained and the expected idle time reaches the preset power-saving switching time, the main controller controls the electronic lock to enter the second power consumption state. When the expected idle time does not reach the preset power-saving switching time, or when no effective prediction result is obtained, the main controller controls the electronic lock to maintain the first power consumption state.
9. The low-power electronic lock according to claim 2, characterized in that, In the second power consumption state, when the fingerprint press detection branch detects a fingerprint press event, the low-power coprocessor wakes up the main controller, the main controller powers the fingerprint function power domain, and restores the touch function power domain without requiring fingerprint authentication to pass. When the encryption card insertion detection branch detects an encryption card insertion event, the low-power coprocessor wakes up the main controller, the main controller powers the encryption card function power domain, and restores the touch function power domain without requiring successful encryption card authentication.
10. The low-power electronic lock according to claim 1, characterized in that, The electronic lock also includes a display module, a voice module, a motor drive module, and an output functional power domain that supplies power to the display module, the voice module, and the motor drive module. The main controller controls the power supply of the output functional power domain according to the operation process, and controls the motor drive module to perform the unlocking action after the identity authentication is successful. After this operation is completed, the main controller shuts down the controllable function power domains that are no longer needed in this operation, updates the historical event information, and redetermines whether the electronic lock should maintain the first power consumption state or enter the second power consumption state based on the updated prediction results.
Citation Information
Patent Citations
Low power energy adjusting and controlling method and device for intelligent electronic door lock and intelligent electronic door lock
CN109356459A
Low-power-consumption circuit system applied to intelligent door lock and control method thereof
CN110969730A
Low-power-consumption WiFi visual intelligent lock
CN211294008U