Lock cylinder electric control transmission structure of full-automatic intelligent lock and control method of lock cylinder electric control transmission structure

By integrating the micro motor, worm and microcontroller control systems, the problems of inconvenient installation of the lock core transmission structure of the fully automatic intelligent lock are solved, and the precise rotation control and low power consumption mode of the lock core are realized, ensuring the transmission structure safety and convenience.

CN119195587APending Publication Date: 2024-12-27FUZHOU SHENGYU DOOR CONTROL INTELLIGENT TECH CO LTD

Patent Information

Application Number
CN202410114068.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-27
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

The existing fully automatic intelligent lock lock core transmission structure has external drive motor, which is inconvenient for installation, lacks rotation position detection and feedback control, and the external resistance detection is not timely, resulting in easy damage to the motor and transmission components. Manual unlocking and electric unlocking coexist. Lack of disengagement position detection function.

Method used

Using micro motors, worms, reducer gear mechanisms, clutch gear mechanisms and microcontroller control boards, the micro motors can be controlled by microcontrollers to achieve precise rotation control of the lock core, integrate geomagnetic sensors and rotation angle sensors to realize the front and reverse directions of the lock core and different angles. Accurate rotation, with low power mode and overload protection.

Benefits of technology

It realizes accurate rotation control of the lock core, is small in size, is easy to install, has low power consumption mode and overload protection, can accurately detect and feedback clutch status, and improves the door's switch position detection accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119195587A_ABST
    Figure CN119195587A_ABST
Patent Text Reader

Abstract

The invention provides a lock cylinder electric control transmission structure of a full-automatic intelligent lock and a control method. The lock cylinder electric control transmission structure of the full-automatic intelligent lock comprises a mounting shell, a micro motor, a worm, a reduction gear mechanism, a clutch gear mechanism, an output gear, an output shaft and a single-chip microcomputer control panel, the clutch support and the output gear are provided with small magnets. The single-chip microcomputer control panel comprises a processor, a geomagnetic sensor, a rotation angle sensor and a clutch state sensor. The lock cylinder electric control transmission structure is small in size and convenient to install, a single-chip microcomputer control system is integrated into a mechanical transmission structure, the clutch state can be accurately detected and subjected to feedback control, accurate rotation control of the lock cylinder in the positive and negative directions and at different angles can be achieved, and the lock cylinder electric control transmission structure has a low-power-consumption mode, overload protection and door opening / closing position detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of intelligent door locks, and in particular to an electric control transmission structure of a lock core of a fully automatic intelligent lock and a control method thereof. Background Art

[0002] With the development of science and technology and the continuous improvement of living standards, door locks have ushered in a comprehensive upgrade. Various new types of smart locks have gradually come into the public eye, and more and more people choose to install smart locks on their home and office doors. Smart locks use a new unlocking method, which is generally unlocked and locked by password verification, card verification, fingerprint recognition, face recognition, etc., which is safer, more convenient and faster. At present, most smart locks on the market open doors in a semi-automatic way, that is, after the smart lock is unlocked, you still need to manually rotate the handle to drive the lock tongue to extend before you can open the door. This method is particularly inconvenient when using face recognition to unlock, and you cannot unlock and open the door directly when you have things in your hands.

[0003] In recent years, fully automatic smart locks have appeared on the market. After verification by password, card swiping, fingerprint recognition, face recognition, etc., this method directly drives the transmission mechanism to rotate the lock core through the motor, and the lock core drives the lock tongue to extend and extend to achieve unlocking and locking. This method is more convenient. The main core component to achieve this function is the lock core transmission device. The core functions of the lock core transmission device currently on the market are as follows: (1) The device mainly includes a motor, a reduction gear, an output gear, an output shaft, etc. The motor drives the output gear to rotate at a low speed through the reduction gear, and the output gear drives the output shaft to rotate. The lock cylinder rotates; (2) After identity verification, the device drives the lock cylinder to rotate forward through the output shaft, extending the lock tongue to unlock and open the door; (3) After the door is closed, the device drives the lock cylinder to rotate reversely through the output shaft, extending the lock tongue to lock the door; (4) During the process of the device driving the lock cylinder to rotate through the output shaft, if the external resistance is large, an automatic slipping gear is designed inside the device to prevent damage to the motor and transmission components; (5) When manually unlocking the door by means of a key, a knob on the back, etc., the output shaft of the device is disengaged from the internal transmission structure to prevent the reduction gear from increasing speed in the reverse direction and damaging the motor and transmission components.

[0004] At present, the lock core transmission structure of the fully automatic smart lock on the market is composed of mechanical parts, which do not have the transmission position information feedback and control function, and have the following defects:

[0005] (1) The drive motor is installed outside the transmission device, with an irregular shape and a large volume, which is not conducive to the design and installation of the lock body structure.

[0006] (2) After the door is closed, it is necessary to use the button trigger device output shaft to drive the lock cylinder to reverse and lock it, or to install an additional door magnet for linkage triggering. The convenience needs to be improved.

[0007] (3) The rotational position of the output gear is controlled by setting the time or number of pulses of the driving motor. It does not have the function of rotational position detection and feedback control, and position deviation is prone to occur, and the deviation increases with the number of rotations.

[0008] (4) When the external resistance is large, in order to prevent damage to the motor and transmission components, an automatic slipping gear is designed inside the device. It does not have the function of detecting the torque size and stopping the transmission in time. Long-term slipping can easily cause damage to the motor and gears.

[0009] (5) In order to achieve the coexistence of manual unlocking and electric unlocking, a disengagement gear is generally designed inside the device. After electric unlocking, the output shaft is disengaged from the internal transmission structure through the disengagement gear. However, neither of them has the function of disengagement position detection and feedback control, which can easily cause re-closing under external vibration interference. Summary of the invention

[0010] In view of this, the object of the present invention is to provide an electronically controlled transmission structure of a lock core of a fully automatic intelligent lock and a control method thereof, which can realize precise rotation control of the lock core in the forward and reverse directions and at different angles, and has a low power consumption mode, overload protection and door open / close position detection.

[0011] To achieve the above-mentioned purpose, the present invention adopts the following technical scheme: an electronically controlled transmission structure of a lock core of a fully automatic intelligent lock, comprising an installation shell, a micro motor, a worm, a reduction gear mechanism, a clutch gear mechanism, an output gear and an output shaft, and a single-chip control board; the clutch gear mechanism is composed of a clutch bracket, a clutch drive gear, and a double clutch gear, and small magnets are installed on the clutch bracket and the output gear; the single-chip control board includes a processor, a geomagnetic sensor, a rotation angle sensor, and a clutch state sensor; the micro motor drives the reduction gear through the worm, the reduction gear is meshed with the clutch drive gear, the clutch drive gear is meshed with the two clutch gears, and the clutch drive gear drives the clutch bracket to rotate forward and reverse through transmission inertia to realize the meshing and disengagement of the two clutch gears and the output gear.

[0012] In a preferred embodiment, the mounting housing specifically includes an upper housing and a lower housing; both the upper housing and the lower housing are provided with mounting holes for mounting the output gear and the output shaft.

[0013] In a preferred embodiment, the interior of the mounting shell is provided with a single-chip microcomputer control board, a clutch drive gear, a clutch transmission output gear, an output gear and an output shaft, two clutch gears, a clutch upper bracket, a secondary reduction gear pinion, a secondary reduction gear gear, a primary reduction gear, a primary reduction gear shaft, a motor worm, a micro motor, bearings, a single-chip microcomputer processor, a geomagnetic sensor, a motor control line interface and an external control line interface.

[0014] In a preferred embodiment, the reduction gear mechanism is composed of a primary reduction gear and a secondary reduction gear; the clutch gear mechanism includes a clutch bracket, a clutch drive gear, a clutch transmission output gear, a forward clutch gear, a reverse clutch gear, a gasket, a clutch spring and a small magnet installed on the clutch upper bracket; the single-chip microcomputer control board controls the micromotor through the worm drive reduction gear mechanism, the secondary reduction pinion of the reduction gear mechanism is meshed with the clutch drive gear, the clutch transmission output gear is meshed with the two forward and reverse clutch gears, and the clutch transmission output gear drives the clutch bracket to rotate forward and reverse through transmission inertia to achieve the engagement and disengagement of the two clutch gears and the output gear.

[0015] In a preferred embodiment, the single-chip microcomputer control board controls the forward and reverse rotation of the micro motor, and with the help of the transmission of the reduction gear mechanism and the clutch gear mechanism, the clutch bracket rotates in the direction of closing the output gear, thereby realizing the forward and reverse rotation of the lock cylinder driven by the output gear. After the lock cylinder rotates into place, the control outputs a smaller reverse signal to cause the clutch bracket to rotate a smaller angle in the direction of disengaging from the output gear, so that the clutch gear disengages from the output gear.

[0016] In a preferred embodiment, the processor is specifically a single-chip microcomputer processor STM32L031K6T6.

[0017] In a preferred embodiment, the geomagnetic sensor is specifically a ST480M chip.

[0018] In a preferred embodiment, the single-chip microcomputer control board is arranged directly above the output gear, the inner circle of the circuit board of the single-chip microcomputer control board is arranged concentrically with the output gear, the single-chip microcomputer control board is sleeved on the output shaft of the output gear, and there is a gap between the single-chip microcomputer control board and the output gear and the output shaft. Two small magnets are installed on the output gear, and the four rotation angle sensors on the single-chip microcomputer control board judge the rotation angle of the output gear by sensing the small magnets at 90°, 180°, 270°, and 360°.

[0019] The present invention also provides a control method for the electric control transmission structure of the lock core of a fully automatic smart lock, which adopts the above-mentioned electric control transmission structure of the lock core of a fully automatic smart lock, and comprises the following steps:

[0020] Step 1: Install the designed lock core electronically controlled transmission structure to the smart lock, connect the lock core transmission rod with the output shaft of the output gear, and rotate the lock core to the initial 0°;

