WO2020177106A1 - 锁具状态监测装置、方法、锁具驱动装置及锁具总成 - Google Patents
锁具状态监测装置、方法、锁具驱动装置及锁具总成 Download PDFInfo
- Publication number
- WO2020177106A1 WO2020177106A1 PCT/CN2019/077214 CN2019077214W WO2020177106A1 WO 2020177106 A1 WO2020177106 A1 WO 2020177106A1 CN 2019077214 W CN2019077214 W CN 2019077214W WO 2020177106 A1 WO2020177106 A1 WO 2020177106A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- lock
- state
- digital signal
- load
- voltage signal
- 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.)
- Ceased
Links
Images
Classifications
-
- E—FIXED CONSTRUCTIONS
- E05—LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
- E05B—LOCKS; ACCESSORIES THEREFOR; HANDCUFFS
- E05B47/00—Operating or controlling locks or other fastening devices by electric or magnetic means
- E05B47/0001—Operating or controlling locks or other fastening devices by electric or magnetic means with electric actuators; Constructional features thereof
- E05B47/0012—Operating or controlling locks or other fastening devices by electric or magnetic means with electric actuators; Constructional features thereof with rotary electromotors
-
- E—FIXED CONSTRUCTIONS
- E05—LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
- E05B—LOCKS; ACCESSORIES THEREFOR; HANDCUFFS
- E05B41/00—Locks with visible indication as to whether the lock is locked or unlocked
-
- E—FIXED CONSTRUCTIONS
- E05—LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
- E05B—LOCKS; ACCESSORIES THEREFOR; HANDCUFFS
- E05B47/00—Operating or controlling locks or other fastening devices by electric or magnetic means
- E05B47/02—Movement of the bolt by electromagnetic means; Adaptation of locks, latches, or parts thereof, for movement of the bolt by electromagnetic means
-
- E—FIXED CONSTRUCTIONS
- E05—LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
- E05B—LOCKS; ACCESSORIES THEREFOR; HANDCUFFS
- E05B47/00—Operating or controlling locks or other fastening devices by electric or magnetic means
- E05B47/0001—Operating or controlling locks or other fastening devices by electric or magnetic means with electric actuators; Constructional features thereof
- E05B2047/0014—Constructional features of actuators or power transmissions therefor
- E05B2047/0018—Details of actuator transmissions
- E05B2047/002—Geared transmissions
-
- E—FIXED CONSTRUCTIONS
- E05—LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
- E05B—LOCKS; ACCESSORIES THEREFOR; HANDCUFFS
- E05B47/00—Operating or controlling locks or other fastening devices by electric or magnetic means
- E05B2047/0048—Circuits, feeding, monitoring
-
- E—FIXED CONSTRUCTIONS
- E05—LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
- E05B—LOCKS; ACCESSORIES THEREFOR; HANDCUFFS
- E05B47/00—Operating or controlling locks or other fastening devices by electric or magnetic means
- E05B2047/0048—Circuits, feeding, monitoring
- E05B2047/0067—Monitoring
- E05B2047/0069—Monitoring bolt position
-
- E—FIXED CONSTRUCTIONS
- E05—LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
- E05B—LOCKS; ACCESSORIES THEREFOR; HANDCUFFS
- E05B47/00—Operating or controlling locks or other fastening devices by electric or magnetic means
- E05B2047/0091—Retrofittable electric locks, e.g. an electric module can be attached to an existing manual lock
-
- E—FIXED CONSTRUCTIONS
- E05—LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
- E05B—LOCKS; ACCESSORIES THEREFOR; HANDCUFFS
- E05B47/00—Operating or controlling locks or other fastening devices by electric or magnetic means
- E05B2047/0097—Operating or controlling locks or other fastening devices by electric or magnetic means including means for monitoring voltage, e.g. for indicating low battery state
-
- E—FIXED CONSTRUCTIONS
- E05—LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
- E05Y—INDEXING SCHEME ASSOCIATED WITH SUBCLASSES E05D AND E05F, RELATING TO CONSTRUCTION ELEMENTS, ELECTRIC CONTROL, POWER SUPPLY, POWER SIGNAL OR TRANSMISSION, USER INTERFACES, MOUNTING OR COUPLING, DETAILS, ACCESSORIES, AUXILIARY OPERATIONS NOT OTHERWISE PROVIDED FOR, APPLICATION THEREOF
- E05Y2400/00—Electronic control; Electrical power; Power supply; Power or signal transmission; User interfaces
- E05Y2400/10—Electronic control
- E05Y2400/32—Position control, detection or monitoring
- E05Y2400/33—Position control, detection or monitoring by using load sensors
Definitions
- This application relates to the field of smart homes, and in particular to a lock state monitoring device and method, a lock drive device and a lock assembly.
- Smart locks are improved on the basis of traditional mechanical locks, and are composite locks with higher security, convenience and advancement.
- a smart lock Before the main control board in the smart lock controls the motor to unlock and lock, it needs to obtain the current state of the lock through the induction device, that is, determine whether the lock is currently in the unlocked state or the locked state.
- a smart lock usually includes four parts: a main control board, a motor, an induction device, and a lock cylinder.
- the integration solutions for the main control board, the motor, and the lock cylinder are currently relatively mature and unified.
- the invention provides a lock state monitoring device and method, a lock drive device and a lock assembly to adapt to the state monitoring of different types of locks, so as to reduce the development and production costs of the locks.
- an embodiment of the present invention provides a lock state monitoring device, which is applied to a lock, and the device includes: a rheostat and a first load;
- the moving contact end of the varistor is connected to the first end of the first load, and the first fixed end of the varistor and the second end of the first load are used to carry a first voltage;
- the moving contact end of the rheostat is used to connect with the output shaft of the drive motor in the lock, so that the drive motor drives the moving contact end to move, so as to change the first fixed end and the moving contact end. Resistance between contacts;
- the first fixed end and the movable contact end of the rheostat, or both ends of the first load are used to connect with the main control board in the lock, so as to output a first voltage to the main control board Signal so that the main control board determines the lock state according to the first voltage signal, and the lock state includes: an unlocked state and a locked state.
- the rheostat is a rotary potentiometer, and the movable contact end is the rotating end of the rotary potentiometer;
- the rotating end is used to connect with the output shaft of the driving motor, so that the rotating end rotates with the output shaft of the driving motor to change the resistance value of the rotary potentiometer access circuit.
- the first load is a first resistor.
- the lock state monitoring device further includes: a second load
- the first terminal of the second load is used to connect with the first input terminal of the driving motor, so that the driving output current passes through the second load to drive the driving motor;
- Both ends of the second load are used to connect with the main control board to output a second voltage signal to the main control board, so that the main control board determines whether the lock is Reach the card slot.
- the second load is a second resistor.
- an embodiment of the present invention provides a lock driving device, including a driving motor and the lock state monitoring device according to any one of the first aspect.
- an embodiment of the present invention provides a lock assembly, including: a main control board, a driving motor, a lock cylinder, and the lock state monitoring device according to any one of the first aspect;
- the main control board is connected with the driving motor to control the rotation of the driving motor
- the output shaft of the drive motor is connected to the lock cylinder, so that the lock cylinder moves between the first position and the second position under the action of the drive motor.
- an embodiment of the present invention provides a lock state monitoring device method, applying any lock assembly in the third aspect, and the method includes:
- the state of the lock is determined according to the first voltage signal.
- the determining the state of the lock according to the first voltage signal includes:
- the state of the lock is determined according to the first digital signal, wherein the main control board obtains the first digital signal through a first port.
- the determining the state of the lock according to the first digital signal includes:
- the first voltage signal is a first value
- the first digital signal is a high level for the main control board, and it is determined that the lock status is the unlocking status
- the first voltage signal is a second value
- the first digital signal is a low level for the main control board to determine that the lock status is the plus Lock status
- the first voltage signal is a first value
- the first digital signal is a low level for the main control board to determine that the lock status is the unlocking status
- the first voltage signal is a second value
- the first digital signal is a high level for the main control board to determine that the lock status is the plus Lock state.
- the lock state monitoring method further includes:
- the locked position of the lock assembly is determined according to the second voltage signal.
- the locked position includes: a stuck position and a stuck position not reached to determine whether the lock has reached the stuck position.
- the obtaining the second voltage signal to determine the locked position of the lock assembly includes:
- the card position status is determined according to the second digital signal, wherein the main control board obtains the second digital signal through a second port.
- the determining the card position according to the second digital signal includes:
- the card position state is determined by obtaining the multiple between the voltage value corresponding to the second voltage signal and the preset voltage value; then
- the second digital signal is at a high level, and it is determined that the card position state is the card position arrival state;
- the second digital signal is at a low level, and it is determined that the card position state is the card position not reached state;
- the second digital signal is at a low level, and it is determined that the card position state is the card position arrival state;
- the second digital signal is at a high level, and it is determined that the card position state is the card position not reached state;
- the card position state is determined by obtaining the difference between the voltage value corresponding to the second voltage signal and the preset voltage value; then
- the second digital signal is at a high level, and it is determined that the card position state is the card position arrival state;
- the second digital signal is at a low level, and it is determined that the stuck position is the unreached stuck position
- the second digital signal is at a low level, and it is determined that the card position state is the card position arrival state;
- the second digital signal is at a high level, and it is determined that the stuck position is the voltage value corresponding to the unreached stuck position and the preset voltage value If the multiple or the difference is greater than the preset multiple or the difference is greater than the preset difference, it is determined that the lock assembly reaches the card position.
- an embodiment of the present invention provides an electronic device, including:
- Memory used to store programs
- the processor is configured to execute the program stored in the memory, and when the program is executed, the processor is configured to monitor the lock through any one of the lock state monitoring device methods provided by the fourth aspect The completed state of the lock is monitored.
- an embodiment of the present invention provides a computer-readable storage medium, including instructions, which when run on a computer, cause the computer to execute any of the lock state monitoring device methods provided in the fourth aspect to The state of the lock of the lock assembly is monitored.
- the lock state monitoring device, method, lock drive device and lock assembly provided by the present invention connect the access circuit part of the varistor and the first load in series, and then load a stable load on the access circuit part of the varistor and the first load The first voltage, and connect the moving contact end of the varistor with the output shaft of the drive motor in the lock, so that when the lock is switched by the drive motor, it will also drive the resistance of the part where the varistor is connected to the circuit.
- FIG. 1 is a schematic structural diagram of a lock state monitoring device provided by Embodiment 1 of the present invention.
- FIG. 2 is a schematic structural diagram of a lock state monitoring device provided by Embodiment 2 of the present invention.
- Figure 3 is a schematic diagram of a possible voltage state in the first embodiment
- Embodiment 4 is a schematic structural diagram of a lock state monitoring device provided by Embodiment 3 of the present invention.
- Figure 5 is a schematic diagram of a possible voltage state in the third embodiment
- FIG. 6 is a flowchart of a method for monitoring the state of a lock provided by the fourth embodiment of the present invention.
- FIG. 7 is a flowchart of a method for monitoring the state of a lock provided by Embodiment 5 of the present invention.
- FIG. 8 is a schematic structural diagram of a lock state monitoring device provided by Embodiment 6 of the present invention.
- FIG. 9 is a schematic structural diagram of an electronic device according to Embodiment 7 of the present invention.
- FIG. 1 is a schematic structural diagram of a lock state monitoring device provided by Embodiment 1 of the present invention.
- the lock state monitoring device 10 provided in this embodiment includes: a varistor 11 and a first load 12.
- the moving contact end 111 of the varistor 11 is connected to the first end of the first load 12, and the first fixed end of the varistor 11 and the second end of the first load 12 are used to carry a first voltage, where the first voltage It is a fixed voltage, for example, it can be 3.3V or a voltage of other values. It is understandable that the connection between the movable contact terminal 111 of the varistor 11 and the first terminal of the first load 12 is a coupling between electronic devices relationship.
- the moving contact end 111 of the varistor 11 is also used to connect with the output shaft 21 of the drive motor 20 in the lock, so that the drive motor 20 can drive the moving contact end 111 to move, thereby changing the first fixed end and the moving contact end of the varistor 11
- the direct connection between the movable contact terminal 111 of the varistor 11 and the output shaft 21 of the driving motor 20 is a kinematic pair connection relationship.
- the rheostat 11 may be a rotary potentiometer, and the rotary end of the rotary potentiometer is used to connect with the output shaft 21 of the drive motor 20, so that the rotary end of the rotary potentiometer rotates with the output shaft 21 of the drive motor 20. Rotate to change the resistance of the rotary potentiometer connected to the circuit. It can be seen that when the output shaft 21 of the drive motor 20 drives the lock cylinder in the lock to unlock or lock, it will also drive the rotating end of the rotary potentiometer. Turn it to change the resistance value of the rotary potentiometer connected to the circuit.
- Fig. 2 is a schematic structural diagram of a lock state monitoring device provided in the second embodiment of the present invention.
- the output shaft 21 of the drive motor 20 may be provided with a driving gear 22, and a driven gear that meshes with the driving gear 22 is provided at the end of the rotating end of the rotary potentiometer. 112.
- the driving motor 20 rotates, the rotating end of the rotary potentiometer is driven to rotate through a gear drive, so as to change the resistance value of the rotary potentiometer connected to the circuit.
- the varistor 11 may also be a sliding resistor, and the sliding end of the sliding resistor is used to connect with the output shaft 21 of the driving motor 20, so that the sliding end of the sliding resistor follows the driving motor 20.
- the output shaft 21 slides to change the resistance value of the sliding resistor.
- the connection between the drive motor 20 and the sliding end of the sliding resistor can be connected by a pair of motions that convert rotation into sliding, for example, gear teeth
- the bar mechanism can be that a driving gear is provided on the output shaft 21 of the drive motor 20, and a rack is provided on the sliding end of the sliding resistor, and the sliding end of the sliding resistor is driven to slide through the rack and pinion to change the sliding resistor The resistance in the access circuit.
- first fixed end and the movable contact end 111 of the varistor 11, or both ends of the first load 12 are used to connect with the main control board in the lock, so as to output the first voltage signal to the main control board, so that the main control The board determines the lock state according to the first voltage signal, where the lock state includes: an unlocked state and a locked state.
- the first resistor can be selected as the first load 12, and the rotary potentiometer can be selected as the rheostat 11, and the resistance value of the first resistor can be assumed to be 2000 ⁇ .
- the resistance of the rotary potentiometer is 1000 ⁇ , and the first voltage carried by the first fixed end of the varistor 11 and the second end of the first load 12 is 3.3V. It can be seen that the rotation The voltage drop on the potentiometer is 1.1V, and the voltage drop on the first resistor is 2.2V.
- the drive motor 20 rotates, thereby driving the rotating end of the rotary potentiometer to also rotate.
- the resistance of the rotary potentiometer increases with the rotation.
- the drive motor 20 stops rotating.
- the maximum position reached by the lock cylinder can be understood as the limit position that the lock cylinder can reach.
- it can be the first position where the lock cylinder is located when the lock is in the unlocked state, or it can also be the lock when the lock is in the locked state.
- the second position where the core is located.
- the state of the lock can be determined by comparing the different values of the acquired first voltage signal with the preset values calibrated in each state by the main control board.
- FIG. 3 is a schematic diagram of a possible voltage state in Embodiment 1.
- the lock state can be determined by monitoring the voltage change between the first fixed terminal and the movable contact terminal of the varistor 11 .
- the voltage drop on the rotary potentiometer is 1.1V
- the pressure drop on the rotary potentiometer gradually rises until the lock cylinder
- the drive motor 20 stops rotating, and when the lock is in the unlocked state, the voltage drop on the rotary potentiometer is 2.2V.
- the state of the lock can be determined by comparing the different values of the first voltage signal obtained between the first fixed terminal and the movable contact terminal 111 of the varistor 11 with the preset values calibrated in each state by the main control board.
- the processor on the main control board needs to convert analog signals into digital signals for processing, the acquired first voltage signal can be processed through an analog-to-digital converter, that is, the first voltage signal is converted into a first voltage signal. Digital signal, and input the first digital signal to the first port of the main control board.
- the lock cylinder when the lock cylinder is at the first position, the first voltage signal is the first value. At this time, the first digital signal after the analog-to-digital conversion is high according to the first value. Level, the lock state is determined to be the unlocked state; when the lock cylinder is in the second position, the first voltage signal is the second value, then the first digital signal after analog-to-digital conversion according to the second value is low power Level, the lock status is determined to be locked.
- the first voltage signal when the lock cylinder is in the first position, the first voltage signal is the first value. At this time, the first digital signal after analog-to-digital conversion is performed according to the first value. Is low, it is determined that the lock state is the unlocked state; when the lock cylinder is in the second position, the first voltage signal is the second value, then the first digital signal after analog-to-digital conversion according to the first value is High level, it is determined that the lock status is locked.
- the access circuit part of the varistor is connected in series with the first load, and then a stable first voltage is applied to the access circuit part of the varistor and the first load, and the movable contact terminal of the varistor is connected to the lock.
- the output shaft of the driving motor is connected, so that when the lock is switched by the driving motor, the resistance value of the part connected to the circuit of the varistor will also change, so that the first fixed end of the varistor and the movable contact
- the first voltage signal between the terminals or the first load changes, and the first voltage signal is sent to the main control board on the lock, so that the main control board corresponds to different values according to the current first voltage signal Compare with the calibrated preset value in each state to realize the determination of the lock state.
- the lock state monitoring device provided in this embodiment can be an integrated module.
- the lock state monitoring device can be installed in the lock by setting the corresponding installation position and circuit connection interface.
- the lock state monitoring device is connected with the controller, the driving motor and the power supply.
- the state monitoring device provided in this embodiment can also be applied to the transformation of ordinary smart locks.
- the state monitoring device provided in this embodiment is peripheral In addition to the ordinary smart lock, and establish the movement pair connection between the lock core of the ordinary smart lock and the moving contact end of the rheostat, the state monitoring of the ordinary smart lock by the external state monitoring device can be realized.
- FIG. 4 is a schematic structural diagram of a lock state monitoring device provided in Embodiment 3 of the present invention. As shown in FIG. 4, the lock state monitoring device provided in this embodiment further includes: a second load 30.
- the first end of the second load 30 is used to connect to the first input end of the driving motor 20 so that the driving output current passes through the second load 30 to drive the driving motor 20. It is understandable that when the drive motor 20 is not working, its drive output current is 0, and when the main control board controls the drive motor 20 to rotate and is in the process of switching between different states of the lock, the drive output current is the normal value of the drive motor 20.
- the second resistor can be selected as the second load 30, and it is assumed that the resistance of the second resistor is 10 ⁇ .
- Fig. 5 is a schematic diagram of a possible voltage state in the third embodiment. As shown in Figure 5, when the lock is in a locked state or an unlocked state, when the drive motor 20 is not working, its drive output current is 0. Correspondingly, the voltage drop across the second load 30 at this time is also 0V. .
- the drive motor 20 When the main control board controls the movement of the drive motor 20 to switch the lock state, for example, from the unlocked state to the locked state, at this time, the drive motor 20 starts to rotate. It can be assumed that the normal working current of the drive motor 20 at this time is 20 mA, that is The drive output current is 20 mA, and correspondingly, the voltage drop across the second load 30 at this time is also 200 mV.
- the resistance received by the drive motor 20 will increase at this time, and the power required by the drive motor 20 is naturally Increase the drive output current at this time to increase rapidly, for example, to 200mA, and then increase the voltage drop across the second load 30 to 2V, and obtain the second voltage signal at both ends of the second load 30
- the acquired second voltage signal can be compared with the preset voltage value calibrated in each state to determine the card position status of the lock assembly, where the above card position status includes: reaching the card position status and The card position has not been reached.
- the processor on the main control board needs to convert the analog signal into a digital signal for processing, the acquired second voltage signal can be processed through the analog-to-digital converter, that is, the second digital signal is generated according to the second voltage signal , And input the second digital signal to the second port of the main control board.
- the card position state is determined by obtaining the multiple between the voltage value corresponding to the second voltage signal and the preset voltage value, when the multiple is greater than the preset multiple, the second digital signal after analog-to-digital conversion is High level, it can be determined that the card position status is the card position reached state; and when the multiple is less than or equal to the preset multiple, the second digital signal after the analog-to-digital conversion is low level, which can confirm the card position status is the card position not reached state .
- the card position state is determined by obtaining the multiple between the voltage value corresponding to the second voltage signal and the preset voltage value, when the multiple is greater than the preset multiple, the second digital signal after analog-to-digital conversion is Low level, it can be determined that the card position status is the card position reached; and when the multiple is less than or equal to the preset multiple, the second digital signal after the analog-to-digital conversion is high level, and the card position status can be determined as the card position not reached status.
- the card position status is determined by obtaining the difference between the voltage value corresponding to the second voltage signal and the preset voltage value, then when the difference is greater than the preset difference, the second analog-to-digital conversion The digital signal is at a high level, and the card position can be determined to reach the card position status; and when the difference is less than or equal to the preset difference, the second digital signal after the analog-to-digital conversion is low, which can determine the card position It is not reached the card position status.
- the card position status is determined by obtaining the difference between the voltage value corresponding to the second voltage signal and the preset voltage value, when the difference is greater than the preset difference, the second number after the analog-to-digital conversion When the signal is low level, it can be determined that the card position status is reached; and when the difference is less than or equal to the preset difference value, the second digital signal after the analog-to-digital conversion is high level, and the card position status can be determined to be The card position has not been reached.
- the second load is connected in series with the drive motor, combined with the drive output current characteristics of the drive motor in different working states to obtain the second voltage signal of the second load in different states, and the second voltage signal
- the output is output to the main control board of the lock, so that the central control board determines whether the lock has reached the locked position according to the second voltage signal.
- the lock state monitoring device provided in any of the above embodiments can be an integrated module.
- the corresponding installation position and circuit connection interface can be set, and then the lock state monitoring device can be installed In the lock, the lock state monitoring device is connected with the controller, the driving motor and the power supply.
- the lock state monitoring device and the drive motor provided in any of the above embodiments as an integrated module as a lock drive device, and then directly install the lock drive device into the lock to achieve lock core drive And the function of lock status monitoring.
- an embodiment of the present invention also provides a lock assembly, including: a main control board, a drive motor 20, a lock cylinder, and any one of the lock state monitoring devices provided in the foregoing embodiments, wherein the main control board and the drive motor 20 is connected, and the main control board is used to control the rotation of the drive motor 20, and the output shaft 21 of the drive motor 20 is connected to the lock cylinder, so that the lock cylinder moves between the first position and the second position under the action of the drive motor 20, When the lock cylinder is in the first position, the state of the lock assembly is an unlocked state, and when the lock cylinder is in the second position, the state of the lock assembly is a locked state.
- the lock state monitoring device please refer to the working principle of the lock state monitoring device provided in the above embodiment, which will not be repeated in this embodiment.
- Fig. 6 is a flowchart of a method for monitoring the state of a lock provided in the fourth embodiment of the present invention.
- the lock state monitoring method provided in this embodiment is applied to the lock state monitoring device provided in any of the above embodiments, wherein, specifically, the lock state monitoring method provided in this embodiment includes:
- Step 401 Obtain a first voltage signal between the first fixed terminal and the movable contact terminal of the varistor, or between both ends of the first load.
- the first fixed end and the movable contact end 111 of the varistor 11, or both ends of the first load 12 are used to connect with the main control board in the lock to output the first voltage signal to the main control board.
- the movable contact end 111 of the varistor 11 is used to connect with the output shaft 21 of the drive motor 20 in the lock.
- the output shaft 21 of the drive motor 20 rotates to different angles so that the varistor 11 is connected
- the resistance of the input circuit part is also different.
- the rheostat 11 may be a rotary potentiometer, and the rotary end of the rotary potentiometer is used to connect with the output shaft 21 of the drive motor 20, so that the rotary end of the rotary potentiometer rotates with the output shaft 21 of the drive motor 20 to Changing the resistance value of the rotary potentiometer access circuit part, it can be seen that when the output shaft 21 of the drive motor 20 drives the lock cylinder in the lock to unlock or lock, it will also drive the rotating end of the rotary potentiometer to rotate. To change the resistance of the rotary potentiometer connected to the circuit.
- connection between the output shaft 21 of the drive motor 20 and the rotating end of the rotary potentiometer may be directly connected through a sleeve or through a transmission mechanism, which is not specifically limited in this embodiment.
- a driving gear 22 may be provided on the output shaft 21 of the driving motor 20, and a driven gear 112 meshing with the driving gear 22 is provided at the end of the rotating end of the rotary potentiometer.
- the driving motor 20 rotates, the rotating end of the rotary potentiometer is driven to rotate through a gear transmission to change the resistance value of the rotary potentiometer connected to the circuit.
- the varistor 11 may also be a sliding resistor, and the sliding end of the sliding resistor is used to connect with the output shaft 21 of the driving motor 20, so that the sliding end of the sliding resistor follows the driving motor 20.
- the output shaft 21 slides to change the resistance value of the part of the sliding resistor connected to the circuit.
- the connection between the drive motor 20 and the sliding end of the sliding resistor can be connected by a motion pair that converts rotation into sliding.
- a rack-and-pinion mechanism may be provided with a driving gear on the output shaft 21 of the drive motor 20, and a rack on the sliding end of the sliding resistor, and the sliding end of the sliding resistor is driven to slide through the rack and pinion. Change the resistance value of the sliding resistor connected to the circuit.
- Step 402 Determine the lock state according to the first voltage signal.
- the first fixed end and the movable contact end of the varistor 11 or the two ends of the first load 12 are used to connect with the main control board in the lock, so as to output a first voltage signal to the main control board, so that the main control board is
- the voltage signal determines the state of the lock, where the state of the lock includes: an unlocked state and a locked state.
- the first resistor can be selected as the first load 12, and the rotary potentiometer can be selected as the rheostat 11, and it is assumed that the resistance of the first resistor is 2000 ⁇ .
- the resistance of the rotary potentiometer is 1000 ⁇ , and the first voltage carried by the first fixed end of the varistor 11 and the second end of the first load 12 is 3.3V. It can be seen that the rotation The voltage drop on the potentiometer is 1.1V, and the voltage drop on the first resistor is 2.2V.
- the drive motor 20 rotates, thereby driving the rotating end of the rotary potentiometer to also rotate. At this time, the resistance of the rotary potentiometer increases with the rotation. As an example, when the lock cylinder reaches the maximum position, the drive motor 20 stops rotating. At this time, assuming that the resistance value of the rotary potentiometer increased is 4000 ⁇ , at this time, the voltage drop on the rotary potentiometer is 2.2V, The voltage drop across the first resistor is 1.1V.
- the state of the lock can be determined by comparing the different values of the acquired first voltage signal with the preset values calibrated in each state by the main control board.
- the processor on the main control board needs to convert analog signals into digital signals for processing, the acquired first voltage signal can be processed through an analog-to-digital converter, that is, the first voltage signal is converted into a first voltage signal. Digital signal, and input the first digital signal to the first port of the main control board.
- the first voltage signal is the first value.
- the first digital signal after the analog-to-digital conversion is high according to the first value.
- the first voltage signal when the lock cylinder is in the first position, the first voltage signal is the first value. At this time, the first digital signal after analog-to-digital conversion is performed according to the first value.
- the first voltage signal is the second value, and at this time, the first digital signal after analog-to-digital conversion according to the first value is high Level, confirm that the lock status is locked.
- the access circuit part of the varistor is connected in series with the first load, and then a stable first voltage is applied to the access circuit part of the varistor and the first load, and the movable contact terminal of the varistor is connected to the lock.
- the output shaft of the driving motor is connected, so that when the lock is switched by the driving motor, the resistance value of the part connected to the circuit of the varistor will also change, so that the first fixed end of the varistor and the movable contact
- the first voltage signal between the terminals or the first load changes, and the first voltage signal is sent to the main control board on the lock, so that the main control board corresponds to different values according to the current first voltage signal Compare with the calibrated preset value in each state to realize the determination of the lock state.
- FIG. 7 is a flowchart of a method for monitoring the state of a lock according to Embodiment 5 of the present invention. As shown in FIG. 7, the method for monitoring the state of a lock provided by this embodiment is applied to a lock, and the lock also includes a second load 30. The first end of the second load 30 is used to connect to the first input end of the driving motor 20 so that the driving output current passes through the second load 30 to drive the driving motor 20.
- the lock state monitoring method provided in this embodiment includes:
- Step 501 Obtain a first voltage signal between the first fixed terminal and the movable contact terminal of the varistor, or between both ends of the first load.
- Step 502 Determine the state of the lock according to the first voltage signal.
- steps 501 to 502 refers to the description of steps 401 to 402 in the embodiment shown in FIG. 5, which will not be repeated here.
- Step 503 Obtain a second voltage signal across the second load.
- the drive motor 20 When the drive motor 20 is not working, its drive output current is 0.
- the drive output current is the normal operating current of the drive motor 20, and
- the lock core rotates to the locked position, whether it is locked in the unlocked state or locked state, at this time, the resistance received by the drive motor 20 will increase, and the power required to drive the motor 20 will naturally increase.
- the drive output current at this time is rapidly increased, so that the voltage drop across the second load 30 is increased.
- Step 504 Determine whether the lock has reached the card position according to the second voltage signal.
- both ends of the second load 30 can be used to connect with the main control board to output a second voltage signal to the main control board, so that the main control board can determine whether the lock is locked according to the second voltage signal. Reach the card slot.
- the second resistor can be selected as the second load 30, and it is assumed that the resistance of the second resistor is 10 ⁇ .
- the lock when the lock is in a locked state or an unlocked state, when the drive motor 20 is not working, its drive output current is 0. Correspondingly, the voltage drop across the second load 30 is also 0V.
- the main control board controls the movement of the drive motor 20 to switch the lock state, for example, from the unlocked state to the locked state, at this time, the drive motor 20 starts to rotate. It can be assumed that the normal working current of the drive motor 20 at this time is 20 mA, that is The drive output current is 20 mA, and correspondingly, the voltage drop across the second load 30 at this time is also 200 mV.
- the resistance received by the drive motor 20 will increase at this time, and the power required by the drive motor 20 is naturally Increase the drive output current at this time to increase rapidly, for example, to 200mA, and then increase the voltage drop across the second load 30 to 2V, and obtain the second voltage signal at both ends of the second load 30
- the acquired second voltage signal can be compared with the preset voltage value calibrated in each state to determine the card position status of the lock assembly, where the above card position status includes: reaching the card position status and The card position has not been reached.
- the processor on the main control board needs to convert the analog signal into a digital signal for processing, the acquired second voltage signal can be processed through the analog-to-digital converter, that is, the second digital signal is generated according to the second voltage signal , And input the second digital signal to the second port of the main control board.
- the card position state is determined by obtaining the multiple between the voltage value corresponding to the second voltage signal and the preset voltage value, when the multiple is greater than the preset multiple, the second digital signal after analog-to-digital conversion is High level, it can be determined that the card position status is the card position reached state; and when the multiple is less than or equal to the preset multiple, the second digital signal after the analog-to-digital conversion is low level, which can confirm the card position status is the card position not reached state .
- the card position state is determined by obtaining the multiple between the voltage value corresponding to the second voltage signal and the preset voltage value, when the multiple is greater than the preset multiple, the second digital signal after analog-to-digital conversion is Low level, it can be determined that the card position status is the card position reached state; and when the multiple is less than or equal to the preset multiple, the second digital signal after the analog-to-digital conversion is high level, and the card position status is determined to be the card position not reached state .
- the card position status is determined by obtaining the difference between the voltage value corresponding to the second voltage signal and the preset voltage value, then when the difference is greater than the preset difference, the second analog-to-digital conversion The digital signal is at a high level, and the card position can be determined to reach the card position status; and when the difference is less than or equal to the preset difference, the second digital signal after the analog-to-digital conversion is low, which can determine the card position It is not reached the card position status.
- the card position status is determined by obtaining the difference between the voltage value corresponding to the second voltage signal and the preset voltage value, when the difference is greater than the preset difference, the second number after the analog-to-digital conversion When the signal is low level, it can be determined that the card position status is reaching the card position status; and when the difference is less than or equal to the preset difference value, the second digital signal after the analog-to-digital conversion is high level, and the card position status is determined to be not Reach the card position.
- the second load is connected in series with the drive motor, combined with the drive output current characteristics of the drive motor in different working states to obtain the second voltage signal of the second load in different states, and the second voltage signal
- the output is output to the main control board of the lock, so that the central control board determines whether the lock has reached the locked position according to the second voltage signal.
- Fig. 8 is a schematic structural diagram of a lock state monitoring device provided by the sixth embodiment of the present invention. As shown in Figure 8, the lock state monitoring device provided by this embodiment includes:
- the acquiring module 601 is configured to acquire the first voltage signal at the first fixed terminal and the movable contact terminal of the varistor, or at both ends of the first load;
- the determining module 602 is configured to determine the state of the lock according to the first voltage signal, and the state of the lock includes: an unlocked state and a locked state.
- the determining module 601 is specifically used for:
- the state of the lock is determined according to the first digital signal, wherein the main control board obtains the first digital signal through a first port.
- the obtaining module 601 is specifically used for:
- the first voltage signal is a first value
- the first digital signal is a high level, and it is determined that the lock state is the unlocked state
- the first voltage signal is a second value, and the first digital signal is a low level, determining that the lock state is the locked state
- the first voltage signal is a first value
- the first digital signal is a low level, determining that the lock state is the unlocked state
- the first voltage signal is a second value
- the first digital signal is a high level, which determines that the lock state is the locked state.
- the acquisition module 601 is also used to acquire a second voltage signal across a second load, and the first terminal of the second load is used to connect to the first input terminal of the drive motor , So that the drive output current drives the drive motor after passing through the second load;
- the determining module 602 is further configured to determine the card position status of the lock assembly according to the second voltage signal, and the card position status includes: a card position status and a card position status not reached.
- the determining module 602 is specifically configured to:
- the card position status is determined according to the second digital signal, wherein the main control board obtains the second digital signal through a second port.
- the determining module 602 is specifically configured to:
- the card position state is determined by obtaining the multiple between the voltage value corresponding to the second voltage signal and the preset voltage value; then
- the second digital signal is at a high level, and it is determined that the card position state is the card position arrival state;
- the second digital signal is at a low level, and it is determined that the card position state is the card position not reached state;
- the second digital signal is at a low level, and it is determined that the card position state is the card position arrival state;
- the second digital signal is at a high level, and it is determined that the card position state is the card position not reached state;
- the card position state is determined by obtaining the difference between the voltage value corresponding to the second voltage signal and the preset voltage value; then
- the second digital signal is at a high level, and it is determined that the card position state is the card position arrival state;
- the second digital signal is at a low level, and it is determined that the stuck position is the unreached stuck position
- the second digital signal is at a low level, and it is determined that the card position state is the card position arrival state;
- the second digital signal is at a high level, and it is determined that the card position state is the non-card position state.
- lock state monitoring device provided in the embodiment shown in FIG. 8 is used to implement the lock state monitoring method provided in any of the foregoing embodiments.
- FIG. 9 is a schematic structural diagram of an electronic device according to Embodiment 7 of the present invention.
- the electronic device 70 in this embodiment may include: a processor 701 and a memory 702;
- the memory 702 is used to store programs
- the processor 701 is configured to execute a program stored in the memory 702, and when the program is executed, the processor 701 is configured to execute any of the foregoing method embodiments to monitor the lock state of the lock.
- the memory 702 may be independent or integrated with the processor 701.
- the electronic device 70 may further include: a bus 703 for connecting the memory 702 and the processor 701.
- An embodiment of the present invention also provides a computer-readable storage medium, including instructions, which when run on a computer, cause the computer to execute any of the foregoing method embodiments to monitor the lock state of the lock assembly.
- the computer-readable medium includes a computer storage medium and a communication medium
- the communication medium includes any medium that facilitates the transfer of a computer program from one place to another.
- the storage medium may be any available medium that can be accessed by a general-purpose or special-purpose computer.
- An exemplary storage medium is coupled to the processor, so that the processor can read information from the storage medium and write information to the storage medium.
- the storage medium may also be an integral part of the processor.
- the processor and the storage medium may be located in an application specific integrated circuit (ASIC).
- the application specific integrated circuit may be located in the user equipment.
- the processor and the storage medium may also exist as discrete components in the communication device.
Landscapes
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Control Of Electric Motors In General (AREA)
Abstract
一种锁具状态监测装置(10)、方法、锁具驱动装置及锁具总成。锁具状态监测装置包括:变阻器(11)以及第一负载(12),变阻器(11)的动触端(111)与第一负载(12)的第一端连接,变阻器(11)的第一固定端与第一负载(12)的第二端用于承载第一电压,变阻器(11)的变阻动触端(111)用于与锁具中的驱动电机(20)的输出轴(21)连接,变阻器(11)的第一固定端与动触端(111),或者第一负载(12)的两端用于与锁具中的主控板连接,以向主控板输出第一电压信号,以使主控板根据第一电压信号确定锁具状态。该锁具状态监测装置通过驱动电机(20)转动与变阻器(11)阻值之间的强耦合联动关系,只需增加简单的器件就可以实现锁具状态的监测,并可以适配不同的类型的锁具的状态监测,从而降低了锁具的开发和生产成本。
Description
本申请涉及智能家居领域,尤其涉及一种锁具状态监测装置、方法、锁具驱动装置及锁具总成。
智能锁具是在传统机械锁的基础上进行改进,具有更高的安全性、便利性以及先进性的复合型锁具。而对于智能锁具的工作原理,大多是使用电机驱动锁芯运动,以实现开锁以及加锁的功能。
智能锁具中的主控板在控制电机实现开锁以及加锁之前,均需要通过感应装置先获取锁具当前的状态,即确定锁具当前是处于开锁状态还是加锁状态。在现有技术中,智能锁具通常包括主控板、电机、感应装置以及锁芯四个部分,对于主控板、电机以及锁芯的集成方案目前均比较成熟统一。
但是,对于上述用于获取锁具状态的感应装置,行业内仍未能形成统一的标准,这就导致了对于不同类型的智能锁具需要匹配不同结构的感应装置的问题,进而大大增加了智能锁具的开发和生产成本。
发明内容
本发明提供一种锁具状态监测装置、方法、锁具驱动装置及锁具总成,以适配不同的类型的锁具的状态监测,以降低锁具的开发和生产成本。
第一方面,本发明实施例提供锁具状态监测装置,应用于锁具,所述装置包括:变阻器以及第一负载;
所述变阻器的动触端与所述第一负载的第一端连接,所述变阻器的第一固定端与所述第一负载的第二端用于承载第一电压;
所述变阻器的所述动触端用于与所述锁具中的驱动电机的输出轴连接,以使所述驱动电机驱动所述动触端运动,以改变所述第一固定端与所述动 触端之间的阻值;
所述变阻器的所述第一固定端与所述动触端,或所述第一负载的两端用于与所述锁具中的主控板连接,以向所述主控板输出第一电压信号,以使所述主控板根据所述第一电压信号确定锁具状态,所述锁具状态包括:开锁状态以及加锁状态。
在一种可能的设计中,所述变阻器为旋转式电位器,所述动触端为所述旋转式电位器的转动端;
所述转动端用于与所述驱动电机的输出轴连接,以使所述转动端随所述驱动电机的输出轴转动,以改变所述旋转式电位器接入电路的阻值。
在一种可能的设计中,所述第一负载为第一电阻。
在一种可能的设计中,所述锁具状态监测装置,还包括:第二负载;
所述第二负载的第一端用于与所述驱动电机的第一输入端连接,以使驱动输出电流经所述第二负载之后对所述驱动电机进行驱动;
所述第二负载的两端用于与所述主控板连接,以向所述主控板输出第二电压信号,以使所述主控板根据所述第二电压信号确定所述锁具是否达到卡位。
在一种可能的设计中,所述第二负载为第二电阻。
第二方面,本发明实施例提供一种锁具驱动装置,包括:驱动电机以及如第一方面中任一项所述的锁具状态监测装置。
第三方面,本发明实施例提供一种锁具总成,包括:主控板、驱动电机、锁芯以及如第一方面中任一项所述的锁具状态监测装置;
所述主控板与所述驱动电机连接,以控制所述驱动电机转动;
所述驱动电机的输出轴与所述锁芯连接,以使所述锁芯在所述驱动电机的作用下在第一位置和第二位置之间运动,当所述锁芯位于所述第一位置时,锁具状态为开锁状态,当所述锁芯位于所述第二位置时,所述锁具状态为加锁状态。
第四方面,本发明实施例提供一种锁具状态监测装置方法,应用第三方面中任一项锁具总成,所述方法包括:
获取所述变阻器的所述第一固定端与所述动触端之间,或者所述第一负载的两端之间的所述第一电压信号;
根据所述第一电压信号确定所述锁具状态。
在一种可能的设计中,所述根据所述第一电压信号确定所述锁具状态,包括:
将所述第一电压信号转化为第一数字信号;
根据所述第一数字信号确定所述锁具状态,其中,所述主控板通过第一端口获取所述第一数字信号。
在一种可能的设计中,所述根据所述第一数字信号确定所述锁具状态,包括:
当所述锁芯位于所述第一位置时,所述第一电压信号为第一数值,所述第一数字信号为所述主控板获得高电平,确定所述锁具状态为所述开锁状态;
当所述锁芯位于所述第二位置时,所述第一电压信号为第二数值,所述第一数字信号为所述主控板获得低电平,确定所述锁具状态为所述加锁状态;
或者,
当所述锁芯位于所述第一位置时,所述第一电压信号为第一数值,所述第一数字信号为所述主控板获得低电平,确定所述锁具状态为所述开锁状态;
当所述锁芯位于所述第二位置时,所述第一电压信号为第二数值,所述第一数字信号为所述主控板获得高电平,确定所述锁具状态为所述加锁状态。
在一种可能的设计中,所述的锁具状态监测方法,还包括:
获取第二负载两端的第二电压信号,所述第二负载的第一端用于与所述驱动电机的第一输入端连接,以使驱动输出电流经所述第二负载之后对所述驱动电机进行驱动;
根据所述第二电压信号确定所述锁具总成的卡位状态,所述卡位状态包括:到达卡位状态以及未到达卡位状态确定所述锁具是否达到卡位。
在一种可能的设计中,所述获取所述第二电压信号确定所述锁具总成的卡位状态,包括:
将所述第二电压信号转化为第二数字信号;
根据所述第二数字信号确定所述卡位状态,其中,所述主控板通过第二端口获取所述第二数字信号。
在一种可能的设计中,所述根据所述第二数字信号确定所述卡位状态,包括:
若通过获取所述第二电压信号对应的电压值与预设电压值之间的倍数以确定所述卡位状态;则
当所述倍数大于预设倍数时,所述第二数字信号为高电平,确定所述卡位状态为所述到达卡位状态;
当所述倍数小于或等于所述预设倍数时,所述第二数字信号为低电平,确定所述卡位状态为所述未到达卡位状态;
或者,
当所述倍数大于所述预设倍数时,所述第二数字信号为低电平,确定所述卡位状态为所述到达卡位状态;
当所述倍数小于或等于所述预设倍数时,所述第二数字信号为高电平,确定所述卡位状态为所述未到达卡位状态;
若通过获取所述第二电压信号对应的电压值与预设电压值之间的差值以确定所述卡位状态;则
当所述差值大于预设差值时,所述第二数字信号为高电平,确定所述卡位状态为所述到达卡位状态;
当所述差值小于或等于所述预设差值时,所述第二数字信号为低电平,确定所述卡位状态为所述未到达卡位状态;
或者,
当所述差值大于所述预设差值时,所述第二数字信号为低电平,确定所述卡位状态为所述到达卡位状态;
当所述差值小于或等于所述预设差值时,所述第二数字信号为高电平,确定所述卡位状态为所述未到达卡位状态对应的电压值与预设电压值之间的倍数或者差值,若所述倍数大于预设倍数或者所述差值大于预设差值,则确定所述锁具总成达到卡位。
第五方面,本发明实施例提供一种电子设备,包括:
存储器,用于存储程序;
处理器,用于执行所述存储器存储的所述程序,当所述程序被执行时,所述处理器用于通过第四方面提供的任一项所述的锁具状态监测装置方法对所述锁具总成的所述锁具状态进行监测。
第六方面,本发明实施例提供一种计算机可读存储介质,包括:指令,当其在计算机上运行时,使得计算机执行第四方面提供的任一项所述的锁具状态监测装置方法对所述锁具总成的所述锁具状态进行监测。
本发明提供的锁具状态监测装置、方法、锁具驱动装置及锁具总成,通过将变阻器的接入电路部分与第一负载进行串联,然后在变阻器的接入电路部分与第一负载上加载稳定的第一电压,并将变阻器的动触端与锁具中的驱动电机的输出轴进行连接,从而使得当锁具在利用驱动电机进行开关操作时,也会同时带动变阻器接入电路的部分的阻值发生变化,进而使得变阻器的第一固定端与动触端之间或者第一负载的两端之间的第一电压信号发生变化,并将第一电压信号发送至锁具上的主控板,从而使得主控板根据当前第一电压信号对应不同的数值与每个状态下标定的预设数值进行比较,以实现锁具状态的确定,通过这种驱动电机转动与变阻器阻值之间的强耦合联动关系,只增加了简单的器件就可以实现锁具状态准确的监测,并可以适配不同的类型的锁具,从而大大降低了锁具的开发和生产成本。
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例一提供的锁具状态监测装置的结构示意图;
图2为本发明实施例二提供的锁具状态监测装置的结构示意图;
图3为实施例一中一种可能的电压状态示意图;
图4为本发明实施例三提供的锁具状态监测装置的结构示意图;
图5为实施例三中一种可能的电压状态示意图;
图6为本发明实施例四提供的锁具状态监测方法的流程图;
图7为本发明实施例五提供的锁具状态监测方法的流程图;
图8为本发明实施例六提供的锁具状态监测装置的结构示意图;
图9为本发明实施例七提供的电子设备的结构示意图。
通过上述附图,已示出本公开明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本公开构思的范围,而是通过参考特定实施例为本领域技术人员说明本公开的概念。
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例例如能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
下面以具体地实施例对本发明的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本发明的实施例进行描述。
图1为本发明实施例一提供的锁具状态监测装置的结构示意图。如图1所示,本实施例提供的锁具状态监测装置10,包括:变阻器11以及第一负载12。
具体地,变阻器11的动触端111与第一负载12的第一端连接,而变阻器11的第一固定端与第一负载12的第二端用于承载第一电压,其中,第一电压为固定电压,例如,可以为3.3V或者是其他数值的电压,值得理解地,对于变阻器11的动触端111与第一负载12的第一端之间的连接为 电子器件之间的耦接关系。
而变阻器11的动触端111还用于与锁具中的驱动电机20的输出轴21连接,以使驱动电机20能够驱动动触端111运动,从而改变变阻器11的第一固定端与动触端111之间的阻值,值得理解地,对于变阻器11的动触端111与驱动电机20的输出轴21直接的连接为运动副连接关系。
例如,变阻器11可以为旋转式电位器,则旋转式电位器的转动端用于与驱动电机20的输出轴21连接,以使旋转式电位器的转动端随驱动电机20的输出轴21转动而转动,以改变旋转式电位器接入电路部分的阻值,可见,当驱动电机20的输出轴21驱动锁具中的锁芯进行开锁或者加锁时,同时也会带动旋转式电位器的转动端进行转动,以改变旋转式电位器接入电路中的阻值。
其中,对于驱动电机20的输出轴21与旋转式电位器的转动端之间的连接,可以是通过轴套进行直接连接,也可以是通过传动机构进行连接,在本实施例中不作具体限定。图2为本发明实施例二提供的锁具状态监测装置的结构示意图。如图2所示,在一种可能的设计中,驱动电机20的输出轴21上可以设置有主动齿轮22,而在旋转式电位器转动端末端设置有与主动齿轮22相啮合的从动齿轮112,当驱动电机20转动时,就会通过齿轮传动带动旋转式电位器的转动端进行转动,以改变旋转式电位器接入电路中的阻值。
在另一种可能的实现方式中,变阻器11还可以为滑动电阻器,滑动电阻器的滑动端用于与驱动电机20的输出轴21连接,以使滑动电阻器的滑动端随驱动电机20的输出轴21滑动,以改变滑动电阻器的阻值,其中,对于驱动电机20与滑动电阻器的滑动端之间的连接,可以是通过将转动转化为滑动的运动副进行连接,例如,齿轮齿条机构,可以是在驱动电机20的输出轴21上设置主动齿轮,而在滑动电阻器的滑动端上设置齿条,通过齿轮齿条驱动滑动电阻器的滑动端进行滑动,以改变滑动电阻器接入电路中的阻值。
此外,变阻器11的第一固定端与动触端111,或第一负载12的两端用于与锁具中的主控板进行连接,以向主控板输出第一电压信号,以使主控板根据第一电压信号确定锁具状态,其中,锁具状态包括:开锁状态以及加锁状态。
下面通过结合一个具体的实施例对主控板根据第一电压信号确定锁具状态的具体原理进行说明:
可以选取第一电阻作为第一负载12,选取旋转式电位器作为变阻器11,并且,可以假设第一电阻的阻值为2000Ω。
在锁具处于加锁状态下时,旋转式电位器的阻值为1000Ω,变阻器11的第一固定端与第一负载12的第二端承载的第一电压为3.3V,可见,此时,旋转式电位器上的压降为1.1V,而第一电阻上的压降为2.2V。
而当锁具从加锁状态切换至开锁状态的过程中,驱动电机20发生转动,从而带动旋转式电位器的转动端也发生转动,此时,以旋转式电位器的电阻随着转动后变大为例,当锁芯到达最大位置时,驱动电机20停止转动,假设旋转式电位器增大后的阻值为4000Ω,则此时,旋转式电位器上的压降为2.2V,而第一电阻上的压降为1.1V。其中,锁芯所到达的最大位置可以理解为锁芯所能够到达的极限位置,例如,可以是锁具处于开锁状态时锁芯所位于的第一位置,或者还可以是锁具处于加锁状态时锁芯所位于的第二位置。
可见,通过主控板根据获取到的第一电压信号不同的数值与每个状态下标定的预设数值进行比较,即可确定锁具状态。
图3为实施例一中一种可能的电压状态示意图,如图3所示,在本实施例中可以通过监测变阻器11的第一固定端与动触端之间电压的变化,来确定锁具状态。当锁具状态为加锁状态时,旋转式电位器上的压降为1.1V,而当锁具从加锁状态切换至开锁状态的过程中,旋转式电位器上的压降逐渐上升,直至锁芯到达最大位置时,驱动电机20停止转动,锁具处于开锁状态时,旋转式电位器上的压降为2.2V。可见,通过主控板根据获取变阻器11第一固定端与动触端111之间的第一电压信号不同的数值与每个状态下标定的预设数值进行比较,即可确定锁具状态。
此外,由于主控板上的处理器需要将模拟信号转化为数字信号进行处理,因此,可以通过模数转化器来对获取到的第一电压信号进行处理,即将第一电压信号转化为第一数字信号,并将第一数字信号输入至主控板的第一端口。
具体地,在一种可能的设置方式中,当锁芯位于第一位置时,第一电压信号为第一数值,则此时,根据第一数值进行模数转化后的第一数字信 号为高电平,则确定锁具状态为开锁状态;当锁芯位于第二位置时,第一电压信号为第二数值,则此时,根据第二数值进行模数转化后的第一数字信号为低电平,则确定锁具状态为加锁状态。
而在另一种可能的设置方式中,还可以是当锁芯位于第一位置时,第一电压信号为第一数值,则此时,根据第一数值进行模数转化后的第一数字信号为低电平,则确定锁具状态为开锁状态;当锁芯位于第二位置时,第一电压信号为第二数值,则此时,根据第一数值进行模数转化后的第一数字信号为高电平,则确定锁具状态为加锁状态。
在本实施例中,通过将变阻器的接入电路部分与第一负载进行串联,然后在变阻器的接入电路部分与第一负载上加载稳定的第一电压,并将变阻器的动触端与锁具中的驱动电机的输出轴进行连接,从而使得当锁具在利用驱动电机进行开关操作时,也会同时带动变阻器接入电路的部分的阻值发生变化,进而使得变阻器的第一固定端与动触端之间或者第一负载的两端之间的第一电压信号发生变化,并将第一电压信号发送至锁具上的主控板,从而使得主控板根据当前第一电压信号对应不同的数值与每个状态下标定的预设数值进行比较,以实现锁具状态的确定,通过这种驱动电机转动与变阻器阻值之间的强耦合联动关系,只增加了简单的器件就可以实现锁具状态准确的监测,并可以适配不同的类型的锁具,从而大大降低了锁具的开发和生产成本。
值得说明地,对于本实施例提供的锁具状态监测装置可以是一集成模块,在锁具的设计过程中,可以通过设置相应的安装位置以及电路连接接口,然后将锁具状态监测装置安装至锁具中,使得锁具状态监测装置与控制器、驱动电机以及供电电源相连接,此外,本实施例提供的状态监测装置还可以是应用于普通智能锁的改造,通过将本实施例提供的状态监测装置外设在普通智能锁之外,并建立普通智能锁的锁芯与变阻器动触端之间的运动副连接,即可实现外置状态监测装置对普通智能锁的状态监测。
在图1所示实施例的基础上,图4为本发明实施例三提供的锁具状态监测装置的结构示意图。如图4所示,本实施例提供的锁具状态监测装置,还包括:第二负载30。
其中,第二负载30的第一端用于与驱动电机20的第一输入端连接,以使驱动输出电流经第二负载30之后对驱动电机20进行驱动。值得理解 地,当驱动电机20不工作时,其驱动输出电流为0,而当主控板控制驱动电机20进行转动且处于锁具不同状态切换过程中时,驱动输出电流即为驱动电机20的正常工作电流,而当锁芯转动至卡位时,无论是开锁状态卡位还是加锁状态卡位,此时,驱动电机20所受到的阻力就会加大,则驱动电机20所需的功率也就自然加大,进而使得此时的驱动输出电流迅速提升,从而使得第二负载30两端的压降升高,并且,第二负载30的两端用于与主控板连接,以向主控板输出第二电压信号,以使主控板根据第二电压信号确定锁具是否达到卡位。
下面通过结合一个具体的实施例对主控板根据第二电压信号确定锁具是否达到卡位的具体原理进行说明:
可以选取第二电阻作为第二负载30,并假设第二电阻的阻值为10Ω。
图5为实施例三中一种可能的电压状态示意图。如图5所示,在锁具静止处于加锁状态下或者开锁状态下时,驱动电机20不工作时,其驱动输出电流为0,对应地,此时第二负载30两端的压降也为0V。
当主控板控制驱动电机20运动进行锁具状态切换时,例如,从开锁状态切换至加锁状态,此时,驱动电机20开始转动,可以假设此时驱动电机20的正常工作电流为20mA,即驱动输出电流为20mA,对应地,此时第二负载30两端的压降也为200mV。而当驱动电机20继续转动,直至锁芯运动到极限位置,即锁具到达了卡位位置时,此时驱动电机20所受到的阻力就会加大,则驱动电机20所需的功率也就自然加大,进而使得此时的驱动输出电流迅速提升,例如,升高至200mA,进而使得第二负载30两端的压降升高至2V,在获取到第二负载30的两端的第二电压信号之后,还可以将获取到的第二电压信号与每个状态下标定的预设电压数值进行比较,即可确定锁具总成的卡位状态,其中,上述卡位状态包括:到达卡位状态以及未到达卡位状态。
由于主控板上的处理器需要将模拟信号转化为数字信号进行处理,因此,可以通过模数转化器来对获取到的第二电压信号进行处理,即根据第二电压信号生成第二数字信号,并将第二数字信号输入至主控板的第二端口。
可选地,若是通过获取第二电压信号对应的电压值与预设电压值之间的倍数来确定卡位状态的话,则当倍数大于预设倍数时,模数转化后的第 二数字信号为高电平,可以确定卡位状态为到达卡位状态;而当倍数小于或等于预设倍数时,模数转化后第二数字信号为低电平,可以确定卡位状态为未到达卡位状态。
可选地,若是通过获取第二电压信号对应的电压值与预设电压值之间的倍数来确定卡位状态的话,则当倍数大于预设倍数时,模数转化后的第二数字信号为低电平,可以确定卡位状态为到达卡位状态;而当倍数小于或等于预设倍数时,模数转化后的第二数字信号为高电平,可以确定卡位状态为未到达卡位状态。
可选地,若是通过获取第二电压信号对应的电压值与预设电压值之间的差值来确定卡位状态的话,则当差值大于预设差值时,模数转化后的第二数字信号为高电平,可以确定卡位状态为到达卡位状态;而当差值小于或等于预设差值时,模数转化后的第二数字信号为低电平,可以确定卡位状态为未到达卡位状态。
可选地,若是通过获取第二电压信号对应的电压值与预设电压值之间的差值来确定卡位状态的话,当差值大于预设差值时,模数转化后的第二数字信号为低电平,可以确定卡位状态为到达卡位状态;而当差值小于或等于预设差值时,模数转化后的第二数字信号为高电平,可以确定卡位状态为未到达卡位状态。
在本实施例中,通过与驱动电机串联第二负载的方式,结合驱动电机在不同工作状态下的驱动输出电流特性获取第二负载在不同状态下的第二电压信号,并将第二电压信号输出至锁具的主控板中,使得中控板根据第二电压信号确定锁具是否达到卡位,电路结构简单,并可以适配不同的类型的锁具,从而大大降低了锁具的开发和生产成本。
值得说明地,上述任一实施例中所提供的锁具状态监测装置可以是为一集成模块,在锁具的设计过程中,可以通过设置相应的安装位置以及电路连接接口,然后将锁具状态监测装置安装至锁具中,使得锁具状态监测装置与控制器、驱动电机以及供电电源相连接。此外,还可以是将上述任一实施例中所提供的锁具状态监测装置与驱动电机作为一集成模块,作为锁具驱动装置,然后通过直接将锁具驱动装置安装至锁具中,既可实现锁芯驱动和锁具状态监测的功能。
此外,本发明实施例还提供一种锁具总成,包括:主控板、驱动电机 20、锁芯以及上述实施例中所提供的任意一种锁具状态监测装置,其中,主控板与驱动电机20连接,而主控板用于控制驱动电机20转动,驱动电机20的输出轴21与锁芯连接,以使锁芯在驱动电机20的作用下在第一位置和第二位置之间运动,当锁芯位于第一位置时,锁具总成的状态为开锁状态,当锁芯位于第二位置时,锁具总成的状态为加锁状态。而利用锁具状态监测装置对锁具总成的状态进行监测的原理和过程请参照上述实施例所提供的锁具状态监测装置的工作原理,在本实施例中不在进行赘述。
图6为本发明实施例四提供的锁具状态监测方法的流程图。如图6所示,本实施例提供的锁具状态监测方法,应用于上述任一实施例所提供的锁具状态监测装置,其中,具体地,本实施例提供的锁具状态监测方法,包括:
步骤401、获取变阻器的第一固定端与动触端之间,或者第一负载的两端之间的第一电压信号。
变阻器11的第一固定端与动触端111,或第一负载12的两端用于与锁具中的主控板进行连接,以向主控板输出第一电压信号。其中,变阻器11的动触端111用于与锁具中的驱动电机20的输出轴21连接,当处于不同的锁具状态时,驱动电机20的输出轴21旋转至不同的角度,以使得变阻器11接入电路部分的电阻也不相同。其中,变阻器11可以为旋转式电位器,旋转式电位器的转动端用于与驱动电机20的输出轴21连接,以使旋转式电位器的转动端随驱动电机20的输出轴21转动,以改变旋转式电位器接入电路部分的阻值,可见,当驱动电机20的输出轴21驱动锁具中的锁芯进行开锁或者加锁时,同时也会带动旋转式电位器的转动端进行转动,以改变旋转式电位器接入电路中的阻值。
其中,对于驱动电机20的输出轴21与旋转式电位器的转动端之间的连接,可以是通过轴套进行直接连接,也可以是通过传动机构进行连接,在本实施例中不作具体限定。继续参照图2,在一种可能的设计中,驱动电机20的输出轴21上可以设置有主动齿轮22,而在旋转式电位器转动端末端设置有与主动齿轮22相啮合的从动齿轮112,当驱动电机20转动时,就会通过齿轮传动带动旋转式电位器的转动端进行转动,以改变旋转式电位器接入电路中的阻值。
在另一种可能的实现方式中,变阻器11还可以为滑动电阻器,滑动电 阻器的滑动端用于与驱动电机20的输出轴21连接,以使滑动电阻器的滑动端随驱动电机20的输出轴21滑动,以改变滑动电阻器接入电路部分的阻值,其中,对于驱动电机20与滑动电阻器的滑动端之间的连接,可以是通过将转动转化为滑动的运动副进行连接,例如,齿轮齿条机构,可以是在驱动电机20的输出轴21上设置主动齿轮,而在滑动电阻器的滑动端上设置齿条,通过齿轮齿条驱动滑动电阻器的滑动端进行滑动,以改变滑动电阻器接入电路中的阻值。
步骤402、根据第一电压信号确定锁具状态。
变阻器11的第一固定端与动触端或第一负载12的两端用于与锁具中的主控板进行连接,以向主控板输出第一电压信号,以使主控板根据第一电压信号确定锁具状态,其中,锁具状态包括:开锁状态以及加锁状态。
下面通过结合一个具体的实施例对主控板根据第一电压信号确定锁具状态的具体原理进行说明:
可以选取第一电阻作为第一负载12,选取旋转式电位器作为变阻器11,并且,假设第一电阻的阻值为2000Ω。
在锁具处于加锁状态下时,旋转式电位器的阻值为1000Ω,变阻器11的第一固定端与第一负载12的第二端承载的第一电压为3.3V,可见,此时,旋转式电位器上的压降为1.1V,而第一电阻上的压降为2.2V。
而当锁具从加锁状态切换至开锁状态的过程中,驱动电机20发生转动,从而带动旋转式电位器的转动端也发生转动,此时,以旋转式电位器的电阻随着转动后变大为例,当锁芯到达最大位置时,驱动电机20停止转动,此时,假设旋转式电位器增大后的阻值为4000Ω,则此时,旋转式电位器上的压降为2.2V,而第一电阻上的压降为1.1V。
可见,通过主控板根据获取到的第一电压信号不同的数值与每个状态下标定的预设数值进行比较,即可确定锁具状态。
此外,由于主控板上的处理器需要将模拟信号转化为数字信号进行处理,因此,可以通过模数转化器来对获取到的第一电压信号进行处理,即将第一电压信号转化为第一数字信号,并将第一数字信号输入至主控板的第一端口。
具体地,在一种可能的设置方式中,当锁芯位于第一位置时,第一电压信号为第一数值,则此时,根据第一数值进行模数转化后的第一数字信 号为高电平,确定锁具状态为开锁状态;当锁芯位于第二位置时,第一电压信号为第二数值,则此时,根据第二数值进行模数转化后的第一数字信号为低电平,确定锁具状态为加锁状态。
而在另一种可能的设置方式中,还可以是当锁芯位于第一位置时,第一电压信号为第一数值,则此时,根据第一数值进行模数转化后的第一数字信号为低电平,确定锁具状态为开锁状态;当锁芯位于第二位置时,第一电压信号为第二数值,则此时,根据第一数值进行模数转化后的第一数字信号为高电平,确定锁具状态为加锁状态。
在本实施例中,通过将变阻器的接入电路部分与第一负载进行串联,然后在变阻器的接入电路部分与第一负载上加载稳定的第一电压,并将变阻器的动触端与锁具中的驱动电机的输出轴进行连接,从而使得当锁具在利用驱动电机进行开关操作时,也会同时带动变阻器接入电路的部分的阻值发生变化,进而使得变阻器的第一固定端与动触端之间或者第一负载的两端之间的第一电压信号发生变化,并将第一电压信号发送至锁具上的主控板,从而使得主控板根据当前第一电压信号对应不同的数值与每个状态下标定的预设数值进行比较,以实现锁具状态的确定,通过这种驱动电机转动与变阻器阻值之间的强耦合联动关系,只增加了简单的器件就可以实现锁具状态准确的监测,并可以适配不同的类型的锁具,从而大大降低了锁具的开发和生产成本。
图7为本发明实施例五提供的锁具状态监测方法的流程图。如图7所示,本实施例提供的锁具状态监测方法,应用于锁具,该锁具还包括有第二负载30。其中,第二负载30的第一端用于与驱动电机20的第一输入端连接,以使驱动输出电流经第二负载30之后对驱动电机20进行驱动。本实施例提供的锁具状态监测方法,包括:
步骤501、获取变阻器的第一固定端与动触端之间,或者第一负载的两端之间的第一电压信号。
步骤502、根据第一电压信号确定锁具状态。
值得说明地,步骤501-502的具体实现方式参照图5所示实施例中的步骤401-402的描述,这里不再赘述。
步骤503、获取第二负载两端的第二电压信号。
当驱动电机20不工作时,其驱动输出电流为0,而当主控板控制驱动电 机20进行转动且处于锁具不同状态切换过程中时,驱动输出电流即为驱动电机20的正常工作电流,而当锁芯转动至卡位时,无论是开锁状态卡位还是加锁状态卡位,此时,驱动电机20所受到的阻力就会加大,则驱动电机20所需的功率也就自然加大,进而使得此时的驱动输出电流迅速提升,从而使得第二负载30两端的压降升高。
步骤504、根据第二电压信号确定锁具是否达到卡位。
利用驱动电机20上述的工作特性,可以将第二负载30的两端用于与主控板连接,以向主控板输出第二电压信号,以使主控板根据第二电压信号确定锁具是否达到卡位。
下面通过结合一个具体的实施例对主控板根据第二电压信号确定锁具是否达到卡位的具体原理进行说明:
可以选取第二电阻作为第二负载30,并假设第二电阻的阻值为10Ω。
继续参照图5所示,在锁具静止处于加锁状态下或者开锁状态下时,驱动电机20不工作时,其驱动输出电流为0,对应地,此时第二负载30两端的压降也为0V。当主控板控制驱动电机20运动进行锁具状态切换时,例如,从开锁状态切换至加锁状态,此时,驱动电机20开始转动,可以假设此时驱动电机20的正常工作电流为20mA,即驱动输出电流为20mA,对应地,此时第二负载30两端的压降也为200mV。而当驱动电机20继续转动,直至锁芯运动到极限位置,即锁具到达了卡位位置时,此时驱动电机20所受到的阻力就会加大,则驱动电机20所需的功率也就自然加大,进而使得此时的驱动输出电流迅速提升,例如,升高至200mA,进而使得第二负载30两端的压降升高至2V,在获取到第二负载30的两端的第二电压信号之后,还可以将获取到的第二电压信号与每个状态下标定的预设电压数值进行比较,即可确定锁具总成的卡位状态,其中,上述卡位状态包括:到达卡位状态以及未到达卡位状态。
由于主控板上的处理器需要将模拟信号转化为数字信号进行处理,因此,可以通过模数转化器来对获取到的第二电压信号进行处理,即根据第二电压信号生成第二数字信号,并将第二数字信号输入至主控板的第二端口。
可选地,若是通过获取第二电压信号对应的电压值与预设电压值之间的倍数来确定卡位状态的话,则当倍数大于预设倍数时,模数转化后的第 二数字信号为高电平,可以确定卡位状态为到达卡位状态;而当倍数小于或等于预设倍数时,模数转化后第二数字信号为低电平,可以确定卡位状态为未到达卡位状态。
可选地,若是通过获取第二电压信号对应的电压值与预设电压值之间的倍数来确定卡位状态的话,则当倍数大于预设倍数时,模数转化后的第二数字信号为低电平,可以确定卡位状态为到达卡位状态;而当倍数小于或等于预设倍数时,模数转化后的第二数字信号为高电平,确定卡位状态为未到达卡位状态。
可选地,若是通过获取第二电压信号对应的电压值与预设电压值之间的差值来确定卡位状态的话,则当差值大于预设差值时,模数转化后的第二数字信号为高电平,可以确定卡位状态为到达卡位状态;而当差值小于或等于预设差值时,模数转化后的第二数字信号为低电平,可以确定卡位状态为未到达卡位状态。
可选地,若是通过获取第二电压信号对应的电压值与预设电压值之间的差值来确定卡位状态的话,当差值大于预设差值时,模数转化后的第二数字信号为低电平,可以确定卡位状态为到达卡位状态;而当差值小于或等于预设差值时,模数转化后的第二数字信号为高电平,确定卡位状态为未到达卡位状态。
在本实施例中,通过与驱动电机串联第二负载的方式,结合驱动电机在不同工作状态下的驱动输出电流特性获取第二负载在不同状态下的第二电压信号,并将第二电压信号输出至锁具的主控板中,使得中控板根据第二电压信号确定锁具是否达到卡位,电路结构简单,并可以适配不同的类型的锁具,从而大大降低了锁具的开发和生产成本。
图8为本发明实施例六提供的锁具状态监测装置的结构示意图。如图8所示,本实施例提供的锁具状态监测装置,包括:
获取模块601,用于获取所述变阻器的所述第一固定端以及所述动触端,或者所述第一负载的两端的所述第一电压信号;
确定模块602,用于根据所述第一电压信号确定锁具状态,所述锁具状态包括:开锁状态以及加锁状态。
在一种可能的设计中,所述确定模块601,具体用于:
将所述第一电压信号转化为第一数字信号;
根据所述第一数字信号确定所述锁具状态,其中,所述主控板通过第一端口获取所述第一数字信号。
在一种可能的设计中,所述获取模块601,具体用于:
当所述锁芯位于所述第一位置时,所述第一电压信号为第一数值,所述第一数字信号为高电平,确定所述锁具状态为所述开锁状态;
当所述锁芯位于所述第二位置时,所述第一电压信号为第二数值,所述第一数字信号为低电平,确定所述锁具状态为所述加锁状态;
或者,
当所述锁芯位于所述第一位置时,所述第一电压信号为第一数值,所述第一数字信号为低电平,确定所述锁具状态为所述开锁状态;
当所述锁芯位于所述第二位置时,所述第一电压信号为第二数值,所述第一数字信号为高电平,确定所述锁具状态为所述加锁状态。
在一种可能的设计中,所述获取模块601,还用于获取第二负载两端的第二电压信号,所述第二负载的第一端用于与所述驱动电机的第一输入端连接,以使驱动输出电流经所述第二负载之后对所述驱动电机进行驱动;
所述确定模块602,还用于根据所述第二电压信号确定所述锁具总成的卡位状态,所述卡位状态包括:到达卡位状态以及未到达卡位状态。
在一种可能的设计中,所述确定模块602,具体用于:
将所述第二电压信号转化为第二数字信号;
根据所述第二数字信号确定所述卡位状态,其中,所述主控板通过第二端口获取所述第二数字信号。
在一种可能的设计中,所述确定模块602,具体用于:
若通过获取所述第二电压信号对应的电压值与预设电压值之间的倍数以确定所述卡位状态;则
当所述倍数大于预设倍数时,所述第二数字信号为高电平,确定所述卡位状态为所述到达卡位状态;
当所述倍数小于或等于所述预设倍数时,所述第二数字信号为低电平,确定所述卡位状态为所述未到达卡位状态;
或者,
当所述倍数大于所述预设倍数时,所述第二数字信号为低电平,确定所述卡位状态为所述到达卡位状态;
当所述倍数小于或等于所述预设倍数时,所述第二数字信号为高电平,确定所述卡位状态为所述未到达卡位状态;
若通过获取所述第二电压信号对应的电压值与预设电压值之间的差值以确定所述卡位状态;则
当所述差值大于预设差值时,所述第二数字信号为高电平,确定所述卡位状态为所述到达卡位状态;
当所述差值小于或等于所述预设差值时,所述第二数字信号为低电平,确定所述卡位状态为所述未到达卡位状态;
或者,
当所述差值大于所述预设差值时,所述第二数字信号为低电平,确定所述卡位状态为所述到达卡位状态;
当所述差值小于或等于所述预设差值时,所述第二数字信号为高电平,确定所述卡位状态为所述未到达卡位状态。
值得说明地,图8所示实施例提供的锁具状态监测装置用于执行上述任一实施例中所提供的锁具状态监测方法。
图9为本发明实施例七提供的电子设备的结构示意图,如图9所示,本实施例中的电子设备70可以包括:处理器701以及存储器702;
存储器702,用于存储程序;
处理器701,用于执行存储器702存储的程序,当程序被执行时,处理器701用于执行上述任意方法实施例,以对所述锁具的所述锁具状态进行监测。
可选地,存储器702既可以是独立的,也可以跟处理器701集成在一起。
当存储器702是独立于处理器701之外的器件时,电子设备70还可以包括:总线703,用于连接存储器702和处理器701。
本发明实施例还提供一种计算机可读存储介质,包括:指令,当其在计算机上运行时,使得计算机执行上述任意方法实施例,以对所述锁具总成的所述锁具状态进行监测。
其中,计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质 写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于应用专用集成电路(ASIC)中。另外,该应用专用集成电路可以位于用户设备中。当然,处理器和存储介质也可以作为分立组件存在于通信设备中。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本发明旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求书指出。
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求书来限制。
Claims (15)
- 一种锁具状态监测装置,其特征在于,应用于锁具,所述装置包括:变阻器以及第一负载;所述变阻器的动触端与所述第一负载的第一端连接,所述变阻器的第一固定端与所述第一负载的第二端用于承载第一电压;所述变阻器的所述动触端用于与所述锁具中的驱动电机的输出轴连接,以使所述驱动电机驱动所述动触端运动,以改变所述第一固定端与所述动触端之间的阻值;所述第一固定端与所述动触端,或所述第一负载的两端用于与所述锁具中的主控板连接,以向所述主控板输出第一电压信号,以使所述主控板根据所述第一电压信号确定锁具状态,所述锁具状态包括:开锁状态以及加锁状态。
- 根据权利要求1所述的锁具状态监测装置,其特征在于,所述变阻器为旋转式电位器,所述动触端为所述旋转式电位器的转动端;所述转动端用于与所述驱动电机的输出轴连接,以使所述转动端随所述驱动电机的输出轴转动,以改变所述旋转式电位器接入电路的阻值。
- 根据权利要求2所述的锁具状态监测装置,其特征在于,所述第一负载为第一电阻。
- 根据权利要求1-3中任意一项所述的锁具状态监测装置,其特征在于,还包括:第二负载;所述第二负载的第一端用于与所述驱动电机的第一输入端连接,以使驱动输出电流经所述第二负载之后对所述驱动电机进行驱动;所述第二负载的两端用于与所述主控板连接,以向所述主控板输出第二电压信号,以使所述主控板根据所述第二电压信号确定所述锁具是否达到卡位。
- 根据权利要求4所述的锁具状态监测装置,其特征在于,所述第二负载为第二电阻。
- 一种锁具驱动装置,其特征在于,包括:驱动电机以及如权利要求1-5中任一项所述的锁具状态监测装置。
- 一种锁具总成,其特征在于,包括:主控板、驱动电机、锁芯以及 如权利要求1-5中任一项所述的锁具状态监测装置;所述主控板与所述驱动电机连接,以控制所述驱动电机转动;所述驱动电机的输出轴与所述锁芯连接,以使所述锁芯在所述驱动电机的作用下在第一位置和第二位置之间运动,当所述锁芯位于所述第一位置时,锁具状态为开锁状态,当所述锁芯位于所述第二位置时,所述锁具状态为加锁状态。
- 一种锁具状态监测方法,其特征在于,应用于如权利要求7所述的锁具总成,所述方法包括:获取所述变阻器的所述第一固定端与所述动触端之间,或者所述第一负载的两端之间的所述第一电压信号;根据所述第一电压信号确定所述锁具状态。
- 根据权利要求8所述的锁具状态监测方法,其特征在于,所述根据所述第一电压信号确定所述锁具状态,包括:将所述第一电压信号转化为第一数字信号;根据所述第一数字信号确定所述锁具状态,其中,所述主控板通过第一端口获取所述第一数字信号。
- 根据权利要求9所述的锁具状态监测方法,其特征在于,所述根据所述第一数字信号确定所述锁具状态,包括:当所述锁芯位于所述第一位置时,所述第一电压信号为第一数值,所述第一数字信号为高电平,确定所述锁具状态为所述开锁状态;当所述锁芯位于所述第二位置时,所述第一电压信号为第二数值,所述第一数字信号为低电平,确定所述锁具状态为所述加锁状态;或者,当所述锁芯位于所述第一位置时,所述第一电压信号为第一数值,所述第一数字信号为低电平,确定所述锁具状态为所述开锁状态;当所述锁芯位于所述第二位置时,所述第一电压信号为第二数值,所述第一数字信号为高电平,确定所述锁具状态为所述加锁状态。
- 根据权利要求10所述的锁具状态监测方法,其特征在于,还包括:获取第二负载两端的第二电压信号,所述第二负载的第一端用于与所述驱动电机的第一输入端连接,以使驱动输出电流经所述第二负载之后对所述驱动电机进行驱动;根据所述第二电压信号确定所述锁具总成的卡位状态,所述卡位状态包括:到达卡位状态以及未到达卡位状态。
- 根据权利要求11所述的锁具状态监测方法,其特征在于,所述获取所述第二电压信号确定所述锁具总成的卡位状态,包括:将所述第二电压信号转化为第二数字信号;根据所述第二数字信号确定所述卡位状态,其中,所述主控板通过第二端口获取所述第二数字信号。
- 根据权利要求12所述的锁具状态监测方法,其特征在于,所述根据所述第二数字信号确定所述卡位状态,包括:若通过获取所述第二电压信号对应的电压值与预设电压值之间的倍数以确定所述卡位状态;则当所述倍数大于预设倍数时,所述第二数字信号为高电平,确定所述卡位状态为所述到达卡位状态;当所述倍数小于或等于所述预设倍数时,所述第二数字信号为低电平,确定所述卡位状态为所述未到达卡位状态;或者,当所述倍数大于所述预设倍数时,所述第二数字信号为低电平,确定所述卡位状态为所述到达卡位状态;当所述倍数小于或等于所述预设倍数时,所述第二数字信号为高电平,确定所述卡位状态为所述未到达卡位状态;若通过获取所述第二电压信号对应的电压值与预设电压值之间的差值以确定所述卡位状态;则当所述差值大于预设差值时,所述第二数字信号为高电平,确定所述卡位状态为所述到达卡位状态;当所述差值小于或等于所述预设差值时,所述第二数字信号为低电平,确定所述卡位状态为所述未到达卡位状态;或者,当所述差值大于所述预设差值时,所述第二数字信号为低电平,确定所述卡位状态为所述到达卡位状态;当所述差值小于或等于所述预设差值时,所述第二数字信号为高电平,确定所述卡位状态为所述未到达卡位状态。
- 一种电子设备,其特征在于,包括:存储器,用于存储程序;处理器,用于执行所述存储器存储的所述程序,当所述程序被执行时,所述处理器用于通过权利要求8-13中任意一项所述的锁具状态监测装置方法对所述锁具总成的所述锁具状态进行监测。
- 一种计算机可读存储介质,其特征在于,包括:指令,当其在计算机上运行时,使得计算机执行权利要求8-13中任意一项所述的锁具状态监测装置方法对所述锁具总成的所述锁具状态进行监测。
Priority Applications (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201980000437.6A CN110036169B (zh) | 2019-03-06 | 2019-03-06 | 锁具状态监测装置、方法、锁具驱动装置及锁具总成 |
| PCT/CN2019/077214 WO2020177106A1 (zh) | 2019-03-06 | 2019-03-06 | 锁具状态监测装置、方法、锁具驱动装置及锁具总成 |
| EP19861286.3A EP3725982B1 (en) | 2019-03-06 | 2019-03-06 | Lockset state monitoring apparatus and method, lockset driving apparatus and lockset assembly |
| US16/833,692 US11536049B2 (en) | 2019-03-06 | 2020-03-30 | Lock state monitoring apparatus, method, lock driving apparatus and lock assembly |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2019/077214 WO2020177106A1 (zh) | 2019-03-06 | 2019-03-06 | 锁具状态监测装置、方法、锁具驱动装置及锁具总成 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US16/833,692 Continuation US11536049B2 (en) | 2019-03-06 | 2020-03-30 | Lock state monitoring apparatus, method, lock driving apparatus and lock assembly |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2020177106A1 true WO2020177106A1 (zh) | 2020-09-10 |
Family
ID=67243939
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2019/077214 Ceased WO2020177106A1 (zh) | 2019-03-06 | 2019-03-06 | 锁具状态监测装置、方法、锁具驱动装置及锁具总成 |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US11536049B2 (zh) |
| EP (1) | EP3725982B1 (zh) |
| CN (1) | CN110036169B (zh) |
| WO (1) | WO2020177106A1 (zh) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP7428074B2 (ja) * | 2020-05-27 | 2024-02-06 | 株式会社オートネットワーク技術研究所 | コネクタ装置 |
| CN114704161B (zh) * | 2022-04-07 | 2023-03-10 | 湖南盛滔信息科技有限公司 | 一种自动售货机用仓门锁及其状态检测方法 |
| CN116517396B (zh) * | 2023-05-19 | 2025-08-15 | 深圳市凯迪仕智能科技股份有限公司 | 智能锁控制方法、智能锁及相关装置 |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH06225368A (ja) * | 1993-01-26 | 1994-08-12 | Matsushita Electric Works Ltd | 電気錠ラインモニタ |
| CN101105087A (zh) * | 2007-07-17 | 2008-01-16 | 深圳市和而泰电子科技有限公司 | 具有状态反馈的门锁系统 |
| CN203640431U (zh) * | 2013-11-08 | 2014-06-11 | 刘凯 | 一种可调节式电子锁 |
| CN106320825A (zh) * | 2016-09-20 | 2017-01-11 | 武汉百络优物联科技有限公司 | 检测智能门锁使用状态的控制系统 |
| CN107165497A (zh) * | 2017-07-20 | 2017-09-15 | 东峡大通(北京)管理咨询有限公司 | 一种智能车锁及车锁开关的检测方法 |
| CN108305369A (zh) * | 2018-03-16 | 2018-07-20 | 何明旗 | 智能锁系统及其工作方法、安装该智能锁系统的通信箱 |
| CN208137685U (zh) * | 2018-03-29 | 2018-11-23 | 深圳市龙兄弟数码锁有限公司 | 一种能检测开锁和闭锁状态的电子锁 |
Family Cites Families (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE102011013730B4 (de) * | 2011-03-12 | 2013-11-28 | Heike Bedoian | Einrichtung zur Veränderung eines Verriegelungszustandes |
| US9580931B2 (en) * | 2011-04-25 | 2017-02-28 | Belwith Products, Llc | Mortise lock apparatus and electronic operating system |
| US8936482B2 (en) * | 2011-11-30 | 2015-01-20 | GM Global Technology Operations LLC | High voltage safety lock sensing—single sensor linear actuator |
| US9418497B2 (en) * | 2013-03-15 | 2016-08-16 | Michael Earl Ingle | Device and method for self-limiting access to objects and substances |
| US20160319571A1 (en) * | 2014-03-12 | 2016-11-03 | August Home Inc. | Intelligent door lock system with optical sensor |
| US10184272B2 (en) * | 2015-07-01 | 2019-01-22 | Dominick S. LEE | Installation-free rechargeable door locking apparatus, systems and methods |
| CN107015106A (zh) * | 2017-06-02 | 2017-08-04 | 广州思壮电气股份有限公司 | 接地状态检测单元、接地装置及接地状态检测方法 |
| CN107386813A (zh) * | 2017-07-19 | 2017-11-24 | 昆山惠禾新能源科技有限公司 | 一种基于行程检测的电动锁 |
| CN107528375A (zh) * | 2017-09-28 | 2017-12-29 | 无锡昊瑜节能环保设备有限公司 | 一种蓄电池充放电状态智能监控系统 |
| US11313665B2 (en) * | 2018-01-24 | 2022-04-26 | ASSA ABLOY Residential Group, Inc. | Deadbolt position sensor |
| CN208335237U (zh) * | 2018-03-09 | 2019-01-04 | 河南三克镭智能科技有限公司 | 一种智能防盗锁及其环形nfc标签和智能机柜 |
-
2019
- 2019-03-06 EP EP19861286.3A patent/EP3725982B1/en active Active
- 2019-03-06 WO PCT/CN2019/077214 patent/WO2020177106A1/zh not_active Ceased
- 2019-03-06 CN CN201980000437.6A patent/CN110036169B/zh active Active
-
2020
- 2020-03-30 US US16/833,692 patent/US11536049B2/en active Active
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH06225368A (ja) * | 1993-01-26 | 1994-08-12 | Matsushita Electric Works Ltd | 電気錠ラインモニタ |
| CN101105087A (zh) * | 2007-07-17 | 2008-01-16 | 深圳市和而泰电子科技有限公司 | 具有状态反馈的门锁系统 |
| CN203640431U (zh) * | 2013-11-08 | 2014-06-11 | 刘凯 | 一种可调节式电子锁 |
| CN106320825A (zh) * | 2016-09-20 | 2017-01-11 | 武汉百络优物联科技有限公司 | 检测智能门锁使用状态的控制系统 |
| CN107165497A (zh) * | 2017-07-20 | 2017-09-15 | 东峡大通(北京)管理咨询有限公司 | 一种智能车锁及车锁开关的检测方法 |
| CN108305369A (zh) * | 2018-03-16 | 2018-07-20 | 何明旗 | 智能锁系统及其工作方法、安装该智能锁系统的通信箱 |
| CN208137685U (zh) * | 2018-03-29 | 2018-11-23 | 深圳市龙兄弟数码锁有限公司 | 一种能检测开锁和闭锁状态的电子锁 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP3725982A4 * |
Also Published As
| Publication number | Publication date |
|---|---|
| US11536049B2 (en) | 2022-12-27 |
| CN110036169A (zh) | 2019-07-19 |
| US20200284065A1 (en) | 2020-09-10 |
| EP3725982A1 (en) | 2020-10-21 |
| CN110036169B (zh) | 2021-01-29 |
| EP3725982A4 (en) | 2020-12-09 |
| EP3725982B1 (en) | 2023-01-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110036169B (zh) | 锁具状态监测装置、方法、锁具驱动装置及锁具总成 | |
| DE102017205863A1 (de) | Rotationserfassungsvorrichtung und die Rotationserfassungsvorrichtung verwendende elektrische Servolenkungsvorrichtung | |
| EP3844627B1 (de) | Steuer- und datenübertragungsanlage zur unterstützung verschiedener kommunikationsprotokolle und ein adaptermodul | |
| AU2022217289B2 (en) | Control system for electric lifting desk, and electric lifting desk | |
| CN110012677A (zh) | 电容式逐次逼近模数转换器 | |
| CN116386176A (zh) | 全自动智能门锁控制方法、系统、装置、设备及介质 | |
| CN204203771U (zh) | 一种电动伺服机构 | |
| DE102017106370A1 (de) | Wechselstromrotationsmaschinensteuervorrichtung | |
| CN113364355B (zh) | 一种电机驱动转换装置和三相无刷电机设备 | |
| CN213817631U (zh) | 一种线控转向的双三相电机控制系统 | |
| CN109743040A (zh) | 一种rs触发器以及控制器 | |
| CN201918941U (zh) | 一种电子换向电机接口信号转换子线路板 | |
| CN210490752U (zh) | 一种基于btn芯片以及多传感器的直流电机驱动电路 | |
| CN209313763U (zh) | 伺服电机的驱动控制电路及电器设备 | |
| CN110504872B (zh) | 一种接口电路和接口系统 | |
| WO2016015494A1 (zh) | 一种电子换向电机接口信号转换子线路板 | |
| CN216310562U (zh) | 一种电机急停的控制电路 | |
| CN104749639A (zh) | 一种金属物体探测定位器 | |
| CN215984964U (zh) | 一种检测电路和检测设备 | |
| CN213455513U (zh) | 省线式编码器 | |
| JP3370451B2 (ja) | 電動雲台の回転角度検出装置 | |
| CN110741548B (zh) | 用于操控电动机的控制设备、电动机和具有控制设备和电动机的系统 | |
| CN222419342U (zh) | 一种电机运行过程中的压力检测电路 | |
| CN114665759A (zh) | 直流电机控制器 | |
| CN223024315U (zh) | 一种步进电机控制装置 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| ENP | Entry into the national phase |
Ref document number: 2019861286 Country of ref document: EP Effective date: 20200326 |
|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19861286 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |