A lock core structure and a door opening and closing control method using the lock core structure
By designing the lock core structure in the smart door lock, the coordination of the photoelectric sensor and the induction gear is used to dynamically adjust the motor rotation time to solve the problem of incomplete switching door of the smart door lock under different power conditions and the high equipment consumption. A safe and reliable switch door control and low -power equipment operation.
Patent Information
- Application Number
- CN201910796190.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-08-27
- Publication Date
- 2025-01-28
- Estimated Expiration
- 2039-08-27
AI Technical Summary
When the battery is low, the motor rotation speed is insufficient, resulting in incomplete opening and closing doors, which poses safety hazards; when the battery is sufficient, excessively long motor rotation time leads to increased equipment power consumption and serious motor loss.
Design a type of lock core, including control systems, motors, photoelectric sensors, induction gears, and transmission gears. The combination of gear baffle with induced gears and photoelectric sensors, read the pulse signal and adjust the rotation time of the motor, according to the real -time battery's real -time battery Electric power dynamically adjust the rotation time of the motor.
The accurate opening and closing control of smart door locks under different power conditions has been achieved, the hidden safety hazards are eliminated, the consumption and equipment loss of the power are reduced, and the gear card is killed and the motor is empty.
Smart Images

Figure CN110453993B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent door locks, and in particular to a lock core structure and a door opening and closing control method using the lock core structure. Background Art
[0002] Smart door locks have become increasingly popular in recent years, and there are many ways to open / close the lock (motor rotation control), each with its own advantages and disadvantages. Some of them use a fixed motor rotation time to open / close the door, but the disadvantage is that the motor rotation speed is affected by the battery power of the smart door lock. When the battery power is low, the door will not be opened or closed properly, which poses a safety hazard. Therefore, an excessive motor rotation time must be set to ensure that the motor can still rotate properly when the battery power is low. In this case, when the battery power is sufficient, the excessive motor rotation time causes the motor to continue rotating when the transmission gear rotates to the right position, which not only causes damage to the motor, but also causes the transmission gear to get stuck and the motor to consume a lot of power when idling, which increases the power consumption of the device.
[0003] There are also some implementation methods that open / close the door by fixing the motor rotation angle and using a baffle to stop the motor from rotating. Such a stalled current consumption is very large, and a current detection circuit must be designed at the same time. Summary of the invention
[0004] The purpose of the present invention is to provide a lock core structure and a door opening and closing control method using the lock core structure, which adjusts the rotation time of the motor according to the battery power to achieve precise door opening / closing control, eliminate safety hazards, and reduce power consumption and equipment loss.
[0005] In order to achieve the above object, the solution of the present invention is:
[0006] A lock core structure includes a control system, a motor and a photoelectric sensor installed in an intelligent door lock, and an induction gear and a transmission gear installed on the rotating shaft of the motor; the motor and the photoelectric sensor are electrically connected to the control system, and the transmission gear cooperates with the lock of the intelligent door lock; the photoelectric sensor includes an infrared tube and a receiving tube, and the photoelectric sensor is formed with a groove, and the groove is located between the infrared tube and the receiving tube; the receiving tube receives the signal of the infrared tube and outputs a low level, otherwise it outputs a high level; the induction gear is formed with a plurality of gear baffles protruding along its circumference, and the gear baffles are engaged in the groove with the rotation of the induction gear and block the signal between the infrared tube and the receiving tube.
[0007] The number of the gear baffles is eleven.
[0008] The gear baffle plate comprises a first baffle plate and two groups of second baffle plate assemblies, and the two groups of second baffle plate assemblies are symmetrically arranged on both sides of the first baffle plate.
[0009] Each group of second baffle plate assemblies includes five second baffle plates; the widths of the second baffle plates are different.
[0010] The width of the first baffle is not equal to that of the second baffle.
[0011] The photoelectric sensor is electrically connected to the GPIO of the control system of the smart door lock.
[0012] A door opening and closing control method, using the lock core structure, comprises the following steps:
[0013] Step 1: The smart door lock is turned on and initialized. The control system reads the pulse signal of the photoelectric sensor and records the high level time of each pulse signal between the initial state and the terminal state, that is, the time when each gear baffle outputs a high level. Let the time when each gear baffle outputs a high level be X. i *T, where T is the time when the first gear baffle outputs a high level, X i is the proportional coefficient, i is the serial number of the gear baffle, the maximum value of i is the number of gear baffles, X1=1, and X is obtained. i The continuous sequence is set as the preset open / close door signal according to the distinction of the smart door lock open / close door command.
[0014] Step 2: When the smart door lock is working, set the preset rotation time of the motor to T 预置 The control system collects the real-time power of the smart door lock battery and adjusts the real-time rotation time T of motor 2 according to the percentage A of the real-time power to the full power. 实时 , where T 实时 =T 预置 / A.
[0015] Step 3: When the smart door lock receives the door opening / closing command, the lock core structure rotates, and the control system reads N consecutive pulse signals of the photoelectric sensor and records the time when each gear baffle outputs a high level. The time when the first gear baffle outputs a high level is t, and the time when the subsequent gear baffle outputs a high level is Y. j *t, where N is the number of gear baffles, Y j is the proportional coefficient, j is the serial number of the gear baffle, the maximum value of j is the number of gear baffles, Y1=1, and Y j The continuous sequence is matched with the preset door opening / closing instructions according to the distinction of the door opening / closing instructions. If the match fails, an alarm is issued to remind the user.
[0016] By adopting the above structure and method, the present invention collects the real-time power of the battery through the control system, adjusts the real-time rotation time of the motor to adapt to the real-time power, realizes precise opening / closing control of the smart door lock, eliminates safety hazards, and ensures that the lock core structure rotates into place. There will be no situation where the gears are stuck and the motor is idling, and there will be no situation where the lock core is not rotated into place, thereby reducing power consumption and equipment loss. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 It is a structural schematic diagram of a specific embodiment of the present invention;
[0018] Figure 2 is a three-dimensional diagram of the photoelectric sensor of the present invention;
[0019] Figure 3 is a circuit diagram of the photoelectric sensor of the present invention;
[0020] Figure 4 It is a structural schematic diagram of the induction gear of the present invention;
[0021] Figure 5 Schematic diagram of pulse signal according to a specific embodiment of the present invention.
[0022] Description of the accompanying drawings: control system 1; motor 2; photoelectric sensor 3; infrared tube 31; receiving tube 32; groove 33; induction gear 4; gear baffle 41; first baffle 411; second baffle 412; transmission gear 5. DETAILED DESCRIPTION
[0023] In order to further explain the technical solution of the present invention, the present invention is described in detail below through specific embodiments.
[0024] refer to Figures 1 to 4 As shown, the present invention is a lock core structure, including a control system 1, a motor 2 and a photoelectric sensor 3 installed in a smart door lock, and an induction gear 4 and a transmission gear 5 installed on the rotating shaft of the motor 2; the above-mentioned motor 2 and photoelectric sensor 3 are electrically connected to the control system 1, and the transmission gear 5 cooperates with the lock of the smart door lock.
[0025] The photoelectric sensor 3 includes an infrared tube 31 and a receiving tube 32, and the photoelectric sensor 3 is formed with a groove 33, and the groove 33 is located between the infrared tube 31 and the receiving tube 32; the receiving tube 32 receives the signal of the infrared tube 31 and outputs a low level, otherwise it outputs a high level. In this embodiment, the photoelectric sensor 3 is electrically connected to the GPIO (general input / output port) of the control system 1 of the smart door lock, which can achieve energy saving and real-time control.
[0026] The above-mentioned induction gear 4 is formed with a plurality of gear baffles 41 protruding along its circumference; the above-mentioned gear baffle 41 includes a first baffle 411 and two groups of second baffle assemblies, and the two groups of second baffle assemblies are symmetrically arranged on both sides of the first baffle 411; each group of the above-mentioned second baffle assemblies includes a plurality of second baffles 412, and the width of the first baffle 411 is not equal to the second baffle 412; in this embodiment, the number of the second baffles 412 is five, and the widths of the second baffles are different. The above-mentioned gear baffle 41 is engaged in the groove 33 with the rotation of the induction gear 4 and blocks the signal between the infrared tube 31 and the receiving tube 32. The above-mentioned first baffle 411 is the initial position of the smart door lock in the closed state, that is, when the first baffle 411 is engaged in the groove 33 when the smart door lock is in the closed state, the photoelectric sensor 3 reads a high-level signal; then the area between the ends of the above-mentioned two groups of second baffle assemblies away from the first baffle 411 is the initial position of the smart door lock in the open state, that is, when the smart door lock is in the open state, there is no gear baffle 41 blocking the groove 33, and the photoelectric sensor 3 reads a low-level signal.
[0027] During the process of switching the door opening and closing states, the induction gear 4 of the smart door lock only rotates 180°, that is, according to the opening direction of the door on which the smart door lock is installed (left inward opening, left outward opening, right inward opening and right outward opening), only one first baffle plate 411 and a group of second baffle plate assemblies of the induction gear 4 are in the effective working state.
[0028] By providing the first baffle 411 and the second baffle 412 with different widths, it is convenient to accurately distinguish the starting position and the rotation process of opening / closing the door in the following control method.
[0029] A door opening and closing control method using the lock core structure comprises the following steps:
[0030] Step 1: The smart door lock is turned on and initialized. The control system 1 reads the pulse signal of the photoelectric sensor 3 and records the high level time of each pulse signal between the initial state and the terminal state, that is, the time when each second baffle 412 outputs a high level. Let the time when each second baffle 412 outputs a high level be X. i *T, where T is the time when the first second baffle 412 outputs a high level, X i is the proportionality coefficient, i is the serial number of the second baffle 412, and the maximum value of i in this embodiment is 5 (i.e., the number of second baffles 412 in each group of second baffle assemblies), X1=1, and X is obtained. i A continuous sequence is distinguished by the high / low level of the initial position of the pulse signal, such as Figure 5 As shown, it is set to preset the open / close door signal, where Figure 5The upper curve is the door opening signal, and the lower curve is the door closing signal. During the initialization process, the induction gear 4 only rotates 180°, that is, the time when half of the first baffle 411 and a group of second baffle components output high level is read.
[0031] In the above step 1, X1=1, which means that X1*T is the time when the first second baffle 412 outputs a high level, and the time when subsequent second baffles 412 output high levels is based on the first second baffle 412 and is proportional.
[0032] Step 2: When the smart door lock is working, set the preset rotation time of motor 2 to T 预置 , the control system 1 collects the real-time power of the smart door lock battery, and adjusts the real-time rotation time T of the motor 2 according to the percentage A of the real-time power to the full power 实时 , where T 实时 =T 预置 / A.
[0033] By collecting the electric quantity, the rotation time of the motor 2 is adjusted in real time, so that the lock core structure can rotate a complete cycle during operation, ensuring that the lock core structure rotates into place.
[0034] Step 3: When the smart door lock receives the door opening / closing command, the lock core structure rotates, the control system 1 reads the pulse signal of the photoelectric sensor 3 (ensuring that the pulse signal of a complete rotation cycle is read), and the time when each second baffle 412 outputs a high level is recorded. The time when the first second baffle 412 outputs a high level is t, and the time when the subsequent second baffle 412 outputs a high level is Y. j *t, where Y j is the proportionality coefficient, j is the serial number of the second baffle 412, and the maximum value of j in this embodiment is 5 (i.e., the number of second baffles 412 in each group of second baffle assemblies), Y1=1, and Y j The continuous sequence is matched with the preset door opening / closing command according to the distinction of the door opening / closing command. If the match fails, an alarm is issued to remind the user. Figure 5 As shown, a complete door opening signal starts with a high level and ends with a low level; a complete door closing signal starts with a low level and ends with a high level.
[0035] In the above step 3, the door opening / closing signal is determined by collecting pulse signals and calculating the proportional relationship between the first pulse signal and the subsequent pulse signals. The determination process is related to the real-time rotation time T of the motor 2. 实时 It is irrelevant, that is, it is not affected by the real-time battery power to ensure the accuracy of the judgment result.
[0036] By adopting the above structure and method, the present invention collects the real-time power of the battery through the control system 1, and adjusts the real-time rotation time T of the motor 2 adapted to the real-time power.实时 , to achieve precise opening / closing control of the smart door lock, eliminate potential safety hazards, and ensure that the lock core structure rotates in place. There will be no situation where the gears are stuck and the motor 2 is idling, and there will be no situation where the lock core is not rotated in place, thereby reducing power consumption and equipment loss.
[0037] The above embodiments and drawings do not limit the product form and style of the present invention. Any appropriate changes or modifications made by ordinary technicians in the relevant technical field should be deemed to be within the patent scope of the present invention.
Claims
1. A door opening and closing control method, characterized in that: A lock core structure is applied; the lock core structure comprises a control system, a motor and a photoelectric sensor installed in an intelligent door lock, and an induction gear and a transmission gear installed on the rotating shaft of the motor; the motor and the photoelectric sensor are electrically connected to the control system, and the transmission gear cooperates with the lock of the intelligent door lock; the photoelectric sensor comprises an infrared tube and a receiving tube, and the photoelectric sensor is formed with a groove, and the groove is located between the infrared tube and the receiving tube; the receiving tube receives the signal of the infrared tube and outputs a low level, otherwise it outputs a high level; the induction gear is protruded along its circumference to form a plurality of gear baffles, and the gear baffles are matched in the groove with the rotation of the induction gear and block the signal between the infrared tube and the receiving tube; the following steps are included: Step 1: The smart door lock is turned on and initialized. The control system reads the pulse signal of the photoelectric sensor and records the high level time of each pulse signal between the initial state and the terminal state, that is, the time when each gear baffle outputs a high level. Let the time when each gear baffle outputs a high level be X. i *T, where T is the time when the first gear baffle outputs a high level, X i is the proportional coefficient, i is the serial number of the gear baffle, the maximum value of i is the number of gear baffles, X1=1, and X is obtained. i The continuous sequence is set as the preset open / close door signal according to the distinction of the open / close door command of the smart door lock; Step 2: When the smart door lock is working, set the preset rotation time of the motor to T 预置 The control system collects the real-time power of the smart door lock battery and adjusts the real-time rotation time T of the motor according to the percentage A of the real-time power to the full power. 实时 , where T 实时 =T 预置 / A; Step 3: When the smart door lock receives the door opening / closing command, the lock core structure rotates, and the control system reads N consecutive pulse signals of the photoelectric sensor and records the time when each gear baffle outputs a high level. The time when the first gear baffle outputs a high level is t, and the time when the subsequent gear baffle outputs a high level is Y. j *t, where N is the number of gear baffles, Y j is the proportional coefficient, j is the serial number of the gear baffle, the maximum value of j is the number of gear baffles, Y1=1, and Y j The continuous sequence is matched with the preset door opening / closing instructions according to the distinction of the door opening / closing instructions. If the match fails, an alarm is issued to remind the user.
2. A door opening and closing control method as claimed in claim 1, characterized in that: The number of the gear baffles is eleven.
3. A door opening and closing control method as claimed in claim 1, characterized in that: The gear baffle plate comprises a first baffle plate and two groups of second baffle plate assemblies, and the two groups of second baffle plate assemblies are symmetrically arranged on both sides of the first baffle plate.
4. A door opening and closing control method as claimed in claim 3, characterized in that: Each group of the second baffle plate assemblies includes five second baffle plates; the widths of the second baffle plates are different.
5. A door opening and closing control method as claimed in claim 3, characterized in that: The width of the first baffle is not equal to that of the second baffle.
6. A door opening and closing control method as claimed in claim 1, characterized in that: The photoelectric sensor is electrically connected to the GPIO of the control system of the smart door lock.
Citation Information
Patent Citations
Inteligent self-adaptive driving system and method for electronic lock
CN109403730A
Lock cylinder structure of intelligent door lock
CN211201437U