[0021] Step 2: Connect the lock cylinder electronic control transmission structure with the smart lock main control system through the external interface, and the smart lock main control system supplies power to the single-chip control board, and transmits data through the asynchronous serial bus USART;

[0022] Step 3: After power-on initialization, the microcontroller processor STM32L031K6T6 enters low power consumption mode for a long time;

[0023] Step 4: After the MCU wakes up from low power consumption, it determines the wakeup source. If it is a new instruction, it goes directly to step 5. Otherwise, it further determines whether it is an external interrupt wakeup caused by a change in geomagnetic information. It queries the 3D information of the current geomagnetic sensor ST480M and compares it with the set door closing 3D information. Then, it sends the current door open or closed status through the serial port. If it is not an external interrupt wakeup caused by a change in geomagnetic information, it enters low power waiting again;

[0024] Step 5: parse the received command, determine whether it is an unlock command, a setting command, a query command, or a lock command, and go to one of the branches of steps 6, 8, 9, or 10 according to the command parsing result;

[0025] Step 6: If it is an unlocking command, the output gear is controlled to rotate according to the set rotation direction and angle. The angle exceeding 90° rotates at high speed V1, and the last 90° is controlled to rotate at medium speed V2. During the rotation process, the microcontroller detects the micro motor drive current in real time through A / D sampling. When the external resistance is large, the micro motor drive current rises sharply. If the motor current exceeds the rated working current for 5 seconds, the motor is suspended and the current overload protection feedback information is sent through the serial port to realize the output transmission torque overload protection control, and then enter the low power consumption mode, otherwise go to step 7;

[0026] Step 7: After detecting the first small magnet, switch to low speed V3 and rotate slowly until the second small magnet is detected and stop. Then control the output of a small reverse signal to make the clutch bracket rotate a small angle in the direction of disengaging from the output gear. When the output clutch sensing signal changes, stop reversing, so that the clutch gear is disengaged from the output gear, and then send the clutch status and unlocking status information through the serial port, and finally enter the low power consumption mode;

[0027] Step 8: If it is a setting instruction, set the corresponding parameters, then send feedback information of successful parameter setting through the serial port, and finally enter the low power consumption mode;

[0028] Step 9: If it is a query command, perform the corresponding parameter query, then send the corresponding parameter setting information through the serial port, and finally enter the low power consumption mode;

[0029] Step 10: If it is a lock command, the output gear is controlled to rotate in the opposite direction according to the set rotation direction and angle. The angle exceeding 90° rotates at high speed V1, and the last 90° is controlled to rotate at medium speed V2. During the rotation process, the microcontroller detects the micro motor drive current in real time through A / D sampling. When the external resistance is large, the micro motor drive current rises sharply. If the motor current exceeds the rated working current for 5 seconds, the motor is suspended and the current overload protection feedback information is sent through the serial port to realize the output transmission torque overload protection control, and then enter the low power consumption mode, otherwise go to step 11;

[0030] Step 11: After detecting the first small magnet, switch to low speed V3 and rotate slowly until the second small magnet is detected and stop. Then control the output of a smaller reverse signal to make the clutch bracket rotate a small angle in the direction of disengaging from the output gear. When the output clutch sensing signal changes, stop reversing, so that the clutch gear is disengaged from the output gear, and then send the clutch status and unlocking status information through the serial port, and finally enter the low power consumption mode.

[0031] Compared with the prior art, the present invention has the following beneficial effects: the present invention integrates the single-chip microcomputer control system into the mechanical transmission structure to solve the defects of the lock core transmission structure of the current fully automatic intelligent lock. The lock core electric control transmission structure of the present invention is small in size and easy to install. The single-chip microcomputer control system is integrated into the mechanical transmission structure, and the clutch state can be accurately detected and feedback controlled, and the lock core can be accurately rotated in the forward and reverse directions and at different angles. It also has a low power consumption mode, overload protection, and door open / close position detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 This is a schematic diagram of installing the upper shell of a preferred embodiment of the present invention;

[0033] Figure 2 This is a schematic diagram of installing the lower shell of a preferred embodiment of the present invention;

[0034] Figure 3 A top view of the internal structure of a preferred embodiment of the present invention;

[0035] Figure 4 A side view of the internal structure of a preferred embodiment of the present invention;

[0036] Figure 5 An exploded view of the overall structure of a preferred embodiment of the present invention;

[0037] Figure 6 A schematic diagram of a single chip microcomputer control board according to a preferred embodiment of the present invention;

[0038] Figure 7 A schematic diagram of the transmission electronic control of a preferred embodiment of the present invention;

[0039] Figure 8 It is an overall control flow chart of a preferred embodiment of the present invention;

[0040] Fig. 9 This is a schematic diagram of the circuit structure of the single-chip processor STM32L031K6T6, motor drive and current acquisition module of the preferred embodiment of the present invention;

[0041] Fig.10 A schematic diagram of the circuit structure of a communication module according to a preferred embodiment of the present invention;

[0042] Fig.11 A schematic diagram of an electromagnetic sensor module according to a preferred embodiment of the present invention;

[0043] Fig.12 Schematic diagram of a Hall sensor module according to a preferred embodiment of the present invention. DETAILED DESCRIPTION

[0044] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0045] It should be noted that the following detailed descriptions are illustrative and are intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present application belongs.

[0046] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application; as used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, they indicate the presence of features, steps, operations, devices, components and / or their combinations.

[0047] A fully automatic intelligent lock cylinder electronically controlled transmission structure, reference Figure 1-8, mainly including mounting housing, micro motor and worm, reduction gear mechanism, clutch gear mechanism, output gear and output shaft, single chip control board, clutch gear mechanism is composed of clutch bracket 9, 10, clutch drive gear 4, double clutch gear, clutch bracket and output gear are equipped with small magnets, single chip control board mainly includes processor, geomagnetic sensor, rotation angle sensor, clutch state sensor and other devices; micro motor drives reduction gear through worm, reduction gear and clutch drive gear are meshed, clutch drive gear and two clutch gears are meshed, clutch drive gear drives clutch bracket to rotate forward and reverse through transmission inertia to realize meshing and disengagement of two clutch gears and output gear; single chip realizes control of rotation direction and angle of lock core by sensing small magnet on output gear through rotation angle sensor, realizes detection and control of gear clutch state by sensing small magnet on clutch bracket through clutch state sensor, realizes detection of door opening / closing state by geomagnetic sensor, realizes output transmission torque overload protection control by real-time detection of micro motor driving current. The electronically controlled transmission structure of the lock core of the present invention is small in size and easy to install. It integrates the single-chip microcomputer control system into the mechanical transmission structure, can accurately detect and feedback control the clutch state, can realize precise rotation control of the lock core in the forward and reverse directions and at different angles, and has a low power consumption mode, overload protection and door open / close position detection.

[0048] (1) Install the housing

[0049] Installing the housing includes installing the upper housing and installing the lower housing. The appearances of installing the upper housing and installing the lower housing are as follows: Figure 1 and Figure 2 As shown, 2 is the upper shell for installation, 6 is the output gear and output shaft, 35 is the mounting screw hole, 36 is the upper and lower shell assembly screw hole, 1 is the lower shell, 15 is the micro motor, 41 is the wiring hole, and the overall shell size is: length 59mm, width 52mm, height 19mm.

[0050] (2) Internal structure

[0051] The top and side views of the internal structure are as follows Figure 3 and Figure 4 As shown, 1 is a mounting shell, 3 is a single-chip microcomputer control board, 4 is a clutch drive gear, 7 is a clutch transmission output gear, 6 is an output gear and an output shaft, 8 is two clutch gears, 10 is a clutch upper bracket, 11 is a secondary reduction gear pinion, 12 is a secondary reduction gear large gear, 14 is a primary reduction gear, 17 is a primary reduction gear shaft, 13 is a motor worm, 15 is a micro motor, 16 is a bearing, 27 is a single-chip microcomputer processor, 28 is a geomagnetic sensor, 39 is a motor control line interface, and 40 is an external control line interface.

[0052] (3) Overall structure

[0053] The exploded diagram of the overall structure is as follows Figure 5 As shown, 1 is the upper shell for installation, 2 is the bottom shell for installation, 3 is the single-chip microcomputer control board, 4 is the clutch drive gear, 6 is the output gear and output shaft, 7 is the clutch transmission output gear, 8-1 is the forward clutch gear, 8-2 is the reverse clutch gear, 9 is the clutch lower bracket, 10 is the clutch upper bracket, 18 is the forward clutch gear shaft, 19 is the reverse clutch gear shaft, 20 is the washer, 22 is the clutch spring, 29 is the small magnet installed on the clutch upper bracket, 11 is the secondary reduction small gear, 12 is the secondary reduction large gear, 14 is the primary reduction gear, 17 is the primary reduction gear shaft, 13 is the motor worm, 15 is the micro motor, 16 is the output bearing, and 38 is two small magnets installed on the output gear.

[0054] 1) Lock cylinder transmission principle:

[0055] The transmission structure mainly includes a mounting housing, a micro motor and a worm, a reduction gear mechanism, a clutch gear mechanism, an output gear and an output shaft, a single chip control board and other components. The reduction gear mechanism is composed of a primary reduction gear (14), (17) and a secondary reduction gear (11), (12), and the clutch gear mechanism is mainly composed of a clutch bracket (9) and (10), a clutch drive gear (4), a clutch transmission output gear (7), a forward clutch gear (8-1), a reverse clutch gear (8-2), a washer (20), a clutch spring (22), a small magnet (29) installed on the clutch upper bracket and other components. The single chip control board (3) controls the micro motor (15) to drive the reduction gear mechanism through the worm (13); the secondary reduction pinion (11) of the reduction gear mechanism meshes with the clutch drive gear (4); the clutch transmission output gear (7) meshes with the two forward and reverse clutch gears (8-1) and (8-2); the clutch transmission output gear (7) drives the clutch bracket to rotate forward and reverse through transmission inertia to achieve the meshing and disengagement of the two clutch gears (8-1) and (8-2) with the output gear (6). The single chip control board (3) controls the forward and reverse rotation of the micro motor (15), and with the help of the transmission of the reduction gear mechanism and the clutch gear mechanism, the clutch bracket (9) (10) rotates in the direction of closing the output gear (6), so that the output gear (6) drives the lock cylinder to rotate forward and reverse. After the lock cylinder rotates to the right position, the control outputs a small reverse signal to make the clutch bracket (9) (10) rotate a small angle in the direction of disengaging from the output gear (6), so that the clutch gears (8-1) and (8-2) disengage from the output gear (6).

