CN111395877B - Lockset, lockset control method, control device and readable storage medium - Google Patents
Lockset, lockset control method, control device and readable storage medium Download PDFInfo
- Publication number
- CN111395877B CN111395877B CN202010247173.9A CN202010247173A CN111395877B CN 111395877 B CN111395877 B CN 111395877B CN 202010247173 A CN202010247173 A CN 202010247173A CN 111395877 B CN111395877 B CN 111395877B
- Authority
- CN
- China
- Prior art keywords
- rotating speed
- lock
- motor
- lock control
- lockset
- 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.)
- Active
Links
Images
Classifications
-
- E—FIXED CONSTRUCTIONS
- E05—LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
- E05B—LOCKS; ACCESSORIES THEREFOR; HANDCUFFS
- E05B47/00—Operating or controlling locks or other fastening devices by electric or magnetic means
- E05B47/0001—Operating or controlling locks or other fastening devices by electric or magnetic means with electric actuators; Constructional features thereof
- E05B47/0012—Operating or controlling locks or other fastening devices by electric or magnetic means with electric actuators; Constructional features thereof with rotary electromotors
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02K—DYNAMO-ELECTRIC MACHINES
- H02K5/00—Casings; Enclosures; Supports
- H02K5/24—Casings; Enclosures; Supports specially adapted for suppression or reduction of noise or vibrations
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P29/00—Arrangements for regulating or controlling electric motors, appropriate for both AC and DC motors
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Lock And Its Accessories (AREA)
Abstract
The invention discloses a lock control method, which comprises the following steps: determining that the lockset opens an intelligent unlocking mode; controlling a motor to operate according to the stored first rotating speed, wherein the motor is in transmission connection with a movable part of a lock; monitoring sound data generated by the movable part in the process that the motor operates at the first rotating speed; judging whether the characteristic parameter of the sound data is larger than or equal to a parameter threshold value; if so, controlling the motor to operate according to a second rotating speed, and storing the second rotating speed so as to enable the motor to operate according to the second rotating speed in the next unlocking mode of the lockset; wherein the second rotational speed is less than the first rotational speed. The invention also discloses a lock control device, a lock and a readable storage medium. The invention aims to reduce the noise generated when the state of the lockset is switched and avoid the influence of the noise generated by the lockset on the life of people.
Description
Technical Field
The invention relates to the technical field of locks, in particular to a lock control method, a lock control device, a lock and a readable storage medium.
Background
In order to ensure the safety of the area, it is common to install a lock on the door of the entrance and exit of the area. At present, a lock is generally provided with a moving part (such as a lock cylinder) and a fixing part (such as a lock sleeve) matched with the moving part, wherein the moving part moves between a first position and a second position to realize a matching state different from that of the fixing part, so that the unlocking state and the locking state of the lock are switched.
However, in the moving process of the moving part, friction between the moving part and the fixed part cannot be avoided, even when the moving part is in place, a 'click' sound is generated due to impact, and particularly when the moving part is driven by hand to rotate rapidly, noise generated by the lockset is particularly obvious, which causes troubles to life of people.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a lock control method, which aims to reduce the noise generated when a lock is switched between states and avoid the influence of the noise generated by the lock on the life of people.
In order to achieve the above object, the present invention provides a lock control method, including the steps of:
determining that the lockset opens an intelligent unlocking mode;
controlling a motor to operate according to the stored first rotating speed, wherein the motor is in transmission connection with a movable part of a lock;
monitoring sound data generated by the movable part in the process that the motor operates at the first rotating speed;
judging whether the characteristic parameter of the sound data is larger than or equal to a parameter threshold value;
if so, controlling the motor to operate according to a second rotating speed, and storing the second rotating speed so that the motor operates according to the second rotating speed in the next intelligent unlocking mode of the lockset; wherein the second rotational speed is less than the first rotational speed.
Optionally, before the step of controlling the motor to operate at the stored first rotation speed, the method further includes:
acquiring the current position of the moving part as a first position;
and acquiring the stored first rotating speed according to the first position.
Optionally, before the step of controlling the motor to operate at the second rotation speed, the method further includes:
determining a difference value between the characteristic parameter of the sound data and the parameter threshold value as a first difference value;
and determining a second rotating speed according to the first difference and the first rotating speed.
Optionally, before the step of determining the second rotation speed according to the first difference and the first rotation speed, the method further includes:
determining a position deviation between the first position and a set position;
when the position deviation is greater than or equal to a deviation threshold, performing the step of determining the second rotation speed according to the first difference and the first rotation speed;
and when the position deviation is smaller than the deviation threshold value, determining the second rotating speed according to the position deviation, the first difference value and the first rotating speed.
Optionally, the step of controlling the motor to operate at a second rotation speed and storing the second rotation speed so that the motor operates at the second rotation speed in a next intelligent unlocking mode of the lock includes:
and controlling the motor to operate according to a second rotating speed, and storing the first position and the second rotating speed in a correlation manner, so that the motor operates according to the second rotating speed when the moving part reaches the first position in the next intelligent unlocking mode of the lockset.
Optionally, after the step of determining whether the characteristic parameter of the sound data is greater than or equal to a parameter threshold, the method further includes:
if the characteristic parameter of the sound data is smaller than the parameter threshold value, acquiring the current position of the moving part as a second position;
judging whether the second position reaches a set position;
when the second position does not reach the set position, configuring the first position as the second position;
returning to the step of acquiring the stored first rotating speed according to the first position;
and when the second position reaches the set position, the intelligent unlocking mode is exited.
Optionally, after the step of acquiring the current position of the moving member as the second position, the method further includes:
and outputting corresponding visual prompt information according to the second position.
Optionally, after the step of determining whether the characteristic parameter of the sound data is greater than or equal to a parameter threshold, the method further includes:
if the characteristic parameter of the sound data is smaller than the parameter threshold, determining a difference value between the characteristic parameter of the sound data and the parameter threshold as a second difference value;
when the second difference is smaller than or equal to a set threshold, determining the adjustment range of the first rotating speed according to the second difference, increasing the first rotating speed according to the adjustment range to obtain a third rotating speed, and storing the third rotating speed so that the motor runs according to the third rotating speed in the next intelligent unlocking mode of the lock;
when the second difference is larger than the set threshold, determining the adjustment range of the first rotating speed according to the second difference, reducing the first rotating speed according to the adjustment range to obtain a fourth rotating speed, and storing the fourth rotating speed so that the motor runs according to the fourth rotating speed in the next intelligent unlocking mode of the lock;
wherein the third rotational speed is greater than the first rotational speed, and the fourth rotational speed is less than the first rotational speed.
In addition, in order to achieve the above object, the present application also proposes a lock control device including: the lock control method comprises a memory, a processor and a lock control program stored on the memory and capable of running on the processor, wherein the lock control program realizes the steps of the lock control method according to any one of the above items when being executed by the processor.
In addition, in order to achieve the above object, the present application also proposes a lock, including:
a movable member;
the motor is in transmission connection with the movable piece;
according to the lock control device, the motor is connected with the lock control device.
In addition, in order to achieve the above object, the present application also proposes a readable storage medium, on which a lock control program is stored, the lock control program, when executed by a processor, implementing the steps of the lock control method according to any one of the above.
The invention provides a lock control method, which comprises the steps of controlling a motor connected with a moving part of a lock to operate according to a stored first rotating speed after an intelligent unlocking mode of the lock is determined, monitoring sound data generated by the moving part in the process that the motor operates according to the first rotating speed, controlling the motor to operate according to a second rotating speed smaller than the first rotating speed if a characteristic parameter of the sound data is larger than or equal to a parameter threshold value, and storing the second rotating speed to operate so that the motor operates according to the second rotating speed smaller than the first rotating speed after the next intelligent unlocking mode. Above-mentioned in-process, the noise that the moving part produced when the motor moves according to first rotational speed is too big, it leads to the cooperation sound between moving part and the tool to lock fixed part too big to show that the moving part moves at the excessive speed under the drive of motor, consequently in the subsequent operation of tool to lock and get into intelligent unlocking mode next time after, reduce the rotational speed of motor, cooperation sound between moving part and the tool to lock reduces under the drive that makes the motor, thereby the tool to lock reduces at the noise that the state switching produced, avoid the tool to lock to produce noise and influence people's life.
Drawings
FIG. 1 is a schematic diagram of the hardware involved in the operation of one embodiment of the latch control apparatus of the present invention;
FIG. 2 is a schematic flow chart illustrating a lock control method according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart illustrating a lock control method according to another embodiment of the present invention;
FIG. 4 is a schematic flow chart diagram illustrating a lock control method according to another embodiment of the present invention;
FIG. 5 is a schematic flow chart illustrating a lock control method according to another embodiment of the present invention;
fig. 6 is a flowchart illustrating a lock control method according to yet another embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows: determining that the lockset opens an intelligent unlocking mode; controlling a motor to operate according to the stored first rotating speed, wherein the motor is in transmission connection with a movable part of a lock; monitoring sound data generated by the movable part in the process that the motor operates at the first rotating speed; judging whether the characteristic parameter of the sound data is larger than or equal to a parameter threshold value; if so, controlling the motor to operate according to a second rotating speed, and storing the second rotating speed so that the motor operates according to the second rotating speed in the next intelligent unlocking mode of the lockset; wherein the second rotational speed is less than the first rotational speed.
Because in the prior art, the moving part of tool to lock is in the motion in-process, can't avoid producing the friction between with the fixed part, can produce "the click" sound because of the striking even when target in place, especially when the moving part rotates under manual drive fast, the produced noise of tool to lock is especially obvious, causes the puzzlement to people's life.
The invention provides the solution, and aims to reduce the noise generated when the state of the lock is switched and avoid the influence of the noise generated by the lock on the life of people.
The invention provides a lockset, which can be a door lock, a window lock and other optional locksets.
In the embodiment of the present invention, the lock includes a movable member and a motor 01 in transmission connection with the movable member. Specifically, in this embodiment, the movable member is specifically a lock cylinder. In addition, the lockset can also comprise a lock sleeve which is matched and connected with the lock cylinder. Specifically, the lock cylinder is in transmission connection with an output shaft of the motor 01, and when the motor 01 runs, the lock cylinder is driven to rotate through the output shaft.
Specifically, the lock cylinder has a first state and a second state. When the lock core is in the first state, the lock core is matched with the lock sleeve to form an unlocking state of the lockset; when the lock core is in the second state, the lock core and the lock sleeve are matched to form the locking state of the lockset. The motor 01 is used for driving the lock cylinder to move between a first state and a second state so as to realize the switching of the lock between an unlocking state and a locking state.
Further, the lockset can also comprise a position detection module 02 which is arranged inside the lockset and is arranged at an interval with the lock cylinder and used for detecting the current position of the lock cylinder. Specifically, the position detection module 02 may be specifically an encoder or the like.
Further, the tool to lock still can include pickup module 03, locates the inside and near the lock core setting of tool to lock for detect the sound data that the lock core motion in-process produced.
Further, the lock may further include an indication module 04. The indication module 04 can be used for outputting prompt information to prompt the current state of the lockset. The indication module 04 may be a sound prompt module, a display prompt module, and a light display module. In this embodiment, the indication module 04 is specifically a plurality of indication lamps.
Further, the lockset can further comprise a key module 05, wherein the key module 05 is specifically exposed on the surface of the lockset and can be used for acquiring operation information of a user so as to realize switching of the operation mode of the lockset.
Further, the lock can also comprise a handle, and the handle can be rotatably arranged in the lock. The handle may include a connecting portion and a grip portion connected to the connecting portion. Connecting portion specifically is connected with the lock core, and when the handheld portion of holding of user was rotatory, can drive the connecting portion motion rather than being connected, orders about the lock core and rotates and realize the tool to lock and switch between the state of unblanking and locking state.
In addition, the invention also provides a lock control device which is applied to control the lock to be switched between different states, and particularly, but not limited to, the lock control device is switched between the unlocking state and the locking state. The lock control device can be arranged in the lock and can also be arranged independently of the lock.
In an embodiment of the present invention, referring to fig. 1, a lock control device includes: a processor 1001 (e.g., CPU), memory 1002, etc. The memory 1002 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). The memory 1002 may alternatively be a storage device separate from the processor 1001.
The memory 1002, the motor 01, the position detection module 02, the sound collection module 03, the instruction module 04, the key module 05, and the like are connected to the processor 1001. The processor 1001 may acquire data in the memory 1002, the position detection module 02, the sound pickup module 03, and the key module 05 to control operations of the motor 01, the indication module 04, and the like as required, and store data required for the control in the memory 1002.
Those skilled in the art will appreciate that the configuration of the device shown in fig. 1 is not intended to be limiting of the device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a lock control program may be included in the memory 1002, which is a readable storage medium. In the apparatus shown in fig. 1, the processor 1001 may be configured to call a lock control program stored in the memory 1002 and perform operations related to the lock control method in the following embodiments.
The invention also provides a lock control method, which is applied to controlling the lock to be switched between different states, and particularly includes but is not limited to switching between an unlocking state and a locking state. Specifically, the switching between the unlocked state and the locked state herein includes: and at least one switching process of switching from the unlocking state to the locking state, switching from the locking state to the unlocking state and switching the unlocking state and the locking state mutually.
Specifically, in an embodiment of the lock control method of the present invention, referring to fig. 2, the method may specifically include the following steps:
step S10, determining that the lockset opens an intelligent unlocking mode;
the intelligent unlocking mode refers to an operation mode of the lockset, wherein a moving part of the lockset is driven by a motor to switch between an unlocking state and a locking state. The lock may have only one operating mode, the intelligent unlocking mode. In addition, the lock may also have more than one mode of operation, including within the intelligent unlock mode. Specifically, the lock may include an intelligent unlocking mode and a manual unlocking mode. The manual unlocking mode refers to an operation mode of the lockset, wherein a movable part of the lockset is switched between an unlocking state and a locking state through manual driving. Under the manual unlocking mode, the motor connected with the moving part of the lock is forbidden to be powered, and the rotating of the moving part can be driven only in a manual mode.
Specifically, the user can send an enabling signal to the lock through a key or an application connected with the lock in a wireless communication mode. When the enable signal is received, the lockset is controlled to enter an intelligent unlocking mode. When the lockset enters an intelligent unlocking mode, the motor can be controlled to operate so as to drive the moving part of the lockset to move. When the intelligent unlocking mode is entered, the lock is in a locking state, and the motor can be controlled to rotate forwards, so that the lock is switched to an unlocking state; when the intelligent unlocking mode is entered, the lockset is in an unlocking state, and the motor can be controlled to rotate reversely, so that the lockset is switched to a locking state.
Step S20, controlling a motor to run according to the stored first rotating speed, wherein the motor is in transmission connection with a movable piece of a lock;
the first speed may be a pre-stored motor operating parameter or a motor operating parameter determined according to the current state of the lock. In the whole intelligent unlocking mode, the motor can be controlled to operate at a fixed first rotating speed; the motor may also be controlled to operate at a varying first rotational speed. Specifically, the motor operating parameter stored in the last intelligent unlocking mode may be acquired as the first rotation speed.
Step S30, monitoring sound data generated by the movable piece in the process that the motor runs at the first rotating speed;
when the motor runs at the first rotating speed, the moving part is driven to move at a certain rotating speed. In the moving process of the moving part, sound data generated by the moving part is monitored in real time through a pickup module in the lockset.
Step S40, judging whether the characteristic parameter of the sound data is larger than or equal to a parameter threshold value;
if the characteristic parameter of the sound data is greater than or equal to the parameter threshold, step S40 is executed.
The parameter threshold value can be set according to the actual condition of the lock (such as the structural characteristics related to the matching of the lock cylinder and the lock sleeve, the use environment of the lock and the like); the setting can also be made according to the instruction of the user. The value of the parameter threshold represents the maximum threshold of the characteristic parameter of the acoustic data generated by the mobile element that is acceptable to the user of the lock. When the characteristic parameter of the sound data is larger than or equal to the parameter threshold value, the noise generated by the moving part under the driving of the motor according to the first rotating speed is beyond the range accepted by the user, and the user is disturbed; when the characteristic parameter of the sound data is smaller than the parameter threshold value, the noise generated by the movable part driven by the motor according to the first rotating speed is within the range accepted by the user, and the user cannot be disturbed.
In this embodiment, the characteristic parameter is specifically the intensity of the sound data, and the parameter threshold is specifically an intensity threshold. In other embodiments, the characteristic parameter may be set as another parameter characterizing the sound generated by the movable element according to actual requirements, such as duration of sound, frequency of sound, pitch, tone, and so on.
In order to determine the result more accurately, before step S30 is executed, the ambient noise detected by the sound pickup module within a preset time period before entering the current intelligent unlocking mode (i.e., when the moving part is in a stationary state) may be obtained, and step S40 is executed after the noise of the sound data is reduced based on the detected ambient noise.
Step S50, controlling the motor to operate according to a second rotating speed, and storing the second rotating speed so that the motor operates according to the second rotating speed in the next intelligent unlocking mode of the lock; wherein the second rotational speed is less than the first rotational speed.
In the intelligent unlocking mode, the intelligent unlocking device can operate at a fixed second rotating speed until the intelligent unlocking mode is exited; and the intelligent unlocking mode can be operated according to the changed second rotating speed until the intelligent unlocking mode is exited.
The next intelligent unlocking mode refers to the intelligent unlocking mode which is consistent with the switching state of the lock in the current intelligent unlocking mode and enters the lock again when the enable signal is received after the lock exits from the current intelligent unlocking mode. Specifically, if the lock is switched from the first state to the second state in the current intelligent unlocking mode, the lock enters the intelligent unlocking mode again next time and is switched from the first state to the second state, and the motor is controlled to operate according to the second rotating speed.
Specifically, when it is determined that the characteristic parameter of the sound data is greater than or equal to the parameter threshold, the first rotation speed may be reduced according to a certain rule to obtain the second rotation speed, and the obtained second rotation speed may be stored in the memory. Specifically, the first rotating speed can be reduced according to a set proportion to obtain the second rotating speed, the set adjustment range can be reduced on the basis of the first rotating speed to obtain the second rotating speed, in addition, the adjustment mode of the first rotating speed can be determined by combining the current actual running condition of the lockset, and the second rotating speed is obtained after the first rotating speed is reduced according to the determined adjustment mode.
And after entering the intelligent unlocking mode next time, the data in the memory can be called to obtain a second rotating speed. After entering the intelligent unlocking mode next time, the motor can be controlled to operate according to the second rotating speed until the intelligent unlocking mode is exited. In addition, the motor can be controlled to operate according to the second rotating speed at a certain moment or within a certain period of time after the intelligent unlocking mode is entered next time.
The method comprises the steps of controlling a motor connected with a moving part of the lock to operate according to a stored first rotating speed after the intelligent unlocking mode of the lock is determined, monitoring sound data generated by the moving part in the process that the motor operates according to the first rotating speed, controlling the motor to operate according to a second rotating speed smaller than the first rotating speed if a characteristic parameter of the sound data is larger than or equal to a parameter threshold value, and storing the second rotating speed to operate so that the motor can be controlled to operate according to the second rotating speed smaller than the first rotating speed after the intelligent unlocking mode is performed next time. Above-mentioned in-process, the noise that the moving part produced when the motor moves according to first rotational speed is too big, it leads to the cooperation sound between moving part and the tool to lock fixed part too big to show that the moving part moves at the excessive speed under the drive of motor, consequently in the subsequent operation of tool to lock and get into intelligent unlocking mode next time after, reduce the rotational speed of motor, cooperation sound between moving part and the tool to lock reduces under the drive that makes the motor, thereby the tool to lock reduces at the noise that the state switching produced, avoid the tool to lock to produce noise and influence people's life.
It should be noted that, in this embodiment, the storage locations of the first rotation speed and the second rotation speed may be selected according to actual situations, and may be stored in a memory inside the lock, a memory of a terminal connected to the lock, or an application server of a terminal application connected to the lock in a communication manner.
Further, based on the above embodiments, another embodiment of the lock control method of the present application is provided. In another embodiment, referring to fig. 3, the step of controlling the motor to operate at the stored first rotation speed is defined as step S21, and the step S21 is preceded by the step of:
step S01, acquiring the current position of the movable piece as a first position;
specifically, the first position where the moving part is located at present is obtained through data detected in real time by a position detection module in the lockset.
And step S02, acquiring the stored first rotating speed according to the first position.
The position of the movable member when the lock is in a first state (e.g., an unlocked state) is defined as a first reference position, and the position of the movable member when the lock is in a second state (e.g., a locked state) is defined as a second reference position. In all the positions of the movable member involved in the lock state process including the first reference position and the second reference position, several positions are extracted as characteristic positions. And each characteristic position is correspondingly provided with a rotating speed. The rotating speeds corresponding to the characteristic positions can be set to be the same or different according to actual conditions. The rotating speed value correspondingly set at the characteristic position is specifically a motor rotating speed value which can enable the characteristic parameter of the sound data generated by the moving part not to exceed a parameter threshold value in the process that the moving part moves to the next characteristic position. The rotating speed value correspondingly set at each characteristic position can be a motor rotating speed value which is preset according to experience or mass data analysis, and can also be obtained by correcting the characteristic parameter condition of the sound data of the moving part when the lock operates in the intelligent unlocking mode before the current moment on the basis of the preset value.
And the characteristic positions and the corresponding rotating speeds form a driving database of the motor and are stored in a memory. Different lock state switching processes can correspond to different drive databases. Specifically, a first driving database can be correspondingly arranged in the process of switching the lockset from the unlocking state to the locking state, and a second driving database can be correspondingly arranged in the process of switching the lockset from the locking state to the unlocking state. It should be noted that, the storage location of the driving database in this embodiment may be selected according to actual situations, and may be stored in a memory inside the lock, a memory of a terminal connected to the lock, or an application server of a terminal application connected to the lock in a communication manner.
When the intelligent unlocking mode is entered, the state of the lock can be acquired based on the current position of the lock, and when the lock is in a first state, the first driving database can be read to control the motor connected with the moving part to operate; when the lockset is in a second state, the second driving database can be read to control the motor connected with the movable part to operate.
Specifically, the current first position of the lock can be acquired at any time after the intelligent unlocking mode is entered, the first position is matched with each characteristic position in the driving database corresponding to the current lock state switching process, and the rotating speed value corresponding to the characteristic position matched with the first position and stored in the driving database is used as the first rotating speed.
Based on this, step S50 includes:
and step S51, controlling the motor to operate according to a second rotating speed, and storing the first position and the second rotating speed in a correlation manner, so that the motor operates according to the second rotating speed when the movable piece reaches the first position in the next intelligent unlocking mode of the lock.
Specifically, when the characteristic parameter of the sound data generated by the moving part in the process of the motor running at the first rotating speed is greater than or equal to the parameter threshold value, the second rotating speed which is less than the first rotating speed can be determined, the motor is controlled to run at the second rotating speed, the noise in the subsequent unlocking process is avoided to be overlarge, and the currently read rotating speed value of the characteristic position matched with the first position in the driving database is updated to be the second rotating speed.
And after the next time of entering the intelligent unlocking mode, the current position of the moving part can be obtained in real time or at certain intervals, and is matched with the characteristic position in the corresponding driving database, and when the position of the moving part reaches the characteristic position matched with the first position, the motor can be controlled to operate according to the second rotating speed.
In this embodiment, acquire the rotational speed of motor based on the current position that locates of tool to lock, can realize the rational configuration of motor speed control, the position that appears great noise can correspond and adopt lower rotational speed control motor operation, and the position that does not have obvious noise can correspond and adopt great rotational speed control motor operation to guarantee the efficiency that the tool to lock state switches when guaranteeing the tool to lock can not appear the noise. The noise generated by the moving part when the motor runs at the first rotating speed is larger, and then when the moving part reaches the position same as the first position again in the next intelligent unlocking mode, the motor is controlled to run at the second rotating speed lower than the first rotating speed, so that the condition that the characteristic parameter of the sound data is larger than or equal to the parameter threshold value can not occur again when the moving part is driven to move backwards from the first position by the running of the motor in the next intelligent unlocking mode is ensured, and the noise generated when the state of the lock is switched is effectively reduced. In the mode, the rotating speed adjustment corresponding to the first position can be avoided, the rotating speed adjustment on other positions can be influenced, the unnecessary reduction of the rotating speed is avoided, the lock state switching efficiency is ensured, and meanwhile, the influence of overlarge noise on the life of people is avoided.
In addition, in other embodiments, the motor can be controlled to operate according to the fixed second rotating speed in the whole process after the intelligent unlocking mode is entered next time, and the reduction of the switching noise of the lockset can also be realized.
After the step S50, the step S30 may be executed to ensure the accuracy of the stored second rotation speed, and to ensure that the switching noise of the lock is effectively reduced after the intelligent unlocking mode is entered next time.
Based on any one of the embodiments, the lock control method further comprises the step of controlling the lock according to the other embodiment. In another embodiment, referring to fig. 4, after determining that the characteristic parameter of the monitored sound data is greater than or equal to the parameter threshold, before step S50, the method further includes:
step S41, determining a difference between the characteristic parameter of the sound data and the parameter threshold as a first difference;
the first difference here is in particular an absolute difference.
Step S42, determining the second rotation speed according to the first difference and the first rotation speed.
Specifically, a first adjustment parameter of the first rotation speed may be determined based on the first difference, and the second rotation speed may be obtained after the first rotation speed is reduced according to the first adjustment parameter. For example, the correspondence between the difference between the characteristic parameter of the sound data and the parameter threshold and the adjustment parameter is established in advance. The correspondence may be a mapping, a formula, an algorithm, etc. In the corresponding relation, different first difference values correspondingly have different adjustment parameters, the larger the difference value is, the larger the corresponding adjustment parameter is, and the smaller the difference value is, the smaller the corresponding adjustment parameter is. Based on the corresponding relationship, an adjustment parameter corresponding to the first difference value can be determined as the first adjustment parameter. The first adjustment parameter may specifically be an adjustment range, an adjustment ratio, and the like of the first rotation speed. In this embodiment, the corresponding adjustment parameter is determined based on the difference between the characteristic parameter of the sound data and the parameter threshold, and the first rotation speed is reduced to obtain the second rotation speed, so that the determined second rotation speed is more accurate, and the reduction of the noise of the lock in the switching state is further ensured.
Further, referring to fig. 4, before step S42, the method further includes:
step S411, determining a position deviation between the first position and a set position;
the set position specifically refers to a target position that the movable member needs to reach in the current switching state of the lock. Specifically, the set position may be obtained based on the current switching state of the lock. When the current switching state of the lockset is switched from the first state to the second state, the position of the movable part when the lockset is in the second state is obtained as a set position; when the current switching state of the lockset is switched from the second state to the first state, the position of the moving part when the lockset is in the first state is obtained as a set position.
Step S412, judging whether the position deviation is greater than or equal to a deviation threshold value;
when the positional deviation is greater than or equal to a deviation threshold, the step S42 is executed; when the positional deviation is smaller than the deviation threshold, step S43 is executed.
The deviation threshold value can be specifically set according to the actual condition of the lockset and/or the requirement of a user. The position deviation is greater than or equal to a deviation threshold value, which indicates that the current movable part has a larger stroke before moving to the set position; and the position deviation is smaller than a deviation threshold value, which indicates that the current movable piece is about to reach the set position.
Step S43, determining the second rotation speed according to the position deviation, the first difference and the first rotation speed.
Specifically, a second adjustment parameter of the first rotation speed may be determined according to the first difference and the position deviation, and the second rotation speed may be obtained after the first rotation speed is reduced according to the second adjustment parameter.
And establishing a corresponding relation among the first difference, the position deviation and the adjusting parameter in advance. The correspondence may be a mapping, a formula, an algorithm, etc. In the corresponding relationship, different first difference values and position deviations correspond to different adjustment parameters. The larger the difference is, the larger the corresponding adjusting parameter is, and the smaller the difference is, the smaller the corresponding adjusting parameter is; the larger the positional deviation is, the smaller the corresponding adjustment parameter is, and the smaller the positional deviation is, the larger the corresponding adjustment parameter is. Based on the corresponding relationship, the adjustment parameter corresponding to the current first difference and the position deviation can be determined as the second adjustment parameter. The second adjustment parameter may specifically be an adjustment amplitude, an adjustment ratio, and the like. The execution sequence among step S411, step S412, and step S41 is not limited, and may be executed simultaneously or sequentially.
Because the moving part of tool to lock generally produces the impact sound when being about to reach the settlement position easily, if the impact sound can lead to the produced noise of moving part more showing with the friction stack, based on this, this embodiment is through above-mentioned mode, when the position deviation between first position and settlement position is less, obtains the second rotational speed after combining the first difference and the position deviation of the characteristic parameter of the representation sound data and synthesizing to first rotational speed, can guarantee the accuracy nature of the second rotational speed of confirming, the noise that the moving part of further effectual reduction tool to lock produced under next switching state.
Further, in other embodiments, only step S41 and step S42 may be used to determine the second rotational speed.
Based on any one of the above embodiments, a further embodiment of the lock control method is provided. In still another embodiment, referring to fig. 5, after the step S40, or after the step of controlling the motor to operate at the second rotation speed in the step S50, the method further includes:
if the characteristic parameter of the sound data is smaller than the parameter threshold, executing step S60;
step S60, acquiring the current position of the movable piece as a second position;
step S70, determining whether the second position reaches a set position;
the set position specifically refers to a target position that the movable member needs to reach in the current switching state of the lock. Specifically, the set position may be obtained based on the current switching state of the lock. When the current switching state of the lockset is switched from the first state to the second state, the position of the movable part when the lockset is in the second state is obtained as a set position; when the current switching state of the lockset is switched from the second state to the first state, the position of the moving part when the lockset is in the first state is obtained as a set position.
When the second position does not reach the set position, the process returns to the step S02 in the above embodiment after the step S71 is executed; when the second position reaches the set position, step S72 is executed.
A step S71 of configuring the first position as the second position;
specifically, the first position is updated to the second position, and the process returns to step S02, and the corresponding rotation speed is determined according to the second position to control the motor to operate.
And step S72, exiting the intelligent unlocking mode.
The moving part of the lock reaches a set position, which indicates that the state switching of the lock is completed, the intelligent unlocking mode can be quitted, the motor is disabled, and the motor stops driving the moving part.
In this embodiment, when the moving part of tool to lock did not reach the settlement position, the operation rotational speed of motor was confirmed to the current position based on the tool to lock continuously, reach the settlement position until the tool to lock, thereby guarantee the whole switching in-process of tool to lock, the moving part is at the accurate nature of the motor operation rotational speed that different positions correspond, even the noise appears too big in any position, also can carry out the motor rotational speed to this position and in time revise, can effectively reduce the noise that appears when the tool to lock moving part reachs this position when guaranteeing next tool to lock switching state, thereby realize the reduction of whole tool to lock state switching process noise.
Specifically, in this embodiment, after step S60, the method further includes:
and step S80, outputting the corresponding visual prompt information according to the second position.
Different second positions can correspondingly output differentiated visual prompt information to indicate the progress of the lock state switching process. For example, when a prompt module arranged on the lock comprises a plurality of indicator lights, each indicator light correspondingly indicates the position of one movable part. And when the second position is matched with the position corresponding to the indicator light, the indicator light is on, otherwise, the indicator light is kept in a dark state. Through the mode, the user can visually know the process of the current switching state of the lockset.
The execution sequence between step S80 and step S70 is not limited, and may be executed simultaneously or sequentially.
Based on any one of the above embodiments, another embodiment of the lock control method of the present application is provided. In still another embodiment, referring to fig. 6, after the step S40, the method further includes:
if the characteristic parameter of the sound data is smaller than the parameter threshold, step S90 is executed. Specifically, step S90 may be performed after step S72; or directly after step S40, step S90 is performed.
Step S90, determining a difference between the characteristic parameter of the sound data and the parameter threshold as a second difference;
step S91, determining whether the second difference is less than or equal to a set threshold;
when the second difference is less than or equal to a set threshold, executing step S911; when the second difference is greater than the set threshold, step S912 is executed.
The size of the set threshold value can be set according to the actual condition of the lockset and/or the requirement of a user. The threshold is specifically set to distinguish the possibility of the moving member generating an excessive noise condition when the motor drives the moving member at the first rotation speed. Specifically, the second difference is smaller than or equal to the set threshold, which indicates that the possibility of the noise of the moving part being too high when the moving part operates at the first rotating speed is low; the second difference is greater than the set threshold, indicating a greater likelihood of the moving member being noisy when operating at the first speed.
Step S911, storing the third rotating speed so that the motor runs according to the third rotating speed in the next intelligent unlocking mode of the lockset; the third rotational speed is greater than the first rotational speed;
specifically, the adjustment range of the first rotation speed may be determined according to a second difference, the larger the second difference is, the larger the adjustment range is, and the third rotation speed is obtained after the first rotation speed is increased according to the determined adjustment range.
When different motor rotating speeds correspond to different positions, the third rotating speed and the first position can be stored in a related mode, and the moving part in the intelligent unlocking mode next time can operate according to the third rotating speed stored in the related mode when reaching the first position.
Step S912, storing the fourth rotating speed so that the motor runs according to the fourth rotating speed in the next intelligent unlocking mode of the lockset; the fourth rotational speed is less than the first rotational speed.
Specifically, the adjustment range of the first rotation speed may be determined according to a second difference, the smaller the second difference is, the larger the adjustment range is, and the fourth rotation speed is obtained after the first rotation speed is reduced according to the determined adjustment range.
The rotating speed difference value between the fourth rotating speed and the first rotating speed is smaller than the rotating speed difference value between the second rotating speed and the second rotating speed in the embodiment, so that the low noise is realized, and the lock state switching efficiency is ensured.
When different motor rotating speeds correspond to different positions, the fourth rotating speed and the first position can be stored in a related mode, and the moving part in the intelligent unlocking mode next time can operate according to the fourth rotating speed stored in the related mode when reaching the first position.
In this embodiment, even if the characteristic parameter of the sound data is smaller than the parameter threshold, the first rotating speed is adjusted in different manners based on the comparison result between the second difference and the set threshold, wherein when the second difference is smaller, it indicates that the possibility that the noise is too high when the moving part operates according to the first rotating speed is smaller, and then in the next intelligent unlocking mode, especially when the moving part reaches the same position, the motor is controlled to operate by adopting a third rotating speed larger than the first rotating speed, so that the noise disturbing a user is not generated while the lock state switching efficiency is improved; when the second difference value is large, the possibility that the noise of the moving part is too large when the moving part operates at the first rotating speed is large, and then in the next intelligent unlocking mode, particularly when the moving part reaches the same position, the fourth rotating speed which is smaller than the first rotating speed is adopted to control the motor to operate, so that the phenomenon that the noise of the moving part is too large when the lock state is switched next time due to uncertain factors is avoided, and the lock is effectively ensured to realize state switching under a low-noise state.
In addition, an embodiment of the present invention further provides a readable storage medium, where a lock control program is stored on the readable storage medium, and the lock control program, when executed by a processor, implements the relevant steps of any embodiment of the lock control method.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, a lock, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (11)
1. A lock control method is characterized by comprising the following steps:
determining that the lockset opens an intelligent unlocking mode;
controlling a motor to operate according to the stored first rotating speed, wherein the motor is in transmission connection with a movable part of a lock;
monitoring sound data generated by the movable part in the process that the motor operates at the first rotating speed;
judging whether the characteristic parameter of the sound data is larger than or equal to a parameter threshold value;
if so, controlling the motor to operate according to a second rotating speed, and storing the second rotating speed so that the motor operates according to the second rotating speed in the next intelligent unlocking mode of the lockset; wherein the second rotational speed is less than the first rotational speed.
2. The lock control method of claim 1, wherein prior to the step of controlling the motor to operate at the stored first rotational speed, further comprising:
acquiring the current position of the moving part as a first position;
and acquiring the stored first rotating speed according to the first position.
3. The lock control method of claim 2, wherein prior to the step of controlling the motor to operate at the second rotational speed, further comprising:
determining a difference value between the characteristic parameter of the sound data and the parameter threshold value as a first difference value;
and determining a second rotating speed according to the first difference and the first rotating speed.
4. The lock control method of claim 3, wherein the step of determining the second rotational speed based on the first difference and the first rotational speed is preceded by the step of:
determining a position deviation between the first position and a set position;
when the position deviation is greater than or equal to a deviation threshold, performing the step of determining the second rotation speed according to the first difference and the first rotation speed;
and when the position deviation is smaller than the deviation threshold value, determining the second rotating speed according to the position deviation, the first difference value and the first rotating speed.
5. The lock control method of claim 2, wherein the step of controlling the motor to operate at a second speed and storing the second speed such that the motor operates at the second speed in a next smart unlock mode of the lock comprises:
and controlling the motor to operate according to a second rotating speed, and storing the first position and the second rotating speed in a correlation manner, so that the motor operates according to the second rotating speed when the moving part reaches the first position in the next intelligent unlocking mode of the lockset.
6. The lock control method according to any one of claims 2 to 5, wherein after the step of determining whether the characteristic parameter of the sound data is greater than or equal to a parameter threshold, the method further comprises:
if the characteristic parameter of the sound data is smaller than the parameter threshold value, acquiring the current position of the moving part as a second position;
judging whether the second position reaches a set position;
when the second position does not reach the set position, configuring the first position as the second position;
returning to the step of acquiring the stored first rotating speed according to the first position;
and when the second position reaches the set position, the intelligent unlocking mode is exited.
7. The lock control method of claim 6, wherein the step of obtaining the current position of the movable member as the second position further comprises, after the step of obtaining the current position of the movable member:
and outputting corresponding visual prompt information according to the second position.
8. The lock control method according to any one of claims 1 to 5, wherein after the step of determining whether the characteristic parameter of the sound data is greater than or equal to a parameter threshold, the method further comprises:
if the characteristic parameter of the sound data is smaller than the parameter threshold, determining a difference value between the characteristic parameter of the sound data and the parameter threshold as a second difference value;
when the second difference is smaller than or equal to a set threshold, determining the adjustment range of the first rotating speed according to the second difference, increasing the first rotating speed according to the adjustment range to obtain a third rotating speed, and storing the third rotating speed so that the motor runs according to the third rotating speed in the next intelligent unlocking mode of the lock;
when the second difference is larger than the set threshold, determining the adjustment range of the first rotating speed according to the second difference, reducing the first rotating speed according to the adjustment range to obtain a fourth rotating speed, and storing the fourth rotating speed so that the motor runs according to the fourth rotating speed in the next intelligent unlocking mode of the lock;
wherein the third rotational speed is greater than the first rotational speed, and the fourth rotational speed is less than the first rotational speed.
9. A lock control device, comprising: memory, a processor and a lock control program stored on the memory and executable on the processor, the lock control program when executed by the processor implementing the steps of the lock control method according to any one of claims 1 to 8.
10. A lock, characterized in that it comprises:
a movable member;
the motor is in transmission connection with the movable piece;
the lock control device of claim 9, said motor being coupled to said lock control device.
11. A readable storage medium having a lock control program stored thereon, which when executed by a processor implements the steps of the lock control method according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010247173.9A CN111395877B (en) | 2020-03-31 | 2020-03-31 | Lockset, lockset control method, control device and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010247173.9A CN111395877B (en) | 2020-03-31 | 2020-03-31 | Lockset, lockset control method, control device and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111395877A CN111395877A (en) | 2020-07-10 |
CN111395877B true CN111395877B (en) | 2022-02-22 |
Family
ID=71426423
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010247173.9A Active CN111395877B (en) | 2020-03-31 | 2020-03-31 | Lockset, lockset control method, control device and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111395877B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112821848B (en) * | 2020-12-30 | 2023-03-31 | 珠海格力电器股份有限公司 | Motor control method and device, intelligent lock and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101656901A (en) * | 2008-08-21 | 2010-02-24 | 欧力天工股份有限公司 | Noise-canceling system |
CN102216980A (en) * | 2011-05-09 | 2011-10-12 | 华为技术有限公司 | Wheelwork noise control method and controller |
CN205894889U (en) * | 2016-08-08 | 2017-01-18 | 温州喜得宝锁业有限公司 | Vibration/noise reduction fingerprint lock |
KR20170100722A (en) * | 2016-02-26 | 2017-09-05 | 주식회사 서연전자 | Smartkey System having a function to recognition sounds of users |
CN110264603A (en) * | 2019-06-28 | 2019-09-20 | 移康智能科技(上海)股份有限公司 | Electronic lock adjusting method and electronic lock |
-
2020
- 2020-03-31 CN CN202010247173.9A patent/CN111395877B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101656901A (en) * | 2008-08-21 | 2010-02-24 | 欧力天工股份有限公司 | Noise-canceling system |
CN102216980A (en) * | 2011-05-09 | 2011-10-12 | 华为技术有限公司 | Wheelwork noise control method and controller |
KR20170100722A (en) * | 2016-02-26 | 2017-09-05 | 주식회사 서연전자 | Smartkey System having a function to recognition sounds of users |
CN205894889U (en) * | 2016-08-08 | 2017-01-18 | 温州喜得宝锁业有限公司 | Vibration/noise reduction fingerprint lock |
CN110264603A (en) * | 2019-06-28 | 2019-09-20 | 移康智能科技(上海)股份有限公司 | Electronic lock adjusting method and electronic lock |
Also Published As
Publication number | Publication date |
---|---|
CN111395877A (en) | 2020-07-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111395877B (en) | Lockset, lockset control method, control device and readable storage medium | |
US7683757B2 (en) | Multi-antenna system and method for remotely controlling a function | |
US7592895B2 (en) | System and method for remotely controlling a function | |
US20050099263A1 (en) | Keyless entry system | |
KR101417455B1 (en) | User oriented type remote keyless entry system and method thereof | |
US11173895B2 (en) | Parking support apparatus | |
CN111827793B (en) | Electronic lock, electronic lock state detection method and storage medium | |
CN113492405B (en) | Robot door opening method and device, storage medium and electronic equipment | |
CN111688638A (en) | Control system for construction machine and control method for construction machine | |
JP5985032B1 (en) | Key opening / closing device, operation control system | |
US6552506B2 (en) | Method for determining the position of an element driven by the drive shaft of a direct current motor | |
CN108482310A (en) | A kind of vehicle key-free control method and device | |
JP3797250B2 (en) | Control device for vehicle opening / closing body and control method for vehicle opening / closing body | |
GB2431264A (en) | A system for remotely controlling a vehicle function | |
CN113027246B (en) | Lock body, control method thereof and computer readable storage medium | |
CN115325980A (en) | Method and device for detecting stroke of mechanical lock body, electronic equipment and storage medium | |
CN113727889B (en) | Assistance system assistance for automatic parking | |
EP3751078A1 (en) | Electronic lock and method for accessing the same | |
WO2022084708A1 (en) | Information processing device and information processing method | |
JP4279728B2 (en) | Electric steering lock device | |
CN117211632A (en) | Control system, method and device applied to stroke control of electric stay bar | |
WO2022084709A1 (en) | Information processing device and information processing method | |
JP2012132222A (en) | On-vehicle wireless communication terminal and wireless vehicle control system | |
KR20190012318A (en) | Smart key interlocking sliding door automatic opening device and method thereof | |
JP2019027126A (en) | Electric lock control system, electric lock system, control method, and program |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |