CN112796585A - Method and device for automatically setting door opening direction of electronic door lock and electronic door lock - Google Patents

Method and device for automatically setting door opening direction of electronic door lock and electronic door lock Download PDF

Info

Publication number
CN112796585A
CN112796585A CN202011536479.2A CN202011536479A CN112796585A CN 112796585 A CN112796585 A CN 112796585A CN 202011536479 A CN202011536479 A CN 202011536479A CN 112796585 A CN112796585 A CN 112796585A
Authority
CN
China
Prior art keywords
door
door lock
sensor
lock
electronic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202011536479.2A
Other languages
Chinese (zh)
Inventor
颜专
罗益峰
岑加堂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Lango Electronic Science and Technology Co Ltd
Original Assignee
Guangzhou Lango Electronic Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Lango Electronic Science and Technology Co Ltd filed Critical Guangzhou Lango Electronic Science and Technology Co Ltd
Priority to CN202011536479.2A priority Critical patent/CN112796585A/en
Publication of CN112796585A publication Critical patent/CN112796585A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B63/00Locks or fastenings with special structural characteristics
    • E05B63/04Locks or fastenings with special structural characteristics for alternative use on the right-hand or left-hand side of wings
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B47/00Operating or controlling locks or other fastening devices by electric or magnetic means
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B47/00Operating or controlling locks or other fastening devices by electric or magnetic means
    • E05B47/0001Operating or controlling locks or other fastening devices by electric or magnetic means with electric actuators; Constructional features thereof
    • E05B47/0012Operating or controlling locks or other fastening devices by electric or magnetic means with electric actuators; Constructional features thereof with rotary electromotors
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01PMEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
    • G01P13/00Indicating or recording presence, absence, or direction, of movement
    • G01P13/02Indicating direction only, e.g. by weather vane
    • G01P13/04Indicating positive or negative direction of a linear movement or clockwise or anti-clockwise direction of a rotational movement

Abstract

The invention provides a method and a device for automatically setting the door opening direction of an electronic door lock and the electronic door lock, wherein the method comprises the steps of entering a calibration mode of the electronic door lock, and manually locking the door by a user; the electronic door lock automatically records the rotation direction of a mechanical door lock knob when a door is locked manually; writing the recorded rotation direction into a motor control program of the electronic door lock as a door locking direction; and when the door is closed, the motor control program of the electronic door lock automatically drives the motor to lock the door according to the recorded rotating direction. The electronic door lock can automatically set the door opening and closing direction according to the door closing operation. The user need not to consider the direction of opening the door when purchasing the lock, and convenience of customers uses. The door lock manufacturer also does not need to consider multiple specifications and is convenient to produce.

Description

Method and device for automatically setting door opening direction of electronic door lock and electronic door lock
Technical Field
The invention relates to the technical field of electronic door locks, in particular to a method and a device for automatically setting the door opening direction of an electronic door lock and the electronic door lock.
Background
After the door lock is installed on a door, the door lock is divided into a left-opening door and a right-opening door due to the difference of the opening directions of the door. The door lock is opened by opening the door and the door, so that the public demand can be met only by matching a plurality of sets of lock bodies. The American market is simple relative to domestic lock bodies, especially is dull lock, does not need to distinguish between an inside door and an outside door, does not need to distinguish between a left door and a right door, and only needs a user to change the installation direction of the lock body according to the condition of the home door. However, in the electronic door lock era, the motor drives the gear to unlock, and if the door is opened from left to right, the motor must be rotated in the right direction to open the door.
The existing solution is to reserve a dial on the door, and the user can purchase the designated door lock according to the left and right opening of the door after leaving the factory. The judgment basis of the left and right door opening is fuzzy, and the problems that different people understand differently, the purchased door lock is not in the same direction and cannot be used, and the goods are returned and exchanged exist.
Disclosure of Invention
The invention aims to provide a method and a device for automatically setting the door opening direction of an electronic door lock and the electronic door lock, which can solve the problem that a user cannot normally use the electronic door lock due to the fact that left door opening and right door opening are distinguished in the prior art.
The purpose of the invention is realized by the following technical scheme:
in a first aspect, the present invention provides a method for automatically setting a door opening direction of an electronic door lock, including the following steps:
step 1, entering a calibration mode of the electronic door lock, and manually locking the door by a user;
step 2, the electronic door lock automatically records the rotation direction of a mechanical door locking knob when a door is locked manually;
step 3, writing the recorded rotation direction into a motor control program of the electronic door lock to be used as the door locking direction;
and 4, completing calibration, and when the door is closed, automatically driving the motor to lock the door according to the recorded rotating direction by the motor control program of the electronic door lock.
Furthermore, the electronic door lock comprises three optical coupling sensors and a position sensor; the three optical coupling sensors are distributed on the circumference with the same diameter, the second optical coupling sensor is arranged in the middle, and the first optical coupling sensor and the third optical coupling sensor are symmetrically distributed on two sides of the second optical coupling sensor; the position sensor is used for recording the position of the lock when the door is closed.
Further, the second optical coupling sensor is blocked when the lock tongue of the electronic door lock is in a retracted state.
Further, the step 2 comprises: and zeroing the data of the position sensor, and recording the number of the blocked optical coupling sensor.
Further, if the blocked light is the first optical coupler sensor, the door locking direction of the electronic door lock is from the second optical coupler sensor to the first optical coupler sensor, the door is locked when the rotation direction of a motor of the electronic door lock is clockwise, and the door is opened when the rotation direction of the motor of the electronic door lock is counterclockwise; if the blocked optical coupler sensor is the third optical coupler sensor, the direction of locking the door of the electronic door lock is from the second optical coupler sensor to the third optical coupler sensor, the door is locked if the rotating direction of the motor of the electronic door lock is anticlockwise, and the door is opened if the rotating direction of the motor of the electronic door lock is clockwise.
Further, if the blocked optical coupling sensor is not detected, the calibration fails, and the step 1 is returned to recalibrate.
In a second aspect, the present invention provides an apparatus for automatically setting a door opening direction of an electronic door lock, including a detection module and a control module, wherein:
the detection module is used for detecting and recording the rotation direction of a mechanical door locking knob for manually locking a door during calibration, and the rotation direction is the door locking direction;
the control module stores a motor control program and writes the door locking direction recorded by the detection module into the motor control program; after the calibration is finished, when the door is closed, the control module automatically drives the motor to lock the door according to the door locking direction in the motor control program.
Furthermore, the detection module comprises three optical coupling sensors and a position sensor; the three optical coupling sensors are distributed on the circumference with the same diameter, the second optical coupling sensor is arranged in the middle, and the first optical coupling sensor and the third optical coupling sensor are symmetrically distributed on two sides of the second optical coupling sensor; the position sensor is used for recording the position of the lock when the door is closed.
Further, the second optical coupling sensor is blocked when the lock tongue of the electronic door lock is in a retracted state.
In a third aspect, the present invention provides an electronic door lock, including the above-mentioned device for automatically setting the door opening direction of the electronic door lock.
According to the method and the device for automatically setting the door opening direction of the electronic door lock and the electronic door lock, after the electronic door lock is installed, one-time door closing operation is performed manually, and the electronic door lock can automatically set the door opening direction according to the door closing operation. The user need not to consider the direction of opening the door when purchasing the lock, and convenience of customers uses. The door lock manufacturer also does not need to consider multiple specifications and is convenient to produce.
Drawings
FIG. 1 is a schematic distribution diagram of three optocoupler sensors according to the present invention;
FIG. 2 is a step diagram of the method for automatically setting the door opening direction of the electronic door lock according to the present invention;
FIG. 3 is a block diagram of the flow of the method for automatically setting the door opening direction of the electronic door lock according to the present invention;
fig. 4 is a schematic structural diagram of the device for automatically setting the door opening direction of the electronic door lock according to the present invention.
Detailed Description
The embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
The embodiments of the present disclosure are described below with specific examples, and other advantages and effects of the present disclosure will be readily apparent to those skilled in the art from the disclosure in the specification. It is to be understood that the described embodiments are merely illustrative of some, and not restrictive, of the embodiments of the disclosure. The disclosure may be embodied or carried out in various other specific embodiments, and various modifications and changes may be made in the details within the description without departing from the spirit of the disclosure. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
The invention discloses a method for automatically setting the door opening direction of an electronic door lock, which comprises the following steps:
step 1, entering a calibration mode of the electronic door lock, manually locking the door by a user, and confirming calibration.
The method comprises the steps of entering a calibration mode by utilizing a mobile phone app or a touch screen of a door lock, requiring a user to close the door before executing calibration, manually locking the door through a mechanical door locking knob, and confirming the calibration.
And 2, automatically recording the rotation direction of a mechanical door locking knob when the electronic door lock manually locks the door.
The electronic door lock comprises three optocoupler sensors and 1 position sensor. The optical coupling sensors are numbered and respectively 1, 2 and 3, the three optical coupling sensors are distributed on the circumference of the same diameter, the optical coupling sensors 2 are arranged in the middle, and the optical coupling sensors 1 and the optical coupling sensors 3 are symmetrically distributed on two sides of the optical coupling sensors 2, as shown in figure 1. Fig. 1 is only a schematic diagram, and it cannot be used to define an angle between the optical coupler sensor 1 and the optical coupler sensor 2 or an angle between the optical coupler sensor 3 and the optical coupler sensor 2, as long as the optical coupler sensor 1 and the optical coupler sensor 3 are symmetrically distributed on both sides of the optical coupler sensor 2. The position sensor is used to record the position of the lock when the door is closed. The position sensor may be a geomagnetic sensor or a gyroscope, and may be any sensor capable of recording a position. The present invention is described by taking a geomagnetic sensor as an example, but the position sensor of the present invention is not limited to a geomagnetic sensor.
The optical coupler 2 can be blocked when the bolt of the electronic door lock is in a retracted state (namely, in an open state).
Further, in a preferred embodiment of the present application, the step 2 includes:
the electronic door lock automatically records data of the geomagnetic sensor and the three optical coupling sensors. And zeroing the data of the geomagnetic sensor, and recording the number of the blocked optical coupling sensor. If the optical coupling sensor is blocked to be No. 1, the direction of locking the door of the electronic door lock is from 2 to 1, the rotating direction of the motor is clockwise, the door locking direction is clockwise, the program writing motor is clockwise, and the door opening is anticlockwise. If the optical coupling sensor is blocked to be No. 3, the door locking direction of the device is from 2 to 3, the rotating direction of the motor is anticlockwise and is the door locking direction, the program writing motor is anticlockwise and is used for locking the door, and the door opening is clockwise. If the blocked optocoupler sensor is not detected, the calibration fails, and the step 1 is returned to recalibrate.
And 3, writing the recorded rotation direction into a motor control program of the electronic door lock to be used as the door locking direction.
And 4, completing calibration, and when the door is closed, automatically driving a motor to lock the door according to the recorded rotating direction by a motor control program of the electronic door lock, so that the effect of automatically locking the door when the door is closed is realized.
When the door is closed, the data of the geomagnetic sensor is zero.
The method can be seen that the method can automatically judge the door locking direction and automatically record the door locking direction only by calibrating once when the electronic door lock is installed, the door opening direction does not need to be known in advance, and the problem that the user purchases the wrong door lock due to inconsistent understanding can be avoided when the user purchases the electronic door lock. The use of the user is convenient.
The invention also provides a device for automatically setting the door opening direction of the electronic door lock, which comprises a detection module and a control module, wherein:
and the detection module is used for detecting and recording the rotation direction of a mechanical door locking knob for manually locking the door during calibration, and the rotation direction is the door locking direction.
The detection module comprises a position sensor and three optical coupling sensors, wherein the three optical coupling sensors are distributed on the circumference of the same diameter, the optical coupling sensors 2 are arranged in the middle, and the optical coupling sensors 1 and the optical coupling sensors 3 are symmetrically distributed on two sides of the optical coupling sensors 2. When the bolt of the electronic door lock is in a retracted state (namely, in an open state), the optical coupler 2 is blocked. The position sensor is used to record the position of the lock when the door is closed. The position sensor may be a geomagnetic sensor or a gyroscope, and may be any sensor capable of recording a position. The present invention is described by taking a geomagnetic sensor as an example, but the position sensor of the present invention is not limited to a geomagnetic sensor.
During calibration, the detection module is used for detecting and recording data of the geomagnetic sensor and the three optical coupling sensors. And zeroing the data of the geomagnetic sensor, and recording the number of the blocked optical coupling sensor. If the optical coupling sensor is blocked to be No. 1, the direction of locking the door of the electronic door lock is from 2 to 1, the rotating direction of the motor is clockwise, the door locking direction is clockwise, the program writing motor is clockwise, and the door opening is anticlockwise. If the optical coupling sensor is blocked to be No. 3, the door locking direction of the device is from 2 to 3, the rotating direction of the motor is anticlockwise and is the door locking direction, the program writing motor is anticlockwise and is used for locking the door, and the door opening is clockwise.
And the control module stores a motor control program and writes the door locking direction recorded by the detection module into the motor control program. After the calibration is completed, when the door is closed, the control module automatically drives the motor to lock the door according to the door locking direction in the motor control program, so that the effect of automatically locking the door is achieved when the door is closed.
The invention also provides an electronic door lock, which comprises the device for automatically setting the door opening direction of the electronic door lock.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; may be mechanically coupled, may be electrically coupled or may be in communication with each other; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
The above description is for the purpose of illustrating embodiments of the invention and is not intended to limit the invention, and it will be apparent to those skilled in the art that any modification, equivalent replacement, or improvement made without departing from the spirit and principle of the invention shall fall within the protection scope of the invention.