[0056] 2) Electronic control method of lock cylinder transmission

[0057] MCU control board

[0058] In order to detect the rotation angle of the output gear, the single-chip control board is designed as a circular ring and installed just above the output gear. The overall structure is as follows: Figure 6 As shown: 27 is a low-power single-chip processor STM32L031K6T6; 28 is a geomagnetic sensor ST480M chip; 37 is a fixing screw hole; 39 is a motor control line interface; 40 is a wiring port for communicating with an external main control system; 31, 32, 33, 34 form a rotation angle sensor for the output gear. When opening / closing the lock, the rotation angles of different types of lock cylinders are different. Generally, there are 4 rotation angles: 90°, 180°, 270°, and 360°. When rotating clockwise: 31 is a Hall sensor for detecting the output gear rotating 90°, 32 is a Hall sensor for detecting the output gear rotating 90°, and 34 is a Hall sensor for detecting the output gear rotating 90°. The first one is the Hall sensor for detecting the output gear rotating 180°, the second one is the Hall sensor for detecting the output gear rotating 270°, and the third one is the Hall sensor for detecting the output gear rotating 0° or 360°. When rotating counterclockwise: 33 is the Hall sensor for detecting the output gear rotating 90°, 32 is the Hall sensor for detecting the output gear rotating 180°, 31 is the Hall sensor for detecting the output gear rotating 270°, and 34 is the Hall sensor for detecting the output gear rotating 0° or 360°. 30 is the clutch state sensor, which is also a Hall sensor. It determines the clutch state of the gear by sensing the small magnet on the clutch bracket.

[0059] Transmission electronic control principle

[0060] In the transmission structure of the present invention, the main components related to the electronic control of the single chip microcomputer are as follows: Figure 7 As shown:

[0061] 1. The single-chip microcomputer control board (3) of the present invention is placed just above the output gear (6), the inner circle of the circuit board of the single-chip microcomputer control board (3) is concentric with the output gear (6), the single-chip microcomputer control board (3) is sleeved on the output shaft of the output gear (6), and a gap of 1 mm is left between the single-chip microcomputer control board (3) and the output gear and the output shaft. Two small magnets (38) are installed on the output gear, and four rotation angle sensors on the single-chip microcomputer control board (3) judge the rotation angle of the output gear by 90°, 180°, 270°, and 360° by sensing the small magnets (38).

[0062] 2. In order to improve the unlocking efficiency and the accuracy of the rotation of the lock core angle, the present invention controls the output gear (6) to rotate at three speeds: high speed V1, medium speed V2, and low speed V3. As shown in Table 1, if it is rotated by 90°, it is controlled to rotate at medium speed V2 at the beginning, and after detecting the first small magnet, it is changed to low speed V3 and rotates until the second small magnet is detected and stops. If it is rotated by 180°, 270°, or 360°, the previous angles are all rotated at high speed V1, and at the last 90°, it is controlled to rotate at medium speed V2, and after detecting the first small magnet, it is changed to low speed V3 and rotates slowly until the second small magnet is detected and stops. During the rotation of the output gear at high speed V1 and medium speed V2, the single chip microcomputer detects the micro motor drive current in real time through A / D sampling. When the external resistance is large, the micro motor drive current rises sharply. When the current exceeds the rated working current for 5 seconds, the motor is suspended to achieve output transmission torque overload protection control.

[0063] Table 1 Speed ​​control of the rotation process

[0064]

[0065]

[0066] 3. The clutch driving gear (4) of the present invention is coaxial with the clutch transmission output gear (7), and the clutch transmission output gear (7) is meshed with two forward and reverse clutch gears (8-1) and (8-2). The clutch transmission output gear (7) drives the clutch bracket to rotate forward and reverse through transmission inertia to achieve the meshing and disengagement of the two clutch gears (8-1) and (8-2) with the output gear (6); the single-chip computer control board (3) controls the forward and reverse rotation of the micro motor (15), and with the help of the transmission of the reduction gear mechanism and the clutch gear mechanism, the clutch bracket (9) and (10) rotate in the direction of closing the output gear (6), so that the output gear (6) drives the lock core to rotate forward and reverse. After the lock core rotates to the right position, a small reverse signal is controlled to output so that the clutch bracket (9) and (10) rotate a small angle in the direction of disengaging from the output gear (6), so that the clutch gears (8-1) and (8-2) are disengaged from the output gear (6);

