CN115856478A - Method and device for monitoring running state of electronic lock, equipment and storage medium - Google Patents

Method and device for monitoring running state of electronic lock, equipment and storage medium Download PDF

Info

Publication number
CN115856478A
CN115856478A CN202211655145.6A CN202211655145A CN115856478A CN 115856478 A CN115856478 A CN 115856478A CN 202211655145 A CN202211655145 A CN 202211655145A CN 115856478 A CN115856478 A CN 115856478A
Authority
CN
China
Prior art keywords
electronic lock
permanent magnet
magnet synchronous
synchronous motor
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211655145.6A
Other languages
Chinese (zh)
Inventor
戴希谦
桑胜伟
黄兴主
张纪伟
王少华
余开军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dessmann China Machinery and Electronic Co Ltd
Original Assignee
Dessmann China Machinery and Electronic Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dessmann China Machinery and Electronic Co Ltd filed Critical Dessmann China Machinery and Electronic Co Ltd
Priority to CN202211655145.6A priority Critical patent/CN115856478A/en
Publication of CN115856478A publication Critical patent/CN115856478A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a method, a device and equipment for monitoring the running state of an electronic lock and a storage medium, wherein the monitoring method comprises the following steps: controlling the permanent magnet synchronous motor to adjust the running state of the electronic lock according to a user instruction; the user instruction is an unlocking instruction or a locking instruction; detecting a rotation angle of a rotor in the permanent magnet synchronous motor; and if the rotation angle does not reach the preset angle, determining that the electronic latch is in fault. According to the invention, whether the electronic lock has a fault is judged by monitoring the rotation angle of the motor rotor, so that the problem of motor damage caused by judging whether the motor is in place through locked rotor can be effectively avoided, and the user experience is improved.

Description

