CN218416343U - Power-on self-locking switch circuit based on single chip microcomputer control - Google Patents

Power-on self-locking switch circuit based on single chip microcomputer control Download PDF

Info

Publication number
CN218416343U
CN218416343U CN202222243341.4U CN202222243341U CN218416343U CN 218416343 U CN218416343 U CN 218416343U CN 202222243341 U CN202222243341 U CN 202222243341U CN 218416343 U CN218416343 U CN 218416343U
Authority
CN
China
Prior art keywords
chip microcomputer
power
self
single chip
connecting end
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.)
Active
Application number
CN202222243341.4U
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.)
Suzhou Xinzhuosheng Electronic Technology Co ltd
Original Assignee
Suzhou Xinzhuosheng Electronic 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 Suzhou Xinzhuosheng Electronic Technology Co ltd filed Critical Suzhou Xinzhuosheng Electronic Technology Co ltd
Priority to CN202222243341.4U priority Critical patent/CN218416343U/en
Application granted granted Critical
Publication of CN218416343U publication Critical patent/CN218416343U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

The utility model relates to the technical field of control circuits, and provides a power-on self-locking switch circuit based on single chip microcomputer control, which comprises a switch key, a power conversion part, a single chip microcomputer, a power supply and a triode power-on self-locking unit; the switch key is connected with an input voltage, and the outside of the power supply conversion part is respectively connected with the power-on self-locking unit and the output power supply of the triode; the power-on self-locking unit of the triode comprises a first connecting end, a second connecting end, a third connecting end and a fourth connecting end, wherein the first connecting end is connected with a detection pin of the single chip microcomputer, the second connecting end is connected with one end of the switch, the third connecting end is connected with an enabling pin of the single chip microcomputer, and the fourth connecting end is connected with the power supply conversion part. The utility model discloses can drive triode and singlechip power supply realization circuit auto-lock again after singlechip control handles the electricity, through the electricity back on the button, the monolithic presss from both sides and gathers pin signal and handles and drive triode realization circuit auto-lock power supply function again.

Description

Power-on self-locking switch circuit based on single chip microcomputer control
Technical Field
The utility model relates to a control circuit technical field specifically relates to a circuit through electricity auto-lock on single chip microcomputer control.
Background
The power-on self-locking circuit is one of power supply circuits, and generally means that when a user presses a switch, the circuit can automatically keep continuously powered on until other switches are pressed or other power-off signals appear. In a normal circuit, a switch is pressed down, and the circuit is electrified; the switch is released and the circuit is broken. Particularly, a circuit management system with a storage battery, such as a video monitoring device, needs to be capable of continuously working after an external switch is turned off, and meanwhile, the device can automatically realize a power-off function under a specific condition.
SUMMERY OF THE UTILITY MODEL
To go up electric self-locking switch low temperature performance relatively poor on pure mechanical type, mechanical structure is unreliable, and the volume size receives the design circuit influence, unable nimble changeable problem, the utility model aims at providing a circuit through the electric auto-lock on the single chip microcomputer control, this circuit can be through the electric back drive triode of single chip microcomputer power supply realization circuit auto-lock on single chip microcomputer control processing, does not need mechanical type self-locking switch just can realize the function that the button was once gone up the electricity or cut off the power supply.
In order to achieve the above object, the embodiment of the present invention provides the following technical solutions:
in a first aspect, the utility model provides a power-on self-locking switch circuit based on single chip microcomputer control, which comprises a switch key, a power conversion part, a single chip microcomputer, a power supply and a triode power-on self-locking unit; the switch key is connected with input voltage, and the outside of the power supply conversion part is respectively connected with the power-on self-locking unit and the output power supply of the triode; the triode power-on self-locking unit comprises a first connecting end, a second connecting end, a third connecting end and a fourth connecting end, wherein the first connecting end is connected with a detection pin of the single chip microcomputer, the second connecting end is connected with one end of the switch, the third connecting end is connected with an enabling pin of the single chip microcomputer, and the fourth connecting end is connected with the power supply conversion component; the fourth connection is also connected to the input voltage.
As a further scheme of the present invention, the power-on self-locking unit of the triode includes a first diode D1, a first resistor R1, a switch button S1, a second diode D2, a second resistor R2, a third diode D3, a first MOS transistor Q1, a third resistor R3, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a second triode Q2, a first capacitor C1, and a second capacitor C2.
As a further aspect of the present invention, the first resistor R1 is used as a first connection end, and is connected to one end of the switch button S1.
As a further scheme of the present invention, one end of the third resistor R3 is connected to the input voltage V-BAT, the other end is connected to the base of the first MOS transistor Q1, the collector of the second triode Q2 is connected to one end of the fourth resistor R4, and the other end of the second resistor R2 is connected to the switch key S1.
As a further aspect of the present invention, the source of the first MOS transistor Q1 is connected to the input voltage V-BAT, the gate of the first MOS transistor Q1 is connected to one end of the fourth resistor R4, and the drain of the first MOS transistor Q1 is connected to the power conversion component as a fourth connection end.
As a further aspect of the present invention, a positive terminal of the third diode D3 is connected to an enable terminal of the single chip, and a negative terminal of the third diode D3 is connected to one end of the fifth resistor R5.
As a further scheme of the invention, when the switch key S1 is closed, the second diode D2 is conducted, and the singlechip is electrified.
As a further scheme of the invention, when the switch key S1 is disconnected, the first MOS tube Q1 is cut off, and the single chip microcomputer is powered off.
As a further scheme of the present invention, when the pin PWR _ EN connected to the third diode D3 is set to a high level, the second MOS transistor Q2 and the first MOS transistor Q1 are turned on, and the single chip microcomputer is powered on.
As a further scheme of the invention, when the switch KEY S1 is closed, the KEY _ ON pin recognizes a low level, and the single chip microcomputer program enables the PWR _ EN pin to be set to the low level; when the switch KEY S1 is disconnected, the KEY _ ON pin is at a low level, the second MOS tube Q2 and the first MOS tube Q1 are cut off, and the single chip microcomputer is powered off.
Compared with the prior art, the utility model discloses following beneficial effect has:
the utility model provides a go up electric self-locking switch circuit based on single chip microcomputer control, as the circuit through the electricity auto-lock on the single chip microcomputer control, this circuit can drive triode and singlechip power supply realization circuit auto-lock again after the electricity is handled through single chip microcomputer control. The utility model discloses a back on the button, the monolithic presss from both sides and gathers pin signal and handles and redrive triode realization circuit auto-lock power supply function.
These and other aspects of the invention will be apparent from and elucidated with reference to the embodiments described hereinafter. It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention as claimed.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following descriptions are only some embodiments of the present invention. In the drawings:
fig. 1 is a schematic circuit diagram of a power-on self-locking switch circuit based on single-chip microcomputer control according to an embodiment of the present invention;
the purpose of the present invention is to provide a portable electronic device, which can be easily and conveniently operated.
Detailed Description
This section will describe in detail the embodiments of the present invention, preferred embodiments of the present invention are shown in the attached drawings, which are used to supplement the description of the text part of the specification with figures, so that one can intuitively and vividly understand each technical feature and the whole technical solution of the present invention, but they cannot be understood as the limitation of the protection scope of the present invention.
In the description of the present invention, a plurality of means are one or more, a plurality of means are two or more, and the terms greater than, less than, exceeding, etc. are understood as not including the number, and the terms greater than, less than, within, etc. are understood as including the number.
In the utility model discloses an in the description, to the continuous reference numeral of method step be for the convenience examination and understanding, combine the utility model discloses an overall technical scheme and the logical relation between each step, the implementation order between the adjustment step can not influence the utility model discloses technical scheme reaches technical effect.
In the description of the present invention, unless explicitly defined otherwise, words such as setting should be understood in a broad sense, and those skilled in the art can reasonably determine the specific meanings of the above words in the present invention by combining the specific contents of the technical solutions.
In a common circuit, a switch is pressed, so that the circuit is electrified; the switch is released and the circuit is broken. Particularly, a circuit management system with a storage battery, such as a video monitoring device, needs to be capable of continuously working after an external switch is turned off, and meanwhile, the device can automatically realize a power-off function under a specific condition.
To go up electric self-locking switch low temperature performance relatively poor on pure mechanical type, mechanical structure is unreliable, and the volume size receives the design circuit influence, unable nimble changeable problem, the utility model discloses a main aim at provides a go up electric self-locking switch circuit based on single chip microcomputer control, this circuit can be handled and go up the electricity back and drive triode and the singlechip power supply realization circuit auto-lock through single chip microcomputer control, does not need mechanical self-locking switch just can realize the function that the button was once gone up the electricity or cut off the power supply.
Referring to fig. 1, an embodiment of the present invention provides a power-on self-locking switch circuit based on single-chip microcomputer control, which includes a switch button, a power conversion component, a single-chip microcomputer, a power supply, and a power-on self-locking unit of a triode; the switch key is connected with an input voltage, and the outside of the power supply conversion part is respectively connected with the power-on self-locking unit and the output power supply of the triode; the triode power-on self-locking unit comprises a first connecting end, a second connecting end, a third connecting end and a fourth connecting end, wherein the first connecting end is connected with a detection pin of the single chip microcomputer, the second connecting end is connected with one end of the switch, the third connecting end is connected with an enabling pin of the single chip microcomputer, and the fourth connecting end is connected with the power supply conversion component; the fourth connection is also connected to the input voltage.
In some embodiments, the triode power-on self-locking unit includes a first diode D1, a first resistor R1, a switch key S1, a second diode D2, a second resistor R2, a third diode D3, a first MOS transistor Q1, a third resistor R3, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a second triode Q2, a first capacitor C1, and a second capacitor C2.
The first resistor R1 is used as a first connecting end and is connected with one end of the switch key S1; one end of the third resistor R3 is connected with the input voltage V-BAT, the other end of the third resistor R3 is connected with the base electrode of the first MOS transistor Q1, the collector electrode of the second triode Q2 is connected with one end of the fourth resistor R4, and the other end of the second resistor R2 is connected with the switch key S1.
In some embodiments, the source of the first MOS transistor Q1 is connected to the input voltage V-BAT, the gate of the first MOS transistor Q1 is connected to one end of the fourth resistor R4, and the drain of the first MOS transistor Q1 is connected to the power conversion component as a fourth connection end.
In some embodiments, the positive terminal of the third diode D3 is connected to the enable terminal of the single chip, and the negative terminal of the third diode D3 is connected to one terminal of the fifth resistor R5.
In some embodiments, when the switch key S1 is closed, the second diode D2 is turned on, and the single chip microcomputer is powered on; when the switch key S1 is switched off, the first MOS tube Q1 is cut off, and the single chip microcomputer is powered off; when the pin PWR _ EN connected with the third diode D3 is set to be at a high level, the second MOS tube Q2 and the first MOS tube Q1 are conducted, and the single chip microcomputer is powered on.
In some embodiments, when the switch KEY S1 is closed, the KEY _ ON pin recognizes a low level, and the single chip microcomputer program sets the PWR _ EN pin to a low level; when the switch KEY S1 is disconnected, the KEY _ ON pin is at a low level, the second MOS tube Q2 and the first MOS tube Q1 are cut off, and the single chip microcomputer is powered off.
When the switch key S1 is closed, the second diode D2 is conducted, and the single chip microcomputer is electrified; when the switch key S1 is disconnected, Q1 is cut off, and the single chip microcomputer is powered off; therefore, if the single chip microcomputer is powered on all the time after the computer is started, the PWR _ EN pin is set to be high level in the program after the computer is started, in this way, Q2 is conducted, Q1 is also conducted accordingly, and the single chip microcomputer is powered on all the time. When the switch KEY S1 is closed, the KEY _ ON pin recognizes a low level, and the single chip microcomputer program enables the PWR _ EN pin to be set to the low level; when the switch KEY S1 is switched off, the KEY _ ON pin is at a low level, the second MOS tube Q2 is cut off, the first MOS tube Q1 is also cut off, and the single chip microcomputer is powered off.
It should be noted that, the power conversion chip can use other models to realize the same function of the present invention, or replace the voltage conversion chip with other output voltage values.
The utility model provides a go up electric self-locking switch circuit based on single chip microcomputer control, as the circuit through the electricity auto-lock on the single chip microcomputer control, this circuit can drive triode and singlechip power supply realization circuit auto-lock again after the electricity is handled through single chip microcomputer control. The utility model discloses a back on the button, the monolithic presss from both sides and gathers pin signal and handles and redrive triode realization circuit auto-lock power supply function.
The above is only the preferred embodiment of the present invention, and not the scope of the present invention, all the equivalent structures or equivalent flow changes made by the contents of the specification and the drawings or the direct or indirect application in other related technical fields are included in the patent protection scope of the present invention.

