CN112615610A - Door lock system and reset circuit thereof - Google Patents

Door lock system and reset circuit thereof Download PDF

Info

Publication number
CN112615610A
CN112615610A CN202011410454.8A CN202011410454A CN112615610A CN 112615610 A CN112615610 A CN 112615610A CN 202011410454 A CN202011410454 A CN 202011410454A CN 112615610 A CN112615610 A CN 112615610A
Authority
CN
China
Prior art keywords
resistor
lock system
switching tube
switch tube
tube
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.)
Pending
Application number
CN202011410454.8A
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.)
Beijing Ziguang Anxin Technology Co ltd
Original Assignee
Beijing Ziguang Anxin 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 Beijing Ziguang Anxin Technology Co ltd filed Critical Beijing Ziguang Anxin Technology Co ltd
Priority to CN202011410454.8A priority Critical patent/CN112615610A/en
Publication of CN112615610A publication Critical patent/CN112615610A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/22Modifications for ensuring a predetermined initial state when the supply voltage has been applied
    • 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
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K19/00Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
    • 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
    • E05B2047/0048Circuits, feeding, monitoring

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Lock And Its Accessories (AREA)

Abstract

A door lock system and a reset circuit thereof, the scheme comprises: the first end of the first capacitor is connected with the first power interface; the first end of the first resistor is connected with the second end of the first capacitor, and the second end of the first resistor is grounded; the control end of the first switch tube is connected with the first end of the first resistor, the input end of the first switch tube is connected with the second power interface, and the output end of the first switch tube is grounded; the control end of the second switching tube is connected with the input end of the first switching tube, and the input end of the second switching tube is connected with the second power supply interface; the first end of the second resistor is connected with the output end of the second switching tube, and the second end of the second resistor is grounded; the control end of the third switching tube is connected with the output end of the second switching tube, the input end of the third switching tube is connected with the second power interface, and the output end of the third switching tube is used as the reset signal output end of the reset circuit of the lock system, so that the power reset operation of the door lock system is realized, and the door lock system is reset once.

Description

