Power supply control circuit and system

By designing the power supply control circuit, the problems of power supply interruption and function interruption during battery switching in dual-battery devices were solved, achieving smooth switching of battery modules and stable power supply to the device.

CN223899006UActive Publication Date: 2026-02-10ANKER INNOVATIONS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202520043153.8
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-01-08
Publication Date
2026-02-10
Estimated Expiration
2035-01-08

AI Technical Summary

Technical Problem

In dual-battery devices, power supply interruption or function interruption can easily occur during battery switching. Existing technologies cannot effectively solve the problems of sudden changes in power supply voltage and equipment damage or power interruption.

Method used

The power supply control circuit includes a switching circuit, a fast-start circuit, a power supply detection circuit, and a power consumption control circuit. The smooth switching of the battery module is achieved through the control signal of the main control module, avoiding power outages and functional interruptions.

Benefits of technology

It enables smooth switching when the battery module is in place, avoiding power outages and functional interruptions, and ensuring the stability of power supply and normal operation of the equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223899006U_ABST
    Figure CN223899006U_ABST
Patent Text Reader

Abstract

The embodiment of the utility model provides a power supply control circuit and system, and the circuit comprises a switching circuit which is connected between an auxiliary power supply end of a battery module and a main control module; the quick starting circuit is connected with the control end of the switching circuit and is used for generating a first switching control signal based on a quick starting signal of the main control module; the power supply detection circuit is connected with the control end of the switching circuit and is used for generating a second switching control signal based on an auxiliary power supply control signal of the battery module; wherein the switching circuit is switched on when any one of the first switching control signal and the second switching signal indicates to be switched on; and the power consumption control circuit is connected with the power supply detection circuit and is used for enabling the power supply detection circuit based on the power consumption prevention signal of the main control module. According to the embodiment of the invention, function interruption caused by power failure during battery switching can be avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of battery switching technology, specifically to a power supply control circuit and system. Background Technology

[0002] In existing technologies, devices support the simultaneous connection of two battery packs, which can serve as backups for each other to power the device. During battery power supply, a sufficient supply voltage is required to ensure normal device operation. If the power of one battery pack is insufficient to support normal device operation, the device needs to switch to the battery pack with sufficient power to continue supplying power. There are two common switching methods: one is an instantaneous switch between the two backup battery packs to avoid power outages. However, during the switch, there is a voltage difference between the primary and secondary battery packs, causing sudden changes in the supply voltage during device operation. These voltage fluctuations can impact the device and potentially damage it. The other method is to replace the low-power battery pack with a fully charged one through a plug-and-play action. However, the device does not support hot-swapping, resulting in a temporary power outage that interrupts some functions and affects normal device operation. Utility Model Content

[0003] In view of the above problems, this application provides a power supply control circuit and system to solve the technical problem of power supply interruption during battery switching in dual-battery devices, which leads to functional interruption.

[0004] In a first aspect, embodiments of this application provide a power supply control circuit applied to a power supply control system. The power supply control system includes the power supply control circuit, a battery module, and a main control module. The power supply control circuit includes: a switching circuit connected between the auxiliary power supply terminal of the battery module and the main control module; a fast-start circuit connected to the control terminal of the switching circuit, used to generate a first switching control signal based on a fast-start signal from the main control module; a power supply detection circuit connected to the control terminal of the switching circuit, used to generate a second switching control signal based on the auxiliary power supply control signal from the battery module; wherein the switching circuit is turned on when either the first switching control signal or the second switching signal indicates that it is turned on; and a power consumption control circuit connected to the power supply detection circuit, used to enable the power supply detection circuit based on a power consumption prevention signal from the main control module.

[0005] In some embodiments, the fast-start circuit includes: a first switching transistor, a first resistor, and a second resistor. The first switching transistor is connected between the ground terminal and the control terminal of the switching circuit. The first resistor is connected between the first port of the main control module and the control terminal of the first switching transistor. The second resistor is connected between the control terminal of the first switching transistor and the first terminal. The first port is used to output a fast-start signal.

[0006] In some embodiments, the power supply detection circuit includes: a second switching transistor, a third resistor, and a fourth resistor. The second switching transistor is connected between the ground terminal and the control terminal of the switching circuit. The third resistor is connected between the auxiliary power supply control terminal of the battery module and the control terminal of the second switching transistor. The fourth resistor is connected between the control terminal of the second switching transistor and the first terminal. The auxiliary power supply control terminal is used to output an auxiliary power supply control signal.

[0007] In some embodiments, the power consumption control circuit includes: a third switch, a fifth resistor, and a sixth resistor. The third switch is connected between the ground terminal and the control terminal of the second switch. The fifth resistor is connected between the second port of the main control module and the control terminal of the third switch. The sixth resistor is connected between the control terminal of the third switch and the first terminal. The second port is used to output a power consumption prevention signal.

[0008] In some embodiments, the switching circuit includes: a fourth switching transistor, a seventh resistor, and an eighth resistor. The fourth switching transistor is connected between the auxiliary power supply terminal of the battery module and the main control module. One end of the seventh resistor is connected to the control terminal of the fourth switching transistor, and the other end receives a first switch control signal and a second switch control signal. The eighth resistor is connected between the control terminal of the fourth switching transistor and the first terminal.

[0009] In some embodiments, the power supply control circuit further includes: an in-situ detection circuit, connected to the main control module, for generating a first signal when the battery module is detected to be in-situ, and generating a second signal when the battery module is detected to be removed.

[0010] Secondly, embodiments of this application provide a power supply control system, including: at least two power supply control circuits as described above, each power supply control circuit corresponding to a battery module; and a main control module connected to the at least two power supply control circuits.

[0011] In some embodiments, the main control module is configured to: when a battery module in a powered state is detected to be removed, output a fast start signal to a fast start circuit corresponding to a first target battery module, so that the fast start circuit turns on the corresponding switching circuit and notifies the first target battery module to start supplying power to the load circuit; and / or in response to a battery switching request, notify the battery module in a powered state to stop supplying power to the load circuit, output a fast start signal to a fast start circuit corresponding to a second target battery module, so that the fast start circuit turns on the corresponding switching circuit and notifies the second target battery module to start supplying power to the load circuit.

[0012] In some embodiments, the main control module is further configured to, in response to a battery switching request, output an anti-power-loss signal to the power consumption control circuit corresponding to the battery module in the power supply state, so that the corresponding power supply detection circuit can disconnect the corresponding switching circuit.

[0013] In some embodiments, the main control module is further configured to, in response to a battery switching request, notify the battery module in the powered state to output an auxiliary power supply control signal so that the corresponding power supply detection circuit can disconnect the corresponding switching circuit.

[0014] In some embodiments, the main control module is further configured to: when a battery module is present and none of the battery modules are supplying power to the load circuit, determine a third target battery module according to preset logic, and notify the third target battery module to start supplying power to the load circuit.

[0015] In some embodiments, the power supply control system further includes: a voltage conversion circuit connected between the switching circuit of each power supply control circuit and the main control module, for converting the voltage of the auxiliary power supply terminal of the battery module into the operating voltage of the main control module.

[0016] In some embodiments, the voltage conversion circuit is also connected to the load power supply terminal of each battery module to convert the voltage of the load power supply terminal of the battery module into the operating voltage of the main control module.

[0017] In some embodiments, the power supply control system further includes: a unidirectional conduction unit connected between each switching circuit and the voltage conversion circuit, and connected between each load power supply terminal and the voltage conversion circuit.

[0018] In some embodiments, each battery module includes: an auxiliary power supply terminal for supplying power to the main control module; a load power supply terminal for supplying power to the load circuit; a communication terminal for communicating with the main control module; an auxiliary power supply control terminal for generating an auxiliary power supply control signal; a device detection circuit for generating a first signal when the battery module is detected to be in place and a second signal when the battery module is detected to be removed; and a control unit for outputting an auxiliary power supply control signal indicating the conduction switch circuit to the power supply detection circuit via the auxiliary power supply control terminal when the battery module is detected to be in place; and for starting to supply power to the load circuit from the load power supply terminal when receiving a power supply notification from the main control module via the communication terminal.

[0019] In some embodiments, the control unit is further configured to, upon receiving a disconnection notification from the main control module via the communication terminal, output an auxiliary power supply control signal to the power supply detection circuit indicating the disconnection of the switching circuit via the auxiliary power supply control terminal.

[0020] The technical solution provided in this application, when the battery module is in place, uses a power supply detection circuit to activate the switching circuit between the auxiliary power supply terminal of the battery module and the main control module based on the auxiliary power supply control signal of the battery module. During battery switching, a fast-start circuit activates the switching circuit between the auxiliary power supply terminal of the battery module and the main control module based on the fast-start signal of the main control module, preventing functional interruption due to power failure of the main control module. After the battery is switched to a backup battery, a power consumption control circuit enables the power supply detection circuit based on the anti-power consumption signal of the main control module to disconnect the switching circuit, thus preventing the consumption of the backup battery's power.

[0021] These or other aspects of this application will become more apparent in the following description of the embodiments. Attached Figure Description

[0022] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying 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.

[0023] Figure 1 A schematic diagram of a power supply control circuit provided in an embodiment of this application is shown.

[0024] Figure 2 A schematic diagram of a power supply control system provided in an embodiment of this application is shown.

[0025] Figure 3 A schematic diagram of the structure of a battery module provided in an embodiment of this application is shown.

[0026] Figure 4 A schematic diagram of the structure of an electronic system provided in an embodiment of this application is shown. Detailed Implementation

[0027] The embodiments of this application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this application, and should not be construed as limiting this application.

[0028] To enable those skilled in the art to better understand the solutions of this application, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.

[0029] In the embodiments of this application, it should be noted that, in this document, relational terms such as first and second are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations.

[0030] Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0031] In the description of the embodiments of this application, the words "example" or "for example" are used to indicate exemplification, illustration, or description. Any embodiment or design described as "example" or "for example" in the embodiments of this application is not to be construed as being more preferred or having more advantages than another embodiment or design. The use of the words "example" or "for example" is intended to present relative concepts in a clear manner.

[0032] Furthermore, in the embodiments of this application, "multiple" refers to two or more. Therefore, in the embodiments of this application, "multiple" can also be understood as "at least two". "At least one" can be understood as one or more, such as one, two, or more. For example, including at least one means including one, two, or more, and is not limited to which ones are included. For example, including at least one of A, B, and C, then it could include A, B, C, A and B, A and C, B and C, or A and B and C.

[0033] It should be noted that in the embodiments of this application, "and / or" describes the relationship between associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. In addition, the character " / ", unless otherwise specified, generally indicates that the associated objects before and after it are in an "or" relationship.

[0034] It should be noted that in the embodiments of this application, "connection" can be understood as electrical connection. The connection between two electrical components can be a direct or indirect connection between the two electrical components. For example, the connection between A and B can be a direct connection between A and B, or an indirect connection between A and B through one or more other electrical components.

[0035] Example 1

[0036] Figure 1 The power supply control circuit of an embodiment of this application is shown. Figure 2 It shows that it contains Figure 1 The power supply control system of the power supply control circuit shown. Figure 3 A schematic structure of the battery module is shown. Figure 4 A schematic diagram of the electronic system employing the power supply control circuit, power supply control system, and battery module according to embodiments of this application is shown below. Figures 1 to 4 The power supply control circuit and system of the embodiments of this application will be described.

[0037] See Figure 1 and Figure 2 As shown, in some embodiments, the power supply control circuit 110 may include a switching circuit 111, a fast-start circuit 112, a power supply detection circuit 113, and a power consumption control circuit 114. The switching circuit 111 is connected between the auxiliary power supply terminal of the battery module 200 and the main control module 120. The fast-start circuit 112 is connected to the control terminal of the switching circuit 111 and is used to generate a first switching control signal based on the fast start signal of the main control module 120. The power supply detection circuit 113 is connected to the control terminal of the switching circuit 111 and is used to generate a second switching control signal based on the auxiliary power supply control signal of the battery module 200. The switching circuit 111 is turned on when either the first switching control signal or the second switching signal indicates that it is on; that is, the power supply detection circuit 113 can turn the switching circuit 111 on or off based on the auxiliary power supply control signal of the battery module 200; the fast-start circuit 112 can turn the switching circuit 111 on or off based on the fast start signal of the main control module 120. The power consumption control circuit 114 is connected to the power supply detection circuit 113 and is used to enable the power supply detection circuit 113 based on the power consumption prevention signal of the main control module 120. Specifically, when the power consumption prevention signal indicates that the power supply detection circuit 113 is enabled, the power supply detection circuit 113 generates a second switch control signal based on the auxiliary power supply control signal of the battery module 200; when the power consumption prevention signal indicates that the power supply detection circuit 113 is not enabled, the power supply detection circuit 113 outputs a second switch control signal to indicate that the switch circuit 111 is disconnected.

[0038] See Figure 3 and Figure 4 As shown, in some embodiments, the battery module 200 includes: an auxiliary power supply terminal 201 (corresponding to...) Figure 4 Port 4 in the diagram is used to supply power to the main control module 120; the load power supply terminal 202 (corresponding to...) Figure 4 Ports 1 and 8 in the circuit are used to supply power to the load circuit 130; communication port 203 (corresponding to...) Figure 4 Ports 6 and 7 in the main control module 120 are connected for communication; the auxiliary power supply control terminal 204 (corresponding to...) Figure 4 Port 2), used to generate auxiliary power supply control signals; device detection circuit 230 (corresponding to...) Figure 4 Port 5 in the circuit is used to generate a first signal when the battery module is detected to be in place, and a second signal when the battery module is detected to be removed; the control unit 210 is used to output an auxiliary power supply control signal indicating the conduction switch circuit 111 to the power supply detection circuit 113 through the auxiliary power supply control terminal 204 when the battery module is detected to be in place; and to start supplying power to the load circuit 130 from the load power supply terminal 202 when the main control module 120 is received through the communication terminal 203.

[0039] See Figure 4 As shown, the electronic system includes an electrical device 100 and a battery module 200. The electrical device 100 includes a power supply control circuit 110, a main control module 120, and a load circuit 130. Figure 4 As shown, the main control module 120 may include a microcontroller (MCU) and an interaction module. The interaction module may include output units such as a display screen, indicator lights, and speakers.

[0040] In this embodiment, the electrical device 100 may include at least two power supply control circuits 110, each power supply control circuit 110 corresponding to a battery module 200. The battery module 200 is used to supply power to the electrical device 100. The power supply control circuit 110 is used to control the power supply between the battery module 200 and the electrical device 100. In this embodiment, the main control module 120 can control the at least two power supply control circuits 110 respectively corresponding to the battery modules 200, so that one of the at least two battery modules 200 is the main battery, and the other battery modules 200 are backup batteries, and main / backup switching can be performed. For simplicity, as shown below... Figure 2 and Figure 4 As shown, the power supply control circuit 110 includes a first power supply control circuit 110a and a second power supply control circuit 110b, and the battery module 200 includes a first battery module 200a and a second battery module 200b.

[0041] It should be understood that, despite Figure 4The illustration shows a scenario where the power supply control circuit 110 is located within the electrical device 100. In this embodiment, the power supply control circuit 110 may also be at least partially located within the battery module 200, or it may be independent of both the battery module 200 and the electrical device 100. That is, the power supply control circuit 110 may be located solely within the electrical device 100, solely within the battery module 200, or independently of both the electrical device 100 and the battery module 200. Optionally, the power supply control circuit 110 and the battery module 200 may both be located within the electrical device 100.

[0042] Furthermore, in some implementations, the fast-start circuit 112 may include: a first switching transistor, a first resistor, and a second resistor. The first switching transistor is connected between the ground terminal and the control terminal of the switching circuit. The first resistor is connected between the first port of the main control module and the control terminal of the first switching transistor. The second resistor is connected between the control terminal of the first switching transistor and the first terminal. The first port is used to output a fast-start signal. As an example, refer to... Figure 4 As shown, in the first power supply control circuit 110a, the first switching transistor is MOSFET Q5, the first resistor is resistor R9, and the second resistor is resistor R11. In the second power supply control circuit 110b, the first switching transistor is MOSFET Q6, the first resistor is resistor R10, and the second resistor is resistor R12. The ground terminal is marked GND.

[0043] Furthermore, in some implementations, the power supply detection circuit 113 may include: a second switching transistor, a third resistor, and a fourth resistor. The second switching transistor is connected between the ground terminal and the control terminal of the switching circuit. The third resistor is connected between the auxiliary power supply control terminal of the battery module and the control terminal of the second switching transistor. The fourth resistor is connected between the control terminal of the second switching transistor and the first terminal. The auxiliary power supply control terminal is used to output an auxiliary power supply control signal. As an example, refer to... Figure 4 As shown, in the first power supply control circuit 110a, the second switching transistor is MOSFET Q3, the third resistor is resistor R5, and the fourth resistor is resistor R7. In the second power supply control circuit 110b, the second switching transistor is MOSFET Q4, the third resistor is resistor R6, and the fourth resistor is resistor R8.

[0044] Furthermore, in some implementations, the power consumption control circuit 114 may include: a third switch, a fifth resistor, and a sixth resistor. The third switch is connected between the ground terminal and the control terminal of the second switch, the fifth resistor is connected between the second port of the main control module and the control terminal of the third switch, and the sixth resistor is connected between the control terminal of the third switch and the first terminal. The second port is used to output a power consumption prevention signal. As an example, refer to... Figure 1As shown, in the first power supply control circuit 110a, the third switch is a MOSFET Q7, the fifth resistor is resistor R13, and the sixth resistor is resistor R15. In the second power supply control circuit 110b, the third switch is a MOSFET Q8, the fifth resistor is resistor R14, and the sixth resistor is resistor R16.

[0045] Furthermore, in some implementations, the switching circuit 111 includes a fourth switching transistor, a seventh resistor, and an eighth resistor. The fourth switching transistor is connected between the auxiliary power supply terminal of the battery module and the main control module. One end of the seventh resistor is connected to the control terminal of the fourth switching transistor, and the other end receives a first switch control signal and a second switch control signal. The eighth resistor is connected between the control terminal and the first terminal of the fourth switching transistor. As an example, refer to... Figure 4 As shown, in the first power supply control circuit 110a, the fourth switch is MOSFET Q1, the seventh resistor is resistor R3, and the eighth resistor is resistor R1. In the second power supply control circuit 110b, the fourth switch is MOSFET Q2, the seventh resistor is resistor R4, and the eighth resistor is resistor R2.

[0046] In some embodiments, the power supply control circuit 110 further includes an presence detection circuit 115, which is connected to the main control module 120 and is used to generate a first signal when the battery module 200 is detected to be in place, and to generate a second signal when the battery module 200 is detected to be removed. As an example, refer to Figure 1 As shown, in the first power supply control circuit 110a, the presence detection circuit 115 includes a resistor R17. In the second power supply control circuit 110b, the presence detection circuit 115 includes a resistor R18.

[0047] In some embodiments, the main control module 120 is configured to: when it detects that the battery module 200 in the power supply state has been removed, output a fast start signal to the fast start circuit 112 corresponding to the first target battery module, so that the fast start circuit 112 turns on the corresponding switch circuit 111 and notifies the first target battery module to start supplying power to the load circuit 130.

[0048] In some embodiments, the main control module 120 is configured to respond to a battery switching request by notifying the battery module 200 in the power supply state to stop supplying power to the load circuit 130, outputting a fast start signal to the fast start circuit 112 corresponding to the second target battery module, so that the fast start circuit 112 can turn on the corresponding switching circuit 111, and notifying the second target battery module to start supplying power to the load circuit 130.

[0049] In some implementations, the main control module 120 is also used to respond to a battery switching request by outputting a power consumption prevention signal to the power consumption control circuit 114 corresponding to the battery module in the power supply state, so that the corresponding power supply detection circuit 113 disconnects the corresponding switching circuit 111.

[0050] In some implementations, the main control module 120 is also used to respond to a battery switching request by notifying the battery module in the power supply state to output an auxiliary power supply control signal so that the corresponding power supply detection circuit 113 can disconnect the corresponding switching circuit 111.

[0051] In some embodiments, the main control module 120 is further configured to: when a battery module is present and none of the battery modules are supplying power to the load circuit 130, determine a third target battery module according to preset logic, and notify the third target battery module to start supplying power to the load circuit 130.

[0052] In some embodiments, the electrical device 100 further includes a voltage conversion circuit 140 connected between the switching circuit 111 of each power supply control circuit 110 and the main control module 120, for converting the voltage of the auxiliary power supply terminal of the battery module 200 into the operating voltage of the main control module. Optionally, the voltage conversion circuit 140 is also connected to the load power supply terminal of each battery module 200, for converting the voltage of the load power supply terminal of the battery module 200 into the operating voltage of the main control module 120.