Claims (10)

1. A power-on self-locking switch circuit based on single chip microcomputer control is characterized by comprising a switch key, a power supply conversion part, a single chip microcomputer, a power supply and a triode power-on self-locking unit; the switch key is connected with an input voltage, and the outside of the power supply conversion part is respectively connected with the power-on self-locking unit and the output power supply of the triode; the triode power-on self-locking unit comprises a first connecting end, a second connecting end, a third connecting end and a fourth connecting end, wherein the first connecting end is connected with a detection pin of the single chip microcomputer, the second connecting end is connected with one end of the switch, the third connecting end is connected with an enabling pin of the single chip microcomputer, and the fourth connecting end is connected with the power supply conversion component; the fourth connection is also connected to the input voltage.
2. The power-on self-locking switch circuit based on the single-chip microcomputer control according to claim 1, wherein the triode power-on self-locking unit comprises a first diode D1, a first resistor R1, a switch button S1, a second diode D2, a second resistor R2, a third diode D3, a first MOS transistor Q1, a third resistor R3, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a second triode Q2, a first capacitor C1 and a second capacitor C2.
3. The power-on self-locking switch circuit based on single-chip microcomputer control according to claim 2, wherein the first resistor R1 is used as a first connection end and connected with one end of the switch key S1.
4. A power-on self-locking switch circuit based on single-chip microcomputer control according to claim 3, wherein one end of the third resistor R3 is connected with the input voltage V-BAT, the other end is connected with the base of the first MOS transistor Q1, the collector of the second triode Q2 is connected with one end of the fourth resistor R4, and the other end of the second resistor R2 is connected with the switch key S1.
5. A power-on self-locking switch circuit based on single chip microcomputer control according to claim 4, wherein the source of the first MOS transistor Q1 is connected to the input voltage V-BAT, the gate of the first MOS transistor Q1 is connected to one end of the fourth resistor R4, and the drain of the first MOS transistor Q1 is connected to the power conversion component as a fourth connection end.
6. A power-on self-locking switch circuit based on single chip microcomputer control according to claim 5, wherein the source of the first MOS transistor Q1 is connected to the input voltage V-BAT, the gate of the first MOS transistor Q1 is connected to one end of the fourth resistor R4, and the drain of the first MOS transistor Q1 is connected to the power conversion component as a fourth connection end.
7. The power-on self-locking switch circuit based on single-chip microcomputer control according to claim 2, wherein when the switch button S1 is closed, the second diode D2 is turned on, and the single-chip microcomputer is powered on.
8. The power-on self-locking switch circuit based on single chip microcomputer control according to claim 2, wherein when the switch key S1 is turned off, the first MOS transistor Q1 is turned off, and the single chip microcomputer is powered off.
9. The power-on self-locking switch circuit based on single-chip microcomputer control according to claim 2, wherein when a PWR _ EN pin connected to the third diode D3 is set to a high level, the second MOS transistor Q2 and the first MOS transistor Q1 are turned on, and the single-chip microcomputer is powered on.
10. The power-ON self-locking switch circuit based ON the single chip microcomputer control according to claim 2, wherein when the switch KEY S1 is closed, the KEY _ ON pin recognizes a low level, and the single chip microcomputer program makes the PWR _ EN pin set to a low level; when the switch KEY S1 is disconnected, the KEY _ ON pin is at a low level, the second MOS tube Q2 and the first MOS tube Q1 are cut off, and the single chip microcomputer is powered off.
CN202222243341.4U 2022-08-25 2022-08-25 Power-on self-locking switch circuit based on single chip microcomputer control Active CN218416343U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202222243341.4U CN218416343U (en) 2022-08-25 2022-08-25 Power-on self-locking switch circuit based on single chip microcomputer control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202222243341.4U CN218416343U (en) 2022-08-25 2022-08-25 Power-on self-locking switch circuit based on single chip microcomputer control