Door lock system and reset circuit thereof
Technical Field
The invention relates to the technical field of integrated circuits, in particular to a lock system reset circuit based on a simple circuit.
Background
In the development and design of actual application system equipment, some interface modes capable of resetting the system are always required to be reserved, but a key cannot be reserved on the front surface of the equipment in consideration of the overall interface aesthetic and safety design. For example, the existing door lock does not reserve a key on an outer panel to reset the lock, so that the lock is easily operated by others by mistake, the system is frequently reset, and the integral use is influenced. However, the existing lock can reserve a USB interface as a standby power supply, and if the reset function of the system can be combined on the USB interface, the function can be perfectly realized without influencing the overall appearance design and safety of the lock.
In response to the above requirement, it is common practice to detect the voltage of the USB supply, which, if present, gives the MCU RST an active level, thus causing a reset of the MCU. But if there are multiple MCUs it is necessary for the master MCU to have explicit control of the other MCUs' RST or power supply. In addition, the general main MCU reset needs to control other MCU or circuits after a series of initialization and self-checking processes, and the whole reset is realized by the cooperation of software logic, which is troublesome to realize.
Disclosure of Invention
In view of this, the embodiment of the invention provides a door lock system and a reset circuit thereof, which have wide applicability, are simple and stable, so as to realize the reset of the door lock system.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
the utility model provides a lock system reset circuit, is applied to in the intelligent lock that has USB interface function of charging, and the circuit includes:
the first end of the first capacitor is connected with a first power interface, and the first power interface is a USB power interface;
a first end of the first resistor is connected with a second end of the first capacitor, and a second end of the first resistor is grounded;
the control end of the first switch tube is connected with the first end of the first resistor, the input end of the first switch tube is connected with the second power interface, the output end of the first switch tube is grounded, and the second power interface is a power interface of the door lock system;
the control end of the second switching tube is connected with the input end of the first switching tube, and the input end of the second switching tube is connected with the second power supply interface;
a first end of the second resistor is connected with the output end of the second switching tube, and a second end of the second resistor is grounded;
and the control end of the third switching tube is connected with the output end of the second switching tube, the input end of the third switching tube is connected with the second power supply interface, and the output end of the third switching tube is used as the reset signal output end of the reset circuit of the lock system.
Optionally, the lock system reset circuit further includes:
the third resistor is arranged between the control end of the first switching tube and the first end of the first resistor;
the fourth resistor is arranged between the input end of the first switching tube and the second power supply interface;
and the fifth resistor is arranged between the control end of the second switch tube and the first switch tube.
Optionally, in the reset circuit of the lock system, the first switch tube and the second switch tube are triodes;
the third switching tube is an MOS tube.
Optionally, in the reset circuit of the lock system, the first capacitor is an adjustable capacitor, and the first resistor is an adjustable resistor.
Optionally, the lock system reset circuit further includes:
a first end of the sixth resistor is connected with the output end of the third switching tube;
and the input end of the first diode is connected with the second end of the sixth resistor, and the output end of the first diode is connected with the input end of the first switching tube.
A door lock system to which the lock system reset circuit of any one of the above is applied.
Optionally, in the door lock system, the USB interface of the door lock system is located on the first side of the door.
Based on the above technical solution, in the above technical solution provided in the embodiment of the present invention, after the ac signal conductivity of the first capacitor C1 generates a level pulse signal corresponding to the USB level change, the level signal is left and right on the first switch tube Q1, so that the first switch tube generates an on-off signal, and the input end of the first switch tube also generates a level pulse signal, that is, when the level is high, the first switch tube is on, when the first switch tube is on, the level of the input end of the first switch tube is low, when the level is low, the first switch tube is off, and the input end is high, at this time, the level signal at the input end of the first switch tube, the level pulse signal at the input end of the first switch tube acts on the input end of the second switch tube, and when the level signal is high, the second switch tube is switched on, a level signal is output, the output end of the second switch tube is a high level signal, when the level signal is at a low level, the second switch tube is switched off, the second switch tube does not output the level signal, and the output end of the second switch tube is a low level signal. Therefore, the output end of the second switch tube will also generate a level pulse signal, which is applied to the third switch tube, the third switch tube is disposed on the power supply loop of the door lock system, when the third switch tube is turned off, the door lock power supply cannot provide power supply current for the circuit in the door lock system, when the third switch tube is turned on, the third switch tube can provide working current for the power circuit in the door lock system, in this scheme, the third switch tube is preferably a normally closed switch tube, the level pulse signal generated by the output end of the second switch tube is applied to the control end of the third switch tube, when the level pulse signal generated by the output end of the second switch tube is at high level, the third switch tube is turned off, and when the level pulse signal generated by the output end of the second switch tube is at low level, the third switch tube is turned on, therefore, the third switch tube is switched on and off in a short time, the door lock system is powered off and powered on, the power supply reset operation of the door lock system is realized, and the door lock system is reset once.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a basic circuit of a reset circuit of a door lock system disclosed in an embodiment of the present application;
fig. 2 is a schematic structural diagram of a reset circuit of the door lock system disclosed in the embodiment of the present application;
fig. 3 is a schematic structural diagram of a reset circuit of a door lock system according to another embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, the technical solution provided by the present application is based on the pure hardware circuit design to implement the reset of the whole door lock system. When there is a level change in the USB interface VCC _ USB as shown in fig. 1, a level pulse signal corresponding to the USB level change is generated by using the ac signal conductivity of the first capacitor C1. When the VCC _ USB level is changed from 0V to 5V, after the level of the middle point between the first capacitor C1 and the first resistor R1 is changed from 0V to 5V, and after the capacitor electric quantity is released, the level of the middle point between the first capacitor C1 and the first resistor R1 is changed to 0V again, and the width of the output pulse can be changed by changing the values of the first capacitor C1 and the first resistor R1, so that in the scheme, the first capacitor of the first capacitor and the first resistor is an adjustable capacitor, and the first resistor is an adjustable resistor.
Based on the circuit shown in fig. 1, referring to fig. 2, the lock system reset circuit disclosed in the present application includes:
a first end of the first capacitor C1 is connected with a first power interface, the first power interface is a USB power interface, and the level provided by the USB power interface is denoted as VCC _ USB;
a first resistor R1, wherein a first end of the first resistor is connected with a second end of the first capacitor, and a second end of the first resistor is grounded;
the control end of the first switch tube is connected with the first end of the first resistor, the input end of the first switch tube is connected with the second power interface, the output end of the first switch tube is grounded, the second power interface is a power interface of a door lock system, and a level signal provided by the second power interface is VCC _ BAT _ MAIN;
a second switching tube Q2, a control end of the second switching tube being connected to an input end of the first switching tube, an input end of the second switching tube being connected to the second power interface;
a second resistor R2, a first end of the second resistor being connected to the output end of the second switching tube, and a second end of the second resistor being grounded;
and the control end of the third switching tube is connected with the output end of the second switching tube, the input end of the third switching tube is connected with the second power supply interface, and the output end of the third switching tube is used as the reset signal output end of the reset circuit of the lock system.
Referring to fig. 2, in the above circuit system, after the ac signal continuity of the first capacitor C1 generates a level pulse signal corresponding to the USB level change, the level signal is left and right on the first switch Q1, so that the first switch generates an on-off signal, so that the input end of the first switch also generates a level pulse signal, that is, when the level is high, the first switch is on, and when the first switch is on, the input end of the first switch is at low level, and when the level is low, the first switch is off, and the input end is at high level, at this time, the level signal at the input end of the first switch acts on the input end of the second switch, and when the level signal is at high level, the second switch is on, when the level signal is at low level, the second switch tube is cut off, the second switch tube does not output the level signal, and the output end of the second switch tube is at low level. Therefore, the output end of the second switch tube will also generate a level pulse signal, which is applied to the third switch tube, the third switch tube is disposed on the power supply loop of the door lock system, when the third switch tube is turned off, the door lock power supply cannot provide power supply current for the circuit in the door lock system, when the third switch tube is turned on, the third switch tube can provide working current for the power circuit in the door lock system, in this scheme, the third switch tube is preferably a normally closed switch tube, the level pulse signal generated by the output end of the second switch tube is applied to the control end of the third switch tube, when the level pulse signal generated by the output end of the second switch tube is at high level, the third switch tube is turned off, and when the level pulse signal generated by the output end of the second switch tube is at low level, the third switch tube is turned on, therefore, the third switch tube is switched on and off in a short time, the door lock system is powered off and powered on, the power supply reset operation of the door lock system is realized, and the door lock system is reset once.
Furthermore, the circuit may further include auxiliary resistors, which mainly provide a voltage dividing function in the circuit, and referring to fig. 2, the auxiliary resistors may include:
a third resistor R3, disposed between the control terminal of the first switch tube and the first terminal of the first resistor;
a fourth resistor R4, disposed between the input terminal of the first switch tube and the second power interface;
and a fifth resistor R5, which is arranged between the control end of the second switch tube and the first switch tube.
When the USB interface VCC _ USB has a level change as shown in fig. 1, a level pulse signal corresponding to the USB level change is generated by the ac signal conductivity of the first capacitor C1, and the auxiliary resistor (the second resistor, the third resistor, the fourth resistor, and the fifth resistor) and the first switch transistor Q1 and the second switch transistor Q2 are compatible with the condition that the VCC _ USB level and the VCC _ BAT _ MAIN level are not consistent by the change of the level pulse signal. When there is no VCC _ USB change, the second resistor R2 pulls down the input terminal of the third switching tube Q3 (when the third switching tube is an MOS tube, its control terminal is the gate of the MOS tube), and the third switching tube Q3 is always turned on, so that the door lock system is always powered. When VCC _ USB changes, a high pulse is provided to the control end of the third switch tube Q3 by using the following auxiliary circuit, and the high pulse can cause the disconnection of the third switch tube Q3, so that the whole door lock system can be powered off and reset once without additional software logic control, and the simplest system reset is achieved.
In the above scheme, the types of the first switch tube, the second switch tube and the third switch tube may be selected by a user according to a user requirement, for example, the first switch tube and the second switch tube are triodes; the third switching tube is an MOS tube.
Further, based on the design circuit of fig. 2, the applicant further studies the circuit to find that the circuit can solve the door lock system in the normal operation state, but when the whole door lock system is relatively complex and has a large capacitance, because the capacitor stores energy, and the door lock system already enters the low power consumption state, the door lock system has no discharging path under the condition of low power consumption. In this state, the power supply switch (third switch tube) of the door lock system is turned on and off once, and there may be no effective reset for the door lock system. Thus, as shown in fig. 3, the present application further improves the circuit, and in this embodiment, the circuit may further include: a sixth resistor R6 and a first diode D1, wherein a first end of the sixth resistor is connected with an output end of the third switching tube; and the input end of the first diode is connected with the second end of the sixth resistor, and the output end of the first diode is connected with the input end of the first switching tube. After the first diode D1 and the sixth resistor R6 are added, when the normal power supply or the USB power supply is carried out all the time, the door lock system is in the working state and the dormant state, and no path is formed to generate extra power consumption. Only when the third switching tube Q3 is turned off when the VCC _ USB level changes when the USB power supply is connected, the first diode D1 and the sixth resistor R6 form a path, and a discharge path is added to the entire door lock system to complete the reset operation of the door lock system. Moreover, components used by the circuit are all conventional materials, so that the system cost cannot be increased.
Corresponding to the circuit, the application also discloses a door lock system applying the circuit, and a reset circuit of the door lock system is applied.
Further, in the technical solution disclosed in the above embodiment of the present application, the USB interface of the door lock system is located on a first side of the door, and the first side is an outer side of the door.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (7)

1. The utility model provides a lock system reset circuit which characterized in that, is applied to in the intelligent lock that has the function of USB interface charging, and the circuit includes:
the first end of the first capacitor is connected with a first power interface, and the first power interface is a USB power interface;
a first end of the first resistor is connected with a second end of the first capacitor, and a second end of the first resistor is grounded;
the control end of the first switch tube is connected with the first end of the first resistor, the input end of the first switch tube is connected with the second power interface, the output end of the first switch tube is grounded, and the second power interface is a power interface of the door lock system;
the control end of the second switching tube is connected with the input end of the first switching tube, and the input end of the second switching tube is connected with the second power supply interface;
a first end of the second resistor is connected with the output end of the second switching tube, and a second end of the second resistor is grounded;
and the control end of the third switching tube is connected with the output end of the second switching tube, the input end of the third switching tube is connected with the second power supply interface, and the output end of the third switching tube is used as the reset signal output end of the reset circuit of the lock system.
2. The lock system reset circuit of claim 1, further comprising:
the third resistor is arranged between the control end of the first switching tube and the first end of the first resistor;
the fourth resistor is arranged between the input end of the first switching tube and the second power supply interface;
and the fifth resistor is arranged between the control end of the second switch tube and the first switch tube.
3. The lock system reset circuit of claim 1,
the first switch tube and the second switch tube are triodes;
the third switching tube is an MOS tube.
4. The lock system reset circuit of claim 1, wherein the first capacitor is an adjustable capacitor and the first resistor is an adjustable resistor.
5. The lock system reset circuit of claim 1, further comprising:
a first end of the sixth resistor is connected with the output end of the third switching tube;
and the input end of the first diode is connected with the second end of the sixth resistor, and the output end of the first diode is connected with the input end of the first switching tube.
6. A door lock system, characterized in that a lock system reset circuit according to any one of claims 1-5 is applied.
7. The door lock system of claim 6, wherein the USB interface of the door lock system is located on a first side of the door.
CN202011410454.8A 2020-12-03 2020-12-03 Door lock system and reset circuit thereof Pending CN112615610A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011410454.8A CN112615610A (en) 2020-12-03 2020-12-03 Door lock system and reset circuit thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011410454.8A CN112615610A (en) 2020-12-03 2020-12-03 Door lock system and reset circuit thereof

Publications (1)

Publication Number Publication Date
CN112615610A true CN112615610A (en) 2021-04-06

Family

ID=75228961

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011410454.8A Pending CN112615610A (en) 2020-12-03 2020-12-03 Door lock system and reset circuit thereof

Country Status (1)

Country Link
CN (1) CN112615610A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203734639U (en) * 2013-12-24 2014-07-23 深圳Tcl新技术有限公司 Electronic device and antistatic reset circuit thereof
CN206147508U (en) * 2016-11-04 2017-05-03 深圳Tcl数字技术有限公司 Reset circuit and intelligent system
CN106849921A (en) * 2017-03-28 2017-06-13 歌尔科技有限公司 A kind of hardware reset circuit and electronic product
CN206640560U (en) * 2017-03-28 2017-11-14 歌尔科技有限公司 A kind of hardware reset circuit and electronic product

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203734639U (en) * 2013-12-24 2014-07-23 深圳Tcl新技术有限公司 Electronic device and antistatic reset circuit thereof
CN206147508U (en) * 2016-11-04 2017-05-03 深圳Tcl数字技术有限公司 Reset circuit and intelligent system
CN106849921A (en) * 2017-03-28 2017-06-13 歌尔科技有限公司 A kind of hardware reset circuit and electronic product
CN206640560U (en) * 2017-03-28 2017-11-14 歌尔科技有限公司 A kind of hardware reset circuit and electronic product

Similar Documents

Publication Publication Date Title
CN109194317B (en) Reset circuit and wearable equipment
CN106933321B (en) Electronic equipment and starting method thereof
CN212484119U (en) Power switch control circuit and device
CN103199842B (en) The key control circuit of single battery electric power system
TW201405300A (en) Circuit for controlling computers
CN210742886U (en) Startup and shutdown circuit
CN107817734B (en) Ultra-low power consumption key control circuit
CN206948673U (en) A kind of BUCK type LED drive circuits for preventing lower electric backflash
CN112615610A (en) Door lock system and reset circuit thereof
CN108244707A (en) Electrical heating do not burn smoking set and its low-power consumption management circuit
CN213879789U (en) Switch holding circuit with high integration level
CN210627125U (en) Control circuit and electronic device
CN203086434U (en) Key control circuit for single-battery power supply system
CN104965579A (en) Long press key reset circuit of device microprocessor and complex function method thereof
CN108919728B (en) Control circuit
CN211236840U (en) Automatic switching circuit of mainboard power-on mode
CN211603893U (en) Low standby energy efficiency control circuit and hairdressing product
CN219843591U (en) Clear CMOS button and one key reduction function multiplex circuit
CN217063689U (en) Reset circuit, reset device and electronic equipment
CN204790835U (en) Equipment microprocessor's long button reset circuit
CN220208212U (en) Uninterruptible power mode switching circuit based on single key
CN212258930U (en) Switch control circuit and device
CN110034752B (en) Face cleaner and face cleaner control method
CN218526304U (en) Power-on starting circuit, board card and electronic equipment
CN217643325U (en) Touch switch circuit and active capacitance pen

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