Claims (10)

1. The method for automatically setting the door opening direction of the electronic door lock is characterized by comprising the following steps of:
step 1, entering a calibration mode of the electronic door lock, and manually locking the door by a user;
step 2, the electronic door lock automatically records the rotation direction of a mechanical door locking knob when a door is locked manually;
step 3, writing the recorded rotation direction into a motor control program of the electronic door lock to be used as the door locking direction;
and 4, completing calibration, and when the door is closed, automatically driving the motor to lock the door according to the recorded rotating direction by the motor control program of the electronic door lock.
2. The method for automatically setting the door opening direction of an electronic door lock according to claim 1, wherein the electronic door lock comprises three opto-coupled sensors and a position sensor; the three optical coupling sensors are distributed on the circumference with the same diameter, the second optical coupling sensor is arranged in the middle, and the first optical coupling sensor and the third optical coupling sensor are symmetrically distributed on two sides of the second optical coupling sensor; the position sensor is used for recording the position of the lock when the door is closed.
3. The method for automatically setting the door opening direction of the electronic door lock as claimed in claim 2, wherein the second optical coupling sensor is blocked when the latch bolt of the electronic door lock is in the retracted state.
4. The method for automatically setting the door opening direction of an electronic door lock according to claim 2, wherein the step 2 comprises: and zeroing the data of the position sensor, and recording the number of the blocked optical coupling sensor.
5. The method for automatically setting the door opening direction of the electronic door lock according to claim 4, wherein if the first optical coupler sensor is blocked, the door locking direction of the electronic door lock is from the second optical coupler sensor to the first optical coupler sensor, the rotating direction of a motor of the electronic door lock is clockwise for locking the door, and counterclockwise for opening the door; if the blocked optical coupler sensor is the third optical coupler sensor, the direction of locking the door of the electronic door lock is from the second optical coupler sensor to the third optical coupler sensor, the door is locked if the rotating direction of the motor of the electronic door lock is anticlockwise, and the door is opened if the rotating direction of the motor of the electronic door lock is clockwise.
6. The method for automatically setting the door opening direction of the electronic door lock as claimed in claim 4, wherein if the blocked optocoupler sensor is not detected, the calibration fails, and the step 1 is returned to recalibrate.
7. Automatic set up electronic door lock device of direction that opens door, its characterized in that includes detection module and control module, wherein:
the detection module is used for detecting and recording the rotation direction of a mechanical door locking knob for manually locking a door during calibration, and the rotation direction is the door locking direction;
the control module stores a motor control program and writes the door locking direction recorded by the detection module into the motor control program; after the calibration is finished, when the door is closed, the control module automatically drives the motor to lock the door according to the door locking direction in the motor control program.
8. The device for automatically setting the door opening direction of the electronic door lock according to claim 7, wherein the detection module comprises three optical coupling sensors and a position sensor; the three optical coupling sensors are distributed on the circumference with the same diameter, the second optical coupling sensor is arranged in the middle, and the first optical coupling sensor and the third optical coupling sensor are symmetrically distributed on two sides of the second optical coupling sensor; the position sensor is used for recording the position of the lock when the door is closed.
9. The apparatus of claim 8, wherein the second optical sensor is blocked when the latch tongue of the electronic door lock is in the retracted state.
10. An electronic door lock, comprising the device for automatically setting the opening direction of the electronic door lock according to any one of claims 7 to 9.
CN202011536479.2A 2020-12-23 2020-12-23 Method and device for automatically setting door opening direction of electronic door lock and electronic door lock Withdrawn CN112796585A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011536479.2A CN112796585A (en) 2020-12-23 2020-12-23 Method and device for automatically setting door opening direction of electronic door lock and electronic door lock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011536479.2A CN112796585A (en) 2020-12-23 2020-12-23 Method and device for automatically setting door opening direction of electronic door lock and electronic door lock

Publications (1)

Publication Number Publication Date
CN112796585A true CN112796585A (en) 2021-05-14

Family

ID=75807302

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011536479.2A Withdrawn CN112796585A (en) 2020-12-23 2020-12-23 Method and device for automatically setting door opening direction of electronic door lock and electronic door lock

Country Status (1)

Country Link
CN (1) CN112796585A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114233112A (en) * 2021-12-27 2022-03-25 深圳指芯物联技术有限公司 Intelligent door lock direction calibration method and system and intelligent door lock

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201891313U (en) * 2010-10-28 2011-07-06 东隆五金工业股份有限公司 Electric control lock
CN107762287A (en) * 2017-11-16 2018-03-06 广东樱花智能科技有限公司 A kind of smart lock drive device from the door-plate in different enabling directions adaptation
KR20180057372A (en) * 2016-11-22 2018-05-30 주식회사 케어게이트 Door Locker Capable of Selecting Right and Left Handed Door Lock
CN108894612A (en) * 2018-07-12 2018-11-27 中控智慧科技股份有限公司 Smart lock and its application method
CN109057550A (en) * 2018-09-28 2018-12-21 纳氪(深圳)科技有限公司 Smart lock and intelligent door
CN110485821A (en) * 2019-09-11 2019-11-22 陈海英 A kind of electronic lock

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201891313U (en) * 2010-10-28 2011-07-06 东隆五金工业股份有限公司 Electric control lock
KR20180057372A (en) * 2016-11-22 2018-05-30 주식회사 케어게이트 Door Locker Capable of Selecting Right and Left Handed Door Lock
CN107762287A (en) * 2017-11-16 2018-03-06 广东樱花智能科技有限公司 A kind of smart lock drive device from the door-plate in different enabling directions adaptation
CN108894612A (en) * 2018-07-12 2018-11-27 中控智慧科技股份有限公司 Smart lock and its application method
CN109057550A (en) * 2018-09-28 2018-12-21 纳氪(深圳)科技有限公司 Smart lock and intelligent door
CN110485821A (en) * 2019-09-11 2019-11-22 陈海英 A kind of electronic lock

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114233112A (en) * 2021-12-27 2022-03-25 深圳指芯物联技术有限公司 Intelligent door lock direction calibration method and system and intelligent door lock

Similar Documents

Publication Publication Date Title
US11708715B2 (en) Networked door closer
CN103526991B (en) A kind of vehicle door lock control system and method
US10648208B2 (en) Door closer communication
TWI588344B (en) Method for automatically determining the installation direction of electronic lock
TW202136627A (en) Door orientation detection circuit and door hardware assembly
CN112796585A (en) Method and device for automatically setting door opening direction of electronic door lock and electronic door lock
CN206485309U (en) Tripper and automobile for vehicle
US20090205384A1 (en) Electromechanical locking system
TW201329328A (en) Operation method of electronic lock
US10984639B2 (en) Method and device for door monitoring and door monitoring system including such a device
CN110499964A (en) A kind of smart lock and its enabling recognition methods
CN104021610A (en) Burglary prevention access control device based on Bluetooth technique and using method of device
US20230366239A1 (en) Motorized lock method and assembly
CN204406517U (en) A kind of programmable electron key
CN207988683U (en) Automatic vending machine
CN206388255U (en) A kind of gate control system
CN116311608A (en) Intelligent key, intelligent lock system and method for judging lock opening and closing states
JP4570237B2 (en) Communication system for switchgear and switch body side communication device
CN208752697U (en) A kind of transformer substation key intelligent management case
CN209761047U (en) Automatic intelligent lock of locking
TWI497282B (en) Sucurity system for real-time debugging
US20230152133A1 (en) Method for door lock calibration, door lock, and non-transitory computer storage medium
CN210508703U (en) Detection system of intelligence lock
JP2583048B2 (en) Lock state detection mechanism
TWI748911B (en) Electronic door lock and device, system and method for setting the electronic door lock

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20210514

WW01 Invention patent application withdrawn after publication