Method and device for monitoring running state of electronic lock, equipment and storage medium
Technical Field
The invention relates to the technical field of electronic locks, in particular to a method, a device, equipment and a storage medium for monitoring the running state of an electronic lock.
Background
At present, the intelligent electronic lock on the market generally adopts a direct current brush motor to control a lock cylinder so as to realize unlocking or locking actions. However, the motor operation angle of the direct current brush motor cannot be known, whether the motor is in place or not is judged only through locked rotor, and the locked rotor can generate large current, so that the motor is easily damaged.
In order to solve the problems that in the related art, the operation angle of a motor of an intelligent electronic lock is unknown, whether the motor is executed in place is judged only through locked rotor, and the locked rotor can generate large current and easily damage the motor, an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the invention provides a method, a device, equipment and a storage medium for monitoring the running state of an electronic lock, which are used for overcoming the problems that the running angle of a motor of an intelligent electronic lock in the related art is unknown, whether the motor is executed in place is judged only through locked rotor, and the locked rotor can generate larger current and easily damage the motor.
In order to achieve the above object, in a first aspect of embodiments of the present invention, there is provided an operation state monitoring method for an electronic lock, including:
controlling the permanent magnet synchronous motor to adjust the running state of the electronic lock according to a user instruction; the user instruction is an unlocking instruction or a locking instruction;
detecting a rotation angle of a rotor in the permanent magnet synchronous motor;
and if the rotating angle does not reach the preset angle, determining that the electronic lock has a fault.
According to the method for monitoring the running state of the electronic lock, whether the electronic lock has a fault or not is judged through the rotation angle of the motor rotor, the problem that the motor is damaged when the motor is judged to be in place or not through locked rotor can be effectively solved, and user experience is improved.
Optionally, in a possible implementation manner of the first aspect, the controlling, according to a user instruction, the permanent magnet synchronous motor to adjust the operating state of the electronic lock includes:
and controlling the permanent magnet synchronous motor to output a first torque corresponding to the user instruction, and driving a lock body of the electronic lock to act so as to adjust the running state of the electronic lock.
Optionally, in a possible implementation manner of the first aspect, the method further includes:
judging the fault type of the electronic latch in the fault according to the rotating speed of the permanent magnet synchronous motor;
determining a motor operation mode according to the fault type;
and controlling the permanent magnet synchronous motor to work according to the running mode of the motor.
According to the method for monitoring the running state of the electronic lock, the fault type is judged according to the rotating speed of the rotor, the running mode of the motor is determined according to the fault type, the fault type can be quickly judged when the lock is unlocked or locked to have a fault, a countermeasure is given, the troubleshooting time can be saved, the troubleshooting range is reduced, and the user experience is improved.
Optionally, in one possible implementation manner of the first aspect, the electronic lock includes a lock body;
the judging of the fault type of the electronic lock with faults according to the rotating speed of the permanent magnet synchronous motor comprises the following steps:
if the rotating speed is reduced and the rotating speed is not zero, judging that the fault type is that the friction force of the lock body is increased;
the determining the operation mode of the motor according to the fault type comprises the following steps:
when the fault type is that the friction force of the lock body is increased, determining that the motor operation mode is that the permanent magnet synchronous motor rotates by a second torque; the second moment is greater than the first moment.
According to the method for monitoring the running state of the electronic lock, the motor torque is changed by judging the rotating speed, different working conditions of the lock body can be self-adapted, and user experience is improved.
Optionally, in one possible implementation of the first aspect, the electronic lock includes a locking bolt;
the judging of the fault type of the electronic lock with faults according to the rotating speed of the permanent magnet synchronous motor comprises the following steps:
if the rotating speed is zero, judging that the fault type is that an obstacle exists in the moving direction of the lock tongue;
the determining the motor operation mode according to the fault type comprises the following steps:
and when the fault type is that an obstacle exists in the moving direction of the lock tongue, determining the operation mode of the motor to be that the permanent magnet synchronous motor rotates by the first torque.
The method for monitoring the running state of the electronic lock can judge whether the barrier exists in the moving direction of the lock tongue through the rotating speed, and can achieve the technical effects of accurately judging the fault type, reducing the fault troubleshooting range and saving the troubleshooting time.
Optionally, in a possible implementation manner of the first aspect, the method further includes:
and determining an obstacle existing in the moving direction of the lock tongue according to the rotation angle of the rotor of the permanent magnet synchronous motor.
Optionally, in a possible implementation manner of the first aspect, the determining, according to a rotation angle of a rotor of the permanent magnet synchronous motor, an obstacle existing in a moving direction of the lock tongue includes:
if the rotation angle is smaller than or equal to a first angle, determining that an obstacle existing in the moving direction of the lock tongue is a lock body;
if the rotation angle is larger than the first angle and smaller than or equal to a second angle, determining that an obstacle existing in the moving direction of the lock tongue is a door frame;
and if the rotation angle is larger than the second angle and smaller than or equal to a third angle, determining that an obstacle existing in the moving direction of the lock bolt is a door pocket.
According to the method for monitoring the running state of the electronic lock, the type of the obstacle existing in the moving direction of the lock tongue can be accurately judged by judging the rotating angle, the troubleshooting range can be narrowed, the troubleshooting time is saved, and the user experience is optimized.
In a second aspect of the embodiments of the present invention, an operation state monitoring device for an electronic lock is provided, including:
the state adjusting module is used for controlling the permanent magnet synchronous motor to adjust the running state of the electronic lock according to a user instruction; the user instruction is an unlocking instruction or a locking instruction;
the rotation angle detection module is used for detecting the rotation angle of a rotor in the permanent magnet synchronous motor;
and the judging module is used for determining that the electronic lock has a fault if the rotating angle does not reach the preset angle.
In a third aspect of the embodiments of the present invention, an electronic device is provided, which includes a memory and a processor, where the memory stores a computer program that is executable on the processor, and the processor implements the steps in the above method embodiments when executing the computer program.
A fourth aspect of the embodiments of the present invention provides a readable storage medium, in which a computer program is stored, which computer program, when being executed by a processor, is adapted to carry out the steps of the method according to the first aspect of the present invention and any of the various possible designs of the first aspect.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic flowchart of an operation state monitoring method of an electronic lock according to embodiment 1 of the present invention.
Fig. 2 is a schematic diagram of the operation of an electronic lock using a permanent magnet synchronous motor as a driver for lock body control.
Fig. 3 is a flowchart illustrating an implementation of the method for monitoring the operating state of the electronic lock according to embodiment 1 of the present invention.
Fig. 4 is a schematic block diagram of an operation state monitoring device of an electronic lock according to embodiment 2 of the present invention.
Fig. 5 is a structural diagram of an electronic device in embodiment 3 of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; the two elements may be directly connected or indirectly connected through an intermediate medium, or may be communicated with each other inside the two elements, or may be wirelessly connected or wired connected. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
In addition, the technical features involved in the different embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
The full-automatic intelligent lock on the market generally adopts a direct current brush motor to control a lock cylinder so as to realize unlocking or locking actions. The direct current brush motor can be driven by powering on the power supply, and is controlled without an electronic device, so that the direct current brush motor has the characteristics of low price and simplicity in control.
However, there are many problems with dc brushed motors, as follows: 1) The driving force of the motor is only influenced by the voltage and the current of the battery, and the driving force and the driving speed of the motor can be reduced along with the use of the battery, so that the control time of the intelligent lock is uncertain; 2) The running angle of the motor is unknown, whether the motor is executed in place is judged only through locked rotor, and the locked rotor can generate large current, so that the motor is easy to damage; 3) The motor running noise is big, influences user experience.
Example 1
The embodiment provides a method for monitoring an operating state of an electronic lock, which is applied to a main control chip of the electronic lock, and as shown in fig. 1, the monitoring method includes, but is not limited to, the following steps:
s100: and controlling the permanent magnet synchronous motor to adjust the running state of the electronic lock according to the user instruction.
Specifically, the user command is an unlocking command or a locking command, and the operation state of the electronic lock can be divided into an unlocking state and a locking state. The electronic lock on the market at present adopts a direct current brush motor as a driver for controlling a lock body, and has the problems that the driving force and the driving time are not controllable, and the motor is easily damaged due to locked-rotor overload. According to the invention, the permanent magnet synchronous motor is used as the driver for controlling the lock body, so that the problems that the driving force and the driving time of the direct current speed reducing motor are uncontrollable and the locked rotor overload is easy to cause burning can be effectively solved, the power supply efficiency is improved, and the user experience is optimized.
The step S100 includes the steps of:
s110: and controlling the permanent magnet synchronous motor to output a first torque corresponding to a user instruction, and driving a lock body of the electronic lock to act so as to adjust the running state of the electronic lock.
Specifically, as shown in fig. 2, a permanent magnet synchronous motor is used as a driver for controlling a lock body, a rotor of the permanent magnet synchronous motor is controlled to rotate at a constant torque through a Field-Oriented-Control (FOC), a lock cylinder of an electronic lock is driven to rotate through mechanical transmission of the motor and the lock cylinder, and then the lock body is driven to be unlocked or locked through mechanical transmission of the lock cylinder and the lock body; the lock core is used as a connecting structure of the permanent magnet synchronous motor and the lock body, the rotating action of the permanent magnet synchronous motor is converted into the opening and closing action of the lock body, and the lock body is responsible for opening and closing control of the door.
Specifically, the efficiency of the direct current brush motor can only reach about 70%, and the efficiency of the permanent magnet synchronous motor based on FOC driving can reach more than 90%, so that the energy utilization efficiency can be effectively improved. And the motion noise of the permanent magnet synchronous motor is far less than that of a direct current brush motor, so that the use experience of a user can be optimized.
S200: and detecting the rotation angle of a rotor in the permanent magnet synchronous motor.
S300: and if the rotation angle does not reach the preset angle, determining that the electronic latch is in fault.
In steps S200 to S300, when the permanent magnet synchronous motor is controlled to adjust the operation state of the electronic lock according to the user instruction, whether the electronic lock has a fault may be determined by monitoring the rotation angle of the rotor of the permanent magnet synchronous motor. If the rotation angle of the rotor reaches a preset angle, determining that the user instruction is successfully executed, namely unlocking or locking is successful; if the rotation angle of the rotor does not reach the preset angle, the electronic lock is indicated to have a fault, but the specific fault type needs to be judged according to the specific rotation angle and the rotation speed of the rotor.
Preferably, the method further comprises:
s400: judging the fault type of the electronic latch in the fault according to the rotating speed of the permanent magnet synchronous motor;
s500: determining a motor operation mode according to the fault type;
s600: and controlling the permanent magnet synchronous motor to work according to the running mode of the motor.
Specifically, when the rotation angle of the rotor of the permanent magnet synchronous motor does not reach a preset angle, it is indicated that an obstacle blocking the rotation of the rotor may appear in the rotation process, and at the moment, the rotation speed auxiliary judgment is needed, that is, the rotation speed of the rotor is detected, and the fault type of the electronic lock is judged according to the rotation speed; and determining a corresponding motor operation mode according to the fault type so as to control the permanent magnet synchronous motor to drive according to the motor operation mode.
Step S400 further includes the steps of:
s410: if the rotating speed is reduced and is not zero, judging that the fault type is that the friction force of the lock body is increased; the electronic lock comprises a lock body.
Step S500 further includes the steps of:
s510: when the fault type is that the friction force of the lock body is increased, determining that the motor operation mode is that the permanent magnet synchronous motor rotates by a second torque; the second moment is greater than the first moment.
Specifically, when the rotating speed of the permanent magnet synchronous motor is reduced within a preset time and is not zero, the electronic lock can be judged to have a fault that the friction force is increased due to aging of the lock body, and the torque of the permanent magnet synchronous motor is properly increased to overcome the friction force of the lock body, so that the purpose of unlocking or locking is achieved. The second torque may be set according to the friction of the lock body, and is not limited in this regard.
Step S400 further includes the steps of:
s420: if the rotating speed is zero, judging that the fault type is that an obstacle exists in the moving direction of the lock tongue; the electronic lock comprises a bolt.
Step S500 further includes the steps of:
s520: and when the fault type is that an obstacle exists in the moving direction of the lock tongue, determining the operation mode of the motor to be that the permanent magnet synchronous motor rotates by a first torque.
Specifically, when the rotating speed of the permanent magnet synchronous motor is directly reduced to zero within the preset time, the fault that an obstacle exists in the movement direction of the lock tongue of the electronic lock can be judged, and the fault can not be solved by adjusting the torque of the motor, so that the permanent magnet synchronous motor needs to be controlled to rotate and remind a customer.
Preferably, the method further comprises: and determining an obstacle existing in the moving direction of the lock tongue according to the rotating angle of the rotor of the permanent magnet synchronous motor.
Specifically, when the electronic lock is judged to have a fault, namely, a barrier exists in the moving direction of the lock tongue, the type of the barrier can be determined according to the rotating angle of the rotor of the permanent magnet synchronous motor, so that the fault type of the electronic lock can be subdivided, and the fault judging time can be saved.
Preferably, the determination of the obstacle existing in the moving direction of the latch bolt according to the rotation angle of the rotor of the permanent magnet synchronous motor includes:
if the rotation angle is smaller than or equal to the first angle, determining that an obstacle existing in the moving direction of the lock tongue is a lock body;
if the rotation angle is larger than the first angle and smaller than or equal to the second angle, determining that the obstacle existing in the moving direction of the lock tongue is the door frame;
and if the rotation angle is larger than the second angle and smaller than or equal to the third angle, determining that the obstacle existing in the moving direction of the lock tongue is the door pocket.
Specifically, on the premise that the rotation angle of the rotor is smaller than or equal to the first angle, if the user command is an unlocking command, the current barrier can be determined to be a door pocket; otherwise, if the user command is a locking command, the current obstacle can be determined to be the lock body. When the rotation angle of the rotor is greater than the first angle and less than or equal to the second angle, it may be determined that the current obstacle is the door frame, regardless of whether the user command is an unlocking command or a locking command. On the premise that the rotation angle of the rotor is larger than the second angle and smaller than or equal to the third angle, if the user command is an unlocking command, the current barrier can be determined to be the lock body; otherwise, if the user command is a locking command, the current obstacle can be determined to be the door pocket. The first angle, the second angle and the third angle can be selected according to the position of the actual lock tongue and the rotation angle of the corresponding motor, and are not specifically limited herein.
Preferably, as shown in fig. 3, after the intelligent lock successfully identifies the user, the permanent magnet synchronous motor can be controlled to act, that is, the permanent magnet synchronous motor is controlled to rotate at a constant torque, so as to drive the lock cylinder to rotate, and further drive the lock body to unlock; and judging whether the execution is in place, prompting the user that the unlocking is successful if the execution is in place, indicating that the motor stalling problem occurs if the execution is not in place, prompting the user that the unlocking is failed, namely detecting the rotation angle of the rotor of the permanent magnet synchronous motor, representing that the instruction execution of the user is successful if the rotation angle reaches a preset angle, and representing that the instruction execution of the user is failed if the rotation angle does not reach the preset angle.
Example 2
This embodiment provides an operation state monitoring device of an electronic lock, as shown in fig. 4, including:
the state adjusting module is used for controlling the permanent magnet synchronous motor to adjust the running state of the electronic lock according to a user instruction; the user instruction is an unlocking instruction or a locking instruction;
the rotation angle detection module is used for detecting the rotation angle of a rotor in the permanent magnet synchronous motor;
and the judging module is used for determining that the electronic latch is in fault if the rotation angle does not reach the preset angle.
Preferably, the state adjustment module comprises:
and the state adjusting unit is used for controlling the permanent magnet synchronous motor to output a first torque corresponding to a user instruction, and driving the lock body of the electronic lock to act so as to adjust the running state of the electronic lock.
Preferably, the running state monitoring device of the electronic lock further comprises:
the fault type judging module is used for judging the fault type of the electronic latch in the fault according to the rotating speed of the permanent magnet synchronous motor;
the operation mode determining module is used for determining the operation mode of the motor according to the fault type;
and the motor working module is used for controlling the permanent magnet synchronous motor to work according to the motor running mode.
Preferably, the fault type determining module includes:
the first fault type judging unit is used for judging the fault type to be that the friction force of the lock body is increased if the rotating speed is reduced and is not zero; the electronic lock comprises a lock body;
an operation mode determination module comprising:
the first operation mode determining unit is used for determining the operation mode of the motor to be that the permanent magnet synchronous motor rotates by a second torque when the fault type is that the friction force of the lock body is increased; the second moment is greater than the first moment.
Preferably, the fault type determining module includes:
the second fault type judging unit is used for judging that the fault type is that an obstacle exists in the moving direction of the lock tongue if the rotating speed is zero, and the electronic lock comprises the lock tongue;
an operation mode determination module comprising:
and the second operation mode determining unit is used for determining the operation mode of the motor to be that the permanent magnet synchronous motor rotates by the first torque when the fault type is that an obstacle exists in the moving direction of the lock tongue.
Preferably, the running state monitoring device of the electronic lock further comprises:
and the barrier determining module is used for determining a barrier existing in the moving direction of the lock tongue according to the rotating angle of the rotor of the permanent magnet synchronous motor.
Preferably, the obstruction determination module comprises:
the first determining unit is used for determining that an obstacle existing in the moving direction of the lock tongue is a lock body if the rotating angle is smaller than or equal to a first angle;
a second determination unit for determining that an obstacle existing in the moving direction of the latch bolt is a door frame if the rotation angle is greater than the first angle and less than or equal to a second angle;
and a third determination unit for determining that the obstacle existing in the moving direction of the latch bolt is the door pocket if the rotation angle is greater than the second angle and less than or equal to a third angle.
Example 3
The present invention further provides an electronic device, as shown in fig. 5, which includes a memory and a processor, where the memory stores a computer program that can be executed on the processor, and the processor executes the computer program to implement the method for monitoring the operating state of the electronic lock provided in the foregoing embodiments.
The present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method for monitoring the operating state of the electronic lock provided in the foregoing embodiments is implemented.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be understood that the above examples are only for clarity of illustration and are not intended to limit the embodiments. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. And obvious variations or modifications therefrom are within the scope of the invention.

Claims (10)

1. An operation state monitoring method of an electronic lock is characterized by comprising the following steps:
controlling the permanent magnet synchronous motor to adjust the running state of the electronic lock according to a user instruction; the user instruction is an unlocking instruction or a locking instruction;
detecting a rotation angle of a rotor in the permanent magnet synchronous motor;
and if the rotating angle does not reach the preset angle, determining that the electronic lock has a fault.
2. The method for monitoring the operating state of the electronic lock according to claim 1, wherein the step of controlling the permanent magnet synchronous motor to adjust the operating state of the electronic lock according to the user instruction comprises the following steps:
and controlling the permanent magnet synchronous motor to output a first torque corresponding to the user instruction, and driving a lock body of the electronic lock to act so as to adjust the running state of the electronic lock.
3. The method for monitoring the operating condition of the electronic lock according to claim 2, further comprising:
judging the fault type of the electronic latch in the fault according to the rotating speed of the permanent magnet synchronous motor;
determining a motor operation mode according to the fault type;
and controlling the permanent magnet synchronous motor to work according to the running mode of the motor.
4. The method of monitoring the operating condition of an electronic lock according to claim 3, wherein the electronic lock includes a lock body;
the judging of the fault type of the electronic lock with faults according to the rotating speed of the permanent magnet synchronous motor comprises the following steps:
if the rotating speed is reduced and the rotating speed is not zero, judging that the fault type is that the friction force of the lock body is increased;
the determining the operation mode of the motor according to the fault type comprises the following steps:
when the fault type is that the friction force of the lock body is increased, determining that the motor operation mode is that the permanent magnet synchronous motor rotates by a second torque; the second moment is greater than the first moment.
5. The method for monitoring the operating condition of an electronic lock according to claim 3, wherein the electronic lock includes a latch bolt;
the judging of the fault type of the electronic lock with faults according to the rotating speed of the permanent magnet synchronous motor comprises the following steps:
if the rotating speed is zero, judging that the fault type is that an obstacle exists in the moving direction of the lock tongue;
the determining the operation mode of the motor according to the fault type comprises the following steps:
and when the fault type is that an obstacle exists in the moving direction of the lock tongue, determining the operation mode of the motor to be that the permanent magnet synchronous motor rotates by the first torque.
6. The method for monitoring the operating condition of the electronic lock according to claim 5, further comprising:
and determining an obstacle existing in the moving direction of the lock tongue according to the rotation angle of the rotor of the permanent magnet synchronous motor.
7. The method for monitoring the operating state of the electronic lock according to claim 6, wherein the determining the obstacle existing in the moving direction of the latch bolt according to the rotation angle of the rotor of the permanent magnet synchronous motor comprises:
if the rotation angle is smaller than or equal to a first angle, determining that an obstacle existing in the moving direction of the lock tongue is a lock body;
if the rotation angle is larger than the first angle and smaller than or equal to a second angle, determining that an obstacle existing in the moving direction of the lock tongue is a door frame;
and if the rotation angle is larger than the second angle and smaller than or equal to a third angle, determining that an obstacle existing in the moving direction of the lock bolt is a door pocket.
8. An operation state monitoring device of an electronic lock, comprising:
the state adjusting module is used for controlling the permanent magnet synchronous motor to adjust the running state of the electronic lock according to a user instruction; the user instruction is an unlocking instruction or a locking instruction;
the rotation angle detection module is used for detecting the rotation angle of a rotor in the permanent magnet synchronous motor;
and the judging module is used for determining that the electronic lock has a fault if the rotating angle does not reach the preset angle.
9. An electronic device comprising a memory and a processor, the memory storing a computer program operable on the processor, wherein the processor, when executing the computer program, implements the steps of the method for monitoring an operational status of an electronic lock according to any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for monitoring the operating condition of an electronic lock according to any one of claims 1 to 7.
CN202211655145.6A 2022-12-22 2022-12-22 Method and device for monitoring running state of electronic lock, equipment and storage medium Pending CN115856478A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211655145.6A CN115856478A (en) 2022-12-22 2022-12-22 Method and device for monitoring running state of electronic lock, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211655145.6A CN115856478A (en) 2022-12-22 2022-12-22 Method and device for monitoring running state of electronic lock, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115856478A true CN115856478A (en) 2023-03-28

