CN214174876U - Single-key startup and shutdown circuit - Google Patents

Single-key startup and shutdown circuit Download PDF

Info

Publication number
CN214174876U
CN214174876U CN202120339411.9U CN202120339411U CN214174876U CN 214174876 U CN214174876 U CN 214174876U CN 202120339411 U CN202120339411 U CN 202120339411U CN 214174876 U CN214174876 U CN 214174876U
Authority
CN
China
Prior art keywords
resistor
circuit
power
switch circuit
control
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
CN202120339411.9U
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.)
Xiamen Fiscat Electrical Co ltd
Original Assignee
Xiamen Fiscat Electrical 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 Xiamen Fiscat Electrical Co ltd filed Critical Xiamen Fiscat Electrical Co ltd
Priority to CN202120339411.9U priority Critical patent/CN214174876U/en
Application granted granted Critical
Publication of CN214174876U publication Critical patent/CN214174876U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power Sources (AREA)
  • Electronic Switches (AREA)

Abstract

The utility model discloses a single key switch circuit, which comprises a power switch circuit, a start-up holding circuit, a shutdown control circuit, a key control circuit and a microprocessor; the power switch circuit, the power-on holding circuit and the power-off control circuit are sequentially connected, the microprocessor is connected with the power-on holding circuit, and the key control circuit is respectively connected with the power switch circuit and the power-off control circuit. The utility model discloses have and force the shutdown function, can force when microprocessor crashes and shut down.

Description

Single-key startup and shutdown circuit
Technical Field
The utility model relates to an electronic circuit technical field especially indicates a single bond switch circuit.
Background
The startup and shutdown circuit can realize the management and control of the startup and shutdown functions of the electronic product. At present, a plurality of switch circuits control whether an electronic product is switched on or off by pressing different durations of a tact switch, and the switching-on and the switching-off of the switch circuits are controlled by a microprocessor; however, many existing electronic products are powered by a built-in battery, so that when a microprocessor of the electronic products is halted, a shutdown function controlled by the microprocessor is also failed, and the electronic products are difficult to be forcibly powered off and restarted.
SUMMERY OF THE UTILITY MODEL
An object of the utility model is to provide a single bond on-off machine circuit, it has forces the shutdown function.
In order to achieve the above purpose, the solution of the present invention is:
a single-key switch-on and switch-off circuit comprises a power switch circuit, a start-up holding circuit, a power-off control circuit, a key control circuit and a microprocessor; the power switch circuit comprises a MOS transistor M1, a resistor R1 and a resistor R2, wherein the source electrode of the MOS transistor M1 is connected with the first end of the resistor R1 and serves as the input end of the power switch circuit, the drain electrode of the MOS transistor M1 serves as the output end of the power switch circuit, the gate electrode of the MOS transistor M1 is connected with the second end of the resistor R1 and the first end of the resistor R2, and the second end of the resistor R2 serves as the control end of the power switch circuit; the input end and the output end of the power switch circuit are respectively connected with a power input end DCint and a system power end VDD, and the system power end VDD is connected with a power end of the microprocessor and a control power end VCC through a voltage conversion circuit; the power-on holding circuit comprises a holding switch circuit and a resistor R3, wherein the input end of the holding switch circuit is connected with the control end of the power switch circuit, the output end of the holding switch circuit is grounded, the control end of the holding switch circuit is connected with the first output end of the microprocessor through the resistor R3, and the input end and the output end of the holding switch circuit are conducted when the level of the control end is high; the shutdown control circuit comprises a MOS tube M3, a MOS tube M4, a MOS tube M5, a resistor R5, a resistor R6, a resistor R7 and a capacitor C2; the drain electrode and the source electrode of the MOS tube M3 are respectively used as the input end and the output end of the shutdown control circuit, the input end of the shutdown control circuit is connected with the control end of the hold switch circuit, and the output end of the shutdown control circuit is grounded; the gate of the MOS transistor M3 is connected to the first end of the resistor R5, the first end of the resistor R6 and the first end of the capacitor C2, the second end of the resistor R5 and the second end of the capacitor C2 are grounded, the second end of the resistor R6 is connected to the drain of the MOS transistor M4, and the source of the MOS transistor M4 is connected to the first end of the resistor R7 and the control power supply terminal VCC; the gate of the MOS transistor M4 is connected to the second end of the resistor R7 and the drain of the MOS transistor M5, the source of the MOS transistor M5 is grounded, and the gate of the MOS transistor M5 serves as the control end of the shutdown control circuit; the key control circuit comprises a diode D1, a light touch switch SW1, a resistor R9, a resistor R10 and a resistor R11; the anode of the diode D1 is used as a first connection end of the key control circuit, the cathode of the diode D1 is connected with the first end of the light touch switch SW1 and the first end of the resistor R11 and is used as a second connection end of the key control circuit, the second end of the light touch switch SW1 is connected with the first end of the resistor R9 and the first end of the resistor R10, the second end of the resistor R9 is connected with a control power supply terminal VCC, the second end of the resistor R10 and the second end of the resistor R11 are grounded, and the first connection end and the second connection end of the key control circuit are respectively connected with the control end of the power switch circuit and the control end of the shutdown control circuit.
The holding switch circuit comprises a MOS tube M2, and the drain electrode, the source electrode and the grid electrode of the MOS tube M2 are respectively used as the input end, the output end and the control end of the holding switch circuit.
The power-on holding circuit further comprises a resistor R4 and a capacitor C1, a first end of the resistor R4 and a first end of the capacitor C1 are connected with a control end of the holding switch circuit, and a second end of the capacitor R4 and a second end of the capacitor C1 are grounded.
The second end of the resistor R6 is connected with the drain of the MOS transistor M4 through a diode D2, and the cathode and the anode of the diode D2 are respectively connected with the second end of the resistor R6 and the drain of the MOS transistor M4.
The first connecting end of the key control circuit is connected with the control end of the power switch circuit through a resistor R8.
After the scheme is adopted, the utility model discloses realize starting up through pressing the switch SW1 that dabs for a short time, loosen the pressing to dabbing switch SW1 and realize shutting down after pressing dabbing switch SW1 for a long time, realized that the button is multiplexing; and the utility model discloses a long-press to dab switch SW1 after unclamp realize the control that does not need microprocessor to dabbing switch SW 1's the pressing down to can realize forcing the shutdown function, even microprocessor crashes like this, the user can be through long-press to dab switch SW1 after unclamp to dabbing switch SW1 press and realize shutting down.
Drawings
Fig. 1 is a schematic circuit diagram of the present invention.
Detailed Description
In order to further explain the technical solution of the present invention, the present invention is explained in detail by the following embodiments.
As shown in fig. 1, the present invention discloses a single key switch circuit, which comprises a power switch circuit, a power on hold circuit, a power off control circuit, a key control circuit and a microprocessor; the power switch circuit, the power-on holding circuit and the power-off control circuit are sequentially connected, the microprocessor is connected with the power-on holding circuit, and the key control circuit is respectively connected with the power switch circuit and the power-off control circuit.
As shown in fig. 1, the power switching circuit includes a MOS transistor M1, a resistor R1, and a resistor R2; the source of the MOS transistor M1 is connected to the first end of the resistor R1 and serves as the input end of the power switch circuit, the drain of the MOS transistor M1 serves as the output end of the power switch circuit, the gate of the MOS transistor M1 is connected to the second end of the resistor R1 and the first end of the resistor R2, and the second end of the resistor R2 serves as the control end of the power switch circuit; the input end and the output end of the power switch circuit are respectively connected with a power input end DCint and a system power end VDD, the power input end DCint is used for being connected with an external direct-current power supply, the system power end VDD is connected with a power end of a microprocessor and a control power end VCC through a voltage conversion circuit, and the system power end VDD is used for supplying power to an electronic system.
As shown in fig. 1, the power-on hold circuit includes a hold switch circuit and a resistor R3, an input terminal of the hold switch circuit is connected to a control terminal of the power switch circuit, an output terminal of the hold switch circuit is grounded, the control terminal of the hold switch circuit is connected to a first output terminal of the microprocessor through a resistor R3, and the input terminal and the output terminal of the hold switch circuit are turned on when a level of the control terminal is high. As shown in fig. 1, the holding switch circuit includes a MOS transistor M2, a drain, a source, and a gate of the MOS transistor M2 are respectively used as an input terminal, an output terminal, and a control terminal of the holding switch circuit, and the MOS transistor M2 is turned on when a gate level thereof is high.
As shown in fig. 1, the shutdown control circuit includes a MOS transistor M3, a MOS transistor M4, a MOS transistor M5, a resistor R5, a resistor R6, a resistor R7, and a capacitor C2; the drain and the source of the MOS transistor M3 are respectively used as the input end and the output end of the shutdown control circuit, the input end of the shutdown control circuit is connected with the control end of the hold switch circuit, and the output end of the shutdown control circuit is grounded; the gate of the MOS transistor M3 is connected to the first end of the resistor R5, the first end of the resistor R6, and the first end of the capacitor C2, the second end of the resistor R5 and the second end of the capacitor C2 are grounded, the second end of the resistor R6 is connected to the drain of the MOS transistor M4, and the source of the MOS transistor M4 is connected to the first end of the resistor R7 and the control power supply terminal VCC; the gate of the MOS transistor M4 is connected to the second terminal of the resistor R7 and the drain of the MOS transistor M5, the source of the MOS transistor M5 is grounded, and the gate of the MOS transistor M5 serves as the control terminal of the shutdown control circuit.
As shown in fig. 1, the key control circuit includes a diode D1, a tact switch SW1, a resistor R9, a resistor R10, and a resistor R11; the anode of the diode D1 is used as a first connection end of the key control circuit, the cathode of the diode D1 is connected with the first end of the light touch switch SW1 and the first end of the resistor R11 and is used as a second connection end of the key control circuit, the second end of the light touch switch SW1 is connected with the first end of the resistor R9 and the first end of the resistor R10, the second end of the resistor R9 is connected with a control power supply terminal VCC, the second end of the resistor R10 and the second end of the resistor R11 are grounded, the first connection end and the second connection end of the key control circuit are respectively connected with the control end of the power switch circuit and the control end of the shutdown control circuit, the first connection end of the key control circuit is connected with the control end of the power switch circuit through the resistor R8, and the resistor R8 can play a role in current limiting.
For easy understanding of the utility model, the following explanation of the working principle of the utility model is as follows:
when the utility model discloses need start under the power-off state, the user presses to touch switch SW1 for a short time and makes to touch switch SW1 switch on, the return circuit that forms this moment makes power switch circuit's MOS pipe M1's grid voltage drop to MOS pipe M1's grid source voltage difference satisfy MOS pipe M1's conduction condition to ground through resistance R10, and then make power switch circuit switch on, power switch circuit switches on and makes system power VDD and power input end DCint switch on, and then make system power VDD circular telegram and make control power VCC circular telegram and microprocessor circular telegram work, realize starting; after the microprocessor is electrified to work, the microprocessor continuously inputs a high level signal to the control end of the holding switch circuit of the startup holding circuit through the resistor R3, so that the input end and the output end of the holding switch circuit are kept in a conducting state, and further the level of the control end of the power switch circuit is continuously low level, so that the power switch circuit is kept in the conducting state, and the startup state is kept; after the microprocessor inputs a high level signal to the control end of the holding switch circuit of the power-on holding circuit, the press of the light touch switch SW1 needs to be released immediately to cut off the MOS transistor M5 and the MOS transistor M4, so that the cut-off of the holding switch circuit of the power-on holding circuit caused by the conduction of the MOS transistor M3 of the power-off control circuit is avoided.
When the utility model discloses need shut down under the on state, the user presses to touch switch SW1 for a long time and makes to touch switch SW1 switch on, and control power end VCC passes through resistance R9 and inputs high level signal and make MOS pipe M5 switch on for the grid of MOS pipe M5 of shutdown control circuit this moment, and MOS pipe M5 switches on and makes MOS pipe M4 switch on, and then makes electric capacity C2 charge and make MOS pipe M3's grid voltage rise gradually; when a user presses the light touch switch SW1 for a long time to enable the gate voltage of the MOS transistor M3 to rise to meet the conduction condition of the MOS transistor M3, the MOS transistor M3 is turned on to pull down the gate level of the MOS transistor M2 of the hold switch circuit, so that the MOS transistor M2 is turned off to disable the power-on hold circuit; when the MOS transistor M2 is turned off, the difference between the gate-source voltages of the MOS transistor M1 of the power switch circuit still satisfies the conduction condition of the MOS transistor M1 by still pressing the tact switch SW1, so that the system power supply terminal VDD is kept energized, and thus the conduction of the power switch circuit is maintained by the conduction of the tact switch SW 1; if the pressing of the tact switch SW1 is released, the tact switch SW1 is turned off to turn off the power switch circuit, and the system power supply terminal VDD is turned off to shut down the device.
Therefore, the utility model realizes startup by short-pressing the tact switch SW1, and realizes shutdown by releasing the pressing of the tact switch SW1 after long-pressing the tact switch SW1, thereby realizing key multiplexing; and the utility model discloses a long-press to dab switch SW1 after unclamp realize the control that does not need microprocessor to dabbing switch SW 1's the pressing down to can realize forcing the shutdown function, even microprocessor crashes like this, the user can be through long-press to dab switch SW1 after unclamp to dabbing switch SW1 press and realize shutting down. When the power-on is realized by short-pressing the tact switch SW1, the short-pressing time of the short-pressing tact switch SW1 is controlled to be short in time, so that the holding switch circuit of the power-on holding circuit cannot be turned off; when the power-off is realized by releasing the pressing of the tact switch SW1 after the long-press of the tact switch SW1, the long-press time of the long-press tact switch SW1 is controlled to be the long-press time so that the hold switch circuit of the power-on hold circuit is turned off.
As shown in fig. 1, the power-on hold circuit further includes a resistor R4 and a capacitor C1, a first end of the resistor R4 and a first end of the capacitor C1 are connected to the control terminal of the hold switch circuit, and a second end of the capacitor R4 and a second end of the capacitor C1 are grounded; the resistor R4 and the capacitor C1 can make the control of the holding switch circuit by the microprocessor more stable and reliable.
In the shutdown control circuit, as shown in fig. 1, a second terminal of the resistor R6 is connected to the drain of the MOS transistor M4 through a diode D2, and a cathode and an anode of the diode D2 are respectively connected to the second terminal of the resistor R6 and the drain of the MOS transistor M4. After the user presses the tact switch SW1 for a long time and the MOS transistor M2 is turned off, the user releases the pressing of the tact switch SW1, the capacitor C2 discharges through the resistor R5, and due to the unidirectional conduction characteristic of the diode D2, when the capacitor C2 discharges, the current released by the capacitor C2 is not input to the control power source VCC, so that the circuit is protected.
The above embodiments and drawings are not intended to limit the form and style of the present invention, and any suitable changes or modifications made by those skilled in the art should not be construed as departing from the scope of the present invention.

Claims (5)

1. A single key switch on/off circuit, characterized by: the power-on and power-off control circuit comprises a power switch circuit, a power-on holding circuit, a power-off control circuit, a key control circuit and a microprocessor;
the power switch circuit comprises a MOS transistor M1, a resistor R1 and a resistor R2, wherein the source electrode of the MOS transistor M1 is connected with the first end of the resistor R1 and serves as the input end of the power switch circuit, the drain electrode of the MOS transistor M1 serves as the output end of the power switch circuit, the gate electrode of the MOS transistor M1 is connected with the second end of the resistor R1 and the first end of the resistor R2, and the second end of the resistor R2 serves as the control end of the power switch circuit; the input end and the output end of the power switch circuit are respectively connected with a power input end DCint and a system power end VDD, and the system power end VDD is connected with a power end of the microprocessor and a control power end VCC through a voltage conversion circuit;
the power-on holding circuit comprises a holding switch circuit and a resistor R3, wherein the input end of the holding switch circuit is connected with the control end of the power switch circuit, the output end of the holding switch circuit is grounded, the control end of the holding switch circuit is connected with the first output end of the microprocessor through the resistor R3, and the input end and the output end of the holding switch circuit are conducted when the level of the control end is high;
the shutdown control circuit comprises a MOS tube M3, a MOS tube M4, a MOS tube M5, a resistor R5, a resistor R6, a resistor R7 and a capacitor C2; the drain electrode and the source electrode of the MOS tube M3 are respectively used as the input end and the output end of the shutdown control circuit, the input end of the shutdown control circuit is connected with the control end of the hold switch circuit, and the output end of the shutdown control circuit is grounded; the gate of the MOS transistor M3 is connected to the first end of the resistor R5, the first end of the resistor R6 and the first end of the capacitor C2, the second end of the resistor R5 and the second end of the capacitor C2 are grounded, the second end of the resistor R6 is connected to the drain of the MOS transistor M4, and the source of the MOS transistor M4 is connected to the first end of the resistor R7 and the control power supply terminal VCC; the gate of the MOS transistor M4 is connected to the second end of the resistor R7 and the drain of the MOS transistor M5, the source of the MOS transistor M5 is grounded, and the gate of the MOS transistor M5 serves as the control end of the shutdown control circuit;
the key control circuit comprises a diode D1, a light touch switch SW1, a resistor R9, a resistor R10 and a resistor R11; the anode of the diode D1 is used as a first connection end of the key control circuit, the cathode of the diode D1 is connected with the first end of the light touch switch SW1 and the first end of the resistor R11 and is used as a second connection end of the key control circuit, the second end of the light touch switch SW1 is connected with the first end of the resistor R9 and the first end of the resistor R10, the second end of the resistor R9 is connected with a control power supply terminal VCC, the second end of the resistor R10 and the second end of the resistor R11 are grounded, and the first connection end and the second connection end of the key control circuit are respectively connected with the control end of the power switch circuit and the control end of the shutdown control circuit.
2. A single key switch circuit as claimed in claim 1, wherein: the holding switch circuit comprises a MOS tube M2, and the drain electrode, the source electrode and the grid electrode of the MOS tube M2 are respectively used as the input end, the output end and the control end of the holding switch circuit.
3. A single key switch circuit as claimed in claim 1 or 2, wherein: the power-on holding circuit further comprises a resistor R4 and a capacitor C1, a first end of the resistor R4 and a first end of the capacitor C1 are connected with a control end of the holding switch circuit, and a second end of the capacitor R4 and a second end of the capacitor C1 are grounded.
4. A single key switch circuit as claimed in claim 1, wherein: the second end of the resistor R6 is connected with the drain of the MOS transistor M4 through a diode D2, and the cathode and the anode of the diode D2 are respectively connected with the second end of the resistor R6 and the drain of the MOS transistor M4.
5. A single key switch circuit as claimed in claim 1, wherein: the first connecting end of the key control circuit is connected with the control end of the power switch circuit through a resistor R8.
CN202120339411.9U 2021-02-05 2021-02-05 Single-key startup and shutdown circuit Active CN214174876U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202120339411.9U CN214174876U (en) 2021-02-05 2021-02-05 Single-key startup and shutdown circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202120339411.9U CN214174876U (en) 2021-02-05 2021-02-05 Single-key startup and shutdown circuit

Publications (1)

Publication Number Publication Date
CN214174876U true CN214174876U (en) 2021-09-10

Family

ID=77595205

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202120339411.9U Active CN214174876U (en) 2021-02-05 2021-02-05 Single-key startup and shutdown circuit

Country Status (1)

Country Link
CN (1) CN214174876U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115291661A (en) * 2022-07-08 2022-11-04 广东天波信息技术股份有限公司 Low-power-consumption standby circuit and control method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115291661A (en) * 2022-07-08 2022-11-04 广东天波信息技术股份有限公司 Low-power-consumption standby circuit and control method thereof

Similar Documents

Publication Publication Date Title
CN102332898B (en) Switching circuit with zero standby power consumption
CN105223858A (en) A kind of switching on and shutting down control circuit of electronic equipment
CN112737558B (en) Multifunctional key switch circuit for electronic product
CN104202029A (en) Single-button power-on and power-off circuit and head-wearing display device
CN104270003A (en) Power source control method, circuit and electrical device
CN214174876U (en) Single-key startup and shutdown circuit
CN110693401A (en) Cleaning robot
CN210742886U (en) Startup and shutdown circuit
CN212785304U (en) Startup and shutdown circuit and POS machine
CN210780130U (en) Power-off control circuit
CN214474527U (en) Startup and shutdown circuit with hardware forced shutdown function
CN204290714U (en) A kind of power control circuit and electric equipment
CN217590352U (en) Power control circuit, power controller, control circuit and consumer
CN215601019U (en) Short-circuit protection circuit
CN213990636U (en) Multifunctional key switch circuit for electronic product
CN212726976U (en) Display outage system and display
CN210466706U (en) Control device of remote controller power supply and remote controller
CN111654277A (en) Switching circuit and printer using method applying same
CN104111718A (en) Energy saving circuit
CN210157162U (en) Key combined circuit for realizing hardware reset
CN209913796U (en) Switching circuit
CN212305297U (en) Switching circuit
CN217770046U (en) Power switch circuit and electronic equipment
CN106484064B (en) Power supply control circuit of singlechip system
CN220798248U (en) Switch circuit and vacuum negative pressure therapeutic apparatus based on tact switch

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant