Power supply control device
By designing hardware circuits and using the first and second switches to control the power supply circuit and control circuit to turn on and off simultaneously, the problems of high power consumption and poor stability under MCU control are solved, and low power consumption and high stability power supply control are achieved.
Patent Information
- Application Number
- CN202522421833.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-14
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2035-11-14
AI Technical Summary
Existing power supply control devices, when controlling power supply through MCU, suffer from high power consumption, complex control, and inability to start power-on when the device has not been programmed or the software system has crashed.
The circuit adopts a pure hardware design, which controls the power supply circuit and the control circuit to turn on and off through the cooperation of the first and second switches, avoiding continuous operation of the MCU, reducing power consumption, and ensuring circuit stability and reliability through latches and delay circuits.
It achieves low-power power supply control, simplifies the control process, improves the stability and reliability of the circuit, avoids static power consumption, and extends the battery life of the power supply circuit.
Smart Images

Figure CN225033676U_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of automatic control technology, and in particular to a power supply control device. Background Technology
[0002] A power supply control device is a device that controls, manages, or regulates the supply of electrical energy. For example, a power supply control device can control whether a battery outputs electrical energy.
[0003] In related technologies, the power supply and power-on / off process of equipment are controlled by a power-on / off circuit. Specifically, the power-on / off circuit is implemented based on a microcontroller unit (MCU). When the power button or power button of the equipment is pressed, a level pulse signal is generated and sent to the MCU. After receiving the signal, the MCU issues a control command to control the power supply output of the equipment to start the equipment.
[0004] However, controlling the device via an MCU requires a portion of the MCU's circuitry to be continuously operational, increasing power consumption and complexity of the control process. Furthermore, the device cannot be powered on if the software has not been programmed or if the software system has crashed. Utility Model Content
[0005] The purpose of this application is to provide a power supply control device that reduces the power consumption of the control circuit.
[0006] The power supply control device provided in this application includes: a power supply circuit, a control circuit, a first switch, and a second switch. A first terminal of the control circuit is coupled to the power supply terminal of the power supply circuit, and a second and third terminal of the control circuit are respectively coupled to the first and second control terminals of the power supply circuit. The first switch is coupled between the first and second control terminals. The second switch is coupled between a fourth terminal of the control circuit and a ground terminal. The first and second switches are simultaneously closed or open. When the first and second switches are closed and then turned off, the second and third terminals of the control circuit are connected, and the first and second control terminals are connected, allowing the power supply circuit to supply power to the control circuit.
[0007] The technical solution provided in this application achieves power supply control of the power supply circuit through hardware circuitry, thereby realizing the on / off control of the control circuit without the need for software MCU access, reducing the power consumption of the MCU during continuous operation. Furthermore, compared to software control, hardware circuitry offers higher reliability and stability, and is simpler and more convenient to control. In addition, the simultaneous closing or opening of the first and second switches enables simultaneous control of the power supply circuit and the control circuit. When the control circuit is turned off, the power supply circuit also stops supplying power synchronously, avoiding the static power consumption that occurs when the control circuit is off but the power supply circuit remains on, reducing power loss in the power supply circuit, and improving the power supply circuit's endurance.
[0008] In one embodiment, when the first and second switches are turned off after a first preset time of closure, the second and third terminals of the control circuit are connected. By limiting the closing time of the first and second switches, the conduction state between the second and third terminals of the control circuit is restricted, preventing accidental power-on by the user and avoiding frequent power-on of the control circuit. Furthermore, the control logic is simple, allowing sufficient time for feedback from the hardware circuit, thus improving the stability and reliability of the circuit.
[0009] In one implementation, when the first and second switches are closed for a second preset time and then turned off, the second and third terminals of the control circuit are disconnected, the first control terminal and the second control terminal are disconnected, and the power supply circuit stops supplying power to the control circuit. The first preset time is shorter than the second preset time. The first preset time being shorter than the second preset time allows for precise switching between power-on and power-off modes through a clearly defined closing time, avoiding accidental touches while making operation simpler and more convenient.
[0010] In one embodiment, the control circuit includes a first control circuit, a second control circuit, and a latch. The input terminal of the first control circuit serves as its fourth terminal. When the input terminal of the first control circuit is connected to the ground terminal for a first preset time period, it outputs a first voltage. After the first preset time period, the input terminal of the first control circuit is disconnected from the ground terminal, and a second voltage is output. The input terminal of the second control circuit is coupled to the input terminal of the first control circuit. When the input terminal of the second control circuit is connected to the ground terminal for a second preset time period, it outputs a third voltage. After the second preset time period, it outputs a fourth voltage. The first and second input terminals of the latch are respectively coupled to the output terminals of the first and second control circuits. The output terminal of the latch is coupled to the second and third terminals of the control circuits. When the output terminal of the latch outputs a fifth voltage, the second and third terminals of the control circuits are connected. When the output terminal of the latch outputs a sixth voltage, the second and third terminals of the control circuits are disconnected. The first voltage is less than the second voltage, the fourth voltage is less than the third voltage, and the sixth voltage is less than the fifth voltage. By locking the output control signal with a latch, a stable on / off state is maintained, which improves the stability and anti-interference ability of the circuit. At the same time, the latch does not require a continuous input signal, reducing the burden on the circuit.
[0011] In one embodiment, the first control circuit includes a buffer switch. A first terminal of the buffer switch serves as the input terminal of the first control circuit, a second terminal serves as the output terminal of the first control circuit, and the second terminal is also coupled to a power supply terminal. A third terminal of the buffer switch is coupled to the output terminal of a second control circuit. The buffer switch is turned off when a fourth voltage is input to its third terminal, and turned on when a third voltage is applied to its third terminal. When the first terminal of the buffer switch is connected to ground and the buffer switch is on, the second terminal outputs a first voltage; when the power supply circuit supplies power to the control circuit and the buffer switch is off, the second terminal outputs a second voltage. The output of the second control circuit controls the on / off state of the buffer switch, enabling the first and second control circuits to cooperate and output power-on or power-off voltage signals to the latch.
[0012] In one embodiment, the second control circuit includes a third switch, a delay circuit, and a fourth switch. The first terminal of the third switch serves as the input terminal of the second control circuit, and the second terminal of the third switch is coupled to a ground terminal. The first terminal of the delay circuit is coupled to the third terminal of the third switch, the second terminal of the delay circuit is coupled to a power supply terminal, and the third terminal of the delay circuit is also coupled to a ground terminal. The first terminal of the fourth switch is coupled to the first terminal of the delay circuit, the second terminal of the fourth switch is coupled to a ground terminal, and the third terminal of the fourth switch serves as the output terminal of the second control circuit, also coupled to a power supply terminal. When the first terminal of the third switch is grounded, the voltage at the first terminal of the delay circuit gradually increases. After a second preset time, the fourth switch turns on, and the second terminal of the fourth switch outputs a fourth voltage. By delaying the first and second switches for a second preset time before they turn off, the second circuit changes the voltage signal output to the latch, thus achieving the function of powering off by extending the closing time of the first and second switches.
[0013] In one embodiment, the control circuit further includes a switching circuit. A first terminal and a second terminal of the switching circuit are respectively coupled to a second terminal and a third terminal of the control circuit. The second terminal of the switching circuit is coupled to the output terminal of the latch. When the output terminal of the latch outputs a fifth voltage, the first and second terminals of the switching circuit are connected; when the output terminal of the latch outputs a sixth voltage, the first and second terminals of the switching circuit are disconnected. By outputting different voltage signals to the switching circuit, the latch will cause the switching circuit to be in different on / off states, thereby achieving on / off control between the second and third terminals of the control circuit.
[0014] In one embodiment, the power supply control device provided in this application further includes a temperature warning circuit, which is coupled to the second input terminal of the latch. The temperature warning circuit reduces the voltage at the second input terminal of the latch when the temperature of the power supply control device exceeds a temperature threshold, so that the output terminal of the latch outputs a sixth voltage. The control circuit shuts down when the temperature exceeds the temperature threshold, avoiding safety hazards caused by the control circuit operating in an over-temperature scenario.
[0015] In one embodiment, the power supply control device provided in this application further includes an indicator light, which is coupled to a power supply terminal. When the second and third terminals of the control circuit are connected, the power supply terminal supplies power to the indicator light, causing the indicator light to illuminate. When the second and third terminals of the control circuit are disconnected, the indicator light turns off. The indicator light visually represents the operating status of the control circuit, facilitating user observation and control of the control circuit and reducing the possibility of misoperation.
[0016] In one embodiment, the first switch and the second switch are controlled by a button. When the button is pressed, both the first and second switches close simultaneously; when the button is released, both the first and second switches open simultaneously. Controlling the closed or open state of the first and second switches with a single button allows for simultaneous control of both switches, making operation convenient. Attached Figure Description
[0017] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 This is a schematic diagram of the structure of a power supply control device provided in an embodiment of this application; Figure 2 This is a schematic diagram of another power supply control device provided in an embodiment of this application; Figure 3 This is a schematic diagram of a control circuit provided in an embodiment of this application; Figure 4 This is a schematic diagram of another power supply control device provided in an embodiment of this application.
[0019] Figure label: 100. Power supply circuit; 10. Power supply terminal; 11. First control terminal; 12. Second control terminal; 200. Control circuit; 21. First control circuit; U1, buffer switch; R6, sixth resistor; R7, seventh resistor; D2, transient voltage suppressor diode; 22. Second control circuit; Q1, third switch; Q2, fourth switch; R3, third resistor; R4, fourth resistor; C1, first capacitor; 23. Latch; U2, First NAND gate; U3, Second NAND gate; U4, Single-channel bus buffer; R1, First resistor; R2, Second resistor; R5, Fifth resistor; R8, Eighth resistor; R9, Ninth resistor; R10, Tenth resistor; C2, Second capacitor; D1, Diode; Q3, Fifth switch; Q4, Sixth switch; K1, First Switch; K2, the second switch; Q5, Seventh Switch; Q6, Eighth Switch; R11, Eleventh Resistor; R12, Twelfth Resistor; R13, Thirteenth Resistor; R14, Fourteenth Resistor; R15, Fifteenth Resistor; U5, single-channel buffer; C3, third capacitor. Detailed Implementation
[0020] In the embodiments of this application, the terms "first," "second," "third," "fourth," "fifth," and "sixth" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined with "first," "second," "third," "fourth," "fifth," and "sixth" may explicitly or implicitly include one or more of that feature.
[0021] In embodiments of this application, 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. Without further limitation, 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. "A and / or B" includes three combinations: A only, B only, and a combination of A and B.
[0022] In describing some embodiments, the terms "coupled" and "connected," and their derivative expressions, may be used. For example, the term "connected" may be used in describing some embodiments to indicate that two or more components have direct physical or electrical contact with each other. Similarly, the term "coupled" may be used in describing some embodiments to indicate that two or more components have direct physical or electrical contact. However, the terms "coupled" or "communicatively coupled" may also refer to two or more components that do not have direct contact with each other but still cooperate or interact with each other. The embodiments disclosed herein are not necessarily limited to the content of this document.
[0023] In the embodiments of this application, the terms "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner. In the description of this specification, specific features, structures, materials, or characteristics may be combined in any suitable manner in one or more embodiments or examples.
[0024] This application provides an electronic device.
[0025] Optionally, electronic devices include electronic products (such as mobile phones, computers, and televisions), industrial and automation equipment (such as automated robots (including automated guided vehicles, AGVs), programmable logic controllers (PLCs), and CNC machine tools), communication and network equipment (such as routers, servers, and switches), vehicle equipment (such as body controllers), and medical devices.
[0026] For example, the electronic device includes a power supply control device.
[0027] A power supply control device is a device that controls, manages, or regulates the electrical energy supply to electronic equipment. For example, an electronic device includes a battery and a main control board. When the power supply control device controls the battery to supply power to the main control board, the main control board is powered on; when the power supply control device controls the battery to stop supplying power to the main control board, the main control board is powered off. Therefore, the power supply control device can act as a power-on / off control circuit to control the power-on and power-off of electronic equipment.
[0028] In related technologies, the power supply and power-on / off process of equipment are controlled by a power-on / off circuit. Specifically, the power-on / off circuit is implemented based on an MCU. When the power button or start button of the equipment is pressed, a level pulse signal is generated and sent to the MCU. After receiving the signal, the MCU issues a control command to control the power supply output of the equipment to start the equipment.
[0029] Based on this, this application provides a purely hardware-based power supply control device. The power supply control device is composed of discrete hardware components, requiring no software MCU intervention. It is simple, reliable, low-cost, highly portable, and applicable to a wide range of scenarios. It simultaneously controls both the power supply circuit and the control circuit, simplifying user operation. When both the power supply circuit and the control circuit are turned off, it avoids the static power consumption that occurs when the control circuit is off but the power supply circuit remains on, thus improving the power supply circuit's endurance.
[0030] In some embodiments, please refer to Figure 1 The power supply control device includes a power supply circuit 100, a control circuit 200, a first switch K1, and a second switch K2. The first terminal of the control circuit 200 is coupled to the power supply terminal 10 of the power supply circuit 100. The second and third terminals of the control circuit 200 are respectively coupled to the first control terminal 11 and the second control terminal 12 of the power supply circuit 100. The first switch K1 is coupled between the first control terminal 11 and the second control terminal 12. The second switch K2 is coupled between the fourth terminal of the control circuit 200 and the ground terminal GND. The first switch K1 and the second switch K2 can be closed or opened simultaneously. When the first switch K1 and the second switch K2 are closed and then turned off, the second and third terminals of the control circuit 200 are connected, and the first control terminal 11 and the second control terminal 12 are connected, allowing the power supply circuit 100 to supply power to the control circuit 200.
[0031] The power supply circuit 100 is used to supply power to the control circuit 200, which is used to realize functions such as information processing and calculation, program and data storage, system coordination and timing control.
[0032] Optionally, the power supply circuit 100 includes a battery, power supply, power management chip, voltage regulator, etc., and the control circuit 200 includes a main control board, MCU, motherboard, controller, central processing unit (CPU), microprocessor unit (MPU), etc.
[0033] For example, such as Figure 2As shown, the power supply circuit is a battery, and the control circuit is a main control board. The battery's power output terminals (OUT+ and OUT-) serve as the power supply terminals of the power supply circuit, coupled to the first terminal (IN+ and IN-) of the main control board. The battery's discharge switch + and discharge switch - serve as the first and second control terminals of the power supply circuit. BAT_SW1 and BAT_SW2 of the main control board serve as the second and third terminals of the control circuit, respectively. BTN of the main control board serves as the fourth terminal of the control circuit, and GND of the main control board serves as the ground terminal.
[0034] Specifically, the battery's power output terminals (OUT+ and OUT-) are used to output electrical energy, with OUT+ outputting the positive terminal and OUT- outputting the negative terminal. The battery's discharge switches + and - are the battery's control switches. When the discharge switches + and - are connected via external wiring, they send a discharge command to the battery's protection board, causing the metal-oxide-semiconductor field-effect transistors (MOSFETs) on the protection board to conduct, thereby outputting electrical energy through the power output terminals. For example... Figure 2 As shown, when the first switch K1 and the second switch K2 are closed, the battery discharge switch + and discharge switch - are connected, and the power output terminals (OUT+ and OUT-) supply power to the main control board, turning on the main control board. At the same time, BAT_SW1 and BAT_SW2 of the main control board are connected inside the main control board. When the first switch K1 and the second switch K2 are opened, BAT_SW1 and BAT_SW2 of the main control board are still connected inside the main control board, so that the battery discharge switch + and discharge switch - are still connected, and the power output terminals (OUT+ and OUT-) continue to supply power to the main control board.
[0035] For example, the first switch K1 and the second switch K2 are controlled by a button. When the button is pressed, the first switch K1 and the second switch K2 are closed at the same time, and when the button is released, the first switch K1 and the second switch K2 are opened at the same time.
[0036] In some embodiments, when the first switch K1 and the second switch K2 are closed for a first preset time and then turned off, the second and third terminals of the control circuit 200 are connected. For example, when the first switch K1 and the second switch K2 are controlled by a button, if the button is pressed for 1 second and then released, the first switch K1 and the second switch K2 are closed for 1 second and then turned off, and the second and third terminals of the control circuit 200 are connected.
[0037] In some embodiments, when the first switch K1 and the second switch K2 are closed for a second preset time and then turned off, the second and third terminals of the control circuit 200 are disconnected, the first control terminal 11 and the second control terminal 12 are disconnected, and the power supply circuit 100 stops supplying power to the control circuit 200.
[0038] The first preset duration is shorter than the second preset duration. For example, when controlling the first switch K1 and the second switch K2 with a button, if the button is pressed for 3 seconds and then released, the first switch K1 and the second switch K2 will close for 3 seconds and then turn off, thus disconnecting the second and third terminals of the control circuit 200.
[0039] In some embodiments, such as Figure 3 As shown, the control circuit includes a first control circuit 21, a second control circuit 22, and a latch 23. The input terminal of the first control circuit 21 serves as the fourth terminal of the control circuit. When the input terminal of the first control circuit 21 is connected to the ground terminal for a first preset time period, it outputs a first voltage; after the first preset time period, the input terminal of the first control circuit 21 is disconnected from the ground terminal, and a second voltage is output. The input terminal of the second control circuit 22 is coupled to the input terminal of the first control circuit 21. When the input terminal of the second control circuit 22 is connected to the ground terminal for a second preset time period, it outputs a third voltage; after the second preset time period, it outputs a fourth voltage. The first and second input terminals of the latch 23 are respectively coupled to the output terminals of the first control circuit 21 and the second control circuit 22. The output terminal of the latch 23 is coupled to the second and third terminals of the control circuit. When the output terminal of the latch 23 outputs a fifth voltage, the second and third terminals of the control circuit are connected; when the output terminal of the latch 23 outputs a sixth voltage, the second and third terminals of the control circuit are disconnected.
[0040] Among them, the first voltage is less than the second voltage, the fourth voltage is less than the third voltage, and the sixth voltage is less than the fifth voltage.
[0041] Optionally, the first, second, third, fourth, fifth, and sixth voltages are not fixed values and can represent values within a preset voltage range. For example, the first, fourth, and sixth voltages are at a low level, and the second, third, and fifth voltages are at a high level. The low-level voltage value is less than the preset value of the first voltage, and the high-level voltage value is greater than the preset value of the first voltage.
[0042] Optionally, the voltage values of the first, fourth, and sixth voltages are kept consistent, and the voltage values of the second, third, and fifth voltages are kept consistent.
[0043] A latch is a basic electronic memory unit, specifically a digital logic circuit with two stable states, capable of storing 1 bit of binary data (0 or 1) and maintaining that state until a new input signal is received.
[0044] For example, the latch includes a first NAND gate U2 and a second NAND gate U3. As... Figure 4As shown, the first input of the first NAND gate U2 serves as the first input of the latch. The first input of the first NAND gate U2 is coupled to the output of the second NAND gate U3, and the output of the first NAND gate U2 serves as the output A of the latch. The first input of the second NAND gate U3 is coupled to the output of the first NAND gate U2, and the second input of the second NAND gate U3 serves as the second input of the latch. The output of the latch outputs a control signal POWER_EN to BAT_SW1 and BAT_SW2 on the main control board (control circuit), controlling the conduction or disconnection between BAT_SW1 and BAT_SW2.
[0045] For example, the initial state of the latch is Q=0. When =1, the truth table is shown in Table 1: Table 1: Truth Table of Latches
[0046] Where S represents the first input terminal of the latch, R represents the second input terminal of the latch, and Q represents the output terminal of the latch. This indicates the output of the second NAND gate U3. 1 represents a high level, and 0 represents a low level. The high level voltage is higher than the low level voltage.
[0047] For example: When the output of the first control circuit 21 outputs a first voltage (low level) to the first input of the latch 23, and the output of the second control circuit 22 outputs a third voltage (high level) to the second output of the latch 23, the latch outputs a fifth voltage (high level), and the second and third terminals of the control circuit are connected. When the output of the first control circuit 21 outputs a second voltage (high level) to the first input of the latch 23, and the output of the second control circuit 22 outputs a third voltage (high level) to the second output of the latch 23, the latch outputs a fifth voltage (high level), maintaining the original output state. When the output of the first control circuit 21 outputs a second voltage (high level) to the first input of the latch 23, and the output of the second control circuit 22 outputs a fourth voltage (low level) to the second output of the latch 23, the latch outputs a sixth voltage (low level), and the second and third terminals of the control circuit are disconnected. In the initial state when the control circuit is not powered on, the latch 23 outputs a sixth voltage (low level), and the second and third terminals of the control circuit are disconnected.
[0048] In some embodiments, the first NAND gate U2 and the second NAND gate U3 in the latch are coupled to the power supply terminal through the first resistor R1 and the second resistor R2, respectively, to provide a high level and improve the driving capability and anti-interference capability. This application does not specifically limit the resistance values of the first resistor R1 and the second resistor R2; for example, the resistance values of both the first resistor R1 and the second resistor R2 are 1KΩ.
[0049] In some embodiments, such as Figure 4 As shown, the output of the latch is coupled to BAT_SW1 and BAT_SW2 on the main control board (control circuit) through a single-channel bus buffer (line driver) U4.
[0050] Among them, the single-channel bus buffer U4 is a controllable electronic switch. When it is turned on, the output changes with the input, and when it is turned off, the output signal stops. It can be used as a buffer device to achieve functions such as signal isolation and protection, and improvement of signal quality and driving capability.
[0051] For example, a fifth resistor R5 is coupled between the latch and the single-channel bus buffer U4 to achieve current limiting. A diode D1 is connected in parallel with the fifth resistor R5 to prevent reverse current. One end of the fifth resistor R5 is grounded through a second capacitor C2 for buffering and filtering. The fifth resistor R5 has a resistance of 470KΩ, and the second capacitor C2 has a capacitance of 2.2µF and a rated voltage of 6.3V, but is not limited to these values.
[0052] In some embodiments, the first control circuit includes a buffer switch U1, the first end of the buffer switch U1 serves as the input terminal of the first control circuit, the second end of the buffer switch U1 serves as the output terminal of the first control circuit, the second end of the buffer switch U1 is also coupled to a power supply terminal, and the third end of the buffer switch U1 is coupled to the output terminal of the second control circuit; when a fourth voltage is input to the third end of the buffer switch U1, the buffer switch U1 is turned off, and when the third end of the buffer switch U1 is subjected to a third voltage, the buffer switch U1 is turned on.
[0053] When the first terminal of the buffer switch U1 is connected to the ground terminal and the buffer switch U1 is on, the second terminal of the buffer switch U1 outputs the first voltage; when the power supply circuit supplies power to the control circuit and the buffer switch U1 is off, the second terminal of the buffer switch U1 outputs the second voltage.
[0054] For example, such as Figure 4 As shown, the buffer switch U1 and the single-channel bus buffer U4 are the same type of switch. While realizing the buffering function, the buffer switch U1 can also control the output signal by its own on / off control.
[0055] For example, the first terminal of the buffer switch U1 is coupled to the BTN of the main control board and is also coupled to the power supply terminal through the seventh resistor R7. The second terminal of the buffer switch U1 is coupled to the power supply terminal through the sixth resistor R6. When the BTN of the main control board is coupled to the ground terminal and the buffer switch U1 is on, the second terminal of the buffer switch U1 outputs a first voltage. When the BTN of the main control board is floating and the buffer switch U1 is on, the second terminal of the buffer switch U1 outputs a second voltage provided by the power supply terminal. When the power supply circuit supplies power to the control circuit and the buffer switch U1 is off, the second terminal of the buffer switch U1 outputs a second voltage through the power supply terminal. The resistance of the sixth resistor R6 is 120Ω, and the resistance of the seventh resistor R7 is 10kΩ, but these are not the only considerations.
[0056] In some embodiments, the input terminal of the first control circuit is grounded through a transient voltage suppression diode D2. The rated voltage of the transient voltage suppression diode D2 is 5V, and the junction capacitance under normal operating conditions is 12pF, which is used to prevent high voltage pulses from damaging the circuit.
[0057] In some embodiments, the second control circuit includes a third switch Q1, a delay circuit, and a fourth switch Q2. The first terminal of the third switch Q1 serves as the input terminal of the second control circuit, and the second terminal of the third switch Q1 is coupled to a ground terminal. The first terminal of the delay circuit is coupled to the third terminal of the third switch Q1, the second terminal of the delay circuit is coupled to a power supply terminal, and the third terminal of the delay circuit is coupled to a ground terminal. The first terminal of the fourth switch Q2 is coupled to the first terminal of the delay circuit, the second terminal of the fourth switch Q2 is coupled to a ground terminal, and the third terminal of the fourth switch Q2 serves as the output terminal of the second control circuit; the third terminal of the fourth switch Q2 is also coupled to a power supply terminal.
[0058] When the first terminal of the third switch Q1 is grounded, the voltage at the first terminal of the delay circuit gradually rises. After the second preset time, the fourth switch Q2 is turned on, and the second terminal of the fourth switch Q2 outputs the fourth voltage.
[0059] For example, such as Figure 4As shown, both the third switch Q1 and the fourth switch Q2 are MOSFETs. The third terminal of the fourth switch Q2 is coupled to the power supply terminal through the fourth resistor R4. The delay circuit includes a third resistor R3 and a first capacitor C1. The first terminal of the third resistor R3 serves as the second terminal of the delay circuit, and the first terminal of the first capacitor C1 is coupled to the second terminal of the third resistor R3, while the second terminal of the first capacitor C1 serves as the third terminal of the delay circuit. Specifically, the gate of the third switch Q1 serves as the first terminal of the third switch Q1 and is coupled to the BTN of the main control board. When the BTN of the main control board is floating, the third switch Q1 is turned on, and the potential of the third terminal of the third switch Q1 is pulled low. The gate of the fourth switch Q2 is coupled to the third terminal of the third switch Q1. Therefore, when the potential of the third terminal of the third switch Q1 is pulled low and the fourth switch Q2 is turned off, and the power supply terminal supplies power to the second control circuit, the output terminal of the second control circuit outputs a third voltage. When the BTN of the main control board is grounded, the third switch Q1 is open, and the power supply terminal charges the first capacitor C1 through the third resistor R3. The voltage at the first terminal of the first capacitor C1 rises slowly. After a second preset time (e.g., 3 seconds), the voltage at the first terminal of the first capacitor C1 rises to a value that can control the fourth switch Q2 to conduct. The fourth switch Q2 conducts, and the second control circuit outputs the fourth voltage. The voltage signal RESET output by the second control circuit is sent to the third terminal of the buffer switch U1. When the second control circuit outputs the fourth voltage, the buffer switch U1 is turned off; when the second control circuit outputs the third voltage, the buffer switch U1 is turned on, so that when the fourth voltage is input to the second input terminal of the latch 23, the first input terminal of the latch 23 receives the first voltage.
[0060] The resistance of the third resistor R3 is 1MΩ, the capacitance of the first capacitor C1 is 2.2µF, and the rated voltage is 6.3V, but not limited to these.
[0061] In some embodiments, the output of the second control circuit is grounded through a third capacitor C3 to achieve voltage regulation and filtering. The capacitance of the third capacitor C3 is 1µF and the rated voltage is 16V, but it is not limited to these.
[0062] In some embodiments, the control circuit transforms the voltage supplied by the power supply terminal into a 5V voltage source VCC, and uses the voltage source VCC to power the first NAND gate U2, the second NAND gate U3, the single-channel bus buffer U4, and the buffer switch U1 in the control circuit.
[0063] In some embodiments, the control circuit further includes a switching circuit. The first and second terminals of the switching circuit are respectively coupled to the second and third terminals of the control circuit, and the second terminal of the switching circuit is coupled to the output terminal of the latch. When the output terminal of the latch outputs a fifth voltage, the first and second terminals of the switching circuit are connected, and when the output terminal of the latch outputs a sixth voltage, the first and second terminals of the switching circuit are disconnected.
[0064] For example, such as Figure 4 As shown, the switching circuit includes a fifth switch Q3 and a sixth switch Q4, both of which are MOSFETs. The drains of the fifth switch Q3 and the sixth switch Q4 are coupled to BAT_SW1 and BAT_SW2 of the main control board (control circuit), respectively. The sources of the fifth switch Q3 and the sixth switch Q4 are grounded through the tenth resistor R10. The output of the latch is coupled to the gate of the fifth switch Q3 and the sixth switch Q4 through the eighth resistor R8, controlling the on / off state of the fifth switch Q3 and the sixth switch Q4. When the latch outputs the fifth voltage, the fifth switch Q3 and the sixth switch Q4 are turned on, making BAT_SW1 and BAT_SW2 of the main control board (control circuit) conduct; when the latch outputs the sixth voltage, the fifth switch Q3 and the sixth switch Q4 are turned off, making BAT_SW1 and BAT_SW2 of the main control board (control circuit) disconnected. The gates of the fifth switch Q3 and the sixth switch Q4 are grounded through the ninth resistor R9. The eighth resistor R8 and the ninth resistor R9 limit current and divide voltage, providing appropriate voltage values for the gates of the fifth switch Q3 and the sixth switch Q4. The resistance of the eighth resistor R8 is 10KΩ, the resistance of the ninth resistor R9 is 20KΩ, and the resistance of the tenth resistor R10 is 1000KΩ, but it is not limited to these values.
[0065] In some embodiments, the power supply control device further includes a temperature warning circuit. The temperature warning circuit is coupled to the second input terminal of the latch and is used to reduce the voltage at the second input terminal of the latch when the temperature of the power supply control device is higher than a temperature threshold, so that the output terminal of the latch outputs a sixth voltage.
[0066] For example, the temperature warning circuit includes a single-channel buffer U5. The single-channel buffer U5 is disconnected when the input is low and turned on and outputs a low level when the input is high. The output terminal of the single-channel buffer U5 is coupled to the second input terminal of the latch. The output terminal of the single-channel buffer U5 receives a temperature control signal. When the power supply control device experiences CPU overheating, undervoltage, or other abnormal events, the temperature control signal changes from low to high, causing the single-channel buffer U5 to pull down the voltage at the second input terminal of the latch, thereby disconnecting the second and third terminals of the control circuit and achieving forced power-off shutdown.
[0067] In some embodiments, the indicator light is coupled to the power supply terminal. When the second and third terminals of the control circuit are connected, the power supply terminal supplies power to the indicator light, and the indicator light lights up. When the second and third terminals of the control circuit are disconnected, the indicator light turns off.
[0068] For example, such as Figure 4As shown, the indicator LED is connected to the voltage source VCC via the fifteenth resistor R15 and the eighth switch Q6. The latch outputs a control signal POWER_EN to the seventh switch Q5. When the latch outputs the fifth voltage, the seventh switch Q5 turns on, which in turn turns on the eighth switch Q6, supplying power to the indicator LED from the voltage source VCC, and the LED lights up. When the latch outputs the sixth voltage, the seventh switch Q5 turns off, which in turn turns off the eighth switch Q6, and the voltage source VCC stops supplying power to the indicator LED, and the LED turns off. Both the seventh switch Q5 and the eighth switch Q6 are MOSFETs. The eleventh resistor R11 and the twelfth resistor R12 form a voltage divider circuit to provide a suitable voltage value to the gate of the seventh switch Q5. Similarly, the thirteenth resistor R13 and the fourteenth resistor R14 form a voltage divider circuit to provide a suitable voltage value to the gate of the eighth switch Q6 when the seventh switch Q5 is on. Among them, the eleventh resistor R11 has a resistance of 470KΩ, the twelfth resistor R12 has a resistance of 1KΩ, the thirteenth resistor R13 has a resistance of 20KΩ, the fourteenth resistor R14 has a resistance of 10KΩ, and the fifteenth resistor R15 has a resistance of 470KΩ.
[0069] In some embodiments, the indicator LED is integrated with the first switch K1 and the second switch K2 in the same push-button control switch. The indicator LED lights up when the control circuit is turned on and turns off when the control circuit is turned off.
[0070] In the description of the embodiments of this application, specific features, structures, materials or characteristics may be combined in any suitable manner in one or more embodiments or examples.
[0071] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A power supply control device, characterized in that, include: Power supply circuit; A control circuit, wherein a first terminal of the control circuit is coupled to a power supply terminal of the power supply circuit, and a second and a third terminal of the control circuit are respectively coupled to a first control terminal and a second control terminal of the power supply circuit. A first switch, the first switch being coupled between the first control terminal and the second control terminal; The second switch is coupled between the fourth terminal of the control circuit and the ground terminal; the first switch and the second switch are closed or opened simultaneously. When the first switch and the second switch are closed and then turned off, the second and third terminals of the control circuit are connected, the first control terminal and the second control terminal are connected, and the power supply circuit supplies power to the control circuit.
2. The power supply control device according to claim 1, characterized in that, When the first switch and the second switch are closed for a first preset time and then turned off, the second and third terminals of the control circuit are connected.
3. The power supply control device according to claim 2, characterized in that, When the first switch and the second switch are closed for a second preset time and then turned off, the second and third terminals of the control circuit are disconnected, the first control terminal and the second control terminal are disconnected, and the power supply circuit stops supplying power to the control circuit; the first preset time is less than the second preset time.
4. The power supply control device according to claim 3, characterized in that, The control circuit includes: A first control circuit, wherein the input terminal of the first control circuit serves as the fourth terminal of the control circuit; when the input terminal of the first control circuit is connected to the ground terminal for a period of time within a first preset period, a first voltage is output; after the first preset period, the input terminal of the first control circuit is disconnected from the ground terminal, and a second voltage is output; the first voltage is less than the second voltage; A second control circuit, the input terminal of which is coupled to the input terminal of the first control circuit; when the input terminal of the second control circuit is connected to the ground terminal for a period of time within a second preset time, a third voltage is output; after the second preset time, a fourth voltage is output; the fourth voltage is less than the third voltage. A latch, wherein the first and second input terminals of the latch are respectively coupled to the output terminals of the first and second control circuits, and the output terminal of the latch is coupled to the second and third terminals of the control circuit; when the output terminal of the latch outputs a fifth voltage, the second and third terminals of the control circuit are connected, and when the output terminal of the latch outputs a sixth voltage, the second and third terminals of the control circuit are disconnected; the sixth voltage is less than the fifth voltage.
5. The power supply control device according to claim 4, characterized in that, The first control circuit includes: A buffer switch is provided, wherein the first end of the buffer switch serves as the input terminal of the first control circuit, the second end of the buffer switch serves as the output terminal of the first control circuit, the second end of the buffer switch is also coupled to the power supply terminal, and the third end of the buffer switch is coupled to the output terminal of the second control circuit; when the fourth voltage is input to the third end of the buffer switch, the buffer switch is turned off, and when the third end of the buffer switch is subjected to the third voltage, the buffer switch is turned on. When the first terminal of the buffer switch is connected to the ground terminal and the buffer switch is on, the second terminal of the buffer switch outputs the first voltage; when the power supply circuit supplies power to the control circuit and the buffer switch is off, the second terminal of the buffer switch outputs the second voltage.
6. The power supply control device according to claim 4, characterized in that, The second control circuit includes: The third switch has its first end serving as the input terminal of the second control circuit, and its second end being coupled to the ground terminal. A delay circuit, wherein the first terminal of the delay circuit is coupled to the third terminal of the third switch, the second terminal of the delay circuit is coupled to the power supply terminal, and the third terminal of the delay circuit is coupled to the ground terminal; A fourth switch, wherein the first end of the fourth switch is coupled to the first end of the delay circuit, the second end of the fourth switch is coupled to the ground terminal, and the third end of the fourth switch serves as the output terminal of the second control circuit; the third end of the fourth switch is also coupled to the power supply terminal. When the first terminal of the third switch is grounded, the voltage at the first terminal of the delay circuit gradually rises. After the second preset time, the fourth switch is turned on, and the second terminal of the fourth switch outputs the fourth voltage.
7. The power supply control device according to claim 4, characterized in that, The control circuit also includes: A switching circuit, wherein the first and second terminals of the switching circuit are respectively coupled to the second and third terminals of the control circuit, and the second terminal of the switching circuit is coupled to the output terminal of the latch; when the output terminal of the latch outputs a fifth voltage, the first and second terminals of the switching circuit are connected, and when the output terminal of the latch outputs a sixth voltage, the first and second terminals of the switching circuit are disconnected.
8. The power supply control device according to claim 4, characterized in that, Also includes: A temperature warning circuit, coupled to the second input terminal of the latch, is used to reduce the voltage at the second input terminal of the latch when the temperature of the power supply control device is higher than the temperature threshold, so that the output terminal of the latch outputs the sixth voltage.
9. The power supply control device according to claim 1, characterized in that, Also includes: An indicator light is coupled to the power supply terminal. When the second and third terminals of the control circuit are connected, the power supply terminal supplies power to the indicator light, and the indicator light illuminates. The indicator light goes out when the connection between the second and third terminals of the control circuit is broken.
10. The power supply control device according to claim 1, characterized in that, The first switch and the second switch are controlled by a button. When the button is pressed, the first switch and the second switch are closed simultaneously, and when the button is released, the first switch and the second switch are open simultaneously.
