Lock
By designing a smart lock suitable for a single tongue lock body and using an angle detection component to detect the rotation angle, the problem of poor adaptability of existing smart door locks is solved and high-precision detection and cost reduction are achieved.
Patent Information
- Application Number
- CN202420854353.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-23
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2034-04-23
AI Technical Summary
The existing smart door locks are mainly suitable for European lock bodies and are less suitable for other types of lock bodies, such as single-tongue lock bodies, resulting in low detection accuracy and high cost.
A lock is designed, which includes a shell, a rotating ring, a connecting piece and an angle detection component. By detecting the rotation angle of the lock, the unlocking or locking state of the single tongue lock body can be determined, thereby improving detection accuracy and reducing costs.
By setting up the angle detection component, the unlocking or locking state of the single tongue lock body can be detected with high precision, reducing costs and improving user experience.
Smart Images

Figure CN222376229U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of intelligent locks, in particular to a lock. Background Art
[0002] At present, smart door locks have been widely used in the domestic consumer market. Most of the domestic door locks are usually used with European lock bodies, so most of the smart door locks for door entrances on the market are also developed for European lock bodies. The general smart door locks for door entrances are rectangular in shape, which is conducive to matching and installing with European lock bodies. There are also single-tongue lock bodies, 5050 lock bodies and other lock bodies used for bathrooms and room doors, but there are few smart locks that are compatible with them. Utility Model Content
[0003] The embodiment of the utility model provides a lock which can easily detect the rotation angle of the lock. By detecting the rotation angle of the lock, it is possible to detect whether the single-tongue lock body is unlocked or locked in place when unlocking or locking, which is beneficial to improving detection accuracy and reducing costs.
[0004] The utility model provides a lock, which is applied to a single-tongue lock body, and includes: a housing, a rotating ring, a connecting piece, and an angle detection assembly. The housing includes a mounting cavity. The rotating ring is connected to the housing, and the rotating ring includes a through hole. One end of the connecting piece is rotatably connected to the through hole, and the other end is rotatably connected to the lock core of the single-tongue lock body. Driving the housing to rotate can sequentially drive the rotating ring and the connecting piece to rotate, which is used to unlock or lock the single-tongue lock body. The angle detection assembly is arranged in the mounting cavity and is arranged to avoid the through hole. The angle detection assembly includes an electrical control board, an inner gear ring, and an electric gear meshing with the inner gear ring. The inner gear ring is nested with the rotating ring and rotates synchronously with the rotating ring. The electric gear is electrically connected to the electrical control board through an internal electric device. When unlocking or locking the single-tongue lock body, the electrical control board can detect the rotation angle of the electric gear to calculate the rotation angle of the lock, and detect whether the single-tongue lock body is unlocked or locked in place through the rotation angle of the lock.
[0005] The technical solution of the utility model is to set up an angle detection component, which includes an electrical control board, an inner gear ring and an electric gear meshing with the inner gear ring. When unlocking or locking the single-tongue lock body, the electrical control board can calculate the rotation angle of the lock by detecting the rotation angle of the electric gear, and then detect whether the single-tongue lock body is unlocked or locked in place through the rotation angle of the lock, which is beneficial to improve detection accuracy and reduce costs.
[0006] According to the aforementioned embodiment of the utility model, the lock also includes: an electric drive unit. The electric drive unit is arranged in the installation cavity, and the rotation output shaft of the electric drive unit can extend into the through hole and be rotatably connected with the through hole. The electric drive unit can sequentially drive the rotating ring and the connecting piece to rotate to electronically unlock or lock the single-tongue lock body. A micro-control unit is arranged on the electrical control board, and the electric drive unit is electrically connected to the micro-control unit. When the lock is unlocked or locked in place, the micro-control unit can control the electric drive unit to stop rotating. The technical solution of the utility model is provided with an electric drive unit, and the electric drive unit can sequentially drive the rotating ring and the connecting piece to rotate to electronically unlock or lock the single-tongue lock body. The technical solution of the utility model is provided with a micro-control unit on the electrical control board, and the micro-control unit can calculate the actual rotation angle of the shell through the rotation angle of the electric gear, and detect whether the lock is unlocked in place through the actual rotation angle of the shell. When the lock is unlocked or locked in place, the micro-control unit can control the electric drive unit to stop rotating, which is conducive to improving the detection accuracy.
[0007] According to the aforementioned embodiment of the utility model, an incremental encoder is also arranged on the electrical control panel, and the electric gear is connected to the incremental encoder by rotating the transmission pin. When the electric gear rotates, the incremental encoder can generate a pulse signal, and the rotation angle of the electric gear is detected according to the pulse signal. The technical solution of the utility model is provided with an incremental encoder, and the incremental encoder can rotate 360°, so that a pulse signal is generated when the electric gear rotates, and the incremental encoder is low in price, which is conducive to reducing costs.
[0008] According to the aforementioned embodiment of the utility model, a rocker switch is also provided on the electrical control panel, and the rocker arm of the rocker switch is connected to the electric gear, and when the housing rotates to the midpoint, the electric gear can trigger the rocker switch. The technical solution of the utility model provides a rocker switch, and each time the housing rotates to the midpoint, the electric gear can trigger the rocker switch, and the microcontroller unit can record the absolute angular position of the housing, which is conducive to improving the detection accuracy.
[0009] According to the aforementioned embodiments of the utility model, the shell can reach the first limit point when it is rotated to unlock, and can reach the second limit point when it is locked. Between the first limit point and the second limit point, different pulse signal changes can be generated when the shell rotates to different positions, and the position of the shell rotation is detected according to the pulse signal changes. In the technical solution of the utility model, different pulse signal changes can be generated when the shell rotates to different positions between the first limit point and the second limit point, and the position of the shell rotation is detected according to the pulse signal changes, which is conducive to digitizing the rotational motion of the shell.
[0010] According to the above-mentioned embodiment of the utility model, between the first limit point and the second limit point, the rocker switch is located at the origin, and when the housing rotates to the origin, the pulse signal change is reset. In the technical solution of the utility model, the rocker switch is used as the origin, and the pulse signal change is reset every time it passes through the origin, which is conducive to improving the accuracy of the switch lock.
[0011] According to the aforementioned embodiment of the utility model, two bearings are respectively arranged on opposite sides of the through hole, and each bearing is a deep groove ball bearing. In the technical solution of the utility model, by respectively arranging two bearings on opposite sides of the through hole, it is beneficial to improve the smoothness of the housing during the rotation process, reduce friction, reduce the load of the electric drive unit, and improve the user experience.
[0012] According to the aforementioned embodiments of the utility model, the connector is connected to the through hole via a sleeve, and there is a clearance angle between the sleeve and the through hole, and the clearance angle is greater than 100°. In the technical solution of the utility model, by setting the clearance angle between the sleeve and the through hole, it is beneficial to avoid rotating the rotating output shaft of the electric drive unit when manually opening and closing the lock, protect the electric drive unit, extend the service life of the electric drive unit, and improve the user experience.
[0013] According to the aforementioned embodiment of the utility model, the lock also includes: a gyro sensor, the gyro sensor is electrically connected to the electrical control board, the gyro sensor is activated and detects the door opening angle in the normal door opening state; the gyro sensor sends a signal to the control chip in the abnormal long-term door opening state to control the electric drive unit to lock. In the technical solution of the utility model, by setting a gyro sensor, the gyro sensor is activated and detects the door opening angle in the normal door opening state, and the gyro sensor sends a signal to the control chip in the abnormal long-term door opening state to control the electric drive unit to lock, which is conducive to achieving automatic locking in the closed door state.
[0014] According to the aforementioned embodiment of the utility model, the lock also includes: a wireless communication module, the wireless communication module is electrically connected to the angle control component, and the wireless communication module can upload the appropriate angles of the actual unlocking and locking of the lock to the background system. In the technical solution of the utility model, by setting a wireless communication module, when the lock is initialized, the shell is manually turned to the unlocking and locking positions respectively, and the wireless communication module is used to cooperate with the background system to record the actual appropriate angles of unlocking and locking, so as to avoid the unlocking angle of the lock being affected by many factors such as different door bodies, different installation processes and different lock bodies during the actual unlocking process. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the embodiments of the utility model or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the utility model. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.
[0016] Figure 1 This is a schematic diagram of an embodiment of the lock of the utility model when it is installed on a single-tongue lock body;
[0017] Figure 2 This is a schematic diagram of the overall structure of an embodiment of the lock of the utility model;
[0018] Figure 3 This is a schematic diagram of the exploded structure of an embodiment of the lock of the utility model;
[0019] Figure 4 This is a schematic diagram of the connection between the electric drive unit and the rotating ring of an embodiment of the lock of the utility model;
[0020] Figure 5 This is a schematic diagram of the clearance angle between the shaft sleeve and the through hole of an embodiment of the lock of the utility model;
[0021] Figure 6 This is a schematic diagram of the bearing of the rotating ring of an embodiment of the lock of the utility model;
[0022] Figure 7 This is a schematic diagram of the internal structure of the installation cavity of an embodiment of the lock of the utility model;
[0023] Figure 8 It is a top view of an electrical control panel of an embodiment of the lock of the utility model;
[0024] Fig. 9 This is a bottom view of an electrical control panel of an embodiment of the lock of the utility model;
[0025] Fig.10 This is a schematic diagram of the connection between a rocker switch and an electric gear in one embodiment of the lock of the utility model;
[0026] Fig.11 This is a working diagram of a gyro sensor in one embodiment of the lock of the utility model;
[0027] Fig.12 It is a numerical axis simulation diagram between the first limit point and the second limit point of an embodiment of the lock of the utility model.
[0028] Description of Figure Numbers:
[0029] Lock - 100, single tongue lock body - 200;
[0030] Housing 110, rotating ring 120, connecting piece 130, angle detection assembly 140, electric drive unit 150, perforated plate 160, fixing plate 170, mechanical lock 210, lock ruler 220;
[0031] Mounting cavity-111, through hole-121, sleeve-122, cantilever-123, bearing-124, electrical control board-141, inner gear ring-142, electric gear-143;
[0032] Base 1111, support frame 1112, light leakage prevention member 1113, battery 1114, cover 1115, speaker 1116, partition ring 1117, incremental encoder 1411, rocker switch 1412, rotation transmission pin 1431;
[0033] First limit point-A, second limit point-B, first limit point-C, second limit point-D, origin-O.
[0034] The realization of the purpose, functional features and advantages of the utility model will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0035] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments of the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.
[0036] It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back...) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0037] In addition, the descriptions of "first", "second", etc. in the present utility model are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in this field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present utility model.
[0038] The embodiment of the utility model provides a lock which can easily detect the rotation angle of the lock. By detecting the rotation angle of the lock, it is possible to detect whether the single-tongue lock body is unlocked or locked in place when unlocking or locking, which is beneficial to improving detection accuracy and reducing costs.
[0039] like Figure 1 As shown, the embodiment of the utility model provides a lock 100, which is applied to a single-tongue lock body 200. Figures 3 to 7 As shown, the lock 100 includes: a housing 110, a rotating ring 120, a connecting member 130 and an angle detection assembly 140. The housing 110 includes a mounting cavity 111. The rotating ring 120 is connected to the housing 110, and the rotating ring 120 includes a through hole 121. One end of the connecting member 130 is rotatably connected to the through hole 121, and the other end is rotatably connected to the mechanical lock head 210 of the single-tongue lock body 200. Driving the housing 110 to rotate can drive the rotating ring 120 and the connecting member 130 to rotate in turn, so as to unlock or lock the single-tongue lock body 200. The angle detection component 140 is arranged in the installation cavity 111 and is avoided from the through hole 121. The angle detection component 140 includes an electrical control board 141, an inner gear ring 142 and an electric gear 143 meshing with the inner gear ring 142. The inner gear ring 142 is nested and connected with the rotating ring 120 and rotates synchronously with the rotating ring 120. The electric gear 143 is electrically connected to the electrical control board 141 through an internal electric device. When unlocking or locking the single-tongue lock body 200, the electrical control board 141 can detect the rotation angle of the electric gear 143 to calculate the rotation angle of the lock 100, and detect whether the single-tongue lock body 200 is unlocked or locked in place through the rotation angle of the lock 100.
[0040] The technical solution of the utility model is to set up an angle detection component 140, which includes an electrical control board 141, an inner gear ring 142 and an electric gear 143 meshing with the inner gear ring 142. When unlocking or locking the single-tongue lock body 200, the electrical control board 141 can calculate the rotation angle of the lock 100 by detecting the rotation angle of the electric gear 143, and then detect whether the single-tongue lock body 200 is unlocked or locked in place through the rotation angle of the lock 100, which is beneficial to improve detection accuracy and reduce costs.
[0041] like Figures 3 to 7As shown, the lock 100 further includes: an electric drive unit 150. The electric drive unit 150 is arranged in the installation cavity 111, and the rotation output shaft of the electric drive unit 150 can extend into the through hole 121 and be rotationally connected with the through hole 121. The electric drive unit 150 can sequentially drive the rotating ring 120 and the connecting member 130 to rotate to electronically unlock or lock the single-tongue lock body 200. A micro control unit is arranged on the electrical control board 141, and the electric drive unit 150 is electrically connected to the micro control unit. When the lock 100 is unlocked or locked in place, the micro control unit can control the electric drive unit 150 to stop rotating. The technical solution of the utility model is provided with the electric drive unit 150, and the electric drive unit 150 can sequentially drive the rotating ring 120 and the connecting member 130 to rotate to electronically unlock or lock the single-tongue lock body 200. The technical solution of the utility model is to set a micro control unit on the electrical control board 141, and the micro control unit can calculate the actual rotation angle of the housing 110 through the rotation angle of the electric gear 143, and detect whether the lock 100 is unlocked or locked in place through the actual rotation angle of the housing 110. When the lock 100 is unlocked or locked in place, the micro control unit can control the electric drive unit 150 to stop rotating, which is conducive to improving the detection accuracy. In the embodiment of the utility model, the electric drive unit 150 is a reduction motor.
[0042] The lock 100 in the embodiment of the utility model can be opened and closed automatically by the electric drive unit 150, and can also be opened and closed manually. The lock 100 is installed on the inside of the door. When the lock needs to be opened and closed automatically, the electric drive unit 150 drives the shaft sleeve 122, the rotating ring 120, and the connecting member 130 to rotate in sequence, and finally the connecting member 130 drives the lock ruler of the mechanical lock core of the single-tongue lock body 200 to rotate, so as to realize the opening and closing of the single-tongue lock body 200. In the above process, since the rotating ring 120 and the housing 110 are tightly fitted and fixed, the housing 110 will also rotate with the rotation of the rotating ring 120. When the lock needs to be opened and closed manually, it can be realized by directly rotating the housing 110.
[0043] The connecting piece 130 is connected to the through hole 121 via the shaft sleeve 122. In order to prevent the electric drive unit 150 from being damaged by the rotation of the rotating output shaft of the electric drive unit 150 when the lock is manually opened and closed, a clearance angle θ is designed between the shaft sleeve 122 and the rotating ring 120. The clearance angle is greater than 100°. In the technical solution of the utility model, by setting the clearance angle θ between the shaft sleeve 122 and the through hole 121, it is helpful to prevent the rotation of the rotating output shaft of the electric drive unit 150 when the lock is manually opened and closed, protect the electric drive unit 150, extend the service life of the electric drive unit 150, and improve the user experience. Figure 5 As shown, the avoidance angle on the left is θ1, and the avoidance angle on the right is θ2.
[0044] θ1+θ2=θ
[0045] When unlocking or locking, the motor drives the sleeve 122 to rotate in one direction, stops rotating after reaching the position, and then stops rotating by an angle θ in the opposite direction. In this way, when manually opening or closing the lock, the sleeve 122 will not drive the rotating output shaft of the electric drive unit 150 to rotate. In order to achieve the purposes of small volume and large torque, an electric drive unit 150 with a relatively large reduction ratio is generally preferred. For example, an electric drive unit 150 with a reduction ratio of 1:230 or more can be selected. At this time, if the lock is opened or closed manually, the rotating output shaft of the electric drive unit 150 will be directly driven to rotate. Not only will the manual rotation of the user be laborious and affect the user experience, but it will also have a negative impact on the life of the reduction gearbox of the electric drive unit 150. Generally, the clearance angle θ should be greater than 100 degrees, that is, at least slightly larger than the 90-degree rotation angle of the conventional single-tongue lock body 200 for opening and closing the lock.
[0046] like Figure 3 As shown, the lock 100 further includes: a perforated plate 160 and a fixed plate 170. The perforated plate 160 and the fixed plate 170 are connected to each other, and the fixed plate 170 is connected to the housing 110 by screws. The installation cavity 111 further includes a base 1111, a support frame 1112, a light leakage prevention member 1113, a battery 1114, a cover 1115, a speaker 1116, and a partition ring 1117. The battery 1114 and the light leakage prevention member 1113 are arranged on the support frame 1112, and the speaker 1116 is arranged on the base 1111. The light leakage prevention member 1113, the battery 1114, and the speaker 1116 are electrically connected to the electrical control board 141.
[0047] like Figure 6 As shown, the rotating ring 120 includes a cantilever 123, and a through hole 121 is provided at one end of the cantilever 123. Two bearings 124 are provided on opposite sides of the through hole 121, and each bearing 124 is a deep groove ball bearing 124. In the technical solution of the utility model, by providing two bearings 124 on opposite sides of the through hole 121, it is beneficial to improve the smoothness of the housing 110 during the rotation process, reduce friction, reduce the load of the electric drive unit 150, and improve the user experience.
[0048] like Figures 9 and 10 As shown, an incremental encoder 1411 is also provided on the electrical control board 141, and the electric gear 143 is connected to the incremental encoder 1411 through a rotating transmission pin. When the electric gear 143 rotates, the incremental encoder 1411 can generate a pulse signal, and the rotation angle of the electric gear 143 is detected according to the pulse signal. The technical solution of the utility model is provided with an incremental encoder 1411, and the incremental encoder 1411 can rotate 360 degrees, so that a pulse signal is generated when the electric gear 143 rotates, and the incremental encoder 1411 is low in price, which is conducive to reducing costs.
[0049] The rotation of the rotating ring 120 will drive the inner gear ring 142 to rotate synchronously. Due to the meshing of the gears, the electric gear 143 will also rotate accordingly. In the embodiment of the utility model, the rotation ratio of the electric gear 143 to the inner gear ring 142 is 3.26:1, and the electric gear 143 rotates faster. The electric gear 143 is connected to the incremental encoder 1411 on the electrical control board 141 through the rotation transmission pin. The incremental encoder 1411 can detect the rotation angle of the electric gear 143. The micro control unit on the electrical control board 141 can calculate the actual rotation angle of the housing 110 through the rotation ratio, thereby controlling the electric drive unit 150 to stop rotating after it is in place. In the embodiment of the utility model, the incremental encoder 1411 uses an encoder with 12 pulse outputs, that is, the encoder will output 12 pulses when it rotates one circle, which is equivalent to outputting one pulse when the electric gear 143 rotates 30°, and outputting one pulse when the inner gear ring 142 or the housing 110 rotates 9.2°. The rotation ratio is conducive to improving the angle detection accuracy.
[0050] Since the incremental encoder 1411 can only provide the relative change of angle, the absolute angle position can only be recorded by the microcontroller unit, which is not conducive to the reliability of the product. When the lock 100 vibrates or the battery is removed, the microcontroller unit may be reset, which will clear the recorded absolute angle information. Figures 7 to 10 As shown, a rocker switch 1412 is also provided on the electrical control board 141, and the rocker arm of the rocker switch 1412 is connected to the electric gear 143. When the housing 110 rotates to the midpoint, the electric gear 143 can trigger the rocker switch 1412. By providing the rocker switch 1412, the electric gear 143 can trigger the rocker switch 1412 every time the housing 110 rotates to the midpoint, and the microcontroller unit can record the absolute angle position of the housing 110, which is conducive to improving the detection accuracy.
[0051] In the embodiment of the utility model, the lock 100 further includes: a wireless communication module, the wireless communication module is electrically connected to the angle control component, and the wireless communication module can upload the appropriate angles of the actual unlocking and locking of the lock 100 to the background system. In the technical solution of the utility model, by setting the wireless communication module, when the lock 100 is initialized, the housing 110 is manually turned to the unlocking and locking positions respectively, and the wireless communication module is used to cooperate with the background system to record the actual appropriate angles of unlocking and locking, so as to avoid the unlocking angle of the lock 100 being affected by many factors such as different door bodies, different installation processes and different lock bodies during the actual unlocking process.
[0052] In the embodiment of the utility model, the lock 100 further includes: a gyro sensor, which is electrically connected to the electrical control board 141. In the normal door opening state, the gyro sensor is activated and detects the door opening angle; in the abnormal long-term door opening state, the gyro sensor sends a signal to the control chip to control the electric drive unit 150 to lock. In the technical solution of the utility model, by setting a gyro sensor, the gyro sensor is activated and detects the door opening angle in the normal door opening state, and sends a signal to the control chip in the abnormal long-term door opening state to control the electric drive unit 150 to lock, which is conducive to achieving automatic locking in the closed door state.
[0053] The traditional lock 100 requires manual intervention every time the door is closed and locked. By setting a gyro sensor in the embodiment of the utility model, it is conducive to realizing automatic door closing and locking. The flow chart of the steps of the gyro sensor detecting the opening and closing of the door is as follows: Fig.11 shown.
[0054] When the door is opened, the electronic lock body is awakened, the gyroscope sensor is started and the door opening origin is calibrated, and then the door opening angle is detected. The control chip determines the door opening and closing state according to the angle. If the door is closed normally within a certain period of time, the gyroscope sensor notifies the control chip to drive the electric drive unit 150 to lock. If the door is opened for a long time and exceeds the preset time, the gyroscope sensor will notify the control chip to drive the electric drive unit 150 to lock in the open state, which is conducive to the next door closing to return to normal. If the user manually locks, the lock 100 returns to normal; if the user does not manually lock, the lock 100 automatically locks and returns to normal after the timeout.
[0055] like Fig.12 As shown, before the lock 100 is installed, the housing 110 can rotate left and right to reach the first limit point C or the second limit point D, which are the limit positions of the lock 100 mechanism. After the lock 100 is installed, the housing 110 can reach the first limit point A when it is rotated to unlock, and can reach the second limit point B when it is locked. The positions of the first limit point A and the second limit point B are variable. Between the first limit point A and the second limit point B, different pulse signal changes can be generated when the housing 110 rotates to different positions, and the position of the housing 110 rotation is detected according to the pulse signal changes. In the technical solution of the utility model, different pulse signal changes can be generated when the housing 110 rotates to different positions between the first limit point A and the second limit point B, and the position of the housing 110 rotation is detected according to the pulse signal changes, which is conducive to digitizing the rotational motion of the housing 110. Between the first limit point A and the second limit point B, the rocker switch 1412 is located at the origin, and when the housing 110 rotates to the origin, the reset pulse signal changes. In the technical solution of the utility model, the rocker switch 1412 is used as the origin, and the pulse signal change is reset each time passing through the origin, which is beneficial to improving the accuracy of the switch lock.
[0056] The specific method of digitizing the rotational motion of the housing 110 is as follows: the line segment connected between the first limit point A and the second limit point B is simulated as a number axis, the middle rocker switch 1412 is used as the origin, and a pulse distance is used as the unit length. In this embodiment, the unit length of a pulse distance is 9.2° of the rotation of the housing 110. With the clockwise direction as the positive direction and the counterclockwise direction as the negative direction, the housing 110 rotates one position left or right, and the rotation position of the housing 110 is calculated by the pulse direction and the count. If the rotation direction is clockwise, the number axis is increased by 1, otherwise it is decreased by 1. The movement of the housing 110 is digitized by simulating the line segment connected between the first limit point A and the second limit point B as a number axis.
[0057] When the lock 100 is used for the first time, it is necessary to manually open and close the lock 100 once for calibration. The control chip records the pulse numbers of the first limit point A and the second limit point B. When the lock is opened and closed electronically and automatically, the first limit point A and the second limit point B can be controlled by calculating the pulse number. In order to prevent the cumulative error caused by the loss of pulses, the rocker switch 1412 is used as the origin of the number axis. Each time it passes through the origin, the pulse count is reset to ensure the accuracy of the lock opening and closing.
[0058] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. All equivalent structural changes made by using the contents of the present invention specification and drawings under the inventive concept of the present invention, or directly / indirectly applied in other related technical fields are included in the patent protection scope of the present invention.
Claims
1. A lock, characterized in that: The lock is applied to a single-tongue lock body, and the lock comprises: A housing, the housing comprising a mounting cavity; A rotating ring, the rotating ring is connected to the housing, and the rotating ring includes a through hole; A connecting piece, one end of which is rotatably connected to the through hole, and the other end of which is rotatably connected to the lock core of the single-tongue lock body, and driving the housing to rotate can in turn drive the rotating ring and the connecting piece to rotate, so as to unlock or lock the single-tongue lock body; and An angle detection component is arranged in the installation cavity and is arranged in a avoidance position with the through hole. The angle detection component includes an electrical control board, an inner gear ring and an electric gear meshing with the inner gear ring. The inner gear ring is nested and connected with the rotating ring and rotates synchronously with the rotating ring. The electric gear is electrically connected to the electrical control board through an internal electric device. When unlocking or locking the single-tongue lock body, the electrical control board can detect the rotation angle of the electric gear to calculate the rotation angle of the lock, and detect whether the single-tongue lock body is unlocked or locked in place through the rotation angle of the lock.
2. The lock according to claim 1, characterized in that: The lock also includes: An electric drive unit, the electric drive unit is arranged in the installation cavity, the rotation output shaft of the electric drive unit can extend into the through hole and be rotationally connected to the through hole, and the electric drive unit can sequentially drive the rotating ring and the connecting member to rotate to electronically unlock or lock the single-tongue lock body; A micro control unit is arranged on the electrical control board, and the electric drive unit is electrically connected to the micro control unit. When the lock is unlocked or locked in place, the micro control unit can control the electric drive unit to stop rotating.
3. The lock according to claim 1, characterized in that: An incremental encoder is also arranged on the electrical control panel, and the electric gear is connected to the incremental encoder via a rotating transmission pin. When the electric gear rotates, the incremental encoder can generate a pulse signal, and the rotation angle of the electric gear is detected according to the pulse signal.
4. The lock according to claim 3, characterized in that: A rocker switch is also arranged on the electrical control panel, and a rocker arm of the rocker switch is connected to the electric gear. When the housing rotates to the midpoint, the electric gear can trigger the rocker switch.
5. The lock according to claim 4, characterized in that: The shell can reach a first limit point when rotating to unlock, and can reach a second limit point when rotating to lock. Between the first limit point and the second limit point, different pulse signal changes can be generated when the shell rotates to different positions, and the rotation position of the shell is detected based on the pulse signal changes.
6. The lock according to claim 5, characterized in that: The rocker switch is located at the origin between the first limit point and the second limit point, and the reset pulse signal changes when the housing rotates to the origin.
7. The lock according to claim 1, characterized in that: Two bearings are respectively arranged on opposite sides of the through hole, and each of the bearings is a deep groove ball bearing.
8. The lock according to claim 1, characterized in that: The connecting piece is connected to the through hole via a shaft sleeve, and there is a clearance angle between the shaft sleeve and the through hole, and the clearance angle is greater than 100°.
9. The lock according to claim 2, characterized in that: The lock also includes: The gyro sensor is electrically connected to the electrical control board. When the door is opened normally, the gyro sensor starts and detects the door opening angle. When the door is opened for an abnormally long time, the gyro sensor sends a signal to the control chip to control the electric drive unit to lock.
10. The lock according to claim 1, characterized in that: The lock also includes: A wireless communication module, wherein the wireless communication module is electrically connected to the angle control component, and the wireless communication module can upload the appropriate angles of the actual unlocking and locking of the lock to a background system.