Electricity-using device and power supply circuit therefor

The control module records the battery power supply time and shuts down the device when the preset time is reached. Combined with the voltage regulation and buffer modules to handle the battery switching process, the problem of easy damage to the backup battery is solved, and seamless battery switching and life extension are achieved.

CN224342939UActive Publication Date: 2026-06-09SHENZHEN STREAMING VIDEO TECH

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
SHENZHEN STREAMING VIDEO TECH
Filing Date
2025-05-12
Publication Date
2026-06-09

AI Technical Summary

Technical Problem

In existing dual-battery electrical devices, the backup battery is easily damaged and has a short lifespan, mainly because the large battery takes a long time to replace, leading to the small battery being over-discharged for a long time.

Method used

The control module records the power supply duration of the second battery module and controls the power-consuming equipment to shut down when the preset duration is reached and the first battery is not installed. Combined with the voltage regulator module and the buffer module, voltage conversion and peak current absorption are performed during battery switching to ensure seamless and safe battery switching.

Benefits of technology

This reduces over-discharge of the second battery module, lowers the risk of damage, extends the battery module's lifespan, and improves the reliability of the equipment and the battery's lifespan.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224342939U_ABST
    Figure CN224342939U_ABST
Patent Text Reader

Abstract

This application relates to the field of circuit technology and provides an electrical device and its power supply circuit. The power supply circuit includes: a first battery module, used to output a first power signal to supply power when a first battery is installed in the battery compartment, and not to output a power signal when the first battery is not installed in the battery compartment; a detection module, used to detect the battery installation / removal status of the battery compartment and send a first indication signal indicating the battery installation / removal status to a control module; a control module, used to send a first switching signal to a second battery module when the electrical device is in the power-on state and the first battery is not installed in the battery compartment; a second battery module, used to output a second power signal to supply power when it receives the first switching signal; the control module is also used to record the power supply duration of the second battery module, and to control the electrical device to shut down when the power supply duration reaches a preset duration and the first battery is still not installed in the battery compartment, thereby extending the service life of the second battery module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of circuit technology, and in particular relates to an electrical device and its power supply circuit. Background Technology

[0002] In electronic devices requiring prolonged continuous operation, such as portable law enforcement recorders and action cameras, two batteries are typically used: a high-capacity, removable main battery and a small-capacity, non-removable backup battery. The large battery serves as the primary power source, providing continuous power for extended periods; the small battery acts as a backup, ensuring uninterrupted operation during the replacement of the large battery. This dual-battery design allows users to replace the large battery during operation without shutting down the device, enabling long-term continuous use. However, the small battery typically has a limited capacity. If the large battery replacement interval is prolonged, the small battery may remain in a state of undercharge (over-discharge), leading to irreversible damage and shortening its lifespan. Summary of the Invention

[0003] In view of this, the present application provides an electrical device and its power supply circuit to solve the technical problem that the backup battery in existing dual-battery electrical devices is easily damaged and has a short service life.

[0004] In a first aspect, embodiments of this application provide a power supply circuit, including:

[0005] The first battery module is used to output a first power signal to provide power when the first battery is installed in the battery compartment, and not to output the first power signal when the first battery is not installed in the battery compartment.

[0006] The detection module, connected to the first battery module and the control module, is used to detect the battery loading and unloading status of the battery compartment and send a first indication signal indicating the battery loading and unloading status to the control module;

[0007] The control module is connected to the second battery module and is used to send a first switching signal to the second battery module when the electrical equipment is powered on and the first battery is not installed in the battery compartment.

[0008] The second battery module is used to output a second power signal to provide power when it receives the first switching signal;

[0009] The control module is also used to record the power supply duration of the second battery module, and to control the electrical equipment to shut down when the power supply duration reaches a preset duration and the first battery is still not installed in the battery compartment.

[0010] In one optional implementation of the first aspect, the control module is further connected to the first battery module; the control module is further configured to monitor the battery voltage of the first battery, and control the electrical equipment to shut down when the battery voltage of the first battery is less than a preset voltage threshold.

[0011] In one alternative implementation of the first aspect, a voltage regulator module and a power-on enable module are also included;

[0012] The voltage regulator module is connected to the first battery module and the second battery module, and is used to convert the first power signal or the second power signal into voltage and output a first preset voltage to power each of the modules.

[0013] The control module is also connected to the power-on enable module and is used to send a second indication signal to the power-on enable module, indicating the power-on / off status of the electrical equipment.

[0014] The power-on enable module is connected to the first battery module and the voltage regulator module. When the electrical device is in a power-off state and the first battery is not installed in the battery compartment, it sends a first control signal to the voltage regulator module to control the voltage regulator module to stop working, so that the electrical device cannot be powered on.

[0015] In one alternative implementation of the first aspect, the power-on enabling module is further configured to send a second control signal to the voltage regulator module when the electrical device is in a power-off state and the battery compartment contains the first battery, so as to control the voltage regulator module to work normally and enable the electrical device to be powered on.

[0016] In one alternative implementation of the first aspect, the power-on enabling module is further configured to send a second control signal to the voltage regulator module when the electrical equipment is in the power-on state, so as to control the voltage regulator module to work normally.

[0017] In one alternative implementation of the first aspect, it also includes:

[0018] A buffer module, connected to the first battery module, the second battery module and the voltage regulator module, is used to output a third power signal when the first battery module and the second battery module switch power supply.

[0019] The voltage regulator module is also used to convert the third power supply signal into a voltage and output the first preset voltage.

[0020] In one alternative implementation of the first aspect, the buffer module is further configured to absorb the spike current generated during the power supply switching process between the first battery module and the second battery module.

[0021] In one optional implementation of the first aspect, the first power supply terminal of the power-on enable module is connected to the battery compartment, the second power supply terminal of the power-on enable module is connected to the output terminal of the voltage regulator module, the enable output terminal of the power-on enable module is connected to the enable terminal of the voltage regulator module, and the controlled terminal of the power-on enable module is connected to the first control terminal of the control module.

[0022] The power-on enable module includes a preset switch, a first diode, a second diode, a first resistor, a second resistor, and a first switching transistor. The first terminal of the preset switch serves as the first power supply terminal of the power-on enable module. The second terminal of the preset switch, the controlled terminal of the first switching transistor, and the second terminal of the second resistor are all connected to the anode of the first diode. The first terminal of the first resistor serves as the second power supply terminal of the power-on enable module. The second terminal of the first resistor is connected to the first conducting terminal of the first switching transistor. The second conducting terminal of the first switching transistor and the second terminal of the second resistor are all connected to ground. The cathodes of the first diode and the second diode are all connected and serve as the enable output terminal of the power-on enable module. The anode of the second diode serves as the controlled terminal of the power-on enable module.

[0023] In one optional implementation of the first aspect, the input terminal of the buffer module is connected to the output terminals of the first battery module and the second battery module, and the output terminal of the buffer module is connected to the input terminal of the voltage regulator module.

[0024] The buffer module includes a first capacitor, a first inductor, and a third diode; the positive terminal of the first capacitor, the first terminal of the first inductor, and the cathode of the third diode are connected together and serve as the input terminal of the buffer module, the second terminal of the first inductor serves as the output terminal of the buffer module, and the negative terminal of the first capacitor and the anode of the third diode are connected together to ground.

[0025] Secondly, embodiments of this application provide a power supply circuit, including the power supply circuit described in any optional implementation of the first aspect above.

[0026] Implementing the electrical equipment and its power supply circuit provided in the embodiments of this application has the following beneficial effects:

[0027] The power circuit of the electrical device provided in this application embodiment records the power supply duration of the second battery module using a control module. When the power supply duration of the second battery module reaches a preset duration and the first battery is still not installed in the battery compartment of the first battery module, the electrical device is controlled to shut down. This reduces the occurrence of over-discharge of the second battery module, lowers the risk of damage to the second battery module, and extends the service life of the second battery module. Attached Figure Description

[0028] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art 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.

[0029] Figure 1 This application provides a schematic diagram of the power supply circuit of an electrical device.

[0030] Figure 2 A schematic diagram of the power supply circuit of an electrical device provided in another embodiment of this application;

[0031] Figure 3 A schematic diagram of the power supply circuit of an electrical device provided in another embodiment of this application;

[0032] Figure 4 A schematic diagram of the power supply circuit of an electrical device provided in another embodiment of this application;

[0033] Figure 5 This is a schematic diagram of the power supply circuit of an electrical device provided in an embodiment of this application. Detailed Implementation

[0034] The following embodiments are only used to illustrate the technical solutions of this application more clearly, and are therefore only examples and should not be used to limit the scope of protection of this application.

[0035] In the description of the embodiments of this application, the technical terms "comprising," "including," "having," and any variations thereof all mean "including but not limited to," unless otherwise specifically emphasized. In the description of the embodiments of this application, unless otherwise stated, the technical term "multiple" refers to two or more, and the technical terms "at least one" or "one or more" refer to one, two, or more than two. The technical terms "first," "second," etc., are only used to distinguish different objects and should not be construed as indicating or implying relative importance or implicitly specifying the number, specific order, or primary / secondary relationship of the indicated technical features. The technical term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this document generally indicates that the preceding and following related objects have an "or" relationship.

[0036] This application first provides a power supply circuit for an electrical device. For example, please refer to... Figure 1This is a schematic diagram of the power supply circuit of an electrical device provided in an embodiment of this application.

[0037] like Figure 1 As shown, the power circuit of the electrical device may include a first battery module 11, a detection module 12, a control module 13, and a second battery module 14. The first battery module 11 has a battery compartment for inserting or removing the first battery. The second battery module 14 has a non-removable second battery. Optionally, the capacity of the first battery may be greater than that of the second battery; that is, the first battery can serve as the main battery of the electrical device, providing long-term power support; the second battery can serve as a backup battery to ensure continuous operation of the electrical device during the replacement of the first battery.

[0038] The first battery module 11 can be used to output a first power signal to provide power when the first battery is installed in the battery compartment, and not to output the first power signal when the first battery is not installed in the battery compartment.

[0039] The detection module 12 can be connected to the first battery module 11 and the control module 13. The detection module 12 can be used to detect the battery loading / unloading status of the battery compartment and send a first indication signal indicating the battery loading / unloading status to the control module 13. Exemplarily, the first indication signal may include a high-level signal and a low-level signal. Optionally, a high-level first indication signal may indicate that the first battery is installed in the battery compartment, and a low-level first indication signal may indicate that the first battery is not installed in the battery compartment.

[0040] The control module 13 is connected to the second battery module 14. The control module 13 can send a first switching signal to the second battery module 14 when the electrical device is powered on and the first battery is not installed in the battery compartment. The first switching signal can be used to indicate that the second battery module 14 will provide power. For example, the first switching signal can be a high-level signal.

[0041] The second battery module 14 can be used to output a second power signal to provide power when it receives the first switching signal.

[0042] The control module 13 can also be used to record the power supply duration of the second battery module 14, and control the electrical equipment to shut down when the power supply duration of the second battery module 14 reaches a preset duration and the first battery is still not installed in the battery compartment. The preset duration can be set according to actual needs.

[0043] Optionally, the control module 13 can also be used to send a second switching signal to the second battery module 14 when the electrical device is powered on and the battery compartment contains the first battery. The second switching signal can be used to indicate that the first battery module 11 is supplying power. For example, the second switching signal can be a low-level signal. Based on this, the second battery module 14 can also be used to stop outputting a power signal upon receiving the second switching signal, thereby stopping power supply.

[0044] As can be seen from the above, the power supply circuit of the electrical equipment provided in this embodiment records the power supply duration of the second battery module using a control module, and controls the electrical equipment to shut down when the power supply duration of the second battery module reaches a preset duration and the first battery is still not installed in the battery compartment of the first battery module. This reduces the occurrence of over-discharge of the second battery module, lowers the risk of damage to the second battery module, and extends the service life of the second battery module.

[0045] Please see Figure 2 This is a schematic diagram of the power supply circuit of an electrical device provided in another embodiment of this application. Figure 2 As shown, with Figure 1 Compared to the corresponding embodiment, the control module 13 in this embodiment can also be connected to the first battery module 11. The control module 13 can also be used to monitor the battery voltage of the first battery, and control the electrical equipment to shut down when the battery voltage of the first battery is less than a preset voltage threshold.

[0046] The preset voltage threshold can refer to the minimum voltage value that can maintain the normal operation of the electrical equipment. The preset voltage threshold can be set according to actual needs, and this application embodiment does not limit it.

[0047] As can be seen from the above, the power supply circuit of the electrical device provided in this embodiment can reduce the occurrence of over-discharge of the second battery module and further extend the service life of the second battery module by controlling the electrical device to shut down when the battery voltage of the first battery drops to a preset voltage threshold.

[0048] Please see Figure 3 This is a schematic diagram of the power supply circuit of an electrical device provided in another embodiment of this application. Figure 3 As shown, with Figure 1 or Figure 2 Compared to the corresponding embodiments, the power supply circuit in this embodiment may further include a voltage regulator module 15 and a power-on enable module 16.

[0049] The voltage regulator module 15 can be connected to the first battery module 11 and the second battery module 14. The voltage regulator module 15 can be used to convert the voltage of the first power signal or the second power signal and output a first preset voltage to power the various modules in the electrical equipment.

[0050] For example, the voltage regulator module 15 may be a buck circuit or other types of voltage conversion circuits. The specific structure of the voltage regulator module 15 is not limited in the embodiments of this application.

[0051] The first preset voltage can be the operating voltage of each module in the electrical equipment. The first preset voltage can be determined according to the actual situation; for example, the first preset voltage can be 3.3 volts (V).

[0052] The control module 13 is also connected to the power-on enable module 16. The control module 13 is used to send a second indication signal to the power-on enable module 16, indicating the power-on state of the electrical device. Exemplarily, the second indication signal may include a high-level signal and a low-level signal. Optionally, when the second indication signal is high, it may indicate that the electrical device is in the power-on state; when the second indication signal is low, it may indicate that the electrical device is in the power-off state.

[0053] The power-on enable module 16 can be connected to the first battery module 1 and the voltage regulator module 15. Optionally, the power-on enable module 16 can be used to send a first control signal to the voltage regulator module 15 when the electrical device is in the off state and the first battery is not installed in the battery compartment, so as to control the voltage regulator module to stop working and the electrical device cannot be powered on.

[0054] Optionally, the power-on enable module 16 can also be used to send a second control signal to the voltage regulator module 15 when the electrical device is in a powered-off state and the battery compartment contains the first battery, so as to control the voltage regulator module 15 to work normally and enable the electrical device to be powered on. For example, the first control signal can be a high-level signal and the second control signal can be a low-level signal.

[0055] Optionally, the power-on enable module 16 can also be used to send a second control signal to the voltage regulator module 15 when the electrical equipment is in the power-on state, so as to control the voltage regulator module 15 to work normally.

[0056] As can be seen from the above, the power supply circuit of the electrical device provided in this embodiment can prevent the electrical device from being turned on when it is turned off and the first battery is not installed in the battery compartment. This avoids the second battery module directly supplying power to the electrical device after it is turned on, further reducing the risk of damage to the second battery module and extending its service life.

[0057] Please see Figure 4 This is a schematic diagram of the power supply circuit of an electrical device provided in another embodiment of this application. Figure 4 As shown, with Figure 3Compared to the corresponding embodiments, the power supply circuit in this embodiment may further include a buffer module 17. The buffer module 17 may be connected to the first battery module 11, the second battery module 14, and the voltage regulator module 15.

[0058] Optionally, the buffer module 17 can be used to output a third power signal when the first battery module 11 and the second battery module 14 switch power supplies. Based on this, the voltage regulator module 15 can also be used to convert the third power signal into a voltage and output a first preset voltage to power each module.

[0059] Optionally, the buffer module 17 can also be used to absorb the peak current generated during the power supply switching process between the first battery module 11 and the second battery module 14.

[0060] As can be seen from the above, the power supply circuit of the electrical equipment provided in this embodiment, by setting a buffer module, provides temporary power when the first battery module 11 and the second battery module 14 switch power supplies, thereby achieving seamless battery switching. Furthermore, since the buffer module can absorb the peak current generated during the power switching process between the first battery module 11 and the second battery module 14, it can reduce voltage fluctuations during battery switching and reduce damage to subsequent circuits.

[0061] Please see Figure 5 This is a schematic diagram of the power supply circuit of an electrical device provided in an embodiment of this application. Figure 5 As shown, in one optional implementation, the first power supply terminal of the power-on enable module 16 can be connected to the battery compartment 111 in the first battery module 11, the second power supply terminal of the power-on enable module 16 can be connected to the output terminal of the voltage regulator module 15, the enable output terminal of the power-on enable module 16 can be connected to the enable terminal of the voltage regulator module 15, and the controlled terminal of the power-on enable module 16 can be connected to the first control terminal of the control module 13.

[0062] The power-on enable module 16 may include a preset switch S1, a first diode D1, a second diode D2, a first resistor R1, a second resistor R2, and a first switching transistor Q1. The first terminal of the preset switch S1 can serve as the first power supply terminal of the power-on enable module 16. The second terminal of the preset switch S1, the controlled terminal of the first switching transistor Q1, and the second terminal of the second resistor R2 can all be connected to the anode of the first diode D1. The first terminal of the first resistor R1 can serve as the second power supply terminal of the power-on enable module 16. The second terminal of the first resistor R1 can be connected to the first conducting terminal of the first switching transistor Q1. The second conducting terminal of the first switching transistor Q1 and the second terminal of the second resistor R2 can all be connected to ground. The cathode of the first diode D1 and the cathode of the second diode D2 can be connected together and serve as the enable output terminal of the power-on enable module 16. The anode of the second diode D2 can serve as the controlled terminal of the power-on enable module 16.

[0063] For example, the preset switch S1 can be a push-button switch or a touch switch, etc. This application embodiment does not limit the specific type of the preset switch S1.

[0064] Optionally, the first switch Q1 can be a first N-channel metal-oxide-semiconductor field-effect transistor (MOSFET), simply referred to as the first NMOS transistor. The gate of the first NMOS transistor can serve as the controlled terminal of the first switch Q1, the drain of the first NMOS transistor can serve as the first turned-on terminal of the first switch Q1, and the source of the first NMOS transistor can serve as the second turned-on terminal of the first switch Q1. Optionally, the first switch Q1 can also be other types of switch transistors; the specific type of the first switch Q1 is not limited in this embodiment.

[0065] The power-on enable module 16 can perform the following functions: when the first battery is installed in the battery compartment 111, the device can be powered on by performing a preset operation (e.g., a long press) on the preset switch S1. When the first battery is not installed in the battery compartment 111, the device cannot be powered on by performing a preset operation on the preset switch S1.

[0066] Specifically, when the electrical equipment is off, the control module 13 cannot be powered. At this time, the second indicator signal output by the control module 13 to the controlled terminal (i.e., the anode of the second diode D2) of the power-on enable module 16 is a low-level signal, causing the second diode D2 to fail to conduct. Since the first diode D1 and the second diode D2 form an OR gate circuit, the first power module 11 will not output a power signal when the first battery is not installed in the battery compartment 111. At this time, even if the preset operation is performed on the preset switch S1, the first diode D1 cannot be turned on, causing the power-on enable module 16 to output a low-level signal (i.e., the second control signal) to the voltage regulator module 15 through its enable output terminal. This prevents the voltage regulator module 15 from outputting the first preset voltage to power each module, thus preventing the electrical equipment from being powered on. When the first battery is installed in the battery compartment 111, the first diode D1 can be turned on by performing a preset operation on the preset switch S1. At this time, the power-on enable module 16 outputs a high-level signal (i.e., the first control signal) to the voltage regulator module 15 through its enable output terminal, enabling the voltage regulator module 15 to output the first preset voltage to power each module, thereby enabling the device to be powered on. After the control module 13 is powered on, the second indication signal output to the controlled terminal (i.e., the anode of the second diode D2) of the enable module 16 is a high-level signal. At this time, the second diode D2 is turned on. In this case, even if the preset switch S1 is turned off, the power-on enable module 16 can still output a high-level signal (i.e., the first control signal) to the voltage regulator module 15, enabling the voltage regulator module 15 to continuously output the first preset voltage to power each module.

[0067] In another optional implementation, the input terminal of the buffer module 17 can be connected to the output terminal of the first battery module 11 and the output terminal of the second battery module 14, and the output terminal of the buffer module 17 can be connected to the input terminal of the voltage regulator module 15. The buffer module 17 may include a first capacitor C1, a first inductor L1, and a third diode D3. The first capacitor C1 can be an electrolytic capacitor. The positive terminal of the first capacitor C1, the first terminal of the first inductor L1, and the cathode of the third diode D3 can be connected together and serve as the input terminal of the buffer module 17. The second terminal of the first inductor L1 can serve as the output terminal of the buffer module 17, and the negative terminal of the first capacitor C1 and the anode of the third diode D3 can be connected together to ground.

[0068] Optionally, the first capacitor C1 is used to output a third power signal through the first inductor L1 to provide temporary power when the power supply of the first battery module 11 and the second battery module 14 is switched. The capacitance value of the first capacitor C1 can be determined according to the load current, the preset voltage drop, and the preset battery switching time.

[0069] Optionally, the third diode D3 can be a transient voltage suppressor (TVS) diode. A TVS diode can absorb the spike current generated during the power supply switching process between the first voltage module 11 and the second voltage module, thereby reducing damage to subsequent circuits. Furthermore, since the current flowing through the first inductor L1 cannot undergo sudden changes, voltage drops can be avoided, thus reducing voltage fluctuations during battery switching and achieving seamless battery switching.

[0070] In another alternative implementation, the sampling terminal of the first battery module 11 can be connected to the voltage detection terminal of the control module 13, and the output terminal of the first battery module 11 can be connected to the input terminal of the buffer module 17. In addition to the battery compartment 111, the first battery module 11 may also include a third resistor R3, a fourth resistor R4, a fourth diode D4, a second switch Q2, and a second capacitor C2. Specifically, the first terminal of the third resistor R3, the anode of the fourth diode D4, and the first conducting terminal of the second switch Q2 can be connected together to the battery compartment 111. The second terminal of the third resistor R3 can be connected together with the first terminal of the fourth resistor R4 and serve as the sampling terminal of the first battery module 11. The second terminal of the fourth resistor R4 can be grounded. The cathode of the fourth diode D4 and the first terminal of the second capacitor C2 can be connected together to the controlled terminal of the second switch Q2. The second terminal of the second capacitor C2 can be connected together with the second conducting terminal of the second switch Q2 and serve as the output terminal of the first battery module 11.

[0071] Optionally, the second switch Q2 can be a second NMOS transistor. The gate of the second NMOS transistor can serve as the controlled terminal of the second switch Q2, the drain of the second NMOS transistor can serve as the first on terminal of the second switch Q2, and the source of the second NMOS transistor can serve as the second on terminal of the second switch Q2. Optionally, the second switch Q2 can also be other types of switches; this application does not limit the specific type of the second switch Q2.

[0072] The third resistor R3 and the fourth resistor R4 form a voltage divider circuit, used to divide the voltage of the first battery when it is installed in the battery compartment 111, and output the divided voltage to the control module 13. The magnitude of the divided voltage can be determined by the resistance values ​​of the third resistor R3 and the fourth resistor R4. In practical applications, by adjusting the resistance values ​​of the third resistor R3 and / or the fourth resistor R4, the voltage division ratio of the voltage divider circuit can be adjusted, so that the divided voltage output by the voltage divider circuit can always be within the voltage detection range of the control module 13, thereby improving the accuracy of battery voltage detection.

[0073] For example, the second capacitor C2 can be a bootstrap capacitor. By using a bootstrap capacitor, the second capacitor C2 can ensure that the second switch Q2 is always turned on when the first battery is installed in the battery compartment 111, thereby enabling the main battery module 11 to output the first power signal normally.

[0074] Specifically, when the battery compartment 111 contains the first battery, the first battery charges the second capacitor C2 through the fourth diode D4, causing the gate voltage of the second NMOS transistor to begin to rise. When the gate voltage of the second NMOS transistor rises to the difference between its gate and source voltage (V... gs ) is greater than the turn-on voltage (V) of the second NMOS transistor. th When the first NMOS transistor is turned on, the second NMOS transistor conducts, and the first battery outputs a first power signal through the output terminal of the first battery module 11. However, because the on-resistance of the second NMOS transistor is small, the difference between its source voltage and drain voltage (V) after the second NMOS transistor is turned on is relatively small. sd The value is almost zero. If the gate of the second NMOS transistor does not have a bootstrap capacitor, it will cause the Vo of the second NMOS transistor to be almost zero. gs The voltage is also close to 0, causing the second NMOS transistor to turn off. Therefore, the second NMOS transistor can only turn on the instant the first battery is inserted into the battery compartment 111, meaning the first battery module 11 can only output the first power signal the instant it is inserted into the battery compartment 111. In this embodiment, by configuring the second capacitor C2 as a bootstrap capacitor, since the bootstrap capacitor can generate a voltage higher than the battery voltage after being charged, and the second capacitor C2 cannot discharge through the unidirectional fourth diode D4, it can be ensured that the voltage of the second NMOS transistor remains constant after it is turned on. gs Always greater than V th This ensures that the second switch Q2 is always on when the first battery is installed in the battery compartment 111, so that the first battery module 11 can always output the first power signal when the first battery is installed in the battery compartment 111.

[0075] In another alternative implementation, the input terminal of the detection module 12 can be connected to the battery compartment 111, the output terminal of the detection module 12 can be connected to the status detection terminal of the control module 13, and the power supply terminal of the detection module 12 can be connected to the output terminal of the voltage regulator module 15.

[0076] Optionally, the detection module 12 may include a first voltage regulator U1, a third capacitor C3, a fourth capacitor C4, a comparator U2, a fifth capacitor C5, and a fifth resistor R5. The power supply pin VIN of the first voltage regulator U1, the first terminal of the third capacitor C3, and the power supply pin VCC of the comparator U2 can be connected together as the power supply terminal of the detection module 12. The output pin VOUT of the first voltage regulator U1 and the first terminal of the fourth capacitor C4 can be connected together to the negative input pin IN- of the comparator U2. The second terminal of the third capacitor C2, the ground pin GND of the first voltage regulator U1, and the second terminal of the fourth capacitor C4 can be connected together to ground. The positive input pin IN+ of the comparator U2 can be used as the input terminal of the detection module 12. The output pin OUT of the comparator U2 can be connected to the first terminal of the fifth resistor R5. The second terminal of the fifth resistor R5 can be connected together with the first terminal of the fifth capacitor C5 as the output terminal of the detection module 12. The second terminal of the fifth capacitor C5 and the ground pin GND of the comparator U2 can be grounded.

[0077] For example, the first regulator U1 can be a low dropout regulator (LDO) or other types of regulators. This application embodiment does not limit the specific type of the first regulator U1.

[0078] The first regulator U1 can be used to output a stable reference voltage V to the negative input pin IN- of comparator U2. ref Reference voltage V ref The size can be set according to actual needs.

[0079] Comparator U2 can be used to compare the voltage provided by battery compartment 111 with a reference voltage and output a first indication signal to control module 13. Specifically, when the first battery is installed in battery compartment 111, the voltage of the positive input pin IN+ of comparator U2 is greater than the voltage of the negative input pin IN-. At this time, the first indication signal output by comparator U2 is a high-level signal, indicating that the first battery is installed in battery compartment 111. When the first battery is not installed in battery compartment 111, the voltage of the positive input pin IN+ of comparator U2 is less than the voltage of the negative input pin IN-. At this time, the first indication signal output by comparator U2 is a low-level signal, indicating that the first battery is not installed in battery compartment 111.

[0080] Because the output pin OUT of comparator U2 is connected to a low-pass filter consisting of the fifth resistor R5 and the fifth capacitor C5, high-frequency noise interference to the first indication signal can be reduced, thereby improving the accuracy of detecting the battery loading and unloading status of battery compartment 111. Because both the input pin VIN and the output pin VOUT of the first voltage regulator U1 are connected to capacitors, it can prevent the first voltage regulator U1 from shutting down due to power loss when the first battery is replaced.

[0081] In another alternative implementation, the enable terminal of the second battery module 14 can be connected to the second control terminal of the control module 13. Optionally, in addition to including the non-removable second battery VBAT_BK, the second battery module 14 may also include a unidirectional conducting device U3. The power supply pin VDD of the unidirectional conducting device U3 can be connected to the second battery VBAT_BK, the enable pin EN of the unidirectional conducting device U3 can serve as the enable terminal of the second battery module 14, the output pin OUT of the unidirectional conducting device U3 can serve as the output terminal of the second battery module 14, and the ground pin GND of the unidirectional conducting device U3 can be grounded.

[0082] For example, the unidirectional conducting device U3 can be an ideal diode. The anode of the ideal diode can be used as the power supply pin VDD of the unidirectional conducting device U3, and the cathode of the ideal diode can be used as the output pin OUT of the unidirectional conducting device U3. Since the quiescent current of the ideal diode is small, its voltage drop is negligible, thereby reducing the power loss of the second battery VBAT_BK and improving the battery life of the second battery VBAT_BK.

[0083] Optionally, when the enable pin EN of the unidirectional conduction device U3 receives a first switching signal (e.g., a high-level signal) from the control module 13, the unidirectional conduction device U3 is turned on. At this time, the second battery VBAT_BK outputs a second power signal through the output terminal of the second battery module 14, and is powered by the second battery VBAT_BK. When the enable pin EN of the unidirectional conduction device U3 receives a second switching signal (e.g., a low-level signal) from the control module 13, the unidirectional conduction device U3 is turned off. At this time, the second battery module 14 cannot output a power signal, and is powered by the first battery module 11.

[0084] Furthermore, due to the presence of the fourth diode D4 in the first battery module 11 and the unidirectional conduction device U3 in the second battery module 12, direct mutual charging between the first battery and the second battery VBAT_BK can be prevented.

[0085] In another alternative implementation, the voltage regulator module 15 may include a sixth capacitor C6, a seventh capacitor C7, a sixth resistor R6, a second voltage regulator U4, an eighth capacitor C8, a second inductor L2, a ninth capacitor C9, a seventh resistor R7, an eighth resistor R8, a tenth capacitor C10, and a ninth resistor R9. The first terminals of the sixth capacitor C6 and the seventh capacitor C7, and the power input pin VIN of the second voltage regulator U4 can be connected together and serve as the input terminal of the voltage regulator module 15. The second terminals of the sixth capacitor C6 and the seventh capacitor C7, and the first terminal of the sixth resistor R6 can be connected together to ground. The second terminal of the sixth resistor R6 can be connected to the clock pin RT / CLK of the second voltage regulator U4. The enable pin EN of the second voltage regulator U4 can serve as the enable terminal of the voltage regulator module 15. The bootstrap pin BOOT of the second voltage regulator U4 can be connected to the first terminal of the eighth capacitor C8. The second terminal of the eighth capacitor C8 and the switch pin SW of the second voltage regulator U4 can be connected together to the second inductor L2. The first terminal, the second terminal of the second inductor L2, the first terminal of the ninth capacitor C9, and the first terminal of the seventh resistor R7 can be connected together as the output terminal of the voltage regulator module 15. The second terminal of the seventh resistor R7 and the first terminal of the eighth resistor R8 can be connected together to the feedback pin FB of the second voltage regulator U4. The second terminal of the eighth resistor R8 can be grounded. The compensation pin COMP of the second voltage regulator U4 can be connected to the first terminal of the ninth resistor R9. The second terminal of the ninth resistor R9 can be connected to the first terminal of the tenth capacitor C10. The second terminal of the tenth capacitor C10, the second terminal of the ninth capacitor C9, the pad pin EP of the second voltage regulator U4, and the ground pin GND of the second voltage regulator U4 can be connected together to ground.

[0086] Among them, the sixth capacitor C6 and the ninth capacitor C9 can be one or more.

[0087] The output of voltage regulator module 15 is controlled by the enable pin EN of its internal second voltage regulator U4. Optionally, when the enable pin EN of the second voltage regulator U4 receives a first control signal (e.g., a high-level signal) from the power-on enable module 16, voltage regulator module 15 will output a first preset voltage; when the enable pin EN of the second voltage regulator U4 receives a second control signal (e.g., a low-level signal) from the power-on enable module 16, voltage regulator module 15 will not output the first preset voltage. That is, power-on enable module 16 can control voltage regulator module 15 to be connected to or disconnected from the power circuit.

[0088] In another alternative implementation, the control module 13 may include a control chip U5. The status detection pin BAT_DECTED of the control chip U5 can be used as the status detection terminal of the control module 13, the first control pin CONTROL1 of the control chip U5 can be used as the first control terminal of the control module 13, the voltage detection pin BAT_ADC of the control chip U5 can be used as the voltage detection terminal of the control module 13, and the second control pin CONTROL2 of the control chip U5 can be used as the second control terminal of the control module 13.

[0089] For example, the control chip U5 can be a microcontroller unit (MCU) or a field programmable gate array (FPGA), etc. This application does not limit the specific type of the control chip U5.

[0090] Optionally, to improve the accuracy of battery loading / unloading status detection in battery compartment 111, control module 13 may send a first switching signal to second battery module 12 if the first battery is not loaded in battery compartment 111 after a preset number of detections. The preset number of detections can be set according to actual needs.

[0091] This application also provides an electrical device that includes the aforementioned power supply circuit. It should be noted that the specific structure and working principle of the power supply circuit can be found in the descriptions of the above embodiments, and will not be repeated here.

[0092] Those skilled in the art will readily understand that, for the sake of convenience and brevity, the above-described division of functional units is merely an example. In practical applications, the functions described above can be assigned to different functional units as needed, that is, the internal structure of the display driver circuit can be divided into different functional units to complete all or part of the functions described above. Furthermore, the specific names of each functional unit are merely for easy differentiation and are not intended to limit the scope of protection of this application.

[0093] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, refer to the relevant descriptions of other embodiments.

[0094] It should be noted that, unless otherwise specified, all technical terms used in the embodiments of this application have the same meaning as commonly understood by those skilled in the art to which this application belongs. The technical terms used in the embodiments of this application are only used to explain specific embodiments of this application and are not intended to limit this application.

[0095] The term "embodiment" as used in the description of embodiments in this application means that a specific feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0096] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. A power supply circuit for an electrical device, characterized in that, include: The first battery module is used to output a first power signal to provide power when the first battery is installed in the battery compartment, and not to output the first power signal when the first battery is not installed in the battery compartment. The detection module, connected to the first battery module and the control module, is used to detect the battery loading and unloading status of the battery compartment and send a first indication signal indicating the battery loading and unloading status to the control module; The control module is connected to the second battery module and is used to send a first switching signal to the second battery module when the electrical equipment is powered on and the first battery is not installed in the battery compartment. The second battery module is used to output a second power signal to provide power when it receives the first switching signal; The control module is also used to record the power supply duration of the second battery module, and to control the electrical equipment to shut down when the power supply duration reaches a preset duration and the first battery is still not installed in the battery compartment.

2. The power supply circuit according to claim 1, characterized in that, The control module is also connected to the first battery module; the control module is also used to monitor the battery voltage of the first battery, and control the electrical equipment to shut down when the battery voltage of the first battery is less than a preset voltage threshold.

3. The power supply circuit according to claim 1, characterized in that, It also includes a voltage regulator module and a power-on enable module; The voltage regulator module is connected to the first battery module and the second battery module, and is used to convert the first power signal or the second power signal into voltage and output a first preset voltage to power each of the modules. The control module is also connected to the power-on enable module and is used to send a second indication signal to the power-on enable module, indicating the power-on / off status of the electrical equipment. The power-on enable module is connected to the first battery module and the voltage regulator module. When the electrical device is in a power-off state and the first battery is not installed in the battery compartment, it sends a first control signal to the voltage regulator module to control the voltage regulator module to stop working, so that the electrical device cannot be powered on.

4. The power supply circuit according to claim 3, characterized in that, The power-on enable module is also used to send a second control signal to the voltage regulator module when the electrical equipment is in a power-off state and the battery compartment contains the first battery, so as to control the voltage regulator module to work normally and enable the electrical equipment to be powered on.

5. The power supply circuit according to claim 3, characterized in that, The power-on enable module is also used to send a second control signal to the voltage regulator module when the electrical equipment is in the power-on state, so as to control the voltage regulator module to work normally.

6. The power supply circuit according to any one of claims 3-5, characterized in that, Also includes: A buffer module, connected to the first battery module, the second battery module and the voltage regulator module, is used to output a third power signal when the first battery module and the second battery module switch power supply. The voltage regulator module is also used to convert the third power supply signal into a voltage and output the first preset voltage.

7. The power supply circuit according to claim 6, characterized in that, The buffer module is also used to absorb the peak current generated during the power supply switching process between the first battery module and the second battery module.

8. The power supply circuit according to claim 3, characterized in that, The first power supply terminal of the power-on enable module is connected to the battery compartment, the second power supply terminal of the power-on enable module is connected to the output terminal of the voltage regulator module, the enable output terminal of the power-on enable module is connected to the enable terminal of the voltage regulator module, and the controlled terminal of the power-on enable module is connected to the first control terminal of the control module. The power-on enable module includes a preset switch, a first diode, a second diode, a first resistor, a second resistor, and a first switching transistor. The first terminal of the preset switch serves as the first power supply terminal of the power-on enable module. The second terminal of the preset switch, the controlled terminal of the first switching transistor, and the second terminal of the second resistor are all connected to the anode of the first diode. The first terminal of the first resistor serves as the second power supply terminal of the power-on enable module. The second terminal of the first resistor is connected to the first conducting terminal of the first switching transistor. The second conducting terminal of the first switching transistor and the second terminal of the second resistor are all connected to ground. The cathodes of the first diode and the second diode are all connected and serve as the enable output terminal of the power-on enable module. The anode of the second diode serves as the controlled terminal of the power-on enable module.

9. The power supply circuit according to claim 6, characterized in that, The input terminal of the buffer module is connected to the output terminals of the first battery module and the second battery module, and the output terminal of the buffer module is connected to the input terminal of the voltage regulator module. The buffer module includes a first capacitor, a first inductor, and a third diode; the positive terminal of the first capacitor, the first terminal of the first inductor, and the cathode of the third diode are connected together and serve as the input terminal of the buffer module, the second terminal of the first inductor serves as the output terminal of the buffer module, and the negative terminal of the first capacitor and the anode of the third diode are connected together to ground.

10. An electrical appliance, characterized in that, Includes the power supply circuit as described in any one of claims 1-9.