Control method of electronic lock and electronic lock
阅读说明:本技术 一种电子锁具的控制方法以及电子锁具 (Control method of electronic lock and electronic lock ) 是由 刘仙 陈志鸿 胡成 周伟 周子敬 高玉丽 于 2019-10-18 设计创作,主要内容包括:本发明涉及一种电子锁具的控制方法以及电子锁具。所述电子锁具的控制方法,适用于电子钥匙对电子锁具进行解闭锁操作,包括所述电子锁具接收电子钥匙发送的解锁或闭锁命令;所述电子锁具响应于锁钩沿与其解锁方向相反的方向移动到阻力去除位置,驱动解闭锁机构对电子锁具进行解锁或闭锁操作。其中,所述锁钩在其闭锁位置时,所述锁钩对电子锁具的解闭锁机构施加有阻力;所述锁钩在所述阻力去除位置时,所述锁钩不对电子锁具的解闭锁机构施加阻力。本发明实施例提出的电子锁具的控制方法以及电子锁具能够减小解闭锁机构的工作负载,降低电子锁具的功耗,减少部件磨损。(The invention relates to an electronic lock and a control method thereof. The control method of the electronic lock is suitable for the electronic key to unlock the electronic lock, and comprises the steps that the electronic lock receives an unlocking or locking command sent by the electronic key; the electronic lock responds to the fact that the lock hook moves to the resistance removing position in the direction opposite to the unlocking direction of the lock hook, and the unlocking mechanism is driven to unlock or lock the electronic lock. Wherein when the latch hook is in its latched position, the latch hook exerts a resistance force on an unlatching mechanism of the electronic latch; when the lock hook is in the resistance removing position, the lock hook does not apply resistance to an unlocking mechanism of the electronic lock. The control method of the electronic lock and the electronic lock provided by the embodiment of the invention can reduce the working load of the unlocking mechanism, reduce the power consumption of the electronic lock and reduce the abrasion of parts.)
1. A control method of an electronic lock, the control method comprising:
the electronic lock receives an unlocking or locking command sent by the electronic key,
the electronic lock responds to the situation that the lock hook moves to the resistance removing position along the direction opposite to the unlocking direction of the lock hook, the unlocking mechanism is driven to unlock or lock the electronic lock,
wherein when the latch hook is in the latched position, the latch hook applies a resistance to an unlatching mechanism of the electronic latch; when the lock hook is in the resistance removing position, the lock hook does not apply resistance to an unlocking mechanism of the electronic lock.
2. The method for controlling an electronic lock according to claim 1, wherein the electronic lock detects whether the electronic lock reaches a corresponding unlocking state in real time during the unlocking or locking operation of the electronic lock by driving the unlocking mechanism,
and in response to the electronic lock reaching the corresponding unlocking state, the electronic lock stops driving the unlocking mechanism to work.
3. The method of claim 2, wherein the electronic lock stops actuating the unblocking mechanism in response to not detecting that the electronic lock reaches the corresponding unblocking state within a prescribed time,
and the electronic lock sends the unlocking state information to the electronic key.
4. The method for controlling an electronic lock according to claim 1, wherein before the electronic lock receives an unlocking or locking command sent by an electronic key, the method further comprises: the electronic lockset receives power from the electronic key in response to the electronic key being proximate to the electronic lockset.
5. The method for controlling an electronic lock according to claim 1, wherein before the electronic lock receives an unlocking or locking command sent by an electronic key, the method further comprises: the electronic lock receives the authentication of the electronic key and sends the identity information of the electronic lock to the electronic key after the authentication is passed,
the electronic lock receiving an unlocking or locking command sent by an electronic key comprises the following steps: after the authentication is passed, the electronic lock receives an unlocking or locking command sent by an electronic key in response to determining that the electronic lock belongs to an electronic lock which can be operated based on identity information of the electronic lock.
6. The method of controlling an electronic lockset as recited in claim 5, wherein the step of receiving the electronic key from the electronic lockset comprises: the electronic lockset receives an authentication command from the electronic key and sends response information to the electronic key.
7. The method of controlling an electronic lock according to claim 6, wherein the electronic lock receives the authentication command encrypted with an initial key from an electronic key and generates an update key, the electronic lock transmits response information encrypted with the initial key and the generated update key to the electronic key,
and the updating secret key is used for communication between the electronic lock and the electronic key after the authentication is passed.
8. The method for controlling an electronic lock according to claim 5, wherein the electronic lock belongs to an electronic lock that can be operated in response to the fact that the identity information of the electronic lock exists in an identity information list of an electronic lock having an operation authority of an electronic key.
9. The method of controlling an electronic lockset as recited in claim 5, wherein the electronic lockset sends unlocking status information to the electronic key while the electronic lockset sends identity information of the electronic lockset to the electronic key;
the unlocking or locking command received by the electronic lock comprises an unlocking or locking command determined by an electronic key according to a stored operation instruction sequence of the electronic lock and the received unlocking state information of the electronic lock.
10. The control method of an electronic lockset as recited in claim 1, characterized in that the electronic lockset (100) comprises a lock body (110), a shackle (120), a locking tumbler (140), an unlocking mechanism, a shackle spring (200), and an unlocking detection mechanism (210, 220),
the lock hook (120) is arranged on the lock body (110), a locking groove (121) is arranged on the inner side of the long hook arm and/or the short hook arm of the lock hook (120),
one end of the latch hook spring (200) abuts against the lock body (110), the other end of the latch hook spring abuts against the lower side of the long hook arm of the latch hook (120), pushing force is applied to the latch hook (120) towards the outer side of the lock body (110), and the latch hook spring (200) can press the latch marble (140) between the latch groove (121) and the latch release mechanism when the latch hook (120) is located at a latch position.
11. The control method of an electronic lockset as claimed in claim 10, wherein the length of the locking groove (121) of the locking hook (120) in the moving direction of the locking hook (120) is greater than the height of the locking pin (140).
12. The control method of the electronic lock according to claim 10, wherein the unlocking detection mechanism (210, 220) comprises a first magnetic steel (210) and a first hall element (220), the first hall element (220) is disposed on the lock body (110) and electrically connected to the unlocking mechanism, the first magnetic steel (210) is fixedly disposed on the latch hook (120), and the first hall element (220) can detect the approach of the first magnetic steel (210) thereto.
13. The control method of an electronic lock according to claim 10, characterized in that the locking groove (121) has a lower end face that is inclined downward, and/or one end of the locking tumbler (140) corresponding to the locking hook (120) is provided as an arc face,
when the latch hook (120) is located at the latching position, the lower end of the latching groove (121) abuts against the latching pin (140),
in response to the latch hook (120) moving to the resistance removing position, the lower end of the latching groove (121) is separated from the latching pin (140) to remove the pressing force of the latch hook spring (200) applied to the unlatching mechanism through the latch hook (120) and the latching pin (140).
14. The control method of the electronic lock according to claim 10, wherein the unlocking mechanism comprises an unlocking shaft (130), a rotating shaft (150), a motor (160), a control component (170), an unlocking state detection component (180) and a locking state detection component (190), the unlocking shaft (130) is disposed on the rotating shaft (150), the control component (170) controls the motor (160) to drive the rotating shaft (150) to drive the unlocking shaft (130) to rotate, so as to unlock the electronic lock (100),
the lock is characterized in that a detected part is arranged on the rotating shaft (150), an unlocking state detection part (180) and a locking state detection part (190) are correspondingly arranged on the side of the rotating shaft (150), the unlocking state detection part (180) and the locking state detection part (190) are respectively and electrically connected with a control part (170), and the unlocking state detection part (180) and the locking state detection part (190) determine the unlocking state of the lock through the detection of the detected part.
15. An electronic lockset, comprising: control method for applying an electronic lock according to one of claims 1 to 14.
Technical Field
The invention belongs to the technical field of electronic lock control, particularly relates to a control method of an electronic lock and the electronic lock, and is particularly suitable for controlling an electric anti-misoperation intelligent lock.
Background
At present, along with the continuous development of communication technology and the continuous application in the field of electronic locks, the lock control technology is continuously developing towards intellectualization. Users no longer satisfy the unlocking and locking control of the lock, and the requirements for state monitoring and management of the electronic lock are gradually increased.
Disclosure of Invention
In order to solve the technical problem of high power consumption of the electronic lock, the invention provides a control method of the electronic lock and the electronic lock.
According to an aspect of an embodiment of the present invention, a control method of an electronic lock, which performs an unlocking operation on the electronic lock using an electronic key, includes:
the electronic lock receives an unlocking or locking command sent by the electronic key,
the electronic lock responds to the situation that the lock hook moves to the resistance removing position along the direction opposite to the unlocking direction of the lock hook, the unlocking mechanism is driven to unlock or lock the electronic lock,
wherein when the latch hook is in the latched position, the latch hook applies a resistance to an unlatching mechanism of the electronic latch; when the lock hook is in the resistance removing position, the lock hook does not apply resistance to an unlocking mechanism of the electronic lock.
Further, in the process that the electronic lock drives the unlocking mechanism to unlock or lock the electronic lock, the electronic lock detects whether the electronic lock reaches a corresponding unlocking state in real time,
and in response to the electronic lock reaching the corresponding unlocking state, the electronic lock stops driving the unlocking mechanism to work.
Further, in response to not detecting that the electronic lock reaches the corresponding unlocking state within the set time, the electronic lock stops driving the unlocking mechanism to work,
and the electronic lock sends the unlocking state information to the electronic key.
Further, before the electronic lock receives an unlocking or locking command sent by an electronic key, the method further comprises the following steps: the electronic lockset receives power from the electronic key in response to the electronic key being proximate to the electronic lockset.
Further, before the electronic lock receives an unlocking or locking command sent by an electronic key, the method further comprises the following steps: the electronic lock receives the authentication of the electronic key and sends the identity information of the electronic lock to the electronic key after the authentication is passed,
the electronic lock receiving an unlocking or locking command sent by an electronic key comprises the following steps: after the authentication is passed, the electronic lock receives an unlocking or locking command sent by an electronic key in response to determining that the electronic lock belongs to an electronic lock which can be operated based on identity information of the electronic lock.
Further, the electronic lock accepting authentication of the electronic key includes: the electronic lockset receives an authentication command from the electronic key and sends response information to the electronic key.
Further, the electronic lock receives the authentication command encrypted with the initial key from the electronic key and generates an update key, the electronic lock sends response information encrypted with the initial key and the generated update key to the electronic key,
and the updating secret key is used for communication between the electronic lock and the electronic key after the authentication is passed.
Further, in response to the presence of the identity information of the electronic lock in the identity information list of the electronic lock with the operation authority of the electronic key, the electronic lock belongs to the electronic lock that can be operated.
Further, when the electronic lock sends the identity information of the electronic lock to the electronic key, the electronic lock sends the unlocking state information of the electronic lock to the electronic key;
the unlocking or locking command received by the electronic lock comprises an unlocking or locking command determined by an electronic key according to a stored operation instruction sequence of the electronic lock and the received unlocking state information of the electronic lock.
Further, the electronic lock comprises a lock body, a lock hook, a locking marble, an unlocking mechanism, a lock hook spring and an unlocking detection mechanism,
the lock hook is arranged on the lock body, a locking groove is arranged on the inner side of the long hook arm and/or the short hook arm of the lock hook,
one end of the lock hook spring abuts against the lock body, the other end of the lock hook spring abuts against the lower side of the long hook arm of the lock hook, thrust is applied to the lock hook towards the outer side of the lock body, and the lock hook spring can tightly press the locking marble between the locking groove and the unlocking mechanism when the lock hook is located at the locking position.
Further, the length of the locking groove of the locking hook in the moving direction of the locking hook is larger than the height of the locking marble.
Furthermore, it includes first magnet steel and first hall element to separate the shutting detection mechanism, first hall element sets up on the lock body, is connected with separating the blocked mechanical system electricity, first magnet steel is fixed to be set up on the latch hook, and first hall element can detect first magnet steel rather than being close.
Further, the locking groove is provided with a lower end face which inclines downwards, and/or one end of the locking marble corresponding to the locking hook is arranged into an arc face,
when the latch hook is positioned at the locking position, the lower end of the locking groove is abutted against the locking marble,
in response to the latch hook being moved to the resistive force removal position, the lower end of the latching groove disengages from the latching pin to remove the biasing force of the latch hook spring applied to the unlatching mechanism by the latch hook and the latching pin.
Furthermore, the unlocking mechanism comprises an unlocking shaft, a rotating shaft, a motor, a control part, an unlocking state detection part and a locking state detection part, the unlocking shaft is arranged on the rotating shaft, the control part controls the motor to drive the rotating shaft to drive the unlocking shaft to rotate so as to unlock the electronic lock,
set up in the pivot and be detected the part to corresponding with unblock state detection component and shutting state detection component setting in the side of pivot, unblock state detection component and shutting state detection component are connected with the control unit electricity respectively, unblock state detection component and shutting state detection component are through right the unblock state of tool to lock is confirmed to the detection of being detected the part.
According to a second aspect of the embodiment of the present invention, the electronic lock applies the control method of the electronic lock as described above.
The embodiment of the invention has the following beneficial effects: according to the control method of the electronic lock and the electronic lock, before the unlocking mechanism of the electronic lock acts, the lock hook is moved to the resistance removing position, the lock hook does not apply resistance to the unlocking mechanism of the electronic lock, and then unlocking is started, so that when the unlocking mechanism acts, due to the fact that the resistance of the lock hook to the unlocking mechanism is not applied, the working load of the unlocking mechanism is reduced, the power consumption of the electronic lock is reduced, and the abrasion of parts is reduced.
Drawings
Fig. 1 is a flowchart of a control method of an electronic lock according to an embodiment of the present invention;
fig. 2 is a schematic diagram of information interaction between an electronic lock and an electronic key in a control method of the electronic lock according to an embodiment of the present invention;
fig. 3a is a structural sectional view of an electronic lock according to an embodiment of the present invention in a locked state;
fig. 3b is a structural sectional view of the electronic lock according to the embodiment of the present invention in an unlocked state;
fig. 4 is a schematic view illustrating a small-range movement of a latch hook of an electronic lock according to an embodiment of the present invention in a latch state of the electronic lock;
fig. 5 is a schematic view of an unlocking region of an unlocking shaft of an electronic lock according to an embodiment of the present invention;
fig. 6a and 6b are schematic diagrams illustrating a position relationship between a first boss and a second boss of a rotating shaft of an electronic lock according to an embodiment of the present invention in an unlocking state and a locking state, and a position relationship between an unlocking state detection switch and a locking state detection switch;
fig. 7 is a timing chart comparing an unlocking state detection switch, a locking state detection switch, and an actual unlocking position of the electronic lock according to an embodiment of the present invention.
Reference numerals:
100. an electronic lockset; 110. a lock body; 120. a latch hook; 121. a locking groove; 130. unlocking the shaft; 131. a relief portion; 132. an unlocking portion; 1321. unlocking an under-travel area; 1322. unlocking the theoretical area; 1323. unlocking the over-travel area; 133. a latch; 1331. locking an understroke area; 1332. a latch-up theoretical region; 1333. locking the over-travel area; 140. locking the marble; 150. a rotating shaft; 151. a first boss; 152. a second boss; 160. a motor; 170. a control component; 180. an unlock state detection switch; 190. a lock state detection switch; 200. a latch hook spring; 210. a first magnetic steel; 220. a first Hall element; 230. wireless power supply and communication module
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to specific embodiments and the accompanying drawings. Those skilled in the art will appreciate that the present invention is not limited to the drawings and the following examples.
The embodiment of the invention provides a control method of an electronic lock, which uses an electronic key as unlocking equipment to unlock the electronic lock, and comprises the following steps as shown in fig. 1 and 2:
step S10: the electronic lockset receives power from the electronic key in response to the electronic key being proximate to the electronic lockset.
In a preferred embodiment of the present invention, the electronic lock is a passive lock, and the working electric energy of the electronic lock is obtained from the power supply of the electronic key. The electronic key can be inserted into the electronic lock, so that a power supply of the electronic key is in wired connection with the electronic lock to supply power to the electronic lock; the electronic key can be inserted into the electronic lock or close to the electronic lock, and the electronic lock is wirelessly powered by the induction coil.
Step S20: the electronic lock receives the authentication of the electronic key and sends the identity information of the electronic lock to the electronic key.
In a preferred embodiment of the present invention, in order to confirm that the electronic key and the electronic lock enter a normal communication state, the electronic key transmits an authentication command to the electronic lock, and the electronic lock receives the authentication command from the electronic key and transmits a response message to the electronic key.
Preferably, in order to ensure communication security between the electronic key and the electronic lock, an encryption communication mode is adopted between the electronic key and the electronic lock, that is, the electronic key sends an authentication command encrypted by applying an initial key to the electronic lock, the electronic lock receives the authentication command encrypted by applying the initial key from the electronic key and generates an update key, and the electronic lock sends response information encrypted by applying an initial synchronization key and the generated update key to the electronic key. And the updated key is used for communication with the electronic key after the electronic lock is successfully authenticated. It should be noted that, in each operation, the initial key is a key used by the electronic key and the electronic lock in the authentication process, and once the authentication is successful, the electronic key and the electronic lock perform subsequent communication using an updated key generated by the electronic lock, so that the security is enhanced.
After the electronic lock is successfully authenticated, the electronic lock sends the identity information of the electronic lock to the electronic key; the electronic lock can also send the identity information to the electronic key while sending the response information to the electronic key. Preferably, the electronic lock sends the unlocking state information to the electronic key while the electronic lock sends the identity information to the electronic key.
Step S30: after the authentication is passed, the electronic lock receives an unlocking or locking command sent by an electronic key in response to determining that the electronic lock belongs to an electronic lock which can be operated based on identity information of the electronic lock.
After the electronic lock is successfully authenticated, the electronic key judges whether the received identity information of the electronic lock exists in an ID list of the electronic lock with the operation authority stored in the electronic key so as to determine whether the electronic lock has the operation authority.
And if the electronic key determines that the electronic key has the operation authority on the electronic lock, an unlocking or locking command is sent to the electronic lock according to an operation instruction sequence of the electronic lock stored in the electronic key.
The electronic lock receives an unlocking or locking command sent by the unlocking device.
When the electronic key receives the unlocking state information of the electronic lock, the electronic key displays the unlocking state information of the electronic lock when the electronic key determines that the electronic key has the operation right on the electronic lock, and the electronic key sends an unlocking or locking command to the electronic lock according to the stored operation instruction sequence of the electronic lock and the unlocking state information of the electronic lock.
For example, when the electronic lock with the operation authority is unlocked by the electronic key, when the electronic lock is in a locked state, the electronic key sends an unlocking command to the electronic lock; when the electronic lock is in an unlocking state, the electronic key does not send an unlocking command to the electronic lock any more, and only the state information of the electronic lock is updated to be in the unlocking state in the electronic key; when the unlocking state fed back from the electronic lock to the electronic key is ambiguous, that is, the electronic lock is in an intermediate state, for example, in one case, the electronic lock feeds back that the unlocked state and the unlocked state exist simultaneously, the electronic key sends an unlocking command to the electronic lock. Under the condition that the electronic lock with the operation authority is locked by the electronic key, when the electronic lock is in an unlocking state, the electronic key sends a locking command to the electronic lock; when the electronic lock is in a locking state, the electronic key does not send a locking command to the electronic lock any more, and only the state information of the electronic lock is updated to be in the locking state in the electronic key; when the unlocking state fed back to the electronic lock by the electronic lock is not clear, namely the electronic lock is in an intermediate state, the electronic key sends a locking command to the electronic lock.
And if the electronic lock is not successfully authenticated or the electronic key does not have the operation authority on the electronic lock, the electronic key prompts abnormity and terminates the operation.
Step S40: the electronic lock responds to the situation that the lock hook moves to a resistance removing position along the direction opposite to the unlocking direction of the lock hook, and drives an unlocking mechanism to unlock or lock the electronic lock, wherein when the lock hook is at the locking position, the lock hook exerts resistance on the unlocking mechanism of the electronic lock; when the lock hook is in the resistance removing position, the lock hook does not apply resistance to an unlocking mechanism of the electronic lock.
For the electronic lock of the embodiment of the present invention, the latch hook may apply resistance to an unlocking mechanism of the electronic lock in the locked position, and the unlocking direction of the latch hook is a direction in which at least one end of the latch hook is separated from the lock body, taking upward as an example. In step S40, by pressing the lock hook downward to the resistance removing position, the unlocking mechanism unlocks or locks the electronic lock after the lock hook no longer applies resistance to the unlocking mechanism of the electronic lock, and compared with the prior art in which the unlocking mechanism is directly unlocked without contact with resistance, the action force of the lock hook on the unlocking mechanism is removed, so that the resistance which needs to be overcome when the motor/unlocking mechanism rotates to unlock is reduced, the power consumption of the electronic lock is reduced, and the wear of components is reduced.
Specifically, when the electronic lock moves from the locking position or the unlocking position to the resistance removing position in response to the lock hook, the unlocking mechanism, such as a motor, is driven to unlock or lock the electronic lock, and the electronic lock detects whether the electronic lock reaches a corresponding unlocking state in real time. After the electronic lock reaches the corresponding unlocking state, the electronic lock is unlocked or locked, and the electronic lock stops driving the unlocking mechanism to work; if it is not detected at a predetermined time that the electronic lock has reached the corresponding unlocking state, this means that there is a malfunction in the electronic lock, for example, the drive or transmission part is jammed, and the electronic lock stops driving the unlocking mechanism in order to protect the electronic lock. And the electronic lock sends the unlocking state information to the electronic key. The electronic key gives out a corresponding operation result according to the received unlocking state information of the electronic lock, if the unlocking state is received when the electronic key carries out unlocking operation, the unlocking is successful, if the locking state is received when the electronic key carries out locking operation, the locking is successful, and if the locking is received when the electronic key carries out locking operation, the operation is failed. Therefore, the electronic key can truly record the actual unlocking state of the electronic lock, the unlocking state of the electronic lock is displayed to an operator in real time through the electronic key, and the operator can be guided to completely unlock (unlock in place) the electronic lock in the operation process of the electronic lock.
As an example of the above method for implementing the embodiment of the present invention, the embodiment of the present invention provides an electronic lock 100, as shown in fig. 3a and 3b, including a
The
The side wall of the unlocking
The
The
The
The
The unlocking
In the embodiment of the present invention, as shown in fig. 5, the unlocking
In the above-described embodiment of the present invention, although the unlock
The
The unlocking and locking detection mechanism comprises a first
The electronic key may communicate and supply power with the
The second magnetic steel is arranged in the
The following describes a method for controlling the operation of the electronic lock according to the embodiment of the present invention with respect to the electronic key.
When the
inserting the electronic key into the electronic lock 100, wherein a second hall element of the electronic key senses a second magnetic steel in the electronic lock 100, and the electronic key supplies power to the electronic lock;
the
the electronic key identifies the identity information of the electronic lock and unlocks the electronic lock with the operation authority;
a. when the locking
The motor 160 rotates to drive the rotating shaft 150 to rotate, the second boss 152 no longer triggers the locking state detection switch 190, after the locking state detection switch 190 is turned off, the control part 170 acquires the non-triggered state of the locking state detection switch 190 and sends the non-triggered state to the electronic key, the motor 160 continues to rotate for a certain angle (the time for the motor to continue rotating is longer than the time for the control part 170 to acquire the non-triggered state of the locking state detection switch 190), the first boss 151 of the rotating shaft 150 triggers the unlocking state detection switch 180, the unlocking state detection switch 180 is turned on, the lock is in the unlocking state, the control part 170 acquires the triggered state of the unlocking state detection switch 180 and sends the triggered state to the electronic key, the control part 170 controls the motor 160 to stop rotating, that is, after the states of the unlocking state detection switch 180 and the locking state detection switch 190 are changed in one unlocking process, the control part 170 controls the, at this time, the unlocking shaft 130 rotates a certain angle and the unlocking portion 132 rotates to the retreating path of the locking pin 140, the locking pin spring 200 pushes the locking pin 120 in the unlocking direction, the inclined downward lower end surface of the locking groove 121 of the locking pin 120 presses the locking pin 140 toward the unlocking shaft 130, the locking pin 140 partially enters the positioning portion 131 and exits the locking groove 121, the locking pin 120 can be ejected, the unlocking shaft 130 is kept in the unlocking theoretical region 132, and the lock is unlocked.
b. When the unlock
c. When the locking
When the lock is closed,
inserting the electronic key into the electronic lock 100, wherein a second hall element of the electronic key senses a second magnetic steel in the electronic lock 100, and the electronic key supplies power to the electronic lock;
the
the electronic key identifies the identity information of the electronic lock and locks the electronic lock with the operation authority;
a. when the unlock
The motor 160 rotates to drive the rotating shaft 150 to rotate, the first boss 151 no longer triggers the unlock state detection switch 180, after the unlock state detection switch 180 is turned off, the control unit 170 acquires the un-triggered state of the unlock state detection switch 180 and sends the un-triggered state to the electronic key, the motor 160 continues to rotate for a certain angle (the time for the motor to continue rotating is longer than the time required for the control unit 170 to acquire the un-triggered state of the unlock state detection switch 180), the second boss 152 of the rotating shaft 150 triggers the lock state detection switch 190, the lock state detection switch 190 is turned on, the lock is in a lock state, the control unit 170 acquires the triggered state of the lock state detection switch 190 and sends the triggered state to the electronic key, the control unit 170 controls the motor 160 to stop rotating, that is, after the states of the unlock state detection switch 180 and the lock state detection switch 190 are changed in an unlock process, the control unit 170, at this time, the unlocking shaft 130 rotates by a certain angle, the locking portion 133 rotates to the retreating path of the locking pin 140, one end of the locking pin 140 is pressed into the locking groove 121 of the locking hook 120, the locking pin 140 corresponds to the unlocking theoretical region 132, and the lock 100 is locked. In the locked state of the lock 100, the
b. When the lock
c. When the locking
In the above embodiment of the present invention, the unlock
More importantly, in the above-mentioned embodiment of the present invention, the unlocking state detection means and the locking state detection means and the two detected members are included, but according to the above-mentioned content of the embodiment of the present invention, a person skilled in the art can understand that, by arranging the detected members on the
In one embodiment, as described above, on the sidewall of the
Alternatively, a detected component is disposed on a side wall of the
The control method of the electronic lock according to the embodiment of the present invention is preferably applied to the electronic lock, but it should be understood by those skilled in the art that the control method of the electronic lock according to the embodiment of the present invention is not limited by the specific structure of the electronic lock.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The embodiments of the present invention have been described above. However, the present invention is not limited to the above embodiment. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
- 上一篇:一种医用注射器针头装配设备
- 下一篇:一种警用戒具的嵌入式光机电一体化执行装置