CN217467616U - Power supply control circuit and electronic device - Google Patents
Power supply control circuit and electronic device Download PDFInfo
- Publication number
- CN217467616U CN217467616U CN202221247907.4U CN202221247907U CN217467616U CN 217467616 U CN217467616 U CN 217467616U CN 202221247907 U CN202221247907 U CN 202221247907U CN 217467616 U CN217467616 U CN 217467616U
- Authority
- CN
- China
- Prior art keywords
- module
- energy storage
- power
- electrically connected
- 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
Links
- 238000004146 energy storage Methods 0.000 claims description 112
- 239000003990 capacitor Substances 0.000 claims description 40
- 238000001514 detection method Methods 0.000 claims description 14
- 238000007599 discharging Methods 0.000 claims description 8
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 8
- 230000004044 response Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000002035 prolonged effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000002459 sustained effect Effects 0.000 description 1
Images
Landscapes
- Power Sources (AREA)
Abstract
The application provides a power control circuit and electronic equipment, the power control circuit includes button module, first control module, second control module and power supply control module. The first control module and the second control module are respectively electrically connected with the key module, and the first control module outputs a first shutdown control signal when the duration of the continuous pressing of the key module reaches t 1. The second control module outputs a second power-off control signal when the key module is continuously pressed for a time period of t2, wherein t1< t 2. And the power supply control module receives and responds to the first shutdown control signal or the second shutdown control signal to stop outputting the working voltage. In the power control circuit provided by the application, when the first control module breaks down, the second control module can still control the electronic equipment to shut down, so that the electronic equipment can be prevented from being shut down due to the failure of the first control module, and the reliability of the electronic equipment can be improved.
Description
Technical Field
The application relates to the technical field of electronic equipment switches, in particular to a power supply control circuit and electronic equipment.
Background
In the existing switching circuits of various electronic devices, in order to avoid losing data during shutdown or misoperation, a software switching circuit is usually provided, that is, a processing unit is used to implement startup and shutdown of the electronic device through software control. However, such a software switching circuit has a disadvantage of low reliability, and if the processing unit is run away or fails, the device cannot be shut down, which may cause inconvenience to the user and even a serious accident.
SUMMERY OF THE UTILITY MODEL
In view of this, the present disclosure is directed to a power control circuit and an electronic device, and aims to solve the problem that the reliability of the conventional power control circuit is not high, and inconvenience may be brought to a user due to a device that cannot be powered off.
In order to achieve the above object, the present application provides a power control circuit, which is applied to an electronic device, and includes a key module, a first control module, a second control module, and a power supply control module. The first control module is electrically connected with the key module, and outputs a first shutdown control signal when the duration of the continuous pressing of the key module reaches a first preset time threshold t 1. The second control module is electrically connected with the key module, and outputs a second shutdown control signal when the duration of the continuous pressing of the key module reaches a second preset time threshold t2, wherein t1< t 2. The power supply control module is electrically connected with the first control module and the second control module respectively, receives and responds to the first shutdown control signal or the second shutdown control signal, and stops outputting the working voltage.
In the power control circuit provided by the application, the first control module and the second control module can control the electronic device to be powered off. When the first control module has a fault (for example, the processing unit runs away or fails), the second control module can still control the electronic device to shut down, so that the reliability of the electronic device can be greatly improved.
The application also provides another power control circuit, which is applied to electronic equipment and comprises a key module, an energy storage unit and a control signal generation unit. The energy storage unit is electrically connected with the power supply module through the key module, the energy storage unit receives the electric energy of the power supply module to charge when the key module is pressed, and the energy storage voltage of the energy storage unit continuously increases along with the prolonging of the duration of the continuous pressing of the key module. The control signal generating unit is respectively electrically connected with the energy storage unit and a power supply control module of the electronic equipment, and outputs a shutdown control signal when the duration of the continuous pressing of the key module reaches a preset time threshold; and the power supply control module receives and responds to the shutdown control signal and stops outputting the working voltage.
The application provides another kind of power control circuit triggers the generation of shutdown control signal through the energy storage voltage of energy storage unit, does not need to rely on processing unit just can realize the shutdown operation to electronic equipment, can avoid electronic equipment to run away and fly and can't shut down because of processing unit.
The application further provides an electronic device, which comprises a power module and the power control circuit, wherein the power module is an energy storage assembly or an external power interface. The power supply module is electrically connected with the power supply control circuit.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device provided in an embodiment of the present application, where the electronic device includes a power control circuit.
Fig. 2 is a schematic diagram of a detailed structure of a power control circuit provided in a first embodiment of the present application, where the power control circuit includes a second control module and a power supply control module.
Fig. 3 is a schematic circuit diagram of the second control module and the power supply control module shown in fig. 2.
Fig. 4 is a schematic diagram of another circuit configuration of the second control module and the power supply control module shown in fig. 2.
Fig. 5 is a schematic diagram of a detailed structure of a power control circuit according to a second embodiment of the present application.
Fig. 6 is a schematic structural diagram of a power control circuit according to a third embodiment of the present application.
Description of the main element symbols:
Power supply control circuits 100, 100'
Power supply control module 40
Switching signal generating module 41
Switch module 42
Control signal generation units 305, 305'
Switching element U1
First connection end 3052
Second connecting end 3053
First resistor R1
Second resistor R2
Third resistor R3
Fourth resistor R4
Energy storage capacitor C1
One-way conduction element D1
Diodes D2, D3
AND gate circuit U2
Comparator U3
The following detailed description will further illustrate the present application in conjunction with the above-described figures.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without inventive step, are within the scope of the present disclosure.
In the description of the present application, it should be noted that the terms "upper", "lower", "left", "right", and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience in describing the present application and simplifying the description, but do not indicate or imply that the referred devices or elements must have a specific orientation, be configured in a specific orientation, and operate, and thus, should not be construed as limiting the present application. Furthermore, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Referring to fig. 1, the present application provides an electronic device 1000, where the electronic device 1000 includes a power control circuit 100 and a power module 200, the power module 200 is electrically connected to the power control circuit 100, and the power module 200 is configured to supply power to the power control circuit 100 and other functional modules of the electronic device 1000. Illustratively, the electronic device 1000 includes a computer, a mobile phone, a palm computer, a tablet computer, a wearable device, or the like. The power module 200 may be an external power interface, for example, a desktop computer needs to access an external power through the external power interface. The power module 200 may also be an energy storage component of the electronic device 1000, for example, a laptop, a mobile phone, etc. all have a built-in battery.
The power control circuit 100 is used for controlling the electronic device 1000 to be turned on or off. In the embodiment of the present application, the power control circuit 100 includes a key module 10, a first control module 20, and a power control module 40.
The key module 10 is electrically connected to the power module 200, and a user can control the electronic device 1000 to be powered on or powered off by pressing the key module 10.
In this embodiment, the first control module 20 is electrically connected to the key module 10 and the power supply control module 40, respectively, and the first control module 20 outputs a first power-off control signal when a duration of the key module 10 being continuously pressed reaches a first preset time threshold t 1. The power supply control module 40 receives and responds to the first shutdown control signal, and stops outputting the working voltage, so that the electronic device 1000 is shut down.
When the electronic device 1000 is in a power-off state, the first control module 20 further outputs an operation control signal when detecting that the duration of the key module 10 being continuously pressed reaches a third preset time threshold t3, and the power supply control module 40 outputs an operation voltage according to the received operation control signal.
Specifically, referring to fig. 2, the first control module 20 includes a processing unit 21 and a key detecting unit 22 electrically connected to each other. The key detection unit 22 is electrically connected to the key module 10, and the key detection unit 22 is configured to detect a state of the key module 10 and feed a first state signal back to the processing unit 21.
The processing unit 21 is further electrically connected to the power supply control module 40, and the processing unit 21 outputs an operation control signal to the power supply control module 40 when determining that the duration of the key module 10 being continuously pressed reaches t3 according to the first state signal, and outputs the first power-off control signal to the power supply control module 40 when determining that the duration of the key module being continuously pressed reaches t 1. For example, the Processing Unit 21 may be a single chip, a Central Processing Unit (CPU), other general Processing units, a Digital Signal Processing Unit (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, a discrete hardware component, and the like.
Since the first control module 20 outputs the first shutdown control signal through the processing unit 21, when the processing unit 21 fails (e.g., runs away or fails), the electronic device 1000 cannot be controlled to shutdown, so that the electronic device 1000 becomes unreliable.
In order to improve the reliability of the electronic device 1000, in this embodiment of the application, the power control circuit 100 is further provided with a second control module 30, the second control module 30 is electrically connected to the key module 10 and the power control module 40, and the second control module 30 outputs a second power-off control signal when a duration of the key module 10 being continuously pressed reaches a second preset time threshold t 2. The power supply control module 40 also receives and responds to the second shutdown control signal, and stops outputting the working voltage, so that the electronic device 1000 is shut down.
In the first embodiment, t1< t2, so that after the first control module 20 fails, the electronic device can be controlled to shut down by the second control module 30, thereby ensuring the reliability of the electronic device 1000.
In the second embodiment, t1 ≦ t 2. It is understood that, in the case that t1 is t2, the first control module 20 and the second control module 30 may simultaneously respond to the pressing operation of the key module 10 and simultaneously output a corresponding shutdown control signal. In this way, if any one of the first control module 20 and the second control module 30 fails, the other one can control the electronic device 1000 to shut down, so that the reliability of the electronic device 1000 can be ensured. In the case of t1< t2, the electronic device may be controlled to be shut down by the second control module 30 after the first control module 20 fails, so that the reliability of the electronic device 1000 may be ensured.
The following describes the technical solution of the first embodiment with reference to fig. 2.
As shown in fig. 2, in the first embodiment, the second control module 30 includes an energy storage unit 301 and a control signal generating unit 305. The energy storage unit 301 is electrically connected to the key module 10. In the first embodiment, the key module 10 is in a conducting state when being pressed, so that the energy storage unit 301 receives the electric energy of the power module 200 through the conducting key module 10 to be charged, and the energy storage voltage of the energy storage unit 301 continuously increases along with the duration of the key module 10 being pressed continuously.
The control signal generating unit 305 is electrically connected to the energy storage unit 301 and the power supply control module 40, respectively, and the control signal generating unit 305 outputs an initial signal or the second shutdown control signal to the power supply control module 40 based on the energy storage voltage of the energy storage unit 301. Specifically, when the duration of the key module 10 being pressed continuously does not reach the second preset time threshold t2, the control signal generating unit 305 outputs the initial signal. In this embodiment, when the electronic device 1000 is in the working state and the key module 10 is not pressed, the control signal generating unit 305 also outputs the initial signal. When the duration of the key module 10 being continuously pressed reaches the second preset time threshold t2, the energy storage voltage of the energy storage unit 301 reaches a preset voltage threshold, and the control signal generating unit 305 outputs the second shutdown control signal.
Further, the power supply control module 40 includes a switching signal generating module 41 and a switching module 42 electrically connected to each other, the switching signal generating module 41 is electrically connected to the first control module 20 and the second control module 30, respectively, and the switching signal generating module 41 outputs a conducting signal to control the switching module 42 to output an operating voltage when receiving the operating control signal and the initial signal at the same time. The switching signal generating module 41 receives and responds to the first shutdown control signal or the second shutdown control signal, and outputs a turn-off signal to control the switching module 42 to stop outputting the working voltage. It can be understood that, if t2 is not less than t3, the second control module 30 starts outputting the second power-off control signal when the duration of the key module 10 being continuously pressed reaches t2, and therefore, when the duration of the key module 10 being continuously pressed reaches t3, the switch signal generating module 41 cannot output the turn-on signal, and thus, the normal power-on problem occurs. To avoid the problem of abnormal power-on, in the embodiment of the present application, t3< t 2.
The switch module 42 is configured to receive and respond to the conducting signal to conduct, and output an operating voltage to operate the electronic device 1000. The switch module 42 is further configured to receive and respond to the turn-off signal to turn off, and stop outputting the operating voltage to shut down the electronic device 1000. Illustratively, the switch module 42 includes a control terminal, a first connection terminal (not shown) and a second connection terminal (not shown), and the control terminal is electrically connected to the power supply control module 40 to receive the turn-off signal or the turn-on signal. The first connection end is electrically connected to the power module 200, and the second connection end is electrically connected to a rear system (including other various functional modules) of the electronic device 1000. When the switch module 42 receives the conducting signal, it is conducted, so as to conduct the electrical connection between the power module 200 and the rear-stage system, i.e. output the working voltage to the rear-stage system. When the switch module 42 receives the disconnection signal, it is disconnected, so that the power supply module 200 is electrically disconnected from the rear stage system, i.e., the output of the operating voltage to the rear stage system is stopped.
In the electronic device 1000 provided in this embodiment, both the first control module 20 and the second control module 30 may control the electronic device 1000 to be powered off. When the first control module 20 fails (e.g., the processing unit runs away or fails), the second control module 30 may still control the electronic device to shut down, so that the reliability of the electronic device 1000 may be greatly improved. In addition, the energy storage voltage of the energy storage unit 301 of the second control module 30 has a positive correlation with the duration that the key module 10 is continuously pressed, and when the duration that the key module is continuously pressed reaches t2, the energy storage voltage of the energy storage unit 301 reaches the preset voltage threshold. In this way, the generation of the turn-off signal may be triggered by the energy storage voltage of the energy storage unit 301, so that the shutdown operation of the electronic device 1000 by the user may not depend on the processing unit, and the reliability of the electronic device 1000 may be further improved.
Fig. 3 is a schematic diagram of a circuit structure of the second control module 30 and the power supply control module 40 of the electronic device 1000 in the embodiment shown in fig. 2, and the circuit structure and the operation principle of the electronic device 1000 will be described in detail below with reference to fig. 2 and 3.
As shown in fig. 3, in the embodiment of the present application, the energy storage unit 301 includes an energy storage capacitor C1 and a first resistor R1. Specifically, the energy storage capacitor C1 includes a first terminal and a second terminal, the first terminal of the energy storage capacitor C1 is electrically connected to the control signal generating unit 305, and the second terminal of the energy storage capacitor C1 is grounded.
The first resistor R1 is electrically connected between the first end of the energy storage capacitor C1 and the key module 10, when the key module 10 is pressed, the energy storage capacitor C1 is charged by the first resistor R1 and the turned-on key module 10 receiving the power of the power module 200, the energy storage voltage of the energy storage capacitor C1 continuously rises from a preset initial value (e.g., 0V) during the time period that the key module 10 is continuously pressed, and the energy storage voltage of the energy storage capacitor C1 reaches the preset voltage threshold when the time period that the key module 10 is continuously pressed reaches the second preset time threshold t 2. It can be understood that, in order to enable the energy storage voltage of the energy storage capacitor C1 to reach the preset voltage threshold when the duration that the key module 10 is continuously pressed reaches the second preset time threshold t2, the resistance value of the first resistor R1 and the capacitance value of the energy storage capacitor C1 may be determined according to the charging characteristic of the energy storage capacitor C1, for example, the corresponding design may be performed according to the voltage equation when the energy storage capacitor C1 is charged, and specifically, the following formula may be determined:
wherein VSYS is a voltage value, V, provided by the power module 200 IINT Is the preset voltage threshold, R 1 Is the resistance value, C, of the first resistor R1 1 Is the capacitance value of the energy storage capacitor C1.
In this embodiment, the second control module 30 further includes a discharging unit 304 electrically connected to the energy storage unit 301, and the energy storage unit 301 discharges electricity through the discharging unit 304 when not receiving the electric energy of the power module 200.
Specifically, the discharge unit 304 includes a unidirectional conducting element D1 and a second resistor R2 connected in series between a first end of the energy storage capacitor C1 and a ground terminal.
The first end of the unidirectional conducting element D1 is electrically connected to the first end of the energy storage capacitor C1, the second end of the unidirectional conducting element D1 is electrically connected to the second resistor R2, and the unidirectional conducting element D1 is turned on when the voltage at the first end is higher than the voltage at the second end. Preferably, the unidirectional conducting element D1 is a diode with low leakage current and low forward voltage drop, and an anode and a cathode of the diode are in one-to-one correspondence with the first end and the second end of the unidirectional conducting element D1. It can be understood that the smaller the resistance value of the second resistor R2, the larger the discharge current output by the energy storage capacitor C1, and the faster the discharge rate. Therefore, in the embodiment of the present application, the second resistor R2 is a resistor with a resistance value much smaller than that of the first resistor R1, so that the energy storage capacitor C1 outputs a larger discharge current. For example, the second resistor R2 is a kilo-ohm resistor, and the first resistor R1 is a mega-ohm resistor.
In the embodiment of the present application, the connection node between the one-way conducting element D1 and the second resistor R2 is electrically connected to the connection node between the first resistor R1 and the key module 10, when the key module 10 is pressed, the one-way conducting element D1 is in an off state because the voltage at the second end of the one-way conducting element D1 is higher than the voltage at the first end of the one-way conducting element D1, and the energy storage capacitor C1 cannot discharge through the one-way conducting element D1, so the discharging unit 304 does not affect the charging characteristic of the energy storage capacitor C1.
When the energy storage unit 301 does not receive the power of the power module 200, the energy storage voltage of the energy storage capacitor C1 can be quickly reset to 0V by discharging through the discharging loop formed by the unidirectional conducting element D1, the second resistor R2 and the ground terminal.
It should be noted that, because the energy storage capacitor C1 has a charge storage function, after the key module 10 is pressed each time, the voltage of the energy storage capacitor C1 rises and is kept for a certain period of time, if the user intermittently presses the key module 10 and the total time of multiple presses reaches the second preset time threshold t2, the voltage of the energy storage unit 301 also reaches the preset voltage threshold, and thus, the electronic device 1000 is shut down due to misoperation. In the power control circuit 100 provided in the embodiment of the present application, by setting the discharging unit 304 in the second control module 30, the voltage of the energy storage capacitor C1 is quickly reset to 0V through the discharging unit 304 when the electric energy of the power module 200 is not received, so that it is possible to avoid that the electronic device 1000 is turned off due to intermittently pressing the key module 10.
In one embodiment, as shown in fig. 3, the control signal generating unit 305 includes a switching element U1, the switching element U1 includes a control terminal 3051, a first connection terminal 3052 and a second connection terminal 3053, the first connection terminal 3052 is electrically connected to the switching signal generating module 41, the second connection terminal 3053 is electrically connected to the reference voltage terminal, and the control terminal 3051 is electrically connected to the first terminal of the energy storage capacitor C1. Illustratively, the switching element U1 is a voltage reference chip TL 432. The reference terminal, the cathode and the anode of the voltage reference chip TL432 correspond to the control terminal 3051, the first connection terminal 3052 and the second connection terminal 3053 of the switching element U1 one to one. The voltage reference chip TL432 is turned on when the voltage of the reference terminal thereof reaches a preset turn-on threshold voltage, wherein the preset voltage threshold is equal to the turn-on threshold voltage value of the switching element U1. Of course, in other embodiments, the switching element U1 may also include a transistor or a MOS transistor, which is not limited herein.
In this embodiment, the first connection terminal 3052 of the switching element U1 is also electrically connected to the power module 200 through a third resistor R3. Wherein, the voltage value output by the power module 200 is higher than the voltage value of the reference voltage terminal. In this embodiment, the reference voltage terminal is a ground terminal.
When the energy storage voltage of the energy storage capacitor C1 does not reach the preset voltage threshold, the switching element U1 is turned off, and the first connection terminal 3052 is electrically connected to the power module 200 through the third resistor R3 and is in a high level state, at which time, it can be understood that the switching element U1 outputs the initial signal at the first connection terminal 3052 thereof.
When the energy storage voltage of the energy storage capacitor C1 reaches the preset voltage threshold, the switching element U1 is turned on, so that the first connection terminal 3052 is connected to the reference voltage terminal and is in a low level state, and at this time, it can be understood that the switching element U1 outputs the second shutdown control signal at the first connection terminal 3052 thereof.
It should be noted that, in the embodiment of the present application, the switch element U1 is a high-level conducting switch, but the present application is not limited thereto, and in another embodiment, the switch element U1 may also be a low-level conducting switch, and accordingly, in this another embodiment, the control signal generating unit 305 may further include an inverter connected in series between the first connection terminal 3052 and the switch signal generating module 41. In this way, in operation, when the key module 10 is not pressed, or the duration of the key module 10 being pressed continuously does not reach the second preset time threshold t2, the switch element U1 is turned on, the first connection terminal 3052 is connected to the reference voltage terminal to output a low level signal, and the inverter inverts the low level signal and outputs the initial signal to the switch signal generating module 41. When the duration of the key module 10 being continuously pressed reaches the second preset time threshold t2, the switch element U1 is turned off, the first connection terminal 3052 is electrically connected to the power module 200 through the third resistor R3 to output a high level signal, and the inverter inverts the high level signal and outputs the second shutdown control signal to the switch signal generating module 41.
Further, the second control module 30 further includes diodes D2, D3, and a fourth resistor R4. Specifically, the fourth resistor R4 is electrically connected between the first connection terminal 3052 and the ground terminal. When the switching element U1 is turned off, the third resistor R3 and the fourth resistor R4 form a voltage dividing circuit, and divide the voltage provided by the power module 200 to obtain the initial signal, so that the switching signal generating module 41 can be protected. The anode of the diode D2 is electrically connected to the first connection 3052 of the switching element U1, the cathode of the diode D2 is electrically connected to the anode of the diode D3, and the cathode of the diode D3 is electrically connected to the first connection 3052. It should be noted that, because the switching element U1 has impedance, when the switching element U1 is turned on, the voltage of the first connection terminal 3052 of the switching element U1 is higher than 0V, and the diodes D2 and D3 are used for reducing the voltage of the first connection terminal 3052 of the switching element U1, so that the voltage of the first shutdown control signal output by the first connection terminal 3052 is sufficiently low to meet the requirement of triggering the switching signal generation module 41 to generate the shutdown signal, and the operational reliability of the second control module 30 can be improved.
The switching signal generating module 41 receives and responds to the first shutdown control signal, and outputs a turn-off signal, so that the switching module 42 turns off and stops outputting the working voltage, and thus, the first control module 20 may implement a shutdown function.
The switching signal generating module 41 may further receive and respond to the second shutdown control signal, and output a turn-off signal, so that the switching module 42 turns off and stops outputting the working voltage, and thus, the second control module 30 may also implement a shutdown function.
Illustratively, the switching signal generating module 41 includes an and gate U2, an input terminal a of the and gate U2 is electrically connected to the key detecting unit 22 of the first control module 20, and an input terminal B of the and gate U2 is electrically connected to the first connection terminal 3052. In this embodiment, the first shutdown control signal and the second shutdown control signal are both low-level signals, and the working control signal and the initial signal are both high-level signals. The turn-off signal is a low level signal and the turn-on signal is a high level signal.
When the electronic device 1000 is in the power-off state, if the user does not press the key module 10, the processing unit 21 does not operate, so that the electric quantity can be saved, and the endurance time of the electronic device 1000 can be prolonged. If the user presses the key module 10, at the beginning of the pressing, the voltage of the energy storage capacitor C1 is 0V, the switch element U1 is turned off, the first connection terminal 3052 is connected to the power module 200 through the third resistor R3 and is in a high level state, so that a high level signal, i.e., the initial signal, is output to the input terminal B of the and circuit U2. The input end a of the and circuit U2 is in a high level state when receiving the voltage provided by the power module 200 through the key detection unit 22 and the key module 10 that is turned on, so that the and circuit U2 outputs a high level signal, that is, the on signal, to turn on the switch module 42, and after the switch module 42 is turned on, the rear-stage system of the electronic device 1000 can receive the power supply of the power module 200 to power on and supply power to the processing unit 21, so as to start the processing unit 21 to operate. When the processing unit 21 detects that the duration of the continuous pressing of the key module 10 reaches the third preset time threshold t3 through the key detection unit 22, the processing unit 21 continuously outputs the operation control signal to the input terminal a of the and circuit U2. In addition, since t3< t2, the voltage of the energy storage capacitor C1 cannot reach the preset voltage threshold from the time of pressing start to the time when the duration of pressing reaches the third preset time threshold t3, so that the first connection 3052 continuously outputs the initial signal to the input B of the and circuit U2. When receiving the working control signal and the initial signal at the same time, the and gate circuit U2 continuously outputs the conducting signal to control the switch module 42 to be continuously conducted, so that the power module 200 continuously supplies power to the rear-stage system of the electronic device 1000, thereby implementing the power-on function.
When the electronic device 1000 is in a power-on state, if the user presses the key module 10, when the processing unit 21 detects, through the key detection unit 22, that the duration of the continuous pressing of the key module 10 reaches the first preset duration t1, the processing unit 21 outputs the first power-off control signal to the input end a of the and circuit U2, and the and circuit U2 outputs the disconnection signal in response to the first power-off control signal to control the switch module 42 to be disconnected, so that the power module 200 stops supplying power to the rear-stage system of the electronic device 1000, and thus the first control module 20 implements a power-off function.
If the processing unit 21 runs away or fails, the first control module 20 cannot control the electronic device 1000 to shut down even if the duration of the sustained pressing reaches the first preset duration t 1. In the process that the user presses the key module 10, since the energy storage capacitor C1 receives the electric energy of the power module 200 through the key module 10 to charge when the key module 10 is pressed, when the duration that the key module 10 is continuously pressed reaches the second preset duration t2, the voltage of the energy storage capacitor C1 reaches the preset voltage threshold, so that the switch element U1 is turned on, and the first connection terminal 3052 outputs the second shutdown control signal to the input terminal B of the and circuit U2. The and circuit U2 outputs the turn-off signal in response to the second shutdown control signal, and controls the switch module 42 to turn off, so that the power module 200 stops supplying power to the rear-stage system of the electronic device 1000, and thus, the second control module 30 implements a forced shutdown function.
Referring to fig. 4, fig. 4 is a schematic circuit structure diagram of the second control module 30 and the power supply control module 40 of the electronic device 1000 in the embodiment shown in fig. 2. The second control module 30 shown in fig. 4 is similar to the second control module 30 shown in fig. 3 in circuit structure, except that: the second control module 30 shown in fig. 4 employs a comparator U3 in place of the switching element U1 included in the second control module 30 shown in fig. 3.
Specifically, a non-inverting input terminal of the comparator U3 is configured to receive a reference voltage signal VREF, an inverting input terminal of the comparator U3 is electrically connected to the first terminal of the energy storage capacitor C1, an output terminal of the comparator U3 is electrically connected to the and circuit U2, and a power supply terminal of the comparator U3 is further configured to receive power of the power module 200. And the voltage value of the reference voltage signal VREF is equal to the preset voltage threshold value. The comparator U3 outputs the initial signal or the second shutdown control signal through its output terminal according to the relationship between the voltage at its non-inverting input terminal and the voltage at its inverting input terminal. Specifically, the comparator U3 outputs the initial signal through its output terminal when the voltage at its non-inverting input terminal is higher than the voltage at its inverting input terminal. The comparator U3 outputs the second shutdown control signal through its output terminal when the voltage at its inverting input terminal is higher than the voltage at its non-inverting input terminal. The working principle of other functional modules has already been described in detail in the above embodiments, and is not described herein again.
In operation, when the key module 10 is not pressed, or the duration of the key module 10 being pressed does not reach the second preset time threshold t2, the energy storage voltage of the energy storage capacitor C1 is lower than the preset voltage threshold, that is, the voltage at the non-inverting input terminal of the comparator U3 is higher than the voltage at the inverting input terminal thereof, so that the comparator U3 outputs the initial signal through the output terminal thereof.
When the duration that the key module 10 is continuously pressed reaches the second preset duration t2, the energy storage voltage of the energy storage capacitor C1 is greater than the preset voltage threshold, the energy storage voltage of the energy storage capacitor C1 is greater than the preset voltage threshold, that is, the voltage at the positive phase input end of the comparator U3 is lower than the voltage at the negative phase input end thereof, so that the comparator U3 outputs the second shutdown control signal through the output end thereof.
The following describes the technical solution of the second embodiment with reference to fig. 5.
As shown in fig. 5, in the second embodiment, the structure of the second control module 30 'is the same as the circuit structure of the first control module 20, and the second control module 30' includes a processing unit 31 and a key detection unit 32 electrically connected to each other. The key detection unit 32 is electrically connected between the key module 10 and the power supply control module 40, and the processing unit 31 is also electrically connected with the power supply control module 40. The key detection unit 32 is configured to detect a state of the key module 10, and feed back a second state signal to the processing unit 31.
The processing unit 31 outputs an operation control signal to the power control module 40 when determining that the duration of the key module 10 being continuously pressed reaches t3 according to the second state signal, and outputs the second power-off control signal to the power control module 40 when determining that the duration of the key module being continuously pressed reaches t 2.
In some embodiments, the first control module 20 and the second control module 30 'may share one key detection unit 22, and the key detection unit 22 feeds back the state of the key module 10 to the first control module 20 and the second control module 30' at the same time. Thus, the circuit structure can be simplified and the cost can be reduced.
The switching signal generating module 41 receives and responds to the first shutdown control signal or the second shutdown control signal, and outputs a turn-off signal to the switching module 42, so as to control the switching module 42 to stop outputting the working voltage. It should be noted that, in this embodiment, the switching signal generating module 41 may adopt an and circuit U2, and when receiving the operation control signals output by the processing unit 21 and the processing unit 31 at the same time, the switching signal generating module 41 outputs the on signal to the switching module 42 to control the switching module 42 to output the operation voltage. In another embodiment, the switching signal generating module 41 may also adopt other circuit structures, for example, a processing unit. In the another embodiment, when receiving the operation control signal output by the processing unit 21 or the processing unit 31, the switching signal generating module 41 outputs the conducting signal to the switching module 42, and controls the switching module 42 to output the operation voltage.
Wherein, in one embodiment, t1< t 2. If the processing unit 21 in the first control module 20 runs away or fails, the first control module 20 cannot control the electronic device 1000 to shut down even if the duration of the continuous pressing reaches the first preset duration t 1. In this case, when the duration of the continuous pressing reaches the first preset duration t2, the second control module 30 'may also control the electronic device 1000 to shut down, so that the second control module 30' may function as a standby function. In another embodiment, t1 ═ t 2. The first control module 20 and the second control module 30 'are in a standby relationship with each other, and if any one of the first control module 20 and the second control module 30' fails to control the shutdown of the electronic device 1000, the other control module can perform a standby function.
Referring to fig. 6, the present application further provides another power control circuit 100', where the power control circuit 100' is applied to an electronic device 1000. The power control circuit 100' includes a key module 10, an energy storage unit 301, and a control signal generating unit 305.
Wherein, the key module 10 is electrically connected to the power module 200. The energy storage unit 301 is electrically connected to the power module 200 through the key module 10, the energy storage unit 301 receives the electric energy of the power module 200 to charge when the key module 10 is pressed, and the energy storage voltage of the energy storage unit 301 continuously increases along with the duration of the key module 10 being pressed continuously.
The control signal generating unit 305 is electrically connected to the energy storage unit 301 and the power supply control module 40 of the electronic device 100', respectively, and the control signal generating unit 305 outputs a shutdown control signal when a duration of the key module 10 being continuously pressed reaches a preset time threshold. When the duration of the key module 10 being continuously pressed reaches the preset time threshold, the energy storage voltage of the energy storage unit 301 reaches the preset voltage threshold, and the control signal generating unit 305 outputs a shutdown control signal. The power supply control module 40 receives and responds to the shutdown control signal to stop outputting the working voltage.
In the power control circuit 100' provided in this embodiment, the energy storage voltage of the energy storage unit 301 is in a positive correlation with the duration that the key module 10 is continuously pressed, and the generation of the off signal is triggered by the voltage of the energy storage unit 301, so that the shutdown operation of the user on the electronic device 1000 does not need to depend on the processing unit, the problem that the electronic device 1000 cannot be shut down due to the processing unit running away can be avoided, and the reliability of the electronic device 1000 can be improved.
While embodiments of the present application have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the application, the scope of which is defined by the claims and their equivalents.
Claims (14)
1. A power control circuit applied to an electronic device, comprising:
the key module is electrically connected with the power module of the electronic equipment;
the first control module is electrically connected with the key module and outputs a first shutdown control signal when the duration of the continuous pressing of the key module reaches a first preset time threshold t 1;
the second control module is electrically connected with the key module and outputs a second shutdown control signal when the duration of the continuous pressing of the key module reaches a second preset time threshold t2, wherein t1 is less than t 2; and
and the power supply control module is electrically connected with the first control module and the second control module respectively, receives and responds to the first shutdown control signal or the second shutdown control signal, and stops outputting the working voltage.
2. The power control circuit of claim 1, wherein the second control module comprises:
the energy storage unit is electrically connected with the power supply module through the key module, receives the electric energy of the power supply module to charge when the key module is pressed, and the energy storage voltage of the energy storage unit continuously increases along with the extension of the continuous pressing time of the key module; and
and the control signal generating unit is electrically connected with the energy storage unit and the power supply control module respectively, and outputs the second shutdown control signal when the duration of the continuous pressing of the key module reaches a second preset time threshold t 2.
3. The power control circuit according to claim 2, wherein when the key module is continuously pressed for a period of time t2, the energy storage voltage of the energy storage unit reaches a preset voltage threshold.
4. The power control circuit according to claim 3, wherein the control signal generating unit comprises a switch element, the switch element comprises a first connection end, a second connection end and a control end, the first connection end is electrically connected with the power supply control module, the second connection end is electrically connected with a reference voltage end, and the control end is electrically connected with the energy storage unit;
and the switching element is conducted when the energy storage voltage of the energy storage unit reaches the preset voltage threshold, so that the first connection end is connected to the reference voltage end, and the second shutdown control signal is output to the power supply control module.
5. The power control circuit as claimed in claim 3, wherein the control signal generating unit comprises a comparator, a non-inverting input terminal of the comparator is configured to receive a reference voltage signal, an inverting input terminal of the comparator is electrically connected to the energy storage unit, and an output terminal of the comparator is electrically connected to the power supply control module; wherein a voltage value of the reference voltage signal is equal to the preset voltage threshold;
and when the voltage of the inverting input end of the comparator is higher than that of the non-inverting input end of the comparator, the comparator outputs the second shutdown control signal at the output end of the comparator.
6. The power control circuit according to any one of claims 2-5, wherein the energy storage voltage of the energy storage unit continuously rises from a preset initial value during the time that the key module is continuously pressed.
7. The power control circuit of claim 6, wherein the energy storage unit comprises:
the energy storage capacitor comprises a first end and a second end, the first end is electrically connected with the control signal generating unit, and the second end is grounded; and
the first resistor is electrically connected between the first end of the energy storage capacitor and the key module, and the energy storage capacitor receives the electric energy of the power module through the first resistor and the key module when the key module is pressed to charge.
8. The power control circuit of claim 6, wherein the second control module further comprises a discharge unit electrically connected to the energy storage unit, the energy storage unit discharging through the discharge unit when not receiving power from the power module.
9. The power control circuit of claim 7, wherein the second control module further comprises a discharge unit comprising a unidirectional conducting element and a second resistor connected in series between the first end of the energy storage capacitor and ground:
the first end of the unidirectional conducting element is electrically connected with the first end of the energy storage capacitor, the second end of the unidirectional conducting element is electrically connected with the second resistor, and the unidirectional conducting element is conducted when the voltage of the first end of the unidirectional conducting element is higher than that of the second end of the unidirectional conducting element;
and a connecting node between the one-way conduction element and the second resistor is electrically connected with a connecting node between the first resistor and the key module.
10. The power control circuit according to claim 2, wherein the first control module outputs an operation control signal when detecting that the duration of the key module being continuously pressed reaches a third preset time threshold t 3;
and the power supply control module outputs working voltage according to the received working control signal.
11. The power control circuit of claim 1, wherein the second control module comprises:
the key detection unit is electrically connected with the key module; and
the processing unit is electrically connected with the key detection unit and the power supply control module respectively;
the key detection unit is used for detecting the state of the key module and feeding back a state signal to the processing unit; the processing unit outputs the second power-off control signal when the duration that the key module is continuously pressed is determined to reach t2 based on the state signal.
12. The power control circuit according to claim 2 or 11, wherein the power control module comprises a switching signal generating module and a switching module, the switching signal generating module is electrically connected to the first control module and the second control module respectively, and the switching signal generating module receives and responds to the first shutdown control signal or the second shutdown control signal and outputs a disconnection signal;
the switch module comprises a control end, a first connecting end and a second connecting end, the control end is electrically connected with the switch signal generation module, the first connecting end is electrically connected with the power supply module, the second connecting end is used for outputting working voltage, and the switch module receives and responds to the disconnection signal to be disconnected, so that the working voltage is stopped being output.
13. A power control circuit applied to an electronic device, comprising:
the key module is electrically connected with a power module of the electronic equipment;
the energy storage unit is electrically connected with the power supply module through the key module, receives the electric energy of the power supply module to charge when the key module is pressed, and the energy storage voltage of the energy storage unit continuously increases along with the extension of the continuous pressing time of the key module; and
the control signal generating unit is respectively and electrically connected with the energy storage unit and the power supply control module of the electronic equipment, and outputs a shutdown control signal when the duration of the continuous pressing of the key module reaches a preset time threshold; and the power supply control module receives and responds to the shutdown control signal and stops outputting the working voltage.
14. An electronic device, comprising:
the power module is an energy storage assembly or an external power interface; and
the power control circuit of any of claims 1-13, wherein the power module is electrically connected to the power control circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202221247907.4U CN217467616U (en) | 2022-05-23 | 2022-05-23 | Power supply control circuit and electronic device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202221247907.4U CN217467616U (en) | 2022-05-23 | 2022-05-23 | Power supply control circuit and electronic device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN217467616U true CN217467616U (en) | 2022-09-20 |
Family
ID=83277522
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202221247907.4U Active CN217467616U (en) | 2022-05-23 | 2022-05-23 | Power supply control circuit and electronic device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN217467616U (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115379603A (en) * | 2022-10-20 | 2022-11-22 | 深圳市微源半导体股份有限公司 | Heating driving circuit, method and electronic equipment |
-
2022
- 2022-05-23 CN CN202221247907.4U patent/CN217467616U/en active Active
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115379603A (en) * | 2022-10-20 | 2022-11-22 | 深圳市微源半导体股份有限公司 | Heating driving circuit, method and electronic equipment |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11949272B2 (en) | Power supply circuit of terminal device, terminal device, and power supply method | |
| US6304256B1 (en) | Display unit | |
| CN113904535B (en) | Power switch circuit and power switch | |
| US20220250494A1 (en) | Wake-up circuit for charge controller, on-board charger, and new energy vehicle | |
| CN115576406A (en) | Power-down detection and power supply maintenance function circuit and electronic equipment | |
| CN217467616U (en) | Power supply control circuit and electronic device | |
| CN109756021B (en) | Power supply control circuit and electrical equipment | |
| CN109412568A (en) | A kind of reset circuit for opening/closing | |
| CN112433890B (en) | Reset circuit, chip and electronic product | |
| CN222073142U (en) | Interface multiplexing circuit | |
| CN221202201U (en) | Protection circuit for preventing battery equipment from overdischarging | |
| CN111399617B (en) | Power supply control device and electronic apparatus | |
| CN220732743U (en) | Power supply reset circuit, circuit board and electronic equipment | |
| CN217824233U (en) | Voltage protection circuit and electric equipment | |
| CN216290254U (en) | Standby power supply circuit and electronic device | |
| CN207490595U (en) | Power-supplying circuit and electrical equipment | |
| CN211830739U (en) | Light touch key power supply circuit and electronic equipment | |
| CN113467333B (en) | Startup control circuit and startup control method | |
| CN218243494U (en) | Shutdown circuit and shooting equipment thereof | |
| CN210609098U (en) | NB-IoT communication module starting circuit, circuit board and Internet of things terminal | |
| CN109599842B (en) | Power supply control circuit, display device and power supply control method | |
| CN115940906B (en) | A reset circuit | |
| CN215010044U (en) | Current-limiting signal generating circuit and electronic equipment | |
| CN217363166U (en) | Control circuit and shooting equipment | |
| CN219892228U (en) | Power management circuit and electronic device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| GR01 | Patent grant | ||
| GR01 | Patent grant |