Family

ID=85653798

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211655145.6A Pending CN115856478A (en) 2022-12-22 2022-12-22 Method and device for monitoring running state of electronic lock, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115856478A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117558077A (en) * 2024-01-10 2024-02-13 深圳市每开创新科技有限公司 Parameter adjustment method of electronic lock, storage medium and terminal device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117558077A (en) * 2024-01-10 2024-02-13 深圳市每开创新科技有限公司 Parameter adjustment method of electronic lock, storage medium and terminal device

Similar Documents

Publication Publication Date Title
CN113497530B (en) Sensorless salient pole permanent magnet synchronous motor and starting motor control method
EP1829200B1 (en) Method and apparatus for determining motor rotation status
CN115856478A (en) Method and device for monitoring running state of electronic lock, equipment and storage medium
EP2212991B1 (en) Motor performing vector control in a start mode
US10193477B2 (en) Method for estimating the angular position of a rotor of an electric drive system
JPH09294301A (en) Controller and control method for electric vehicle
CN103448570A (en) Power management system and method for electric vehicle
CN107241046A (en) A kind of startup method of the BLDC motors of position-sensor-free
CN109267839B (en) Intelligent lock control method and intelligent lock
CN111669094A (en) Loss-of-field detection method and system for permanent magnet motor and related components
CN105974311A (en) Zero-speed fault detection method and apparatus for permanent-magnet synchronous motor
CN111211715A (en) Motor control method and system and controller
US7174270B2 (en) Rotation angle detecting apparatus and method of detecting rotation angle
CN113410819B (en) Motor locked-rotor protection control method and device
CN112910364A (en) Control method of planer tool motor
CN108923714B (en) Authentication method, authentication device, drive system, synchronous motor, and storage medium
CN103684122B (en) The control method and device of switched reluctance machines
CN114016852B (en) Automatic opening and closing control method and device for charging flap
Lu et al. A novel sensorless starting method of BLDC motor for large inertia systems
CN210768197U (en) Door lock control system
CN113746405A (en) Method for judging whether permanent magnet synchronous motor is in starting locked rotor control mode without position sensor
CN112411115B (en) Washing equipment and method for judging drum locking of washing equipment
KR100486587B1 (en) Locking detection method for sensorless bldc motor
CN106936348B (en) The driving control system of new-energy automobile permanent magnet synchronous motor
CN106712637B (en) A kind of circulating pump and its motor rotor position modification method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination