CN110806792B - Hardware on-off circuit and electronic equipment - Google Patents
Hardware on-off circuit and electronic equipment Download PDFInfo
- Publication number
- CN110806792B CN110806792B CN201911047293.8A CN201911047293A CN110806792B CN 110806792 B CN110806792 B CN 110806792B CN 201911047293 A CN201911047293 A CN 201911047293A CN 110806792 B CN110806792 B CN 110806792B
- Authority
- CN
- China
- Prior art keywords
- coupled
- module
- resistor
- node
- control 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/266—Arrangements to supply power to external peripherals either directly from the computer or under computer control, e.g. supply of power through the communication port, computer controlled power-strips
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K17/00—Electronic switching or gating, i.e. not by contact-making and –breaking
- H03K17/51—Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the components used
- H03K17/56—Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the components used by the use, as active elements, of semiconductor devices
- H03K17/687—Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the components used by the use, as active elements, of semiconductor devices the devices being field-effect transistors
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Electronic Switches (AREA)
Abstract
The invention provides a hardware on-off circuit and electronic equipment, which comprise a power supply module, a key module, a starting and maintaining module, a key detection module and a hardware off module, wherein the key module is used for receiving a power supply signal; the power supply module is configured to supply power to the key module and the power-on and maintenance module; the key module is configured to send a first control signal to the power-on and maintenance module and a second control signal to the key detection module according to a key state; the starting and maintaining module is configured to realize hardware starting and maintain continuous conduction of a power supply according to the first control signal; the key detection module is configured to output a third control signal to the hardware shutdown module according to the second control signal; the hardware shutdown module is configured to implement hardware shutdown according to the third control signal. The circuit described in this embodiment can avoid the problem that the circuit cannot be completely turned off due to the other circuits maintaining the continuous conduction of the power supply.
Description
Technical Field
The invention relates to the technical field of electronic product switching, in particular to a hardware switching circuit and electronic equipment.
Background
The following problems generally exist in the switching circuits of different electronic products in the industry:
1. the power-on and power-off circuit is required to maintain after the power-on, and when the software is shut down, the load end is required to continuously output the turn-off signal, so that the turn-off signal is interrupted due to insufficient voltage, and the circuit is repeatedly powered on and powered off, thereby causing circuit failure. The hardware shutdown circuit also has the same problem, with the problem that the circuit cannot be completely shut down. 2. The integrated circuit design is adopted, the circuit is complex, and the cost is high. 3. The maintenance after the startup needs an external controller to output signals, and the shutdown is forced to be unstable.
Disclosure of Invention
The present invention provides a hardware switching circuit and an electronic device that at least partially solve the above problems.
In order to solve the above problems, the invention discloses a hardware on-off circuit, which comprises a power module, a key module, a startup and maintenance module, a key detection module and a hardware shutdown module;
the power module is coupled with the key module and the starting and maintaining module and is configured to supply power to the key module and the starting and maintaining module;
the key module is coupled with the starting and maintaining module and the key detection module and is configured to send a first control signal to the starting and maintaining module and a second control signal to the key detection module according to a key state;
the starting and maintaining module is configured to realize hardware starting and maintain continuous conduction of a power supply based on the first control signal;
the key detection module is further coupled with the hardware shutdown module and configured to output a third control signal to the hardware shutdown module based on the second control signal;
the hardware shutdown module is configured to implement a hardware shutdown based on the third control signal.
Optionally, the key module includes a first power connection end, a key, a first diode, a first node, a first resistor, a second diode, and a first control signal output end;
one end of the first power supply connecting end is coupled with the power supply module, and the other end of the first power supply connecting end is coupled with the key;
the other end of the key is coupled with the anode of the first diode, and the cathode of the first diode is coupled with the first end of the first node;
the second end of the first node is grounded through the first resistor;
a third end of the first node is coupled with an anode of the second diode, and a cathode of the second diode is coupled with the first control signal output end;
the first control signal output end is also coupled with the starting and maintaining module.
Optionally, the power-on and maintenance module includes a first control signal input terminal, a second node, a first voltage division unit, a first MOS transistor, a second resistor, a third resistor, a second MOS transistor, a third node, a third diode, a power output terminal, a first capacitor, and a fourth diode;
one end of the first control signal input end is coupled with the first control signal output end, and the other end of the first control signal input end is coupled with the first end of the second node;
the second end of the second node is coupled with the grid electrode of the first MOS tube through the first voltage division unit;
the source electrode of the first MOS tube is grounded, and the drain electrode of the first MOS tube is coupled with the grid electrode of the second MOS tube and the third resistor through the second resistor; the other end of the third resistor is coupled with the power supply module;
the source electrode of the second MOS tube is coupled with the power supply module, and the drain electrode of the second MOS tube is coupled with the first end of the third node;
a second end of the third node is coupled to an anode of the third diode, and a cathode of the third diode is coupled to the power supply output end;
one end of the first capacitor is coupled with the power supply output end, and the other end of the first capacitor is grounded;
the third end of the third node is connected with the anode of a fourth diode, and the cathode of the fourth diode is coupled with the second node.
Optionally, the key detection module includes a second control signal input end, a second voltage division unit, a first triode, a fourth node, a fifth diode, and a fifth node;
one end of the second control signal input end is coupled with the first node of the key module, the other end of the second control signal input end is coupled with the base electrode of the first triode through the second voltage division unit, the emitting electrode of the first triode is grounded, and the collector electrode of the first triode is coupled with one end of the fourth node;
the other end of the fourth node is coupled with the cathode of the fifth diode;
an anode of the fifth diode is coupled to a fifth node, and the other end of the fifth node is coupled to the third control signal output terminal.
Optionally, the circuit further comprises a controller and a software shutdown module;
one end of the controller is coupled with the key detection circuit, the other end of the controller is coupled with the software shutdown module, the controller is configured to acquire the key state of the key detection circuit, and output a fourth control signal to the software shutdown module according to the key state of the key detection circuit;
the software shutdown module is further coupled to the power-on and maintenance circuit and configured to implement software shutdown according to the fourth control signal.
Optionally, the key detection circuit further includes a fourth resistor, a fifth resistor, a first connection end and a second connection end;
one end of the fourth resistor is coupled to the fourth node, the other end of the fourth resistor is coupled to the first connection end, and the other end of the first connection end is coupled to the power supply output end;
one end of the fifth resistor is coupled to the fifth node, the other end of the fifth resistor is coupled to the second connection terminal, and the other end of the second connection terminal is coupled to the power interface of the controller;
the controller is coupled to a fifth node of the key detection module.
Optionally, the hardware shutdown circuit includes a third control signal input terminal, a sixth resistor, a seventh resistor, a second triode, an eighth resistor, a sixth node, a second capacitor, a ninth resistor, a first thyristor, and a first shutdown signal output terminal;
one end of the third control signal input end is coupled with the third control signal output end, and the other end of the third control signal input end is respectively coupled with a base electrode of the second triode and one end of the seventh resistor through a sixth resistor;
the other end of the seventh resistor is coupled with a power interface of the controller;
the emitting electrode of the triode is coupled with the power interface of the controller, and the collecting electrode of the triode is coupled with the eighth resistor;
the other end of the eighth resistor is coupled with a sixth node;
the sixth node is further coupled to a second capacitor, a ninth resistor and a gate of the first thyristor, respectively; the other ends of the second capacitor and the ninth resistor are grounded;
the cathode of the first thyristor is grounded, and the anode of the first thyristor is coupled with the first shutdown signal output end.
Optionally, the software shutdown module includes a fourth control signal input terminal, a twelfth resistor, a thirteenth resistor, a third triode, and a second shutdown signal output terminal;
one end of the fourth control signal input end is coupled with the controller, the other end of the fourth control signal input end is coupled with the twelfth resistor, the other end of the twelfth resistor is coupled with the thirteenth resistor and the base electrode of the third triode respectively, the emitting electrode of the third triode is grounded, and the collecting electrode of the third triode is coupled with the second shutdown signal output end.
Optionally, the power-on and sustain circuit further includes a seventh node, a sixth diode, and a tenth resistor, and the first voltage division unit includes an eleventh resistor, a third capacitor, and a twelfth resistor;
one end of the tenth resistor is coupled to the third node, and the other end is grounded
One end of the eleventh resistor is coupled to the first control signal input end, the other end of the eleventh resistor is coupled to the seventh node, one end of the third capacitor is coupled to the seventh node, the other end of the third capacitor is grounded, one end of the twelfth resistor is coupled to the seventh node, and the other end of the twelfth resistor is grounded;
the grid electrode of the first MOS tube is coupled with the seventh node; the seventh node is coupled to the anode of the sixth diode, and the cathode of the sixth diode is coupled to the first shutdown signal output terminal or the second shutdown signal output terminal.
In order to solve the above problem, the present invention further discloses an electronic device, which includes the hardware switching circuit.
Compared with the prior art, the invention has the following advantages:
the embodiment of the invention discloses a hardware on-off circuit, which sends a first control signal to a starting and maintaining circuit according to the state of a key in a key module, wherein the starting and maintaining circuit realizes hardware starting based on the first control signal and can maintain the continuous conduction of a power supply after the hardware is started. The key module can send a second control signal to the key detection module by using the state of the key, the key detection module outputs a third control signal to the hardware shutdown module based on the second control signal, and the hardware shutdown module can realize hardware shutdown by using the third control signal. The embodiment of the invention has simple circuit, and can realize stable shutdown only by using the keys in the key module.
Drawings
Fig. 1 is a block diagram of a hardware switching circuit in an embodiment of the present invention;
FIG. 2 is a circuit diagram of a key module according to an embodiment of the present invention;
FIG. 3 is a circuit diagram of a power-on and maintenance module according to an embodiment of the present invention;
FIG. 4 is a circuit diagram of a key detection module according to an embodiment of the present invention;
FIG. 5 is a block diagram of a hardware switching circuit according to an embodiment of the present invention;
FIG. 6 is a circuit diagram of a hardware shutdown module according to an embodiment of the present invention;
fig. 7 is a circuit diagram of a software shutdown module according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Referring to fig. 1, a hardware power on/off circuit according to an embodiment of the present invention is shown, including power modules 101, 102, a power on and maintaining module 103, a key detecting module 104, and a hardware power off module 105; the power module 101 is coupled to the key module 102 and the power-on and maintenance module 103, and configured to supply power to the key module 102 and the power-on and maintenance module 103; the key module 102 is coupled to the power-on and maintenance module 103 and the key detection module 104, and configured to send a first control signal to the power-on and maintenance module 103 and a second control signal to the key detection module 104 according to a key status; the power-on and maintenance module 103 is configured to implement hardware power-on and maintain continuous conduction of a power supply based on the first control signal; the key detection module 104 is further coupled to the hardware shutdown module 105, and configured to output a third control signal to the hardware shutdown module 105 based on the second control signal; the hardware shutdown module 105 is configured to implement hardware shutdown according to the third control signal.
In the embodiment of the present invention, the hardware switching circuit is applied to an electronic device, for example: for example: the mobile phone, the palm computer, the tablet computer, or wearable equipment.
In the embodiment of the present invention, the power module 101 is configured to supply power to the key module 102, so that the key module 102 can provide a control signal to other modules; the power module 101 is further configured to supply power to the startup and maintenance module 103, so that the startup and maintenance module 103 can still supply power to subsequent devices after being started up by the first control signal and being disconnected from the key module 102. The key module 102 includes a key for implementing hardware power-on or hardware power-off, and the key can implement hardware power-on or hardware power-off according to a preset logic. As a specific example, when the key is pressed for a short time, the key module 102 sends a first control signal to the power-on and hold module 103, where the first control signal is used to implement the hardware power-on 105 and maintain the continuous conduction of the power supply. If the key is pressed for a long time, the key module 102 may send a second control signal to the key detection module 104, the key detection module 104 sends a third control signal to the hardware shutdown module 105 based on the second control signal, and the hardware shutdown module 105 implements hardware shutdown according to the third control signal. In the embodiment of the present invention, the hardware power on/off is implemented by using the key in the key module 102, and the power on maintaining module 103 can implement the continuous conduction of the power supply after the power on. The hardware shutdown module 105 can implement hardware shutdown according to the key state of the key module 102, and the problem that shutdown cannot be performed due to repeated power-on and power-off is avoided. The hardware on-off circuit disclosed by the embodiment of the invention is simple, and stable power-off can be realized only by using the keys in the key module 102.
Optionally, referring to fig. 2, the key module includes a first power connection terminal VCC-bat, a key SW101, a first diode D101, a first node SW, a first resistor R101, a second diode D102, and a first control signal output terminal PowerOnOff; one end of the first power supply connection terminal VCC-bat is coupled with the power supply module, and the other end is coupled with the key SW 101; the other end of the key SW101 is coupled to the anode of the first diode R101, and the cathode of the first diode D101 is coupled to the first end of the first node SW; a second end of the first node SW is grounded through the first resistor R101; a third end of the first node SW is coupled to an anode of the second diode D102, and a cathode of the second diode D102 is coupled to the first control signal output terminal PowerOnOff; the first control signal output terminal PowerOnOff is also coupled to the power-on and maintenance module.
In the embodiment of the present invention, when the key SW101 is pressed, the first power connection terminal is connected to the power module VCC-BAT, the first diode D201 and the second diode D202 are turned on, the first node SW is at a high level, and at this time, the first control signal output terminal PowerOnOff is also at a high level, and the key module sends the first control signal to the power-on and maintenance module, where the first control signal is at a high level. When the key SW101 is released, the first node SW is at a low level and the first control signal output terminal PowerOnOff is also at a low level under the action of the first resistor R101.
Optionally, referring to fig. 3, the power-on and sustain module includes a first control signal input terminal V1, a second node J2, a first voltage division unit, a first MOS transistor Q202, a second resistor R202, a third resistor R201, a second MOS transistor Q201, a third node V-HOLD, a third diode D203, a power output terminal VCC-SYS, a first capacitor C202, and a fourth diode D201; the first control signal input V1 has one end coupled to the first control signal output PowerOnOff and another end coupled to a first end of the second node J2; a second end of the second node J2 is coupled to the gate of the first MOS transistor Q202 through the first voltage division unit; the source of the first MOS transistor Q202 is grounded, and the drain is coupled to the gate of the second MOS transistor Q201 and the third resistor R201 through the second resistor R202; the other end of the third resistor R201 is coupled with a power supply module; the source electrode of the second MOS transistor Q201 is coupled with the power supply module VCC-BAT, and the drain electrode is coupled with the first end of the third node V-HOLD; a second terminal of the third node V-HOLD is coupled to an anode of the third diode D203, and a cathode of the third diode D203 is coupled to the and power supply output terminal; one end of the first capacitor C202 is coupled to the power output terminal, and the other end is grounded; a third terminal of the third node V-HOLD is connected to an anode of a fourth diode D201, and a cathode of the fourth diode D201 is coupled to the second node J2.
In the embodiment of the present invention, when the signal at the first control signal input terminal V1 changes from low level to high level, the voltage is divided by the voltage dividing unit, and then the first MOS transistor Q202 is driven to conduct, and when the first MOS transistor Q202 is conducted, the gate of the second MOS transistor Q201 is pulled low, so that the second MOS transistor Q201 is conducted, and at this time, the third node V _ HOLD and the power output terminal VCC _ SYS are at high level, and charge the first capacitor C202 and supply power to the subsequent circuits, thereby implementing the power-on function of the circuit. When the key of the key module is released, the power-on and maintenance module is powered by a third node V _ HOLD through a fourth diode D201 instead, the third end of the third node V _ HOLD is connected with the anode of the fourth diode D201, the cathode of the fourth diode D201 is coupled with the second node J2, and the third node V _ HOLD is powered by a power module VCC-BAT due to the conduction of the second MOS Q201, so that the continuous maintenance of the power-on and maintenance module is ensured.
Optionally, referring to fig. 4, the key detection module includes a second control signal input terminal V2, a second voltage division unit, a first triode Q501, a fourth node SW-PULL, a fifth diode D501, and a fifth node SW-DET; one end of the second control signal input terminal V2 is coupled to the first node SW of the key module, and the other end is coupled to the base of the first transistor Q501 through the second voltage division unit, the emitter of the first transistor Q501 is grounded, and the collector is coupled to one end of the fourth node SW-PULL; the other end of the fourth node SW-PULL is coupled to the cathode of the fifth diode D501; the anode of the fifth diode D501 is coupled to a fifth node SW-DET, and the other end of the fifth node SW-DET is coupled to the third control signal output terminal S3. The second voltage division unit includes: the transistor comprises a resistor R501 and a resistor R502, wherein one end of the resistor R501 is coupled with a second control signal input end V2, the other end of the resistor R501 is coupled with one end of the resistor R502 and the grid electrode of the first triode Q501, and the other end of the resistor R502 is grounded.
The key detection circuit also comprises a fourth resistor R503, a fifth resistor R504, a first connecting end L1 and a second connecting end L2; one end of the fourth resistor R503 is coupled to the fourth node SW-PULL, the other end is coupled to the first connection terminal, and the other end of the first connection terminal is coupled to the power output terminal VCC-SYS; one end of the fifth resistor R504 is coupled to the fifth node SW-DET, the other end is coupled to the second connection terminal, and the other end of the second connection terminal is coupled to the power interface of the controller.
In the embodiment of the invention, when the key SW101 is released, the first node SW is at a low level under the action of the PULL-down resistor, so that the first triode Q501 is cut off, and the detection signals SW _ PULL and SW _ DET are at a high level under the action of the PULL-up resistors R503 and R504; when the reset key SW101 is pressed, the SW signal end is at a high level, so that the triode Q501 is turned on, and the detection signals SW _ PULL and SW _ DET are both at a low level; the SW _ PULL and SW _ DET signals are separated by the PULL-up resistors R503 and R504 and the diode D501.
Optionally, referring to fig. 5, the circuit further includes a controller 106 and a software shutdown module 107; one end of the controller 106 is coupled to the key detection circuit 104, and the other end of the controller 106 is coupled to the software shutdown module 107, and is configured to acquire the key state of the key detection circuit 104 and output a fourth control signal to the software shutdown module 107 according to the key state of the key detection circuit 104; the software shutdown module 107 is further coupled to the power-on and hold circuit 103 and configured to implement software shutdown according to the fourth control signal. The controller 106 is coupled to the fifth node SW-DET of the key detection module 105.
In this embodiment of the present invention, the controller 106 is configured to detect a fourth control signal output by the key detection circuit, so as to determine whether software shutdown is required. As an example, when the fourth control signal output by the controller 106 is at a high level, the software shutdown module 107 implements software shutdown; when the signal output by the controller 106 is low, the software shutdown module does not act. When the fourth control signal obtained by the software shutdown module 107 is at a high level, a low level signal is sent to the startup and maintenance module, so that the startup and maintenance module is disconnected from the power supply module, and the circuit is powered off.
In the embodiment of the present invention, the controller 106 is coupled to the fifth node SW-DET of the key detection module 105. When detecting that the fifth node SW-DET is low, the fourth control signal sent by the controller to the software shutdown circuit is low. When detecting that the fifth node SW-DET is high, the fourth control signal sent by the controller to the software shutdown circuit is high.
Optionally, referring to fig. 6, the hardware shutdown circuit includes a third control signal input terminal V3, a sixth resistor R401, a seventh resistor R402, a second triode Q401, an eighth resistor R403, a sixth node, a second capacitor C401, a ninth resistor R404, a first thyristor Q402, and a shutdown signal output terminal Power Off; one end of the third control signal input terminal V3 is coupled to the third control signal output terminal S3, and the other end is coupled to the base of the second transistor Q401 and one end of the seventh resistor R402 through the sixth resistor R401, respectively; the other end of the seventh resistor R402 is coupled with a power interface of the controller; an emitter of the triode Q401 is coupled with a power interface of the controller, and a collector of the triode Q401 is coupled with the eighth resistor; the other end of the eighth resistor R403 is coupled to a sixth node J6; the sixth node J6 is further coupled to the second capacitor C401, the ninth resistor R404, and the gate of the first thyristor, respectively; the other ends of the second capacitor and the ninth resistor are grounded; the cathode of the first thyristor Q402 is grounded, and the anode is coupled to the first Power Off 1.
In the embodiment of the present invention, the hardware shutdown circuit includes a delay circuit and a shutdown circuit, wherein the eighth resistor R403 and the second capacitor C401 form the delay circuit. The delay time of the delay circuit can be adjusted by adjusting the values of the resistor R403 and the capacitor C401. When the key SW101 in the key module 102 is pressed for a long time, the third control signal input terminal V3 of the detection signal terminal is pulled down, the second triode Q401 is turned on, the capacitor C401 is charged through the resistor R403 of the delay circuit, and when the capacitor voltage reaches the turn-on voltage of the first thyristor Q402, the thyristor is turned on, and the Power _ Off1 signal is pulled down, thereby realizing the forced shutdown of hardware. The thyristor can be a triode or an MOS tube, has the same effect, and is used for pulling down the Power _ Off1 signal, thereby realizing the forced shutdown of hardware.
Optionally, referring to fig. 7, the software shutdown module includes a fourth control signal input Soft-SW, a twelfth resistor R301, a thirteenth resistor R302, a third transistor Q301, and a second shutdown signal output Power _ Off 2; one end of the fourth control signal input end Soft-SW is coupled to the controller, the other end of the fourth control signal input end Soft-SW is coupled to the twelfth resistor R301, the other end of the twelfth resistor R301 is coupled to the thirteenth resistor R302 and the base of the third triode Q301, the emitter of the third triode Q301 is grounded, and the collector of the third triode Q301 is coupled to the second Power-Off signal output end Power _ Off 2.
In the embodiment of the present invention, the software shutdown module is normally in an open-circuit state of the collector of the third triode Q301. When software shutdown is needed, the controller end sends a software shutdown signal, the Soft _ SW signal is at a high level, so that the third triode Q301 is switched on, and the emitter of the third triode Q301 is grounded, so that the collector of the third triode Q301 is pulled down, and the Power _ Off2 signal at the second shutdown signal output end is pulled down.
Referring to fig. 3, the power-on and sustain circuit further includes a seventh node J7, a sixth diode D202, and a tenth resistor R205; the tenth resistor has one end coupled to the third node V-HOLD and the other end grounded. The first voltage division unit comprises an eleventh resistor R203, a third capacitor C201 and a twelfth resistor R204; the eleventh resistor R203 has one end coupled to the first control signal input terminal V1 and the other end coupled to the seventh node J7, the third capacitor C201 has one end coupled to the seventh node J7 and the other end coupled to ground, and the twelfth resistor R204 has one end coupled to the seventh node J7 and the other end coupled to ground; the gate of the first MOS transistor Q202 is coupled to the seventh node J7; the seventh node J7 and the anode of the sixth diode D202, the cathode of the sixth diode D202 being coupled to the first Power-off1 or first Power-off 2;
in the embodiment of the present invention, the second Power-Off signal output terminal Power _ Off1 or the second Power-Off signal output terminal Power _ Off2 is coupled to the Power-Off signal input terminal Power-Off. Since the first Power-Off1 or the second Power-Off2 is at a low level, the Power-Off signal input terminal Power _ Off is at a low level, and is coupled to the gate of the first MOS transistor Q202 through the sixth diode D202, so as to pull down the gate of the first MOS transistor Q202, which causes the first MOS transistor Q202 to be turned Off, the gate of the second MOS transistor Q201 is at a high voltage under the action of the third resistor R201, so that the second MOS transistor Q201 is turned Off, the third node V _ HOLD is changed to a low level under the action of the tenth resistor R205, so as to turn Off the Power maintaining circuit, and Power Off the circuit.
As a specific example, when the power is turned off, the gate terminal of the first MOS transistor Q202 is pulled low, so as to ensure that the first MOS transistor Q202 and the second MOS transistor Q201 are turned off, the third node V _ HOLD terminal is pulled down to a low level through the tenth resistor R205, and the power maintaining circuit is turned off, so as to ensure that the VCC _ SYS terminal is still powered, thereby achieving system shutdown, preventing power jitter, and avoiding illegal power-on restart.
In the embodiment of the invention, the embodiment of the invention discloses a hardware on-off circuit, which sends a first control signal to a starting and maintaining circuit according to the state of a key in a key module, the starting and maintaining circuit realizes hardware starting based on the first control signal and can maintain continuous conduction of a power supply after the hardware is started, the circuit can realize the continuous conduction of the power supply after the hardware is started by using the hardware starting and maintaining circuit, and the problem that the circuit cannot be completely turned off due to the fact that other modules obtain the circuit to maintain the continuous conduction of the power supply is avoided. The key module can send a second control signal to the key detection module by using the state of the key, the key detection module outputs a third control signal to the hardware shutdown module based on the second control signal, and the hardware shutdown module can realize hardware shutdown by using the third control signal. The embodiment of the invention has simple circuit, and can realize stable shutdown only by using the keys in the key module.
The invention also discloses electronic equipment which comprises the hardware switching circuit.
The embodiments in the present specification 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.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The electrostatic discharge circuit, the display panel, the display device and the electrostatic discharge method provided by the invention are described in detail, and a specific example is applied in the description to explain the principle and the implementation of the invention, and the description of the embodiment is only used to help understanding the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (8)
1. A hardware startup and shutdown circuit is characterized by comprising a power supply module, a key module, a startup and maintenance module, a key detection module and a hardware shutdown module;
the power module is coupled with the key module and the starting and maintaining module and is configured to supply power to the key module and the starting and maintaining module;
the key module is coupled with the starting and maintaining module and the key detection module and is configured to send a first control signal to the starting and maintaining module and a second control signal to the key detection module according to a key state;
the starting and maintaining module is configured to realize hardware starting and maintain continuous conduction of a power supply based on the first control signal;
the key detection module is further coupled with the hardware shutdown module and configured to output a third control signal to the hardware shutdown module based on the second control signal;
the hardware shutdown module is configured to implement hardware shutdown according to the third control signal;
the key module comprises a first power supply connecting end, a key, a first diode, a first node, a first resistor, a second diode and a first control signal output end;
one end of the first power supply connecting end is coupled with the power supply module, and the other end of the first power supply connecting end is coupled with the key;
the other end of the key is coupled with the anode of the first diode, and the cathode of the first diode is coupled with the first end of the first node;
the second end of the first node is grounded through the first resistor;
a third end of the first node is coupled with an anode of the second diode, and a cathode of the second diode is coupled with the first control signal output end;
the first control signal output end is also coupled with the starting and maintaining module;
the starting and maintaining module comprises a first control signal input end, a second node, a first voltage division unit, a first MOS (metal oxide semiconductor) tube, a second resistor, a third resistor, a second MOS tube, a third node, a third diode, a power output end, a first capacitor and a fourth diode;
one end of the first control signal input end is coupled with the first control signal output end, and the other end of the first control signal input end is coupled with the first end of the second node;
the second end of the second node is coupled with the grid electrode of the first MOS tube through the first voltage division unit;
the source electrode of the first MOS tube is grounded, and the drain electrode of the first MOS tube is coupled with the grid electrode of the second MOS tube and the third resistor through the second resistor; the other end of the third resistor is coupled with the power supply module;
the source electrode of the second MOS tube is coupled with the power supply module, and the drain electrode of the second MOS tube is coupled with the first end of the third node;
a second end of the third node is coupled to an anode of the third diode, and a cathode of the third diode is coupled to the power supply output end;
one end of the first capacitor is coupled with the power supply output end, and the other end of the first capacitor is grounded;
the third end of the third node is connected with the anode of a fourth diode, and the cathode of the fourth diode is coupled with the second node.
2. The circuit of claim 1, wherein the key detection module comprises a second control signal input terminal, a second voltage division unit, a first triode, a fourth node, a fifth diode and a fifth node;
one end of the second control signal input end is coupled with the first node of the key module, the other end of the second control signal input end is coupled with the base electrode of the first triode through the second voltage division unit, the emitting electrode of the first triode is grounded, and the collector electrode of the first triode is coupled with one end of the fourth node;
the other end of the fourth node is coupled with the cathode of the fifth diode;
an anode of the fifth diode is coupled to a fifth node, and the other end of the fifth node is coupled to the third control signal output terminal.
3. The circuit of claim 2, further comprising a controller and a software shutdown module;
one end of the controller is coupled with the key detection circuit, the other end of the controller is coupled with the software shutdown module, the controller is configured to acquire the key state of the key detection circuit, and output a fourth control signal to the software shutdown module according to the key state of the key detection circuit;
the software shutdown module is further coupled to the power-on and maintenance circuit and configured to implement software shutdown according to the fourth control signal.
4. The circuit of claim 3, wherein the key detection circuit further comprises a fourth resistor, a fifth resistor, a first connection terminal, and a second connection terminal;
one end of the fourth resistor is coupled to the fourth node, the other end of the fourth resistor is coupled to the first connection end, and the other end of the first connection end is coupled to the power supply output end;
one end of the fifth resistor is coupled to the fifth node, the other end of the fifth resistor is coupled to the second connection terminal, and the other end of the second connection terminal is coupled to the power interface of the controller;
the controller is coupled to a fifth node of the key detection module.
5. The circuit of claim 3, wherein the hardware shutdown circuit comprises a third control signal input, a sixth resistor, a seventh resistor, a second triode, an eighth resistor, a sixth node, a second capacitor, a ninth resistor, a first thyristor, and a first shutdown signal output;
one end of the third control signal input end is coupled with the third control signal output end, and the other end of the third control signal input end is respectively coupled with a base electrode of the second triode and one end of the seventh resistor through a sixth resistor;
the other end of the seventh resistor is coupled with a power interface of the controller;
an emitter of the second triode is coupled with a power interface of the controller, and a collector of the second triode is coupled with the eighth resistor;
the other end of the eighth resistor is coupled with a sixth node;
the sixth node is further coupled to a second capacitor, a ninth resistor and a gate of the first thyristor, respectively; the other ends of the second capacitor and the ninth resistor are grounded;
the cathode of the first thyristor is grounded, and the anode of the first thyristor is coupled with the first shutdown signal output end.
6. The circuit of claim 3, wherein the software shutdown module comprises a fourth control signal input, a twelfth resistor, a thirteenth resistor, a third triode, and a second shutdown signal output;
one end of the fourth control signal input end is coupled with the controller, the other end of the fourth control signal input end is coupled with the twelfth resistor, the other end of the twelfth resistor is coupled with the thirteenth resistor and the base electrode of the third triode respectively, the emitting electrode of the third triode is grounded, and the collecting electrode of the third triode is coupled with the second shutdown signal output end.
7. The circuit of claim 5 or 6, wherein the power-on and sustain circuit further comprises a seventh node, a sixth diode and a tenth resistor, and the first voltage divider unit comprises an eleventh resistor, a third capacitor and a twelfth resistor;
one end of the tenth resistor is coupled with the third node, and the other end of the tenth resistor is grounded;
one end of the eleventh resistor is coupled to the first control signal input end, the other end of the eleventh resistor is coupled to the seventh node, one end of the third capacitor is coupled to the seventh node, the other end of the third capacitor is grounded, one end of the twelfth resistor is coupled to the seventh node, and the other end of the twelfth resistor is grounded;
the grid electrode of the first MOS tube is coupled with the seventh node; the seventh node is coupled to the anode of the sixth diode, and the cathode of the sixth diode is coupled to the first shutdown signal output terminal or the second shutdown signal output terminal.
8. An electronic device, characterized in that the electronic device comprises a switching circuit according to any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911047293.8A CN110806792B (en) | 2019-10-30 | 2019-10-30 | Hardware on-off circuit and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911047293.8A CN110806792B (en) | 2019-10-30 | 2019-10-30 | Hardware on-off circuit and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110806792A CN110806792A (en) | 2020-02-18 |
CN110806792B true CN110806792B (en) | 2021-02-02 |
Family
ID=69489715
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911047293.8A Active CN110806792B (en) | 2019-10-30 | 2019-10-30 | Hardware on-off circuit and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110806792B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113890123B (en) * | 2020-06-16 | 2024-07-23 | 北京锐星远畅科技有限公司 | Startup and shutdown circuit system and vibration data acquisition device |
CN112596448B (en) * | 2020-12-24 | 2021-10-12 | 上海移远通信技术股份有限公司 | Control circuit and electronic device |
CN115118151B (en) * | 2022-07-19 | 2024-02-06 | 西安军陶科技有限公司 | Soft and hard double-control circuit and power supply starting control method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104901664A (en) * | 2015-06-01 | 2015-09-09 | 深圳市安保科技有限公司 | Software and hardware combination power-on/off circuit and power-on/off method |
CN108008803A (en) * | 2018-01-30 | 2018-05-08 | 广东星创众谱仪器有限公司 | A kind of software and hardware on/off circuit and its method of work |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103869722B (en) * | 2014-04-08 | 2017-01-04 | 广东宝莱特医用科技股份有限公司 | A kind of controlling hard switch machine system |
CN103973287B (en) * | 2014-05-21 | 2017-01-04 | 华为技术有限公司 | On/off circuit |
WO2017020269A1 (en) * | 2015-08-05 | 2017-02-09 | Abb Schweiz Ag | Bidirectional power valve and control method therefor and hybrid multi-terminal hvdc system using the same |
CN106933321B (en) * | 2017-01-20 | 2020-07-10 | 惠州Tcl移动通信有限公司 | Electronic equipment and starting method thereof |
CN106959726B (en) * | 2017-04-21 | 2019-01-11 | 深圳市瀚索科技开发有限公司 | A kind of on/off circuit based on touch-switch |
CN209134375U (en) * | 2019-01-03 | 2019-07-19 | 歌尔科技有限公司 | A kind of reset circuit for opening/closing |
CN209486612U (en) * | 2019-02-15 | 2019-10-11 | 西安富立叶微电子有限责任公司 | Switching on and shutting down control circuit applied to handheld terminal |
-
2019
- 2019-10-30 CN CN201911047293.8A patent/CN110806792B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104901664A (en) * | 2015-06-01 | 2015-09-09 | 深圳市安保科技有限公司 | Software and hardware combination power-on/off circuit and power-on/off method |
CN108008803A (en) * | 2018-01-30 | 2018-05-08 | 广东星创众谱仪器有限公司 | A kind of software and hardware on/off circuit and its method of work |
Also Published As
Publication number | Publication date |
---|---|
CN110806792A (en) | 2020-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110806792B (en) | Hardware on-off circuit and electronic equipment | |
US20200212672A1 (en) | Protection Circuit | |
CN102129268A (en) | Time sequence control circuit | |
US20140085756A1 (en) | Protection circuit and electronic device using the same | |
CN112925246B (en) | Starting-up control circuit and related device thereof | |
CN106933321B (en) | Electronic equipment and starting method thereof | |
CN113036900B (en) | Display screen power supply circuit and electronic equipment | |
CN107948555B (en) | Switch control circuit and television | |
CN109412395B (en) | Power supply starting adjusting circuit and power supply circuit | |
US20240144869A1 (en) | Power Supply Circuit, Driving Apparatus, and Display Apparatus | |
CN105610425B (en) | Power-on protective circuit | |
CN112133238B (en) | Drive circuit and electronic device | |
CN108900081A (en) | A kind of circuit of control negative pressure output | |
CN117040510B (en) | Power supply power-on and power-off detection reset circuit, chip and electronic equipment | |
CN104300946A (en) | Quick power-down module of low-voltage equipment | |
CN105991295B (en) | U interface remote supply feed circuit | |
CN218633695U (en) | Power-on slow start circuit, chip and laser radar | |
CN207301964U (en) | A kind of automatic boot circuit and electronic equipment | |
CN207625280U (en) | Power supply voltage protection circuit and electronic equipment | |
CN107425599B (en) | Surge protection circuit for power supply compensator | |
CN216310562U (en) | Control circuit for motor sudden stop | |
CN116054573A (en) | Protection circuit of booster circuit, booster device and electronic equipment | |
CN115940110A (en) | Voltage selection circuit, voltage selection system and electronic device | |
CN210927592U (en) | Startup and shutdown circuit | |
CN105320005B (en) | Alarm clock circuitry and stereo set |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |