A battery switch control circuit and electronic device
Patent Information
- Application Number
- CN202610965007.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-30
- Publication Date
- 2026-10-13
AI Technical Summary
[0003]然而,上述的瞬时断电方式存在诸多缺陷:控制模块接收到关机指令后,没有充足的时间将运行日志、采集数据等关键信息写入存储单元,易出现数据丢失的问题,影响设备数据记录的完整性与使用寿命,进而降低设备运行可靠性与用户的使用体验
[0015]本发明的技术方案,在设备正常运行阶段,供电控制模块和延时供电模块共同为控制模块供电,提高供电的稳定性,同时,延时供电模块可以存储电能,以在设备关机断电阶段,释放预先存储的电能,为控制模块进行延时供电,以使控制模块可以在延时供电阶段,对数据进行保存,避免设备因直接断电而引起的数据损坏风险,提高设备的运行稳定性与用户的使用体验。
Smart Images

Figure CN122908351A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power electronics technology, and more particularly to a battery switch control circuit and electronic device. Background Technology
[0002] Currently, all types of battery-powered portable electronic devices are equipped with a battery switch control circuit, which is used to manage the power supply from the battery to the device's internal control module. In existing technology, conventional switch control circuits immediately cut off the power supply circuit between the battery and the control module upon detecting an external shutdown command. With the power supply signal gone, the control module immediately loses power.
[0003] However, the above-mentioned instantaneous power outage method has many drawbacks: after the control module receives the shutdown command, there is not enough time to write key information such as operation logs and collected data into the storage unit, which can easily lead to data loss, affecting the integrity and lifespan of the equipment's data records, and thus reducing the reliability of equipment operation and the user experience. Summary of the Invention
[0004] This invention provides a battery switch control circuit and electronic device that can avoid the risk of data corruption caused by direct power failure, thereby improving the operational stability of the device and the user experience.
[0005] In a first aspect, the present invention provides a battery switch control circuit, the battery switch control circuit being used to supply power to a control module; the battery switch control circuit includes: A power supply control module is electrically connected to the control module; the power supply control module is used to output a power supply signal to supply power to the control module. The delayed power supply module is electrically connected to both the power supply control module and the control module. The delayed power supply module is used to supply power to the control module according to the power supply signal, and to provide delayed power to the control module when the power supply signal disappears.
[0006] Optionally, the battery switch control circuit further includes: a button switch module electrically connected to the control module; the button switch module is used to receive external commands and output a button signal when the received external command is a start command; the control module is used to output a self-locking signal according to the button signal.
[0007] Optionally, the battery switch control circuit further includes: a self-locking module, which is electrically connected to the button switch module, the power supply control module, and the control module respectively; the self-locking module is used to output a self-sustaining signal under the control of the self-locking signal; the power supply control module is also used to output the power supply signal to supply power to the control module under the control of the self-sustaining signal.
[0008] Optionally, the delay power supply module includes a delay switch unit, a delay power supply unit, a delay current limiting unit, and a delay voltage regulating unit; The delayed power supply unit is electrically connected to the delayed switch unit, the delayed current limiting unit, and the delayed voltage regulating unit, respectively; the delayed power supply unit is used to output a delayed power supply signal; The delay switch unit is electrically connected to the delay current limiting unit and the delay voltage regulating unit respectively; the delay switch unit is used to provide a power signal to the delay voltage regulating unit according to the power supply signal and the delay power supply signal; The delay voltage regulator unit is also electrically connected to the control module; the delay voltage regulator unit is used to control the power signal to supply power to the control module with a stable voltage; The delay current limiting unit is also electrically connected to the power supply control module; the delay current limiting unit is used to control the power supply signal to limit the current to supply power to the control module.
[0009] Optionally, the delay current limiting unit includes a first resistor and a first diode; the first resistor and the first diode are sequentially electrically connected between the power supply control module and the delay switch unit; The time-delay power supply unit includes a first capacitor and a second resistor; the first capacitor and the second resistor are connected in parallel between the time-delay switch unit and the ground terminal; The delay switch unit includes a first transistor; the base of the first transistor is electrically connected to the second resistor, the first terminal of the first transistor is electrically connected to the first capacitor, and the second terminal of the first transistor is electrically connected to the delay voltage regulator unit. The time-delay voltage regulator unit includes a third resistor, a fourth resistor, and a second diode; the third resistor and the fourth resistor are electrically connected between the second terminal of the first transistor and the control module, and the second diode is electrically connected between the second terminal of the third resistor and the ground terminal.
[0010] Optionally, the power supply control module includes a power supply switching unit and a power supply conversion unit; The power supply switch unit is electrically connected to the button switch module, the self-locking module, and the time-delay power supply module, respectively; the power supply switch unit is used to control the supply of power signals to the power conversion unit and the time-delay power supply module according to the button signal and the self-sustaining signal; The power conversion unit is also electrically connected to the control module; the power conversion unit is used to supply power to the control module at a preset voltage according to the power supply signal.
[0011] Optionally, the power supply switch unit includes a second transistor, a first bias resistor, a fifth resistor, and a sixth resistor; the first bias resistor is electrically connected between the base of the second transistor and the first terminal of the second transistor, the second terminal of the second transistor is electrically connected to the first terminal of the fifth resistor, the second terminal of the fifth resistor is electrically connected to the power supply conversion unit, and the sixth resistor is electrically connected between the base of the second transistor and the push-button switch module; The power conversion unit includes a DC-DC module, a second capacitor, a third capacitor, a fourth capacitor, and a fifth capacitor. The signal input terminal of the DC-DC module is electrically connected to the second terminal of the fifth resistor, the signal output terminal of the DC-DC module is electrically connected to the control module, the ground signal terminal of the DC-DC module is electrically connected to the ground terminal, the second capacitor and the third capacitor are connected in parallel between the signal input terminal and the ground terminal of the DC-DC module, and the fourth capacitor and the fifth capacitor are connected in parallel between the signal output terminal and the ground terminal of the DC-DC module.
[0012] Optionally, the self-locking module includes a self-locking switch unit and a self-locking current limiting unit; The self-locking switch unit is electrically connected to the self-locking current limiting unit, the push button switch module, and the power supply control module, respectively; the self-locking switch unit is used to output a self-sustaining signal to the power supply control module under the control of the self-locking signal; The self-locking current limiting unit is also electrically connected to the control module; the self-locking current limiting unit is used to provide the self-locking signal that limits the current to the self-locking switch unit; The push-button switch module includes a push-button switch unit, a push-button control unit, and a push-button voltage regulator unit; The button switch unit is electrically connected to the button control unit and the button voltage regulator unit respectively; the button switch unit is used to receive external commands and output a button signal when the received external command is a start command; The button control unit is also electrically connected to the control module; the button control unit is used to control the button signals provided to the control module. The button voltage regulator unit is also electrically connected to the power supply control module; the button voltage regulator unit is used to control the button signal to output a stable voltage to the power supply control module.
[0013] Optionally, the self-locking switch unit includes a third transistor and a second bias resistor; the base of the third transistor is electrically connected to the self-locking current limiting unit, the first terminal of the third transistor is electrically connected to the ground terminal, the second terminal of the third transistor is electrically connected to the power supply control module, and the second bias resistor is electrically connected between the base of the third transistor and the first terminal of the third transistor. The self-locking current limiting unit includes a seventh resistor; the seventh resistor is electrically connected between the base of the third transistor and the control module; The push-button switch unit includes a first switch, an eighth resistor, and a sixth capacitor; the first end of the first switch is electrically connected to the first end of the eighth resistor, the second end of the first switch is electrically connected to the ground terminal, the eighth resistor is electrically connected between the first end of the first switch and the push-button voltage regulator unit, and the sixth capacitor is electrically connected between the second end of the first switch and the push-button voltage regulator unit. The button voltage regulator unit includes a third diode and a fourth diode; the third diode and the fourth diode are sequentially electrically connected between the power supply control module and the eighth resistor; The button control unit includes a ninth resistor, a seventh capacitor, and a fifth diode; the first end of the ninth resistor is electrically connected to the voltage signal terminal, the second end of the ninth resistor is electrically connected to the control module, the first end of the seventh capacitor is electrically connected to the control module, the second end of the seventh capacitor is electrically connected to the ground terminal, the cathode of the fifth diode is electrically connected to the second end of the eighth resistor, and the anode of the fifth diode is electrically connected to the control module.
[0014] In a second aspect, the present invention also provides an electronic device including the battery switch control circuit described in the first aspect.
[0015] In the technical solution of this invention, during the normal operation of the equipment, the power supply control module and the delayed power supply module jointly supply power to the control module, improving the stability of the power supply. At the same time, the delayed power supply module can store electrical energy, so that during the power-off phase of the equipment, the pre-stored electrical energy can be released to provide delayed power supply to the control module. This allows the control module to save data during the delayed power supply phase, avoiding the risk of data corruption caused by direct power failure, and improving the operational stability of the equipment and the user experience. Attached Figure Description
[0016] Figure 1 This is a schematic diagram of the structure of a battery switch control circuit provided in an embodiment of the present invention; Figure 2 This is a schematic diagram of another battery switch control circuit provided in an embodiment of the present invention; Figure 3 This is a schematic diagram of another battery switch control circuit provided in an embodiment of the present invention; Figure 4 This is a schematic diagram of another battery switch control circuit provided in an embodiment of the present invention. Detailed Implementation
[0017] The present invention will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and not intended to limit it. Furthermore, it should be noted that, for ease of description, the accompanying drawings show only the parts relevant to the present invention, and not all of the structures.
[0018] The terminology used in the embodiments of this invention is for the purpose of describing specific embodiments only and is not intended to limit the invention. It should be noted that directional terms such as "upper," "lower," "left," and "right" described in the embodiments of this invention are used to describe the angles shown in the accompanying drawings and should not be construed as limiting the embodiments of this invention. Furthermore, in the context, it should be understood that when referring to an element being formed "on" or "below" another element, it can be formed not only directly on or below the other element, but also indirectly on or below it through intermediate elements. The terms "first," "second," etc., are used for descriptive purposes only and do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Those skilled in the art can understand the specific meaning of the above terms in this invention based on the specific circumstances.
[0019] The term "comprising" and its variations as used in this invention are open-ended, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment".
[0020] It should be noted that the concepts of "first" and "second" mentioned in this invention are only used to distinguish the corresponding contents and are not used to limit the order or interdependence.
[0021] It should be noted that the terms "a" and "a plurality of" used in this invention are illustrative rather than restrictive. Those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".
[0022] Figure 1 This is a schematic diagram of a battery switch control circuit provided in an embodiment of the present invention, as shown below. Figure 1 As shown, the battery switch control circuit is used to supply power to the control module (not shown in the figure); the battery switch control circuit includes: a power supply control module 10, which is electrically connected to the control module; the power supply control module 10 is used to output a power supply signal to supply power to the control module; a delayed power supply module 20, which is electrically connected to the power supply control module 10 and the control module respectively; the delayed power supply module 20 is used to supply power to the control module according to the power supply signal, and to provide delayed power to the control module when the power supply signal disappears.
[0023] The battery switch control circuit is electrically connected to both the battery and the control module. This circuit regulates the power supply from the battery to the control module and the electrical load, enabling precise control of power supply start-up and shutdown. The power supply control module 10 is electrically connected to both the battery (not shown) and the control module. When the power supply control module 10 supplies power to the control module, it converts the battery voltage Vpower into a stable VCC power supply signal, thus powering the control module and enabling the device to power on and start. Simultaneously, the power supply control module 10 is also electrically connected to the time-delay power supply module 20. While supplying power to the control module, the power supply control module 10 can also provide a power supply signal to the time-delay power supply module 20, allowing it to supply power to the control module based on the signal. The time-delay power supply module 20 can also store electrical energy. During the power-off phase, when the power supply signal disappears, the pre-stored energy is released to provide delayed power to the control module. This allows the control module to save data during the time-delay power supply phase, avoiding the risk of data corruption due to direct power outages and improving the operational stability of the device.
[0024] In this embodiment, during the normal operation of the equipment, the power supply control module and the delayed power supply module jointly supply power to the control module, improving the stability of the power supply. At the same time, the delayed power supply module can store electrical energy, so that when the equipment is powered off, the pre-stored electrical energy can be released to provide delayed power to the control module. This allows the control module to save data during the delayed power supply phase, avoiding the risk of data corruption caused by direct power failure, and improving the operational stability of the equipment and the user experience.
[0025] Optional, Figure 2 This is a schematic diagram of another battery switch control circuit provided in an embodiment of the present invention, as shown below. Figure 2 As shown, the battery switch control circuit also includes: a button switch module 30, which is electrically connected to the control module; the button switch module 30 is used to receive external commands and output a button signal when the received external command is a start command; the control module is used to output a self-locking signal according to the button signal.
[0026] The push-button switch module 30 can be any type of switch, and the external command can be a user's instruction to press the switch of the push-button switch module 30. When the push-button switch module 30 receives the external command, it can output a button signal, which can be an AD signal. switchSignal. For example, when a user presses the switch in the button switch module 30, the button switch module 30 can output a button signal; when the user stops pressing the switch in the button switch module 30, the button switch module 30 can stop outputting the button signal. The button signal can be either a high level or a low level, and can be designed according to actual needs; this embodiment of the invention does not limit this. The power supply control module 10 can output a power supply signal to power the control module according to the button signal. Simultaneously, the control module can output a self-locking signal according to the button signal to enable the battery switch control circuit to power on and self-lock. The self-locking signal can be a PowerLock signal.
[0027] Optional, continue to refer to Figure 2 The battery switch control circuit also includes a self-locking module 40, which is electrically connected to the push button switch module 30, the power supply control module 10 and the control module respectively; the self-locking module 40 is used to output a self-sustaining signal under the control of the self-locking signal; the power supply control module 10 is also used to output a power supply signal to supply power to the control module under the control of the self-sustaining signal.
[0028] Specifically, after the control module receives the button signal from the button switch module 30, it outputs a self-locking signal to the self-locking module 40. Driven by the self-locking signal, the self-locking module 40 is turned on and outputs a self-sustaining signal to the power supply control module 10. On one hand, the power supply control module 10 can output a power supply signal to power the control module based on the button signal; on the other hand, the power supply control module 10 can also remain on under the continuous action of the self-sustaining signal output by the self-locking module 40, continuously outputting a power supply signal to power the control module. Thus, after the user stops pressing the switch in the button switch module 30, the power supply control module 10 can control the battery to continuously power the control module under the control of the self-sustaining signal, thereby achieving a self-locking power supply effect where the power is not lost when the button is released.
[0029] Optional, Figure 3 This is a schematic diagram of another battery switch control circuit provided in an embodiment of the present invention, as shown below. Figure 3As shown, the time-delay power supply module 20 includes a time-delay switch unit 21, a time-delay power supply unit 22, a time-delay current limiting unit 23, and a time-delay voltage regulating unit 24. The time-delay power supply unit 22 is electrically connected to the time-delay switch unit 21, the time-delay current limiting unit 23, and the time-delay voltage regulating unit 24, respectively. The time-delay power supply unit 22 is used to output a time-delay power supply signal. The time-delay switch unit 21 is electrically connected to the time-delay current limiting unit 23 and the time-delay voltage regulating unit 24, respectively. The time-delay switch unit 21 is used to provide a power signal to the time-delay voltage regulating unit 24 according to the power supply signal and the time-delay power supply signal. The time-delay voltage regulating unit 24 is also electrically connected to the control module. The time-delay voltage regulating unit 24 is used to control the power supply signal to supply power to the control module at a stable voltage. The time-delay current limiting unit 23 is also electrically connected to the power supply control module 10. The time-delay current limiting unit 23 is used to control the power supply signal to supply power to the control module at a limited current.
[0030] Specifically, when the user presses the switch in the button switch module 30 and the device is powered on, the delayed power supply unit 22 can receive the electrical energy supplied by the power supply control module 10 to complete energy storage. When the device is powered off and the power supply signal disappears, the delayed power supply unit 22 can release the pre-stored electrical energy, output the delayed power supply signal, and provide delayed power supply to the control module. The delayed switch unit 21 is used to provide a power signal to the delayed voltage regulator unit 24 according to the power supply signal and the delayed power supply signal. When the power of the delayed power supply unit 22 is insufficient, the delayed switch unit 21 is turned off to end the delayed power supply. The delayed voltage regulator unit 24 is used to control the power supply signal to supply power to the control module with a stable voltage, thereby improving the operating stability of the control module. The delayed current limiting unit 23 is used to control the power supply signal to supply power to the control module with a limited current to avoid excessive inrush current damaging electronic components, and at the same time to prevent the electrical energy stored in the delayed power supply unit 22 from flowing back to the front-end power supply circuit, thereby improving the stability of the delayed power supply.
[0031] Optional, continue to refer to Figure 3 The delay current limiting unit 23 includes a first resistor R1 and a first diode D1; the first resistor R1 and the first diode D1 are sequentially electrically connected between the power supply control module 10 and the delay switch unit 21; the delay power supply unit 22 includes a first capacitor C1 and a second resistor R2; the first capacitor C1 and the second resistor R2 are connected in parallel between the delay switch unit 21 and the ground terminal; the delay switch unit 21 includes a first transistor Q1; the base of the first transistor Q1 is electrically connected to the second resistor R2, the first terminal of the first transistor Q1 is electrically connected to the first capacitor C1, and the second terminal of the first transistor Q1 is electrically connected to the delay voltage regulator unit 24; the delay voltage regulator unit 24 includes a third resistor R3, a fourth resistor R4, and a second diode D2; the third resistor R3 and the fourth resistor R4 are electrically connected between the second terminal of the first transistor Q1 and the control module, and the second diode D2 is electrically connected between the second terminal of the third resistor R3 and the ground terminal.
[0032] The first resistor R1 limits the loop current of the delayed power supply module 20 to prevent damage to electronic components from a large current surge during power-on. The first diode D1 provides unidirectional isolation, allowing only the power supply signal to be transmitted to the delayed power supply unit 22, preventing the stored energy in the delayed power supply unit 22 from flowing back into the preceding power supply circuit and improving the stability of the delayed power supply. The first capacitor C1 is an energy storage element. When the user presses the switch in the button switch module 30 and the device is powered on, the first capacitor C1 can receive the energy supplied by the power supply control module 10 to complete energy storage. When the device is powered off and the power supply signal disappears, the first capacitor C1, in conjunction with the second resistor R2, discharges to turn on the first transistor Q1, outputting a delayed power supply signal and providing delayed power to the control module. The first transistor Q1 can be an NPN transistor or a PNP transistor, and can be designed according to actual needs. This embodiment of the invention does not impose specific limitations on this. The second diode D2 can be a Zener diode. The third resistor R3, the fourth resistor R4, and the second diode D2 together form a voltage stabilization clamping branch to stabilize the discharge voltage of the first capacitor C1 at a fixed amplitude, continuously providing a stable operating voltage to the control module and improving the stability of the control module's operation.
[0033] For example, when the first transistor Q1 is a PNP transistor, the device is powered off and the power supply signal disappears. When the first capacitor C1 discharges, the emitter voltage of the first transistor Q1 is higher than the base voltage, the first transistor Q1 is turned on, and the delayed power supply signal is output to provide delayed power supply to the control module. The second diode D2 can stabilize the output voltage of the delayed power supply module 20 at 3.3V, thereby improving the power supply stability.
[0034] It should be noted that the delay power supply time of the delay power supply module 20 is related to the capacitance value of the first capacitor C1 and the equivalent resistance value of the branch containing the second resistor R2. Based on the capacitance value of the first capacitor C1 and the equivalent resistance value of the branch containing the second resistor R2, the discharge time constant is determined according to the first calculation formula, which is: τ = Req × C1; Where τ is the discharge time constant, Req is the equivalent resistance value of the branch where the second resistor R2 is located, and C1 is the capacitance value of the first capacitor C1. After determining the equivalent resistance value of the branch where the second resistor R2 is located and the capacitance value of the first capacitor C1, the equivalent resistance value of the branch where the second resistor R2 is located and the capacitance value of the first capacitor C1 can be substituted into the above first calculation formula to determine the discharge time constant.
[0035] Based on the discharge time constant, the initial voltage value and the cutoff voltage value of the first capacitor C1, and using the second calculation formula, the delay power supply time of the delay power supply module 20 is determined. The second calculation formula is as follows: t = τ × ln(V1 / V2); Where t is the delay power supply time of the delay power supply module 20, τ is the discharge time constant, V1 is the initial voltage value of the first capacitor C1, and V2 is the cutoff voltage value of the first capacitor C1. After determining the discharge time constant, the initial voltage value of the first capacitor C1, and the cutoff voltage value, these values can be substituted into the second calculation formula mentioned above to determine the delay power supply time of the delay power supply module 20. Therefore, if it is necessary to extend the delay power supply time of the delay power supply module 20, the capacitance value of the first capacitor C1 or the resistance value of the second resistor R2 can be increased to meet the delay power supply requirements of the control module.
[0036] For example, when the initial voltage of the first capacitor C1 is 15V, the cutoff voltage of the first capacitor C1 is 0.7V, and the discharge time constant is 1 second, the delay power supply time of the extended delay power supply module 20 can be determined based on the second calculation formula: t=ln(15 / 0.7)≈3s. Since the first transistor Q1 will accelerate the energy release rate of the first capacitor C1 when it is turned on, the first capacitor C1 can delay the conduction of the first transistor Q1 by 1.5 seconds, providing the control module with 1.5 seconds of data storage time.
[0037] Optional, continue to refer to Figure 3 The power supply control module 10 includes a power supply switch unit 11 and a power supply conversion unit 12. The power supply switch unit 11 is electrically connected to the push button switch module 30, the self-locking module 40, and the time-delay power supply module 20, respectively. The power supply switch unit 11 is used to control the supply of power signals to the power supply conversion unit 12 and the time-delay power supply module 20 according to the push button signal and the self-sustaining signal. The power supply conversion unit 12 is also electrically connected to the control module. The power supply conversion unit 12 is used to supply power to the control module with a preset voltage according to the power supply signal.
[0038] The power supply switch unit 11 is used to control the supply of power signals to the power supply conversion unit 12 and the delayed power supply module 20 according to the button signal and the self-sustaining signal; the power supply conversion unit 12 is used to receive the power signal provided by the power supply switch unit 11, and convert the power signal into a preset voltage to supply power to the control module, thereby improving the operational stability of the control module.
[0039] Optional, continue to refer to Figure 3The power supply switching unit 11 includes a second transistor Q2, a first bias resistor R10, a fifth resistor R5, and a sixth resistor R6. The first bias resistor R10 is electrically connected between the base and the first terminal of the second transistor Q2. The second terminal of the second transistor Q2 is electrically connected to the first terminal of the fifth resistor R5. The second terminal of the fifth resistor R5 is electrically connected to the power supply conversion unit 12. The sixth resistor R6 is electrically connected between the base of the second transistor Q2 and the push-button switch module 30. The power supply conversion unit 12 includes a DC-DC module U1, a second capacitor C2, and a sixth resistor R6. The DC-DC module U1 has three capacitors: C3, C4, and C5. The signal input terminal Vin of the DC-DC module U1 is electrically connected to the second end of the fifth resistor R5. The signal output terminal Vout of the DC-DC module U1 is electrically connected to the control module. The ground signal terminal GND of the DC-DC module U1 is electrically connected to the ground terminal. The second capacitor C2 and the third capacitor C3 are connected in parallel between the signal input terminal Vin of the DC-DC module U1 and the ground terminal. The fourth capacitor C4 and the fifth capacitor C5 are connected in parallel between the signal output terminal Vout of the DC-DC module U1 and the ground terminal.
[0040] In this embodiment, the fifth resistor R5 is a current-limiting resistor, which can prevent instantaneous large current from breaking down the DC-DC module U1. The sixth resistor R6 is also a current-limiting resistor, which can prevent instantaneous large current from breaking down the second transistor Q2. By setting a first bias resistor R10 between the base and the first terminal of the second transistor Q2, the voltage difference between the base and the first terminal of the second transistor Q2 is stably clamped to the bias voltage, satisfying the conduction or shutdown conditions of the second transistor Q2. The second transistor Q2 can be an NPN transistor or a PNP transistor, which can be designed according to actual needs. This embodiment of the invention does not make specific limitations in this regard. After the DC-DC module U1 converts the power signal into a preset voltage, it supplies power to the control module, thereby improving the operational stability of the control module. The second capacitor C2, the third capacitor C3, the fourth capacitor C4, and the fifth capacitor C5 are used for energy storage and filtering.
[0041] For example, when the second transistor Q2 is a PNP transistor, the device is powered on and the button signal is low, the second transistor Q2 is turned on and outputs a power supply signal. The DC-DC module U1 converts the power supply signal into a stable voltage, thereby powering the control module and improving the power supply stability.
[0042] Optional, Figure 4 This is a schematic diagram of another battery switch control circuit provided in an embodiment of the present invention, as shown below. Figure 4As shown, the self-locking module 40 includes a self-locking switch unit 41 and a self-locking current limiting unit 42; the self-locking switch unit 41 is electrically connected to the self-locking current limiting unit 42, the push-button switch module 30, and the power supply control module 10, respectively; the self-locking switch unit 41 is used to output a self-sustaining signal to the power supply control module 10 under the control of the self-locking signal; the self-locking current limiting unit 42 is also electrically connected to the control module; the self-locking current limiting unit 42 is used to provide a self-locking signal that limits the current to the self-locking switch unit 41; the push-button switch module 30 includes a push-button switch unit 31, a push-button control unit 32, and a push-button voltage regulator unit 33; the push-button switch unit 31 is electrically connected to the push-button control unit 32 and the push-button voltage regulator unit 33, respectively; the push-button switch unit 31 is used to receive external commands, and when the received external command is a start command, it outputs a push-button signal; the push-button control unit 32 is also electrically connected to the control module; the push-button control unit 32 is used to control the push-button signal to be output to the power supply control module 10 with a stable voltage.
[0043] The self-locking switch unit 41 is used to output a self-sustaining signal to the power supply control module 10 under the control of the self-locking signal. For example, when the self-sustaining signal is low, the second transistor Q2 is turned on and outputs a power supply signal to power the control module. The self-locking current limiting unit 42 is used to provide a self-locking signal that limits the current to the self-locking switch unit 41 to prevent the instantaneous large current from breaking down the third transistor Q3. The push-button switch unit 31 is used to receive external commands and output a push-button signal when the received external command is a start command. The push-button signal can be output to the control module through the push-button control unit 32 so that the control module can obtain a power-on command and then output a self-locking signal.
[0044] Optional, continue to refer to Figure 4 The self-locking switch unit 41 includes a third transistor Q3 and a second bias resistor R11; the base of the third transistor Q3 is electrically connected to the self-locking current limiting unit 42, the first terminal of the third transistor Q3 is electrically connected to the ground terminal, the second terminal of the third transistor Q3 is electrically connected to the power supply control module 10, and the second bias resistor R11 is electrically connected between the base of the third transistor Q3 and the first terminal of the third transistor Q3; the self-locking current limiting unit 42 includes a seventh resistor R7; the seventh resistor R7 is electrically connected between the base of the third transistor Q3 and the control module; The push-button switch unit 31 includes a first switch SW1, an eighth resistor R8, and a sixth capacitor C6. The first terminal of the first switch SW1 is electrically connected to the first terminal of the eighth resistor R8, and the second terminal of the first switch SW1 is electrically connected to the ground terminal. The eighth resistor R8 is electrically connected between the first terminal of the first switch SW1 and the push-button voltage regulator unit 33, and the sixth capacitor C6 is electrically connected between the second terminal of the first switch SW1 and the push-button voltage regulator unit 33. The push-button voltage regulator unit 33 includes a third diode D3 and a fourth diode D4. The third diode D3 and the fourth diode D4 are sequentially electrically connected between the power supply control module 10 and the eighth resistor R8. The push-button control unit 32 includes a ninth resistor R9, a seventh capacitor C7, and a fifth diode D5. The first terminal of the ninth resistor R9 is electrically connected to the voltage signal terminal, and the second terminal of the ninth resistor R9 is electrically connected to the control module. The first terminal of the seventh capacitor C7 is electrically connected to the control module, and the second terminal of the seventh capacitor C7 is electrically connected to the ground terminal. The cathode of the fifth diode D5 is electrically connected to the second terminal of the eighth resistor R8, and the anode of the fifth diode D5 is electrically connected to the control module.
[0045] The seventh resistor R7 is a current-limiting resistor, which can prevent the instantaneous large current from breaking down the third transistor Q3. By setting a second bias resistor R11 between the base and the first terminal of the third transistor Q3, the voltage difference between the base and the first terminal of the third transistor Q3 is stably clamped to the bias voltage, satisfying the conduction or shutdown conditions of the third transistor Q3. The third transistor Q3 can be an NPN transistor, an N-channel MOSFET, or a PNP transistor. The specific design can be made according to actual needs, and this embodiment of the invention does not make specific limitations in this regard.
[0046] For example, when the third transistor Q3 is an NPN transistor, when the device is powered on, the control module outputs a high-level self-locking signal to the self-locking module 40. The base voltage of the third transistor Q3 is higher than the emitter voltage, so the third transistor Q3 is turned on and outputs a self-sustaining signal. This allows the power supply control module 10 to remain on under the continuous action of the self-sustaining signal output by the self-locking module 40, and to continuously output a power supply signal to power the control module.
[0047] The first switch SW1 can be, but is not limited to, a push-button switch, a toggle switch, or a rotary switch. As long as user interaction functionality is achieved, the specific type of mechanical switch in the first switch SW1 is not limited in this embodiment. The eighth resistor R8 and the sixth capacitor C6 are connected in parallel across the first switch SW1 to eliminate push-button switch bounce and improve button recognition accuracy. The third diode D3 can be a Zener diode to stabilize the button signal at a fixed amplitude; the fourth diode D4 is used for unidirectional isolation to prevent reverse current transmission to the push-button switch unit 31 and the button control unit 32. The button control unit 32 can output a button signal to the control module so that the control module receives a power-on command and then outputs a self-locking signal.
[0048] For example, when the device is powered off, the anode voltage of the fifth diode D5 is high, therefore AD switch When the signal is high, the device powers on and starts. When the button signal is low, the anode voltage of the fifth diode D5 is low, thus outputting an AD signal to the control module. switch The signal is low level so that the control module receives the power-on command and then outputs a self-locking signal.
[0049] Based on the same inventive concept, the present invention also provides an electronic device, including a battery switch control circuit of any embodiment of the present invention. Since the electronic device provided in this embodiment includes the battery switch control circuit of any embodiment of the present invention, it has the beneficial effects of the corresponding battery switch control circuit. The similarities can be referred to the above description, and will not be repeated here.
[0050] Note that the above description is merely a preferred embodiment of the present invention and the technical principles employed. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments, combinations, and substitutions can be made without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and may include many other equivalent embodiments without departing from the concept of the present invention, the scope of which is determined by the scope of the appended claims.
Claims
1. A battery switch control circuit, characterized in that, The battery switch control circuit is used to power the control module; the battery switch control circuit includes: A power supply control module is electrically connected to the control module; the power supply control module is used to output a power supply signal to supply power to the control module. The delayed power supply module is electrically connected to both the power supply control module and the control module. The delayed power supply module is used to supply power to the control module according to the power supply signal, and to provide delayed power to the control module when the power supply signal disappears.
2. The battery switch control circuit according to claim 1, characterized in that, Also includes: A button switch module is electrically connected to the control module; the button switch module is used to receive external commands and output a button signal when the received external command is a start command. The control module is used to output a self-locking signal based on the key signal.
3. The battery switch control circuit according to claim 2, characterized in that, Also includes: The self-locking module is electrically connected to the push-button switch module, the power supply control module, and the control module, respectively. The self-locking module is used to output a self-sustaining signal under the control of the self-locking signal. The power supply control module is also used to output the power supply signal to supply power to the control module under the control of the self-sustaining signal.
4. The battery switch control circuit according to claim 1, characterized in that, The delayed power supply module includes a delayed switching unit, a delayed power supply unit, a delayed current limiting unit, and a delayed voltage regulating unit; The delayed power supply unit is electrically connected to the delayed switch unit, the delayed current limiting unit, and the delayed voltage regulating unit, respectively; the delayed power supply unit is used to output a delayed power supply signal; The delay switch unit is electrically connected to the delay current limiting unit and the delay voltage regulating unit respectively; the delay switch unit is used to provide a power signal to the delay voltage regulating unit according to the power supply signal and the delay power supply signal; The delay voltage regulator unit is also electrically connected to the control module; the delay voltage regulator unit is used to control the power signal to supply power to the control module with a stable voltage; The delay current limiting unit is also electrically connected to the power supply control module; the delay current limiting unit is used to control the power supply signal to limit the current to supply power to the control module.
5. The battery switch control circuit according to claim 4, characterized in that, The delay current limiting unit includes a first resistor and a first diode; the first resistor and the first diode are sequentially electrically connected between the power supply control module and the delay switch unit. The time-delay power supply unit includes a first capacitor and a second resistor; the first capacitor and the second resistor are connected in parallel between the time-delay switch unit and the ground terminal; The delay switch unit includes a first transistor; the base of the first transistor is electrically connected to the second resistor, the first terminal of the first transistor is electrically connected to the first capacitor, and the second terminal of the first transistor is electrically connected to the delay voltage regulator unit. The time-delay voltage regulator unit includes a third resistor, a fourth resistor, and a second diode; the third resistor and the fourth resistor are electrically connected between the second terminal of the first transistor and the control module, and the second diode is electrically connected between the second terminal of the third resistor and the ground terminal.
6. The battery switch control circuit according to claim 3, characterized in that, The power supply control module includes a power supply switch unit and a power supply conversion unit; The power supply switch unit is electrically connected to the button switch module, the self-locking module, and the time-delay power supply module, respectively; the power supply switch unit is used to control the supply of power signals to the power conversion unit and the time-delay power supply module according to the button signal and the self-sustaining signal; The power conversion unit is also electrically connected to the control module; the power conversion unit is used to supply power to the control module at a preset voltage according to the power supply signal.
7. The battery switch control circuit according to claim 6, characterized in that, The power supply switch unit includes a second transistor, a first bias resistor, a fifth resistor, and a sixth resistor; the first bias resistor is electrically connected between the base of the second transistor and the first terminal of the second transistor, the second terminal of the second transistor is electrically connected to the first terminal of the fifth resistor, the second terminal of the fifth resistor is electrically connected to the power supply conversion unit, and the sixth resistor is electrically connected between the base of the second transistor and the push-button switch module. The power conversion unit includes a DC-DC module, a second capacitor, a third capacitor, a fourth capacitor, and a fifth capacitor. The signal input terminal of the DC-DC module is electrically connected to the second terminal of the fifth resistor, the signal output terminal of the DC-DC module is electrically connected to the control module, the ground signal terminal of the DC-DC module is electrically connected to the ground terminal, the second capacitor and the third capacitor are connected in parallel between the signal input terminal and the ground terminal of the DC-DC module, and the fourth capacitor and the fifth capacitor are connected in parallel between the signal output terminal and the ground terminal of the DC-DC module.
8. The battery switch control circuit according to claim 3, characterized in that, The self-locking module includes a self-locking switch unit and a self-locking current limiting unit; The self-locking switch unit is electrically connected to the self-locking current limiting unit, the push button switch module, and the power supply control module, respectively; the self-locking switch unit is used to output a self-sustaining signal to the power supply control module under the control of the self-locking signal; The self-locking current limiting unit is also electrically connected to the control module; the self-locking current limiting unit is used to provide the self-locking signal that limits the current to the self-locking switch unit; The push-button switch module includes a push-button switch unit, a push-button control unit, and a push-button voltage regulator unit; The button switch unit is electrically connected to the button control unit and the button voltage regulator unit respectively; the button switch unit is used to receive external commands and output a button signal when the received external command is a start command; The button control unit is also electrically connected to the control module; the button control unit is used to control the button signals provided to the control module. The button voltage regulator unit is also electrically connected to the power supply control module; the button voltage regulator unit is used to control the button signal to output a stable voltage to the power supply control module.
9. The battery switch control circuit according to claim 8, characterized in that, The self-locking switch unit includes a third transistor and a second bias resistor; the base of the third transistor is electrically connected to the self-locking current limiting unit, the first terminal of the third transistor is electrically connected to the ground terminal, the second terminal of the third transistor is electrically connected to the power supply control module, and the second bias resistor is electrically connected between the base of the third transistor and the first terminal of the third transistor. The self-locking current limiting unit includes a seventh resistor; the seventh resistor is electrically connected between the base of the third transistor and the control module; The push-button switch unit includes a first switch, an eighth resistor, and a sixth capacitor; the first end of the first switch is electrically connected to the first end of the eighth resistor, the second end of the first switch is electrically connected to the ground terminal, the eighth resistor is electrically connected between the first end of the first switch and the push-button voltage regulator unit, and the sixth capacitor is electrically connected between the second end of the first switch and the push-button voltage regulator unit. The button voltage regulator unit includes a third diode and a fourth diode; the third diode and the fourth diode are sequentially electrically connected between the power supply control module and the eighth resistor; The button control unit includes a ninth resistor, a seventh capacitor, and a fifth diode; the first end of the ninth resistor is electrically connected to the voltage signal terminal, the second end of the ninth resistor is electrically connected to the control module, the first end of the seventh capacitor is electrically connected to the control module, the second end of the seventh capacitor is electrically connected to the ground terminal, the cathode of the fifth diode is electrically connected to the second end of the eighth resistor, and the anode of the fifth diode is electrically connected to the control module.
10. An electronic device, characterized in that, include: The battery switch control circuit according to any one of claims 1-9.