Publications (1)

Publication Number Publication Date
CN218416343U true CN218416343U (en) 2023-01-31

Family

ID=85029209

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202222243341.4U Active CN218416343U (en) 2022-08-25 2022-08-25 Power-on self-locking switch circuit based on single chip microcomputer control

Country Status (1)

Country Link
CN (1) CN218416343U (en)

Similar Documents

Publication Publication Date Title
CN203643779U (en) Outage wake-up circuit of ammeter metering terminal
CN102332898B (en) Switching circuit with zero standby power consumption
CN201656777U (en) Power supply management circuit and electronic equipment therewith
US11467640B2 (en) Power supply enable circuit
CN204463019U (en) A power supply control circuit
CN218416343U (en) Power-on self-locking switch circuit based on single chip microcomputer control
CN205139831U (en) Power management system of wearable smart machine
CN213585190U (en) Power control circuit with standby low power consumption
CN207367149U (en) One kind simply powers on automatic boot circuit
CN213027985U (en) One-key switching circuit
CN212462838U (en) Power supply switching circuit and intelligent door lock system
CN210157162U (en) Key combined circuit for realizing hardware reset
CN211063589U (en) A switch control circuit
CN221577501U (en) A kind of pot
WO2021143448A1 (en) Key wake-up circuit and electronic device
CN217406709U (en) Charging bin, earphone and TWS earphone
CN212992000U (en) Battery power supply control circuit
CN216794853U (en) Zero-standby input switching power supply circuit
CN218920402U (en) Switching circuit of intelligent instrument
CN119788047B (en) Instrument forced shutdown circuit and instrument
CN214479829U (en) A dual power supply circuit
CN222423656U (en) A self-holding power switch circuit suitable for low-power electronic equipment
CN210958311U (en) Touch tablet with power saving switch circuit
CN223168209U (en) Charge-discharge management circuit of energy storage element
CN217133576U (en) Startup and shutdown circuit and equipment

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant