A power supply control circuit, method, electronic device and storage medium
Patent Information
- Application Number
- CN202311250971.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-26
- Publication Date
- 2026-09-22
- Estimated Expiration
- 2043-09-26
AI Technical Summary
[0014]本发明实施例提供的电源控制方案中,电源控制电路包括电源模块、按键模块、防误触模块、第一开关模块、主控模块和第二开关模块,通过按键模块与主控模块、第一开关模块、第二开关模块及误触模块的相互配合,在实现通过单按键进行电池电源控制的同时,还能够在电源模块的关闭状态做到零功耗,并能有效防止因按键被短时误触碰而关闭电源模块或开启电源模块,从而,既方便电子设备的操作又进一步降低电子设备的功耗,能够满足通过单按键实现电池电源控制的电子设备的超长待机需求。
Smart Images

Figure CN117055447B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power control technology for electronic devices, and more particularly to a power control circuit, method, electronic device, and storage medium. Background Technology
[0002] Currently, many miniaturized electronic devices are battery-powered, with battery power controlled by a single button. For example, trackers are terminals with built-in GPS and mobile communication modules. The GPS module transmits location data to a cloud server via the mobile communication module, enabling the tracker's location tracking. Within the tracker application market, some trackers are battery-powered only, such as child and elderly trackers, and disposable, non-removable trackers. These types of trackers have very high requirements for low power consumption or need to be powered off when not in use to achieve ultra-long standby time. Therefore, a new power control solution is urgently needed to meet the ultra-long standby requirements of these devices. Summary of the Invention
[0003] In view of this, the purpose of this invention is to provide a power control circuit, method, electronic device, and storage medium to meet the ultra-long standby time requirement of electronic devices that achieve battery power control via a single button.
[0004] The technical solution adopted by the present invention to solve the above-mentioned technical problems is as follows: According to one aspect of the present invention, a power control circuit is provided, the circuit including a power module, a button module, an anti-accidental touch module, a first switch module, a main control module, and a second switch module; The first terminal of the first switch module is electrically connected to one end of the power module and the anti-accidental touch module, the second terminal is electrically connected to the power supply output terminal, and the control terminal is electrically connected to the reference voltage node. The reference voltage node is also electrically connected to the other end of the anti-accidental touch module, the button module, the reference voltage detection terminal of the main control module, and the first terminal of the second switch module. The power supply terminal of the main control module is electrically connected to the power supply output terminal, and the power control terminal is electrically connected to the control terminal of the second switch module. The main control module is used to control the second switch module to conduct after power-on, and to control the second switch module to disconnect when the voltage of the reference voltage node meets a preset condition. The first switch module is used to turn the power module on or off under the control of the button module and the second switch module. The anti-accidental touch module is used to cooperate with the button module to prevent the power module from being turned on due to accidental touch of the button module.
[0005] Optionally, the button module includes a button and a first resistor, one end of the first resistor is electrically connected to the reference voltage node, the other end is electrically connected to one end of the button, and the other end of the button is grounded to the negative terminal of the power module.
[0006] Optionally, the first switching module includes a first switching element and a second resistor; The first switching element includes a P-channel MOSFET. The source of the P-channel MOSFET is electrically connected to one end of the second resistor and the positive terminal of the power module, the drain is electrically connected to the power supply output terminal, and the gate is electrically connected to the reference voltage node. The other end of the second resistor is electrically connected to the reference voltage node.
[0007] Optionally, the second switching module includes a second switching element, a third resistor, and a fourth resistor; The second switching element includes an N-channel MOSFET. The source of the N-channel MOSFET is grounded, the drain is electrically connected to one end of the third resistor, the gate is electrically connected to one end of the fourth resistor and the power control terminal of the main control module, the other end of the third resistor is electrically connected to the reference voltage node, and the other end of the fourth resistor is grounded.
[0008] Optionally, the anti-accidental touch module includes a first capacitor and a second capacitor, both of which are connected in parallel with a second resistor.
[0009] Optionally, the power control circuit further includes a power processing module connected in series between the second terminal of the first switching module and the power output terminal. The power processing module includes a voltage regulator, a DC-DC unit (a circuit unit that performs different DC power value conversions), or a boost chopper circuit unit.
[0010] Optionally, when the power module is off, the voltage of the reference voltage node is equal to the voltage at the positive terminal of the power module, and the P-channel MOSFET is in the off state. When the button is triggered, the reference voltage node slowly discharges through the first capacitor, the second capacitor, and the first resistor. If the first time the button is triggered is less than the time required for the voltage value of the reference voltage node to drop from the voltage at the positive terminal of the power module to the turn-on voltage of the P-channel MOSFET, the P-channel MOSFET remains in the off state, and the power module remains off to prevent accidental activation of the power module. If the first time is greater than or equal to the time required for the voltage value of the reference voltage node to drop from the voltage at the positive terminal of the power module to the turn-on voltage of the P-channel MOSFET, the P-channel MOSFET remains in the off state, and the power module remains off to prevent accidental activation. When the turn-on voltage is reached, the voltage at the reference voltage node is obtained by voltage division between the first and second resistors, reaching the turn-on voltage of the P-channel MOSFET. At this time, the P-channel MOSFET is turned on, and the power supply output terminal supplies power to the main control module. After the main control module is powered on, it controls its power control terminal to output a high level, which turns on the N-channel MOSFET. At this time, the voltage at the reference voltage node is obtained by voltage division between the first and third resistors in parallel and then in series with the second resistor, and the N-channel MOSFET is turned on. After the button is reset, the voltage at the reference voltage node becomes obtained by voltage division between the third and second resistors in series, and the N-channel MOSFET remains turned on to maintain the power module's on state. When the power module is powered on, and the button is triggered, the voltage at the reference voltage node changes from being obtained by a voltage divider consisting of the third and second resistors in series to being obtained by a voltage divider consisting of the first and third resistors in parallel and then the second resistor in series. The main control module detects this voltage change. If the duration of this voltage change is less than a preset time, the main control module maintains a high-level output at its power control terminal, the N-channel MOSFET remains on, and the power module remains powered on to prevent accidental shutdown. If the duration of this second time is greater than or equal to the preset time, the main control module controls its power control terminal to output a low level. At this time, the N-channel MOSFET is turned off. After the button is reset, the voltage at the reference voltage node returns to the voltage at the positive terminal of the power module, the P-channel MOSFET is turned off, and the power module is shut down.
[0011] According to another aspect of the present invention, a power control method is provided, applied to the power control circuit described above, the power control method comprising: When the main control module is powered on, it controls its power control terminal to output a high level to control the second switch module to conduct, so that the power module remains in the on state. When the main control module detects that the voltage of the reference voltage node has dropped to the preset voltage for a preset time, it controls its power control terminal to output a low level to control the second switch module to open and shut down the power module.
[0012] According to another aspect of the present invention, an electronic device is provided, which includes the power control circuit described above.
[0013] According to another aspect of the present invention, a computer-readable storage medium is provided, on which a power control program is stored, wherein when executed by a processor, the power control program implements the steps of the power control method described above.
[0014] In the power control scheme provided by this invention, the power control circuit includes a power module, a button module, an anti-accidental touch module, a first switch module, a main control module, and a second switch module. Through the cooperation of the button module with the main control module, the first switch module, the second switch module, and the anti-accidental touch module, battery power control can be achieved through a single button, while also achieving zero power consumption in the off state of the power module. It can also effectively prevent the power module from being turned off or on due to a short-term accidental touch of the button. Thus, it not only facilitates the operation of electronic devices but also further reduces the power consumption of electronic devices, meeting the ultra-long standby requirements of electronic devices that achieve battery power control through a single button. Attached Figure Description
[0015] The present invention will be further described below with reference to the accompanying drawings and embodiments. In the accompanying drawings: Figure 1 This is a schematic diagram of one embodiment of the power control circuit provided in this invention. Figure 2 This is a schematic diagram of another embodiment of the power control circuit provided in this invention; Figure 3 This is a circuit connection diagram of one embodiment of the power control circuit provided in this invention. Figure 4 This is a flowchart of the power control method provided in an embodiment of the present invention. Detailed Implementation
[0016] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the invention.
[0017] In the following description, the use of suffixes such as "module," "part," or "unit" to denote elements is solely for the purpose of illustrative purposes and has no specific meaning in itself. Therefore, "module," "part," or "unit" may be used interchangeably.
[0018] Example 1
[0019] To meet the ultra-long standby time requirements of electronic devices that control battery power via a single button, this embodiment provides a power control circuit. Please refer to... Figure 1 , Figure 1This is a schematic diagram of one embodiment of the power control circuit provided in this invention. The power control circuit includes a power module 1, a button module 2, an anti-accidental touch module 3, a first switch module 4, a main control module 5, and a second switch module 6; The first terminal of the first switch module 4 is electrically connected to one end of the power module 1 and the anti-accidental touch module 3, the second terminal is electrically connected to the power output terminal VOUT, and the control terminal is electrically connected to the reference voltage node A. The reference voltage node A is also electrically connected to the other end of the anti-accidental touch module 3, the button module 2, the reference voltage detection terminal ADC of the main control module 5, and the first terminal of the second switch module 6. The power supply terminal VCC of the main control module 5 is electrically connected to the power output terminal VOUT, and the power control terminal GPIO is electrically connected to the control terminal of the second switch module 6. The main control module 5 is used to control the second switch module 6 to conduct after power-on, and to control the second switch module 6 to disconnect when the voltage of the reference voltage node A meets the preset condition. The first switch module 4 is used to turn the power module 1 on or off under the control of the button module 2 and the second switch module 6. The anti-accidental touch module 3 is used to cooperate with the button module 2 to prevent the power module 1 from being turned on due to accidental touch of the button module 2.
[0020] Specifically, the power module 1 includes a battery. The voltage of the reference voltage node A meets the preset conditions, including the duration for which the voltage of the reference voltage node A drops to a preset voltage reaches a preset time. The preset voltage is less than the voltage of the reference voltage node A when the second switch module 6 is turned on and the button module 2 is not triggered, and is greater than or equal to the voltage of the reference voltage node A when the second switch module 6 is turned on and the button module 2 is triggered. The specific values of the preset voltage and preset time can be determined according to the actual use scenario, and this embodiment does not limit them. The power control circuit operates as follows: When power module 1 is off, the voltage at reference voltage node A is equal to the voltage at the positive terminal of power module 1, and the first switch module 4 is open. At this time, if the trigger time of button SW is less than the time required for the voltage at reference voltage node A to drop from the positive terminal voltage of power module 1 to the voltage required to close the first switch module 4, the first switch module 4 remains open, and power module 1 remains off to prevent accidental activation of power module 1 due to short-term mis-touch. When this first time is greater than or equal to the time required for the voltage at reference voltage node A to drop from the positive terminal voltage of power module 1 to the voltage required to close the first switch module 4, the first switch module 4 is turned on, and the power output terminal VOUT supplies power to the main control module 5. After the main control module 5 is powered on, it controls the second switch module 6 to turn on via its power control terminal GPIO, thereby controlling the first switch module 4 to turn on. After button SW is reset, the first switch module 4 can still be activated via the power control terminal GPIO of the main control module 5. The second power module 1 remains on under the control of the second switch module 6. When the power module 1 is on, the voltage of the reference voltage node A will decrease due to the triggering of the button SW. The main control module 5 detects this voltage change through its reference voltage detection terminal ADC and starts timing the second duration of the voltage change when the voltage drops to a preset voltage. When the second duration reaches the preset time, the main control module 5 controls the second power module 1 to disconnect through its power control terminal GPIO. After the button SW is reset, the voltage of the reference voltage node A returns to the voltage of the positive terminal of the power module 1, and the first switch module 4 is turned off to shut down the power module 1. Before the second duration reaches the preset time, the main control module 5 keeps the second power module 1 on through its power control terminal GPIO. After the button SW is reset, the first switch module 4 can still remain on under the control of the main control module 5 and the second switch module 6, and the power module 1 remains on to prevent the power module 1 from being shut down due to a short-term accidental touch.The power control circuit of this embodiment, through the cooperation of the button module 2, the main control module 5, the first switch module 4, the second switch module 6, and the accidental touch module, can achieve battery power control by a single button, while also achieving zero power consumption in the off state of the power module 1. It can also effectively prevent the power module 1 from being turned off or on due to a short-term accidental touch of the button SW. Thus, it not only facilitates the operation of electronic devices but also further reduces the power consumption of electronic devices, and can meet the ultra-long standby requirements of electronic devices that achieve battery power control by a single button.
[0021] In one implementation, please refer to Figure 2 , Figure 2 This is a schematic diagram of another embodiment of the power control circuit provided in this invention. The power control circuit further includes a power processing module 7 connected in series between the second terminal of the first switching module 4 and the power output terminal VOUT. The power processing module 7 includes a voltage regulator (LDO, low dropout regulator), a DC-DC unit, or a boost chopper circuit unit.
[0022] In this embodiment, by connecting the power processing module 7 in series between the second terminal of the first switch module 4 and the power output terminal VOUT, the battery can power various functional modules with different power requirements. The power processing module 7 can be a voltage regulator, a DC-DC converter, or a boost chopper circuit unit, or any other circuit unit capable of power processing. This embodiment does not limit its specific form.
[0023] In one implementation, please refer to Figure 3 , Figure 3 This is a circuit connection diagram of one embodiment of the power control circuit provided in this invention. The button module 2 includes a button SW and a first resistor R1. One end of the first resistor R1 is electrically connected to the reference voltage node A, and the other end is electrically connected to one end of the button SW. The other end of the button SW is grounded to the negative terminal of the power module 1.
[0024] In this embodiment, button SW is connected to reference voltage node A through a first resistor R1, so that the voltage of reference voltage node A can be changed by triggering and resetting button SW. The specific parameters of the first resistor R1 can be determined according to the specific application scenario of the power control circuit, and this embodiment does not limit this.
[0025] In one implementation, please refer to Figure 3The first switching module 4 includes a first switching element and a second resistor R2; the first switching element includes a P-channel MOSFET Q1, the source of the P-channel MOSFET Q1 is electrically connected to one end of the second resistor R2 and the positive terminal of the power supply module 1, the drain is electrically connected to the power supply output terminal VOUT, and the gate is electrically connected to the reference voltage node A, and the other end of the second resistor R2 is electrically connected to the reference voltage node A.
[0026] In this embodiment, the first switching module 4 may, but is not limited to, employ a first switching element and a second resistor R2. The first switching element may, but is not limited to, employ a P-channel MOSFET Q1. The gate of the P-channel MOSFET Q1 is electrically connected to a reference voltage node A and is used to turn the power module 1 on or off according to the voltage value of the reference voltage node A. The specific parameters of the second resistor R2 can be determined according to the specific application scenario of the power control circuit, and this embodiment does not limit this.
[0027] In one implementation, please refer to Figure 3 The second switching module 6 includes a second switching element, a third resistor R3, and a fourth resistor R4; the second switching element includes an N-channel MOSFET Q2, the source of the N-channel MOSFET Q2 is grounded, the drain is electrically connected to one end of the third resistor R3, the gate is electrically connected to one end of the fourth resistor R4 and the power control terminal GPIO of the main control module 5, the other end of the third resistor R3 is electrically connected to the reference voltage node A, and the other end of the fourth resistor R4 is grounded.
[0028] In this embodiment, the second switching module 6 may, but is not limited to, employ a second switching element, a third resistor R3, and a fourth resistor R4. The second switching element may, but is not limited to, employ an N-channel MOSFET Q2. The gate of the N-channel MOSFET Q2 is electrically connected to the power control terminal GPIO of the main control module 5, and its drain is electrically connected to the reference voltage node A through the third resistor R3, used to adjust the voltage of the reference voltage node A according to the control of the main control module 5. The specific parameters of the third resistor R3 and the fourth resistor R4 can be determined according to the specific application scenario of the power control circuit, and this embodiment does not limit them.
[0029] In one implementation, please refer to Figure 3 The anti-accidental touch module 3 includes a first capacitor C1 and a second capacitor C2, both of which are connected in parallel with the second resistor R2.
[0030] In this embodiment, the anti-accidental touch module 3 may, but is not limited to, using a first capacitor C1 and a second capacitor C2. The specific parameters of the first capacitor C1 and the second capacitor C2 can be determined according to the specific application scenario of the power control circuit, and this embodiment does not limit this.
[0031] In one implementation, please refer to Figure 3 The operation of the power control circuit is as follows: When power module 1 is off, the voltage of reference voltage node A is equal to the voltage of the positive terminal of power module 1, and the P-channel MOSFET Q1 is in the off state. When button SW is triggered, reference voltage node A slowly discharges through the first capacitor C1, the second capacitor C2, and the first resistor R1. When the first time button SW is triggered is less than the time required for the voltage value of reference voltage node A to drop from the voltage of the positive terminal of power module 1 to the conduction voltage of P-channel MOSFET Q1, P-channel MOSFET Q1 remains in the off state, and power module 1 remains off to prevent power module 1 from being turned on due to short-term accidental touch; when the first time is greater than or equal to the time required for the voltage value of reference voltage node A to drop from the voltage of the positive terminal of power module 1 to the conduction voltage of P-channel MOSFET Q1, P-channel MOSFET Q1 remains in the off state, and power module 1 remains off to prevent power module 1 from being turned on due to short-term accidental touch; when the first time is greater than or equal to the time required for the voltage value of reference voltage node A to drop from the voltage of the positive terminal of power module 1 to the conduction voltage of P-channel MOSFET Q1, P-channel MOSFET Q1 remains in the off state. When the turn-on voltage is reached, the voltage of reference voltage node A is obtained by voltage division of the first resistor R1 and the second resistor R2, reaching the turn-on voltage of P-channel MOSFET Q1. At this time, P-channel MOSFET Q1 is turned on, and the power supply output terminal VOUT supplies power to the main control module 5. After the main control module 5 is powered on, it controls its power control terminal GPIO to output a high level, so that N-channel MOSFET Q2 is turned on. At this time, the voltage of reference voltage node A is obtained by voltage division of the first resistor R1 and the third resistor R3 in parallel and the second resistor R2 in series. N-channel MOSFET Q2 is turned on. After the button SW is reset, the voltage of reference voltage node A becomes obtained by voltage division of the third resistor R3 and the second resistor R2 in series. N-channel MOSFET Q2 remains turned on to maintain the power module 1 in the on state. When power module 1 is powered on, and button SW is triggered, the voltage at reference voltage node A changes from being obtained by voltage division through the series connection of the third resistor R3 and the second resistor R2 to being obtained by voltage division through the parallel connection of the first resistor R1 and the third resistor R3 and the series connection of the second resistor R2. The main control module 5 detects this voltage change and starts timing the second duration of the voltage change when the voltage value at reference voltage node A reaches the preset voltage. When the second duration is less than the preset duration, the main control module 5 maintains a high-level output at its power control terminal GPIO, the N-channel MOSFET Q2 remains on, and power module 1 remains powered on to prevent power module 1 from being shut down due to short-term accidental touch. When the second duration is greater than or equal to the preset duration, the main control module 5 controls its power control terminal GPIO to output a low level. At this time, the N-channel MOSFET Q2 is turned off. After button SW is reset, the voltage at reference voltage node A returns to the voltage at the positive terminal of power module 1, and the P-channel MOSFET Q1 is turned off to shut down power module 1.
[0032] The power control circuit of this embodiment includes a power module 1, a button module 2, an anti-accidental touch module 3, a first switch module 4, a main control module 5, and a second switch module 6. The first terminal of the first switch module 4 is electrically connected to one terminal of the power module 1 and the anti-accidental touch module 3, the second terminal is electrically connected to the power output terminal VOUT, and the control terminal is electrically connected to the reference voltage node A. The reference voltage node A is also electrically connected to the other terminal of the anti-accidental touch module 3, the button module 2, the reference voltage detection terminal ADC of the main control module 5, and the first terminal of the second switch module 6. The power terminal VCC of the main control module 5 is electrically connected to the power output terminal VOUT, and the power control terminal GPIO is electrically connected to the control terminal of the second switch module 6. The main control module 5 is used to control the second switch module 6 to conduct after power-on and to control the second switch module 6 to disconnect when the voltage of the reference voltage node A meets a preset condition. The first switch module 4 is used to turn the power module 1 on or off under the control of the button module 2 and the second switch module 6. The anti-accidental touch module 3 is used to cooperate with the button module 2 to prevent the power module 1 from being turned on due to accidental touch of the button module 2. This power control circuit, through the cooperation of button module 2, main control module 5, first switch module 4, second switch module 6, and accidental touch module, enables battery power control via a single button SW. It also achieves zero power consumption when power module 1 is off and effectively prevents power module 1 from being turned off or on due to accidental short-term touch of button SW. Thus, it not only facilitates the operation of electronic devices but also further reduces the power consumption of electronic devices, meeting the ultra-long standby requirements of electronic devices that achieve battery power control via a single button.
[0033] Example 2 To meet the ultra-long standby requirements of electronic devices that control battery power via a single button, this embodiment provides a power control method. Figure 4 This is a flowchart of a power control method provided in an embodiment of the present invention. The process in this embodiment operates through the power control circuit of Embodiment 1 described above. The steps can be performed sequentially as shown in the flowchart, or multiple steps can be performed simultaneously depending on the actual situation; no limitation is made here. The power control method includes: Step S401: The main control module is powered on and its power control terminal outputs a high level to control the second switch module to conduct, so that the power module remains on. In step S402, when the main control module detects that the voltage of the reference voltage node has dropped to the preset voltage for a preset time, it controls its power control terminal to output a low level to control the second switch module to disconnect and turn off the power module.
[0034] Specifically, in step S401, the main control module is powered on and operates. By controlling its power control terminal to output a high level, it controls the second switch module to conduct, thereby adjusting the voltage of the reference voltage node A to turn on the first switch module, and thus keeping the power module in the on state.
[0035] Specifically, in step S402, when the main control module detects through its reference voltage detection terminal that the duration of the voltage drop of the reference voltage node to the preset voltage reaches a preset time, it controls its power control terminal to output a low level to control the second switch module to disconnect. Then, when the button module is reset, the voltage of the reference voltage node is adjusted to the positive voltage of the power module, causing the first switch module to disconnect, thereby turning off the power module. When the duration of the voltage drop of the reference voltage node to the preset voltage does not reach the preset time, the main control module controls its power control terminal to maintain a high level to control the second switch module to conduct. This adjusts the voltage of the reference voltage node to make the first switch module conduct, thereby keeping the power module in the on state to prevent the power module from being turned off due to short-term accidental touch.
[0036] In this embodiment, the power control method involves the main control module powering on and outputting a high-level signal at its power control terminal to turn on the second switch module, keeping the power module in an on state. When the main control module detects that the voltage of the reference voltage node has dropped to a preset voltage for a preset duration, it controls its power control terminal to output a low-level signal to turn off the second switch module, shutting down the power module. This power control method, through the cooperation of the button module, the main control module, the first switch module, and the second switch module, achieves battery power control via a single button while maintaining zero power consumption in the off state of the power module. It also effectively prevents the power module from being shut down due to a brief accidental button press. Thus, it facilitates the operation of electronic devices while further reducing their power consumption, meeting the ultra-long standby requirements of electronic devices that achieve battery power control via a single button.
[0037] Example 3 This embodiment provides an electronic device that includes the power control circuit of Embodiment 1 described above. Through the cooperation of the button module, main control module, first switch module, second switch module, and accidental touch module, this electronic device achieves battery power control via a single button while maintaining zero power consumption in the off state of the power module. It also effectively prevents the power module from being turned off or on due to short-term accidental button presses. Therefore, it facilitates operation of the electronic device while further reducing power consumption, meeting the ultra-long standby time requirement of electronic devices with battery power control via a single button. The specific structure of the power control circuit is as described in Embodiment 1 and will not be repeated here.
[0038] Example 4 This invention also provides a computer-readable storage medium storing a power control program, which, when executed by a processor, implements the steps of the power control method described in Embodiment 2 above.
[0039] The computer-readable storage medium of this invention and the method of the above embodiment 2 belong to the same concept. The specific implementation process can be found in the corresponding method embodiment. The technical features in the method embodiment are also applicable to this computer-readable storage medium embodiment, and will not be repeated here.
[0040] The corresponding technical features in the above embodiments can be used in combination without causing contradictions or making the solutions unfeasible.
[0041] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0042] The embodiments of the present invention have been described above with reference to the accompanying drawings. However, the present invention is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of the present invention without departing from the spirit and scope of the claims. All of these forms are within the protection scope of the present invention.
Claims
1. A power supply control circuit, characterized in that, The power control circuit includes a power module, a button module, an anti-accidental touch module, a first switch module, a main control module, and a second switch module. The first terminal of the first switch module is electrically connected to one end of the power module and the anti-accidental touch module, the second terminal is electrically connected to the power supply output terminal, and the control terminal is electrically connected to the reference voltage node. The reference voltage node is also electrically connected to the other end of the anti-accidental touch module, the button module, the reference voltage detection terminal of the main control module, and the first terminal of the second switch module. The power supply terminal of the main control module is electrically connected to the power supply output terminal, and the power control terminal is electrically connected to the control terminal of the second switch module. The main control module is used to control the second switch module to conduct after power-on, and to control the second switch module to disconnect when the voltage of the reference voltage node meets a preset condition. The first switch module is used to turn the power module on or off under the control of the button module and the second switch module. The anti-accidental touch module is used to cooperate with the button module to prevent the power module from being turned on due to accidental touch of the button module. The voltage of the reference voltage node satisfies the preset condition, which includes the duration for which the voltage of the reference voltage node drops to the preset voltage reaches the preset time. The preset voltage is less than the voltage of the reference voltage node when the second switch module is turned on and the button module is not triggered, and is greater than or equal to the voltage of the reference voltage node when the second switch module is turned on and the button module is triggered. The button module includes a button and a first resistor. One end of the first resistor is electrically connected to the reference voltage node, and the other end is electrically connected to one end of the button. The other end of the button is grounded to the negative terminal of the power module. The first switching module includes a first switching element and a second resistor; the first switching element includes a P-channel MOSFET, the source of the P-channel MOSFET is electrically connected to one end of the second resistor and the positive terminal of the power supply module, the drain is electrically connected to the power supply output terminal, and the gate is electrically connected to the reference voltage node, and the other end of the second resistor is electrically connected to the reference voltage node. The second switching module includes a second switching element, a third resistor, and a fourth resistor; the second switching element includes an N-channel MOSFET, the source of the N-channel MOSFET is grounded, the drain is electrically connected to one end of the third resistor, the gate is electrically connected to one end of the fourth resistor and the power control terminal of the main control module, the other end of the third resistor is electrically connected to the reference voltage node, and the other end of the fourth resistor is grounded. The anti-accidental touch module includes a first capacitor and a second capacitor, both of which are connected in parallel with a second resistor.
2. The power control circuit according to claim 1, characterized in that, The power control circuit further includes a power processing module connected in series between the second terminal of the first switching module and the power output terminal. The power processing module includes a voltage regulator, a DC-DC unit, or a boost chopper circuit unit.
3. The power control circuit according to claim 1, characterized in that, When the power module is off, the voltage at the reference voltage node is equal to the voltage at the positive terminal of the power module, and the P-channel MOSFET is in the off state. When the button is triggered, the reference voltage node slowly discharges through the first capacitor, the second capacitor, and the first resistor. If the initial time of button triggering is less than the time required for the voltage at the reference voltage node to drop from the positive terminal of the power module to the turn-on voltage of the P-channel MOSFET, the P-channel MOSFET remains in the off state, and the power module remains off to prevent accidental activation. If the initial time is greater than or equal to the time required for the voltage at the reference voltage node to drop from the positive terminal of the power module to the turn-on voltage of the P-channel MOSFET, the P-channel MOSFET remains in the off state, and the power module remains off to prevent accidental activation. When the voltage is within the required time, the voltage of the reference voltage node is obtained by voltage division between the first resistor and the second resistor, reaching the turn-on voltage of the P-channel MOSFET. At this time, the P-channel MOSFET is turned on, and the power supply output terminal supplies power to the main control module. After the main control module is powered on, it controls its power control terminal to output a high level, so that the N-channel MOSFET is turned on. At this time, the voltage of the reference voltage node is obtained by voltage division between the first resistor and the third resistor in parallel and then in series with the second resistor, and the N-channel MOSFET is turned on. After the button is reset, the voltage of the reference voltage node becomes obtained by voltage division between the third resistor and the second resistor in series, and the N-channel MOSFET remains turned on to maintain the power module's on state. When the power module is powered on, and the button is triggered, the voltage at the reference voltage node changes from being obtained by a voltage divider consisting of the third and second resistors in series to being obtained by a voltage divider consisting of the first and third resistors in parallel and then the second resistor in series. The main control module detects this voltage change. If the duration of this voltage change is less than a preset time, the main control module maintains a high-level output at its power control terminal, the N-channel MOSFET remains on, and the power module remains powered on to prevent accidental shutdown. If the duration of this second time is greater than or equal to the preset time, the main control module controls its power control terminal to output a low level. At this time, the N-channel MOSFET is turned off. After the button is reset, the voltage at the reference voltage node returns to the voltage at the positive terminal of the power module, the P-channel MOSFET is turned off, and the power module is shut down.
4. A power supply control method, applied to the power supply control circuit as described in any one of claims 1-3, characterized in that, The power control method includes: When the main control module is powered on, it controls its power control terminal to output a high level to control the second switch module to conduct, so that the power module remains in the on state. When the main control module detects that the voltage of the reference voltage node has dropped to the preset voltage for a preset time, it controls its power control terminal to output a low level to control the second switch module to open and shut down the power module.
5. An electronic device, characterized in that, Includes the power control circuit as described in any one of claims 1-3.
6. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a power control program, which, when executed by a processor, implements the steps of the power control method as described in claim 4.
Citation Information
Patent Citations
False trigger preventing interference-free switch circuit
CN106961267A
Single-key trigger power switch control circuit
CN209823643U