Control method of intelligent electronic lock and intelligent electronic lock
By monitoring the current value of the DC motor and combining it with preset parameters to judge the operating status of the smart electronic lock, the problem of low accuracy of the DC motor's rotation coordinates is solved, and cost-effective smart electronic lock control is achieved.
Patent Information
- Application Number
- CN202111515655.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-13
- Publication Date
- 2025-10-03
- Estimated Expiration
- 2041-12-13
AI Technical Summary
When existing smart electronic locks use DC motors, the rotation coordinate accuracy is not high and auxiliary devices are required for status detection, which increases costs.
By monitoring the current value of the DC motor and combining it with the preset current value and time value, the operating status of the smart electronic lock can be judged, eliminating dependence on auxiliary devices.
It can reduce hardware costs while accurately judging the working status of the smart electronic lock and issuing an alarm in abnormal situations.
Smart Images

Figure CN116263581B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent lock control, and specifically to a control method for an intelligent electronic lock and an intelligent electronic lock. Background Art
[0002] Currently, smart electronic locks, such as smart door locks, are generally driven by motors. To control a smart electronic lock, it is first necessary to obtain the operating status and rotational position of the motor driving it, and then further drive and control the smart electronic lock.
[0003] When using a stepper motor, due to its characteristics, its rotation state and rotation angle and other parameters can be directly obtained. However, due to cost control, the motor used in smart electronic locks is usually a DC motor.
[0004] Compared to stepper motors, DC motors have lower rotational coordinate accuracy. Existing technical solutions typically use auxiliary devices such as Hall effect devices and infrared sensors in the motor drive control design to detect and process the door lock control status to achieve rotational position calibration. However, the use of auxiliary devices requires additional, costly computational logic and investment. Summary of the Invention
[0005] Based on this, the present application provides a control method for an intelligent electronic lock that eliminates the need for auxiliary devices and can determine the motor's operating status and rotational position simply by measuring the DC motor's current. Specifically, the present application improves the DC motor drive circuit, monitors the DC motor's real-time current data, analyzes and processes the collected data, and thus infers the operating status of the intelligent electronic lock.
[0006] According to one aspect of the present application, a control method for a smart electronic lock is provided, wherein the smart electronic lock is driven by a DC motor, and the method comprises:
[0007] Obtaining a temporal distribution result of a sampled current value of the DC motor;
[0008] Based on the temporal distribution result of the sampled current value and the preset state current value and state time value, the operating state of the smart electronic lock is obtained;
[0009] Based on the operating status, the smart electronic lock is controlled.
[0010] According to some embodiments, the state current value includes a starting current value, a rotation process current value, and a rotation position current value.
[0011] According to some embodiments, the status time value includes a start timeout value, a rotation timeout value, and a rotation-to-position timeout value.
[0012] According to some embodiments, the aforementioned method also includes: if the sampling current value is equal to the starting current value, and the duration of the sampling current value being equal to the starting current value is less than the starting timeout value, it is judged that the smart electronic lock is in the starting state; if the sampling current value is equal to the starting current value, and the duration of the sampling current value being equal to the starting current value is not less than the starting timeout value, it is judged that the starting of the smart electronic lock is blocked.
[0013] According to some embodiments, the aforementioned method also includes: if the sampling current value is equal to the rotation process current value, and the duration of the sampling current value being equal to the rotation process current value is less than the rotation timeout value, then it is judged that the smart electronic lock is in a rotation state; if the sampling current value is greater than the rotation process current value, and the duration of the sampling current value being equal to the rotation process current value is not less than the rotation timeout value, then it is judged that the smart electronic lock is blocked from rotating into place.
[0014] According to some embodiments, the aforementioned method further includes: if the sampling current value is equal to the rotation-to-position current value, and the duration of the sampling current value being equal to the rotation-to-position current value reaches the rotation-to-position timeout value, then it is determined that the smart electronic lock has been rotated to the position.
[0015] According to some embodiments, the aforementioned method further includes: when it is determined that the startup of the smart electronic lock is blocked, adjusting and increasing the input power of the DC motor.
[0016] According to some embodiments, the aforementioned method further includes: when it is determined that the smart electronic lock is obstructed from rotating into position, adjusting and increasing the current value of the rotation process.
[0017] According to some embodiments, the aforementioned method further includes: when the smart electronic lock is rotated into place, stopping the rotation of the DC motor.
[0018] According to one aspect of the present application, a smart electronic lock is proposed, comprising: a sampling unit, which obtains a temporal distribution result of a sampled current value of the DC motor; a state judgment unit, which obtains an operating state of the smart electronic lock based on the temporal distribution result of the sampled current value and a preset state current value and state time value; and a lock control unit, which controls the smart electronic lock based on the operating state.
[0019] According to one aspect of the present application, an electronic device is proposed, comprising: one or more processors; a storage device for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors implement any of the methods described above.
[0020] Beneficial effects of this application:
[0021] According to some embodiments, the present application can determine the working status of the electronic lock by simply sampling the current value of the DC motor of the smart electronic lock, thus getting rid of the reliance of the prior art on auxiliary devices.
[0022] According to some embodiments, the present application scheme pre-sets relevant parameters of current value and time value under different working states for the smart electronic lock based on the properties of the DC motor itself, so that the working state of the electronic lock can be judged only by real-time sampling of the current value of the DC motor.
[0023] According to some embodiments, the present application solution can control the smart electronic lock based on the determined working status of the smart electronic lock, so that the preset parameters of the smart electronic lock can be appropriately modified according to the changes that occur during use of the smart electronic lock, and an alarm can also be issued when the smart electronic lock has an abnormality and cannot correct itself. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without exceeding the scope of protection required by this application.
[0025] Figure 1 A flow chart showing a method for controlling a smart electronic lock according to an embodiment of the present application is shown.
[0026] Figure 2 A circuit diagram showing a control method for a smart electronic lock according to an embodiment of the present application is shown.
[0027] Figure 3 A schematic diagram showing the current value sampling results of a control method for a smart electronic lock according to an embodiment of the present application is shown.
[0028] Figure 4 A block diagram of a smart electronic lock according to an embodiment of the present application is shown.
[0029] Figure 5 A block diagram of an electronic device according to an exemplary embodiment is shown. DETAILED DESCRIPTION
[0030] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be embodied in many forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete and will fully convey the concepts of the example embodiments to those skilled in the art. Like reference numerals in the drawings represent like or similar parts, and thus repetitive description thereof will be omitted.
[0031] The described features, structures or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of these specific details, or other modes, components, materials, devices or the like may be employed. In these cases, well-known structures, methods, devices, implementations, materials or operations will not be shown or described in detail.
[0032] The flowcharts shown in the accompanying drawings are for illustrative purposes only and do not necessarily include all contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may be decomposed, while others may be combined or partially combined. Therefore, the actual execution order may vary depending on the actual situation.
[0033] The terms "first," "second," and the like in the specification and claims of this application and the accompanying drawings are used to distinguish between different objects, not to describe a particular order. Furthermore, the terms "including," "having," and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or elements is not limited to the listed steps or elements but may optionally include steps or elements not listed, or may optionally include other steps or elements inherent to the process, method, product, or apparatus.
[0034] Smart electronic locks are driven by motors. Controlling them requires information such as the motor's operating status. While stepper motors can easily provide information about their operating status and position, cost considerations often force smart electronic locks to use DC motors. Using DC motors, however, requires auxiliary equipment to obtain information such as the lock's operating status.
[0035] The technical solution proposed in this application can determine the operating status and operating position of the DC motor of the smart electronic lock by sampling only the current value of the DC motor and combining it with preset related current value parameters. Specifically, based on the driving characteristics of the DC motor, this application captures and monitors the driving current value of the DC motor during the driving process, and uses the established judgment logic to infer the operating status of the DC motor. This achieves the goal of solving the misalignment problem caused by the low accuracy of the DC motor's rotation coordinates while meeting the functional requirements of the existing smart electronic lock solution for lock control and reducing hardware cost overhead. The following will illustrate the technical solution of this application with the help of the accompanying drawings and examples.
[0036] Figure 1 A flow chart showing a method for controlling a smart electronic lock according to an embodiment of the present application is shown.
[0037] like Figure 1 As shown, in S101, the temporal distribution result of the sampled current value of the DC motor is obtained.
[0038] According to an embodiment, the sampling current value of the DC motor may be sampled by utilizing the driving circuit of the DC motor.
[0039] According to one embodiment, reference may be made to Figure 2 The circuit diagram of a control method for a smart electronic lock according to an embodiment of the present application is shown in FIG. The main control MCU monitors the current state of the DC motor during driving by using the AD sampling method through the ADC7 pin.
[0040] According to one embodiment, the temporal distribution of the sampled current values of the DC motor is a record of the sampled current values in the time dimension. The sampling result can be represented by a current distribution curve.
[0041] According to one embodiment, in actual applications, the current values sampled in real time at each moment may fluctuate. To facilitate processing, the sampled current values need to be filtered. Specifically, the sampling results of current values fluctuating within the same range are unified, and abnormal, occasional, excessively large or low sampled current values are filtered out to eliminate unnecessary interference and ensure the validity of the sampled data.
[0042] According to one embodiment, the current value of the DC motor can be sampled starting from the moment the smart electronic lock sends a drive signal. The drive signal is an electronic signal sent to the DC motor to start rotating, which can be initiated by the main control MCU of the smart electronic lock.
[0043] In S103, the operating state of the smart electronic lock is obtained based on the temporal distribution result of the sampled current value and the preset state current value and state time value.
[0044] In S105 , the smart electronic lock is controlled based on the operating status.
[0045] According to one embodiment, the smart electronic lock needs to pre-set the current value and time value parameters used as a comparison reference before leaving the factory. The setting process is to run the DC motor normally and record the current value of each operating state and the duration of the corresponding current value.
[0046] According to an example embodiment, the state current value includes a starting current value, a rotation process current value, and a rotation position current value.
[0047] According to an exemplary embodiment, the state time value includes a startup timeout value and a rotation timeout value, wherein the startup timeout value is the maximum threshold value of the duration of the startup state, and the rotation timeout value is the maximum threshold value of the duration of the DC motor maintaining normal rotation.
[0048] According to one embodiment, the temporal distribution of the sampled current value can generally reflect the three operating states of the smart electronic lock. Figure 3 The schematic diagram of the current value sampling results of the embodiment of the present application is shown, wherein the horizontal axis represents time, the vertical axis represents current value, and point O is the origin. As mentioned above, when the drive signal for driving the DC motor is triggered, the sampling current value of the DC motor begins to be recorded. Among them, the I1 record represents the starting current value when the DC motor starts, and its current value is usually higher. It can be seen that after the sampling record starts, the starting current value will continue for a period of time until T1 and then decrease to I2. I2 is the process current value during the stable rotation process of the DC motor. When I2 is maintained until T2, it rises to I3 current value. I3 is the rotation current value of the DC motor after it rotates to the full position and is passively stopped due to the restriction of the limit device. When I3 is maintained until T3, the current value returns to zero, that is, the rotation of the DC motor stops, which means that the DC motor rotates to the full position. The process from O to T1 represents the process from starting to stable rotation of the DC motor, which also reflects the starting timeout value; the process from T1 to T2 represents the process of normal uniform rotation of the DC motor, which also reflects the rotation timeout value; the process from T2 to T3 represents the process of stopping driving the DC motor after the DC motor rotates to the position, which also reflects the rotation to the position timeout value.
[0049] According to an example embodiment, the operating state of the smart electronic lock includes a startup state and a startup blocked state.
[0050] According to one embodiment, if the sampled current value is equal to the startup current value, and the duration of the sampled current value being equal to the startup current value is less than the startup timeout value, the smart electronic lock is determined to be in the startup state. In other words, if the sampling result is consistent with the performance of the preset parameters, it indicates that the smart electronic lock is operating normally in this operating state.
[0051] According to another embodiment, if the sampling current value is equal to the starting current value, and the duration of the sampling current value being equal to the starting current value is not less than the starting timeout value, it is determined that the smart electronic lock is blocked from starting. In other words, the DC motor of the smart electronic lock has experienced too long a time during the starting phase, that is, exceeded the timeout period. Figure 3 The time from O to T1 in the figure indicates that the electronic lock may be stuck and unable to rotate normally, such as rust or foreign objects blocking it.
[0052] According to one embodiment, when it is determined that the smart electronic lock is blocked from starting, the input power of the DC motor can be adjusted and increased to try to rotate the DC motor. If the DC motor still fails to start, an alarm message can be issued to promptly notify the user or maintenance personnel to perform maintenance and inspection.
[0053] According to an example embodiment, the operating state of the smart electronic lock further includes the smart electronic lock being in a rotating state and the smart electronic lock being blocked from rotating into place.
[0054] According to one embodiment, if the sampled current value is equal to the rotational current value, and the duration of this equalization is less than the rotational timeout, the smart electronic lock is determined to be in the rotational state. In other words, if the sampling result is consistent with the pre-set parameters, the smart electronic lock is operating normally in this state.
[0055] According to another embodiment, if the sampled current value is greater than the rotation process current value, and the duration of the sampled current value being equal to the rotation process current value is not less than the rotation timeout value, then it is determined that the smart electronic lock is obstructed from rotating into position. This may be due to the DC motor's reduced rotation speed, resulting in a longer time to complete the specified rotation stroke. This may be because the DC motor encounters greater resistance during rotation than when it leaves the factory. In this case, the aforementioned rotation process current value can be adjusted to increase, that is, the parameter of the rotation process current value can be adjusted to adapt to the current lubrication level of the DC motor's rotating mechanism. It can also prompt an alarm that the DC motor's rotating mechanism requires lubrication measures.
[0056] According to another embodiment, if the sampled current value is equal to the rotation process current value, and the duration of the sampled current value being equal to the rotation process current value is not less than the rotation timeout value, it is determined that the smart electronic lock is blocked from rotating into position. In other words, the DC motor of the smart electronic lock has experienced too long a time in the normal rotation stage, that is, exceeded the Figure 3 The time from T1 to T2 in the figure is the same as the time from T1 to T2 in the figure. This situation may be caused by the rotation part of the DC motor of the electronic lock being disconnected from the limit device, resulting in the DC motor's rotation not being properly hindered after it rotates to the desired position. An alarm message can be issued to promptly notify the user or maintenance personnel to perform maintenance and repairs.
[0057] According to another embodiment, the sampled current value at this stage may be higher than the current value during the rotation process, which may mean that the DC motor encounters greater resistance during rotation than when it leaves the factory, which means that the DC motor's rotating mechanism needs lubrication.
[0058] According to an example embodiment, the operating state of the smart electronic lock further includes the smart electronic lock being rotated into position.
[0059] According to one embodiment, if the sampled current value is equal to the fully rotated current value, and the duration of the sampled current value equaling the fully rotated current value reaches the fully rotated timeout value, the smart electronic lock is determined to have fully rotated. If the sampled current value is equal to the fully rotated current value and the duration of the sampled current value reaches the fully rotated timeout value, it means that the rotation of the DC motor is hindered by the limit device, that is, the lock head has been pushed forward or retracted to the full position. In this case, the DC motor needs to be stopped.
[0060] Figure 4 A block diagram of a smart electronic lock according to an embodiment of the present application is shown.
[0061] like Figure 4 As shown, the intelligent electronic lock includes a sampling unit 401, a state judgment unit 403 and a controlled unit 405, wherein:
[0062] The sampling unit 401 obtains the temporal distribution result of the sampled current value of the DC motor.
[0063] The state judgment unit 403 obtains the operating state of the smart electronic lock based on the temporal distribution result of the sampled current value and the preset state current value and state time value.
[0064] The lock control unit 405 controls the smart electronic lock based on the operating status.
[0065] The smart electronic lock performs functions similar to the aforementioned method, and reference may be made to the previous description, which will not be repeated here.
[0066] Figure 5 A block diagram of an electronic device according to an exemplary embodiment is shown.
[0067] Refer to the following Figure 5 hereinafter, an electronic device 500 according to this embodiment of the present application is described. Figure 5The electronic device 500 shown is merely an example and should not limit the functions and scope of use of the embodiments of the present application.
[0068] like Figure 5 As shown, electronic device 500 is implemented as a general-purpose computing device. Components of electronic device 500 may include, but are not limited to, at least one processing unit 510, at least one storage unit 520, a bus 530 connecting various system components (including storage unit 520 and processing unit 510), a display unit 540, and the like.
[0069] The storage unit stores program codes, which can be executed by the processing unit 510, so that the processing unit 510 performs the methods described in this specification according to various exemplary embodiments of the present application. For example, the processing unit 510 can perform the methods described above.
[0070] The storage unit 520 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 5201 and / or a cache memory unit 5202 , and may further include a read-only memory unit (ROM) 5203 .
[0071] The storage unit 520 may also include a program / utility 5204 having a set (at least one) of program modules 5205, such program modules 5205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0072] Bus 530 may represent one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0073] The electronic device 500 can also communicate with one or more external devices 5001 (e.g., a keyboard, a pointing device, a Bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 500, and / or any device that enables the electronic device 500 to communicate with one or more other computing devices (e.g., a router, a modem, etc.). Such communication can occur via an input / output (I / O) interface 550. Furthermore, the electronic device 500 can communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network such as the Internet) via a network adapter 560. The network adapter 560 can communicate with other modules of the electronic device 500 via the bus 530. It should be understood that, although not shown in the figures, other hardware and / or software modules can be used in conjunction with the electronic device 500, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0074] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described here can be implemented by software or by combining software with necessary hardware. The technical solution according to the embodiment of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, or a network device, etc.) to execute the above method according to the embodiment of the present application.
[0075] The software product can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but not limited to, a system, device or component of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0076] Computer-readable storage media may include a data signal propagated in baseband or as part of a carrier wave, which carries readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The readable storage medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination thereof.
[0077] The program code for performing the operations of the present application can be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, and the like, as well as conventional procedural programming languages such as "C" or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, as a stand-alone software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (e.g., via the Internet using an Internet service provider).
[0078] The computer-readable medium carries one or more programs. When the one or more programs are executed by the device, the computer-readable medium implements the aforementioned functions.
[0079] Those skilled in the art will appreciate that the modules described above can be distributed in the device according to the description of the embodiment, or can be modified accordingly to be used in one or more devices that are different from the embodiment. The modules of the above embodiment can be combined into one module or further divided into multiple submodules.
[0080] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the embodiments of the present application.
[0081] The embodiments of the present application are described in detail above. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only intended to help understand the method and core ideas of the present application. At the same time, changes or modifications made by those skilled in the art based on the ideas of the present application, the specific implementation methods, and the scope of application of the present application, all fall within the scope of protection of the present application. In summary, the contents of this specification should not be construed as limiting the present application.
Claims
1. A method for controlling an intelligent electronic lock driven by a DC motor, the method comprising: Obtaining a temporal distribution result of a sampled current value of the DC motor; Based on the temporal distribution result of the sampled current value and the preset state current value and state time value, the operating state of the smart electronic lock is obtained; Based on the operating status, controlling the smart electronic lock; Wherein, the state current value includes the starting current value, and the state time value includes the starting timeout value. The operation state of the smart electronic lock is obtained based on the distribution result of the sampled current value over time and the preset state current value and state time value, including: If the sampling current value is equal to the starting current value, and the duration of the sampling current value being equal to the starting current value is less than the starting timeout value, it is determined that the smart electronic lock is in the starting state; If the sampled current value is equal to the starting current value, and the duration that the sampled current value is equal to the starting current value is not less than the starting timeout value, it is determined that the smart electronic lock is blocked from starting.
2. The method according to claim 1, wherein The state current value also includes a rotation process current value and a rotation position current value.
3. The method according to claim 2, wherein The state time value also includes a rotation timeout value and a rotation-to-position timeout value.
4. The method according to claim 3, wherein The method of obtaining the operating state of the smart electronic lock based on the temporal distribution result of the sampled current value and the preset state current value and state time value further includes: If the sampled current value is equal to the rotation process current value, and the duration of the sampled current value being equal to the rotation process current value is less than the rotation timeout value, it is determined that the smart electronic lock is in a rotation state; If the sampling current value is greater than the rotation process current value, and the duration of the sampling current value being equal to the rotation process current value is not less than the rotation timeout value, it is determined that the smart electronic lock is blocked from rotating into position.
5. The method according to claim 3, wherein The method of obtaining the operating state of the smart electronic lock based on the temporal distribution result of the sampled current value and the preset state current value and state time value further includes: If the sampled current value is equal to the rotation-to-position current value, and the duration for which the sampled current value is equal to the rotation-to-position current value reaches the rotation-to-position timeout value, it is determined that the smart electronic lock has been rotated to the position.
6. The method according to claim 1, wherein The controlling the smart electronic lock based on the operating state includes: When it is determined that the smart electronic lock is blocked from starting, the input power of the DC motor is adjusted and increased.
7. The method according to claim 4, wherein The controlling the smart electronic lock based on the operating state includes: When it is determined that the intelligent electronic lock is blocked from rotating into position, the current value of the rotation process is adjusted and increased.
8. The method according to claim 5, wherein The controlling the smart electronic lock based on the operating state includes: When the intelligent electronic lock is rotated into place, the rotation of the DC motor is stopped.
9. A smart electronic lock, characterized in that: The smart electronic lock is driven by a DC motor and is used to perform the method according to any one of claims 1 to 8. The smart electronic lock includes: A sampling unit, which obtains a temporal distribution result of a sampled current value of the DC motor; A state judgment unit, which obtains the operating state of the smart electronic lock based on the temporal distribution result of the sampled current value and a preset state current value and state time value; The lock control unit controls the smart electronic lock based on the operating status.
10. An electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Electronic lock and method for positioning the electronic lock
US20190003207A1