[0067] 4. The single-chip control board (3) of the present invention senses the small magnet on the clutch bracket through the clutch state sensor (30) to determine the clutch state of the gear: when the control is to rotate clockwise, the clutch bracket rotates clockwise, the clutch state sensor (30) senses the small magnet (29) on the clutch bracket, and outputs a clutch sensing signal "1", the clutch gear (8-1) meshes with the output gear (6), driving the output gear (6) to rotate clockwise. During the rotation process, four rotation angle sensors sense the small magnet (38) to determine the rotation angle of the output gear. After rotating to the target angle, the control outputs a smaller reversal signal to make the clutch bracket rotate a smaller angle in the direction of disengaging from the output gear (6). When the output clutch sensing signal changes from "1" to "0", the reversal stops, so that the clutch gear (8-1) is disengaged from the output gear (6). When the clutch bracket is controlled to rotate counterclockwise, the clutch state sensor (30) cannot sense the small magnet (29) on the clutch bracket, and outputs a clutch sensing signal "0". The clutch gear (8-2) meshes with the output gear (6), driving the output gear (6) to rotate counterclockwise. During the rotation process, the four rotation angle sensors sense the small magnet (38) to determine the rotation angle of the output gear. After the rotation reaches the target angle, the control outputs a smaller reversal signal to make the clutch bracket rotate a smaller angle in the direction of disengaging from the output gear (6). When the output clutch sensing signal changes from "0" to "1", the reversal stops, so that the clutch gear (8-2) is disengaged from the output gear (6).

[0068] 5. Reference Figure 9-12 , STM32L031 is connected to the motor driver chip LB1938 through PB0 and PA7, and the output of LB1938 is connected to the positive and negative poles of the micro motor through the P1 connector. STM32L031 is connected to the output pin of the current acquisition chip MAX471 through the A / D conversion acquisition pin PA1, and the current acquisition chip MAX471 monitors the working current of LB1938 in real time through the RS-pin. The main control system provides 6V, 3.3V, and GND to the microcontroller control board. The microcontroller control board and the main control system transmit data through the input and output pins PA13 and PA14 of the UART. STM32L031 is connected to the electromagnetic sensor chip ST480MC through the pins PA9 and PA10 of the IIC bus, and STM32L031 is connected to the control pins A0 and TST of the electromagnetic sensor chip ST480MC through the pins PA11 and PA12. Fig.12 Q1, Q2, Q3, Q4 correspond to the rotation angle sensors 31, 32, 33, 34, Q5 corresponds to the Hall sensor for clutch state detection, and STM32L031 is connected to the outputs of Q1, Q2, Q3, Q4 through pins PA4-PA8.

[0069] Transmission Control Instructions

[0070] The lock core electric control transmission structure of the present invention is a key component of the intelligent lock and needs to be linked with the intelligent lock main control system. The present invention uses the external interface (40) of the single-chip control board (3) to connect with the intelligent lock main control system, and the intelligent lock main control system supplies power to the single-chip control board (3). Data transmission is mainly carried out through the asynchronous serial bus USART. The data transmission format includes start code, command information, check code, and stop code. The specific command types and functions are shown in Table 2:

[0071] Table 2 Instructions and function descriptions

[0072]

[0073]

[0074] Specific steps and implementation process

[0075] The present invention integrates the single-chip control system into the mechanical transmission structure, and links with the main control system of the intelligent lock, can accurately detect and feedback the clutch state, can realize the precise rotation control of the lock core in the forward and reverse directions and at different angles, and has low power consumption and energy-saving processing, overload protection and door open / close position detection, and realizes the process as follows Figure 8 As shown, the specific steps are as follows:

[0076] Step 1: Install the designed lock core electronically controlled transmission structure to the smart lock, dock the lock core transmission rod with the output shaft of the output gear, and rotate the lock core to the initial 0°.

[0077] Step 2: Connect the lock cylinder electronic control transmission structure to the smart lock main control system through the external interface. The smart lock main control system supplies power to the microcontroller control board and transmits data through the asynchronous serial bus USART.

[0078] Step 3: After initialization after power-on, the microcontroller processor STM32L031K6T6 enters low power consumption mode for a long time.

[0079] Step 4: After the MCU wakes up from low power consumption, it determines the wakeup source. If it is a new instruction, it goes directly to step (5). Otherwise, it further determines whether it is an external interrupt wakeup caused by a change in geomagnetic information. It queries the 3D information of the current geomagnetic sensor ST480M and compares it with the set door closing 3D information. Then, it sends the current door open or closed status through the serial port. If it is not an external interrupt wakeup caused by a change in geomagnetic information, it enters low power waiting again.

[0080] Step 5: parse the received command, determine whether it is an unlock command, a setting command, a query command, or a lock command, and go to one of the branches of steps 6, 8, 9, or 10 according to the command parsing result.

[0081] Step 6: If it is an unlocking command, the output gear is controlled to rotate according to the set rotation direction and angle. Angles exceeding 90° rotate at high speed V1, and the final 90° is controlled to rotate at medium speed V2. During the rotation process, the microcontroller detects the micro motor drive current in real time through A / D sampling. When the external resistance is large, the micro motor drive current rises sharply. If the motor current exceeds the rated working current for 5 seconds, the motor is paused and the current overload protection feedback information is sent through the serial port to realize the output transmission torque overload protection control, and then enter the low power consumption mode, otherwise go to step 7.

[0082] Step 7: After detecting the first small magnet, switch to low speed V3 and rotate slowly until the second small magnet is detected and stop. Then control the output of a smaller reverse signal to make the clutch bracket rotate a small angle in the direction of disengaging from the output gear. When the output clutch sensing signal changes, stop reversing, so that the clutch gear is disengaged from the output gear, and then send the clutch status and unlocking status information through the serial port, and finally enter the low power consumption mode.

[0083] Step 8: If it is a setting instruction (as shown in Table 2), perform the corresponding parameter settings, then send feedback information of successful parameter settings through the serial port, and finally enter the low power consumption mode.

[0084] Step 9: If it is a query command (as shown in Table 2), the corresponding parameter query is performed, and then the corresponding parameter setting information is sent through the serial port, and finally the low power consumption mode is entered.

[0085] Step 10: If it is a lock command, the output gear is controlled to rotate in the opposite direction according to the set rotation direction and angle. Angles exceeding 90° are rotated at high speed V1, and the last 90° are controlled to rotate at medium speed V2. During the rotation process, the microcontroller detects the micro motor drive current in real time through A / D sampling. When the external resistance is large, the micro motor drive current rises sharply. If the motor current exceeds the rated working current for 5 seconds, the motor is paused and the current overload protection feedback information is sent through the serial port to realize the output transmission torque overload protection control, and then enter the low power consumption mode, otherwise go to step 11.

[0086] Step 11: After detecting the first small magnet, switch to low speed V3 and rotate slowly until the second small magnet is detected and stop. Then control the output of a smaller reverse signal to make the clutch bracket rotate a small angle in the direction of disengaging from the output gear. When the output clutch sensing signal changes, stop reversing, so that the clutch gear is disengaged from the output gear, and then send the clutch status and unlocking status information through the serial port, and finally enter the low power consumption mode.

Claims

1. A lock core electronically controlled transmission structure of a fully automatic smart lock, characterized in that: It includes an installation shell, a micro motor, a worm, a reduction gear mechanism, a clutch gear mechanism, an output gear and an output shaft, and a single-chip microcomputer control board; the clutch gear mechanism is composed of a clutch bracket, a clutch driving gear, and a double clutch gear, and small magnets are installed on the clutch bracket and the output gear; the single-chip microcomputer control board contains a processor, a geomagnetic sensor, a rotation angle sensor, and a clutch state sensor; the micro motor drives the reduction gear through the worm, the reduction gear is meshed with the clutch driving gear, the clutch driving gear is meshed with the two clutch gears, and the clutch driving gear drives the clutch bracket to rotate forward and reverse through transmission inertia to achieve the meshing and disengagement of the two clutch gears and the output gear.

2. The electric control transmission structure of the lock core of a fully automatic smart lock according to claim 1 is characterized in that: The mounting shell specifically comprises an upper shell and a lower shell; both the upper shell and the lower shell are provided with mounting holes for mounting the output gear and the output shaft.

3. The lock cylinder electronically controlled transmission structure of a fully automatic smart lock according to claim 1, characterized in that: The interior of the mounting shell is provided with a single-chip microcomputer control board, a clutch drive gear, a clutch transmission output gear, an output gear and an output shaft, two clutch gears, a clutch upper bracket, a secondary reduction gear pinion, a secondary reduction gear large gear, a primary reduction gear, a primary reduction gear shaft, a motor worm, a micro motor, a bearing, a single-chip microcomputer processor, a geomagnetic sensor, a motor control line interface and an external control line interface.

4. The electric control transmission structure of the lock core of a fully automatic smart lock according to claim 1, characterized in that: The reduction gear mechanism is composed of a primary reduction gear and a secondary reduction gear; the clutch gear mechanism includes a clutch bracket, a clutch drive gear, a clutch transmission output gear, a forward clutch gear, a reverse clutch gear, a washer, a clutch spring and a small magnet installed on the clutch upper bracket; the single-chip microcomputer control board controls the micro motor through the worm drive reduction gear mechanism, the secondary reduction pinion of the reduction gear mechanism is meshed with the clutch drive gear, the clutch transmission output gear is meshed with the two forward and reverse clutch gears, and the clutch transmission output gear drives the clutch bracket to rotate forward and reverse through transmission inertia to realize the engagement and disengagement of the two clutch gears and the output gear.

5. The electric control transmission structure of the lock core of a fully automatic smart lock according to claim 4, characterized in that: The single-chip microcomputer control board controls the forward and reverse rotation of the micro motor, and with the help of the transmission of the reduction gear mechanism and the clutch gear mechanism, makes the clutch bracket rotate in the direction of closing the output gear, so that the output gear drives the lock cylinder to rotate forward and reverse. After the lock cylinder rotates into place, the control outputs a smaller reverse signal to make the clutch bracket rotate a smaller angle in the direction of disengaging from the output gear, so that the clutch gear disengages from the output gear.

6. The electric control transmission structure of the lock core of a fully automatic smart lock according to claim 1, characterized in that: The processor is specifically a single chip microcomputer processor STM32L031K6T6.

7. The electric control transmission structure of the lock core of a fully automatic smart lock according to claim 1, characterized in that: The geomagnetic sensor is specifically a ST480M chip.

8. The electric control transmission structure of the lock core of a fully automatic smart lock according to claim 1, characterized in that: The single-chip microcomputer control board is arranged directly above the output gear. The inner circle of the circuit board of the single-chip microcomputer control board is arranged concentrically with the output gear. The single-chip microcomputer control board is sleeved on the output shaft of the output gear. There is a gap between the single-chip microcomputer control board and the output gear and the output shaft. Two small magnets are installed on the output gear. The four rotation angle sensors on the single-chip microcomputer control board judge the rotation angle of the output gear by sensing the small magnets at 90°, 180°, 270° and 360°.

9. A control method for the electric control transmission structure of the lock core of a fully automatic intelligent lock, characterized in that The lock cylinder electric control transmission structure of a fully automatic smart lock according to any one of claims 1 to 8 above is adopted, comprising the following steps: Step 1: Install the designed lock core electronically controlled transmission structure to the smart lock, connect the lock core transmission rod with the output shaft of the output gear, and rotate the lock core to the initial 0°; Step 2: Connect the lock cylinder electronic control transmission structure with the smart lock main control system through the external interface, and the smart lock main control system supplies power to the single-chip control board, and transmits data through the asynchronous serial bus USART; Step 3: After power-on initialization, the microcontroller processor STM32L031K6T6 enters low power consumption mode for a long time; Step 4: After the MCU wakes up from low power consumption, it determines the wake-up source. If it is a new instruction, it goes directly to step 5. Otherwise, it further determines whether it is an external interrupt wake-up caused by a change in geomagnetic information. It queries the three-dimensional information of the current geomagnetic sensor ST480M and compares it with the set door closing three-dimensional information. Then, it sends the current door open or closed status through the serial port. If it is not an external interrupt wake-up caused by a change in geomagnetic information, it enters low power waiting again. Step 5: parse the received command, determine whether it is an unlock command, a setting command, a query command, or a lock command, and go to one of the branches of steps 6, 8, 9, or 10 according to the command parsing result; Step 6: If it is an unlocking command, the output gear is controlled to rotate according to the set rotation direction and angle. The angle exceeding 90° rotates at high speed V1, and the last 90° is controlled to rotate at medium speed V2. During the rotation process, the microcontroller detects the micro motor drive current in real time through A / D sampling. When the external resistance is large, the micro motor drive current rises sharply. If the motor current exceeds the rated working current for 5 seconds, the motor is suspended and the current overload protection feedback information is sent through the serial port to realize the output transmission torque overload protection control, and then enter the low power consumption mode, otherwise go to step 7; Step 7: After detecting the first small magnet, switch to low speed V3 and rotate slowly until the second small magnet is detected and stop. Then control the output of a small reverse signal to make the clutch bracket rotate a small angle in the direction of disengaging from the output gear. When the output clutch sensing signal changes, stop reversing, so that the clutch gear is disengaged from the output gear, and then send the clutch status and unlocking status information through the serial port, and finally enter the low power consumption mode; Step 8: If it is a setting instruction, set the corresponding parameters, then send feedback information of successful parameter setting through the serial port, and finally enter the low power consumption mode; Step 9: If it is a query command, perform the corresponding parameter query, then send the corresponding parameter setting information through the serial port, and finally enter the low power consumption mode; Step 10: If it is a lock command, the output gear is controlled to rotate in the opposite direction according to the set rotation direction and angle. The angle exceeding 90° rotates at high speed V1, and the last 90° is controlled to rotate at medium speed V2. During the rotation process, the microcontroller detects the micro motor drive current in real time through A / D sampling. When the external resistance is large, the micro motor drive current rises sharply. If the motor current exceeds the rated working current for 5 seconds, the motor is suspended and the current overload protection feedback information is sent through the serial port to realize the output transmission torque overload protection control, and then enter the low power consumption mode, otherwise go to step 11; Step 11: After detecting the first small magnet, switch to low speed V3 and rotate slowly until the second small magnet is detected and stop. Then control the output of a smaller reverse signal to make the clutch bracket rotate a small angle in the direction of disengaging from the output gear. When the output clutch sensing signal changes, stop reversing, so that the clutch gear is disengaged from the output gear, and then send the clutch status and unlocking status information through the serial port, and finally enter the low power consumption mode.

Citation Information

Patent Citations

  • Lock cylinder electric control transmission structure of full-automatic intelligent lock

    CN222253531U

Cited By

  • Deceleration clutch mechanism for door lock

    CN119616306A