[0053] In some embodiments, the electrical equipment further includes a unidirectional conduction unit connected between each switching circuit and the voltage conversion circuit, and connected between each auxiliary power supply terminal and the voltage conversion circuit 140. As an example, refer to... Figure 4 As shown, it includes diodes D1, D2, and D3.

[0054] In some embodiments, the control unit 210 is further configured to, upon receiving a disconnection notification from the main control module via the communication terminal, output an auxiliary power supply control signal to the power supply detection circuit via the auxiliary power supply control terminal, indicating that the switch circuit should be disconnected.

[0055] In some implementations, reference Figure 4As shown, before the first battery module 200a is inserted into the device, the positive and negative terminals of the battery are disconnected. After the first battery module 200a is inserted into the device, pin 5 detects that the first battery module 200a has been inserted into the battery compartment of the device, and pin 4 outputs an external signal. Port 2 outputs a high-level signal. The high-level signal of port 2 is divided by R5 and R7, and is higher than the turn-on voltage of the N-channel MOSFET Q3. MOSFET Q3 turns on. After MOSFET Q3 turns on, it pulls resistor R3 low. The voltage division between resistor R1 and resistor R3 satisfies the turn-on of P-channel MOSFET Q1. MOSFET Q1 turns on, and the voltage output of port 4 passes through Q1 and diode D1 to provide power to the voltage conversion circuit of the device. The voltage conversion circuit converts the voltage to obtain the MCU's operating voltage VCC. The operating voltage powers the MCU, satisfying the device's power-on requirement.

[0056] When the second battery module 200b is inserted, its operating sequence is the same as the first battery module 200a. At this time, both battery modules' ports 4 supply power to the MCU. The MCU can select the battery module that receives priority power according to pre-set logic, informing the two battery modules via ports 6 and 7 whether to continue operating or shut down. If the first battery module 200a is selected to be turned on, then ports 1 / 8 of the first battery module 200a are turned on, and the first battery module 200a supplies power to the load circuit of the device. The corresponding second battery module 200b will not receive power. The MCU instructs the second battery module 200b to turn off the high-level output of port 2 or pulls the high-level signal low through the anti-battery power consumption control signal, disconnecting MOSFETs Q4 and Q2. In this way, although the output of port 4 of the second battery module 200b is still present, the path is broken, ensuring that no power flows from the output of port 4 to the device to power the MCU.

[0057] In some implementations, reference Figure 4 As shown, if it is necessary to switch battery packs during operation, the first battery module 200a can be notified to turn off the output of port 1 / 8 through ports 6 and 7. At the same time, MOSFETs Q6 and Q2 are turned on by a fast turn-on signal, and the output of port 4 of the second battery module 200b is turned on. Then, the second battery module 200b is notified to turn on the output of port 1 / 8 through ports 6 and 7. Finally, the MOSFET Q7 is turned on by the anti-power loss control signal, thereby turning off MOSFETs Q3 and Q1 to prevent power loss from port 4 of the first battery module 200a.

[0058] In some implementations, reference Figure 4As shown, if the first battery module 200a is discharging, when it is pulled out, the connection between resistor R21 and resistor R17 is broken, and the voltage drop across resistor R17 and resistor R21 changes, triggering an interrupt inside the MCU. At this time, since there is still some charge in the capacitor at the input terminal of the MCU, the MCU power supply is still sufficient to maintain operation. The MCU responds quickly and controls the MOSFET Q6 to conduct through the fast turn-on signal, thereby turning on the MOSFET Q2. The output signal of port 4 of the second battery module 200b is provided to the voltage conversion circuit through the MOSFET Q2 and diode D3, so that the MCU is powered on continuously.

[0059] Example 2

[0060] This application provides a power supply control method for the above-mentioned power supply control system, the method comprising:

[0061] Step 1: Detect the presence of the battery modules, including whether the main and auxiliary battery modules are in place and the battery capacity of the in-place battery modules.

[0062] Step 2: Based on the detection results of Step 1, determine whether to switch the power supply battery module:

[0063] When both the main battery module and the auxiliary battery module are in place and have sufficient power, the main control module selects the main battery module to supply power according to preset logic and turns off the auxiliary battery module to supply power, without the need to switch power supplies.

[0064] When both the main battery module and the auxiliary battery module are in place, if the main battery module has insufficient power and the auxiliary battery module has sufficient power, the main battery module power supply will be turned off and the auxiliary battery module power supply will be switched on.

[0065] When the main battery module instantly switches from an in-place state to an out-of-place state, it switches to being powered by the auxiliary battery module;

[0066] Battery module power supply includes load power supply and auxiliary power supply;

[0067] Step 3: Based on the judgment result of Step 2, select the switching method for the power supply battery module:

[0068] When the main battery module is in place, the main control module simultaneously outputs a communication signal and a fast start signal. The main control module sends a communication signal to the main battery module to shut down the load power supply and sends a fast start signal to the power supply control circuit corresponding to the auxiliary battery module to start the auxiliary power supply. Then, the main control module sends a communication signal to the auxiliary battery module to start the load power supply and then sends an anti-power consumption signal to the power supply control circuit corresponding to the main battery module to shut down the auxiliary power supply.

[0069] When the main battery module is not in place, the main control module sends a fast start signal to the power supply control circuit corresponding to the auxiliary battery module to start auxiliary power supply. Then, the main control module sends a communication signal to the power supply control circuit corresponding to the auxiliary battery module to start load power supply.

[0070] In some embodiments, when both the main battery module and the auxiliary battery module are in place, both the main battery module and the auxiliary battery module output a first signal and an auxiliary power supply control signal. The main control module selects the main battery module to supply power based on the received first signal, auxiliary power supply control signal and preset logic.

[0071] The specific method for shutting down the power supply to the auxiliary battery module is as follows: the main control module sends a communication signal to the auxiliary battery module, and the auxiliary battery module shuts down the load power supply according to the communication signal. The main control module sends a power consumption prevention signal to the auxiliary power supply control circuit to shut down the auxiliary power supply of the auxiliary battery module; the power consumption prevention signal has a higher priority than the auxiliary power supply control signal.

[0072] In some embodiments, for in-situ battery module power detection, specifically, it is detected whether the operating voltage output by the battery module is less than a threshold voltage. If it is less, the detection result is that the battery module power is insufficient; the threshold voltage is the power supply voltage that ensures the normal operation of the load circuit.

[0073] The above are merely preferred embodiments of this application and are not intended to limit this application in any way. Although this application has disclosed preferred embodiments as above, it is not intended to limit this application. Any person skilled in the art can make some modifications or alterations to the above-disclosed technical content to create equivalent embodiments without departing from the scope of the technical solution of this application. Any simple modifications, equivalent changes and alterations made to the above embodiments based on the technical essence of this application without departing from the scope of the technical solution of this application shall still fall within the scope of the technical solution of this application.

Claims

1. A power supply control circuit, applied to a power supply control system, the power supply control system comprising the power supply control circuit, a battery module, and a main control module, characterized in that, The power supply control circuit includes: The switching circuit is connected between the auxiliary power supply terminal of the battery module and the main control module. A quick-start circuit is connected to the control terminal of the switch circuit and is used to generate a first switch control signal based on the quick-start signal of the main control module. A power supply detection circuit, connected to the control terminal of the switching circuit, is used to generate a second switching control signal based on the auxiliary power supply control signal of the battery module; wherein, the switching circuit is turned on when either the first switching control signal or the second switching control signal indicates that it is turned on; A power consumption control circuit, connected to the power supply detection circuit, is used to enable the power supply detection circuit based on the power consumption prevention signal of the main control module.

2. The power supply control circuit as described in claim 1, characterized in that, The fast-start circuit includes: a first switching transistor, a first resistor, and a second resistor. The first switching transistor is connected between a ground terminal and a control terminal of the switching circuit. The first resistor is connected between a first port of the main control module and the control terminal of the first switching transistor. The second resistor is connected between the control terminal of the first switching transistor and a first terminal. The first port is used to output the fast-start signal; and / or The power supply detection circuit includes: a second switching transistor, a third resistor, and a fourth resistor. The second switching transistor is connected between the ground terminal and the control terminal of the switching circuit. The third resistor is connected between the auxiliary power supply control terminal of the battery module and the control terminal of the second switching transistor. The fourth resistor is connected between the control terminal of the second switching transistor and the first terminal. The auxiliary power supply control terminal is used to output the auxiliary power supply control signal; and / or The power consumption control circuit includes: a third switch, a fifth resistor, and a sixth resistor. The third switch is connected between the ground terminal and the control terminal of the second switch. The fifth resistor is connected between the second port of the main control module and the control terminal of the third switch. The sixth resistor is connected between the control terminal of the third switch and the first terminal. The second port is used to output a power consumption prevention signal; and / or The switching circuit includes a fourth switching transistor, a seventh resistor, and an eighth resistor. The fourth switching transistor is connected between the auxiliary power supply terminal of the battery module and the main control module. One end of the seventh resistor is connected to the control terminal of the fourth switching transistor, and the other end receives the first switch control signal and the second switch control signal. The eighth resistor is connected between the control terminal of the fourth switching transistor and the first terminal.

3. The power supply control circuit as described in claim 1, characterized in that, The power supply control circuit further includes an in-situ detection circuit, connected to the main control module, for generating a first signal when the battery module is detected to be in place, and generating a second signal when the battery module is detected to be removed.

4. A power supply control system, characterized in that, include: At least two power supply control circuits as described in any one of claims 1 to 3, each power supply control circuit corresponding to a battery module; The main control module is connected to the at least two power supply control circuits.

5. The power supply control system as described in claim 4, characterized in that, The main control module is used for: When a battery module in a powered state is detected to be removed, the fast start signal is output to the fast start circuit corresponding to the first target battery module, so that the fast start circuit turns on the corresponding switching circuit and notifies the first target battery module to start supplying power to the load circuit. and / or In response to a battery switching request, the battery module in the power supply state is notified to stop supplying power to the load circuit, and the fast start signal is output to the fast start circuit corresponding to the second target battery module so that the fast start circuit turns on the corresponding switching circuit and notifies the second target battery module to start supplying power to the load circuit.

6. The power supply control system as described in claim 5, characterized in that, The main control module is also used to respond to the battery switching request by outputting a power consumption prevention signal to the power consumption control circuit corresponding to the battery module in the power supply state, so that the corresponding power supply detection circuit can disconnect the corresponding switching circuit.

7. The power supply control system as described in claim 5, characterized in that, The main control module is also used to respond to the battery switching request by notifying the battery module in the power supply state to output an auxiliary power supply control signal so that the corresponding power supply detection circuit can disconnect the corresponding switching circuit.

8. The power supply control system as described in claim 5, characterized in that, The main control module is further configured to: when a battery module is present and none of the battery modules are supplying power to the load circuit, determine a third target battery module according to preset logic, and notify the third target battery module to start supplying power to the load circuit.

9. The power supply control system as described in claim 4, characterized in that, Also includes: A voltage conversion circuit is connected between the switching circuit of each power supply control circuit and the main control module, and is used to convert the voltage of the auxiliary power supply terminal of the battery module into the operating voltage of the main control module.

10. The power supply control system as described in claim 9, characterized in that, The voltage conversion circuit is also connected to the load power supply terminal of each battery module to convert the voltage of the load power supply terminal of the battery module into the operating voltage of the main control module.

11. The power supply control system as described in claim 10, characterized in that, Also includes: A unidirectional conduction unit is connected between each of the switching circuits and the voltage conversion circuit, and between each of the load power supply terminals and the voltage conversion circuit.

12. The power supply control system as described in any one of claims 4 to 11, characterized in that, Each of the battery modules includes: An auxiliary power supply terminal is used to supply power to the main control module; Load power supply terminal, used to supply power to the load circuit; The communication terminal is connected to the main control module. An auxiliary power supply control terminal is used to generate the auxiliary power supply control signal; The device detection circuit generates a first signal when the battery module is detected to be in place, and a second signal when the battery module is detected to be removed. The control unit is configured to, when the presence of the battery module is detected, output an auxiliary power supply control signal to the power supply detection circuit via the auxiliary power supply control terminal, indicating that the switching circuit is turned on; and when the power supply notification is received from the main control module via the communication terminal, start supplying power to the load circuit from the load power supply terminal.

13. The power supply control system as described in claim 12, characterized in that, The control unit is further configured to, upon receiving a disconnection notification from the main control module via the communication terminal, output an auxiliary power supply control signal to the power supply detection circuit via the auxiliary power supply control terminal, indicating that the switching circuit should be disconnected.