Double-circuit battery switching circuit, control method, battery box and portable oxygen generator
By employing a dual-battery switching circuit in portable medical electronic devices, and utilizing a switching structure composed of field-effect transistors and triodes, the power supply route is selected according to the battery status, thus solving the problems of limited battery life and severe temperature rise of a single battery pack, achieving higher battery life and battery safety.
Patent Information
- Application Number
- CN202411074142.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-06
- Publication Date
- 2026-02-24
AI Technical Summary
Portable medical electronic devices typically use a single battery pack due to size limitations, resulting in limited battery life. Prolonged operation can easily lead to severe battery overheating, affecting the device's performance.
A dual-battery switching circuit is adopted, with the first switching circuit and the second switching circuit connected to the first battery and the second battery respectively. The control circuit selects one battery to supply power to the outside according to the battery status information. The battery switching is performed using a switching structure composed of field-effect transistors and transistors to prevent current backflow and improve battery safety.
It improves battery life, avoids overheating issues caused by prolonged operation of a single battery pack, and enhances battery safety and device reliability.
Smart Images

Figure CN121566675A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic technology, and in particular to a dual-battery switching circuit, control method, battery box, and portable oxygen concentrator. Background Technology
[0002] With the development of the medical industry, miniaturized and portable electronic devices have become widely used. For example, a portable oxygen concentrator is a small, lightweight device used to provide supplemental oxygen. Due to its portability, ease of operation, and convenient maintenance, portable oxygen concentrators are increasingly favored by users.
[0003] Portable electronic devices are generally battery-powered, and their continuous working capacity is limited by the battery's battery life. Portable medical electronic devices, due to size constraints, typically use a single battery pack. However, the capacity of a single battery pack is limited, and prolonged operation can easily lead to severe battery overheating, affecting the device's performance. Summary of the Invention
[0004] This application provides a dual-battery switching circuit, control method, battery box, and portable oxygen concentrator to solve the problem that current single-battery devices have limited battery life and that prolonged operation can easily lead to severe battery overheating.
[0005] In a first aspect, embodiments of this application provide a dual-battery switching circuit, including: a first battery, a second battery, a first switching circuit, a second switching circuit, and a control circuit;
[0006] The voltage input terminal of the first switching circuit is electrically connected to the first battery, the control terminal of the first switching circuit is electrically connected to the control circuit, and the voltage output terminal of the first switching circuit serves as one output port of the dual-battery switching circuit. The first switching circuit is used to switch to the first battery for external power supply under the control of the control circuit.
[0007] The voltage input terminal of the second switching circuit is electrically connected to the second battery, the control terminal of the second switching circuit is electrically connected to the control circuit, and the voltage output terminal of the second switching circuit serves as another output port of the dual-battery switching circuit. The second switching circuit is used to switch to the second battery for external power supply under the control of the control circuit.
[0008] The control circuit is also electrically connected to the first battery and the second battery respectively, and is used to obtain the status information of the first battery and the second battery respectively, and select one battery to supply power to the outside according to the status information.
[0009] Optionally, the first switching circuit includes a first field-effect transistor and a second field-effect transistor, wherein the first field-effect transistor and the second field-effect transistor are connected in reverse series; the first field-effect transistor and the second field-effect transistor are of the same type;
[0010] The first terminal of the first field-effect transistor is electrically connected to the first battery; the control terminal of the first field-effect transistor is electrically connected to the control circuit; the second terminal of the first field-effect transistor is also electrically connected to the second terminal of the second field-effect transistor.
[0011] The control terminal of the second field-effect transistor is electrically connected to the control circuit; the first terminal of the second field-effect transistor serves as one output port of the dual-channel battery switching circuit.
[0012] The first field-effect transistor and the second field-effect transistor are used to conduct under the control of the control circuit, so that the first battery can supply power to the outside.
[0013] Optionally, the second switching circuit includes a third field-effect transistor and a fourth field-effect transistor, wherein the third field-effect transistor and the fourth field-effect transistor are connected in reverse series; the third field-effect transistor and the fourth field-effect transistor are of the same type;
[0014] The first terminal of the third field-effect transistor is electrically connected to the second battery; the control terminal of the third field-effect transistor is electrically connected to the control circuit; the second terminal of the third field-effect transistor is electrically connected to the second terminal of the fourth field-effect transistor.
[0015] The control terminal of the fourth field-effect transistor is electrically connected to the control circuit; the first terminal of the fourth field-effect transistor serves as the other output port of the dual-channel battery switching circuit.
[0016] The third and fourth field-effect transistors are used to conduct under the control of the control circuit, so that the second battery can supply power to the outside.
[0017] Optionally, the control circuit includes a first output terminal and a second output terminal; the first switching circuit further includes a first transistor, a second transistor, and a third transistor; the first transistor, the second transistor, and the third transistor are of the same type;
[0018] The first terminal of the first transistor is electrically connected to the control terminal of the first field-effect transistor; the control terminal of the first transistor is electrically connected to the first output terminal; the second terminal of the first transistor is used to receive a power supply voltage signal with a first level; wherein, the first level is the signal level corresponding to when the first field-effect transistor is turned on;
[0019] The first terminal of the second transistor is electrically connected to the control terminal of the second field-effect transistor, and the control terminal of the second transistor is electrically connected to the first terminal of the third transistor; the second terminal of the second transistor is used to receive a power supply voltage signal with the first level.
[0020] The control terminal of the third transistor is electrically connected to the second output terminal; the second terminal of the third transistor is used to receive a power supply voltage signal with a second level; wherein, the second level is the signal level corresponding to when the second transistor is turned off.
[0021] Optionally, the control circuit includes a first output terminal and a second output terminal; the second switching circuit further includes a fourth transistor, a fifth transistor, and a sixth transistor; the fourth transistor, the fifth transistor, and the sixth transistor are of the same type;
[0022] The first terminal of the fourth transistor is electrically connected to the control terminal of the third field-effect transistor; the control terminal of the fourth transistor is electrically connected to the second output terminal; the second terminal of the fourth transistor is used to receive a power supply voltage signal with a third level; wherein, the third level is the signal level corresponding to when the third field-effect transistor is turned on;
[0023] The first terminal of the fifth transistor is electrically connected to the control terminal of the fourth field-effect transistor, and the control terminal of the fifth transistor is electrically connected to the first terminal of the sixth transistor; the second terminal of the fifth transistor is used to receive the third level power supply voltage signal.
[0024] The control terminal of the sixth transistor is electrically connected to the first output terminal; the second terminal of the sixth transistor is used to receive a power supply voltage signal with a fourth level; wherein, the fourth level is the signal level corresponding to when the fifth transistor is turned off.
[0025] Optionally, the dual-battery switching circuit further includes a main power supply circuit;
[0026] The input terminal of the main power supply circuit is electrically connected to the voltage output terminal of the first switching circuit and the voltage output terminal of the second switching circuit, respectively. The control terminal of the main power supply circuit is electrically connected to the control circuit. The output terminal of the main power supply circuit serves as the power supply output terminal of the dual-battery switching circuit.
[0027] The main power supply circuit is used to completely de-energize the dual-battery switching circuit under the control of the control circuit.
[0028] Optionally, the main power supply circuit includes a fifth field-effect transistor, a sixth field-effect transistor, and a seventh transistor;
[0029] The first terminal of the fifth field-effect transistor is electrically connected to the voltage output terminal of the first switching circuit and the voltage output terminal of the second switching circuit, respectively; the second terminal of the fifth field-effect transistor is electrically connected to the first terminal of the sixth field-effect transistor; the control terminal of the fifth field-effect transistor is used to receive a power supply voltage signal with a fifth level, the fifth level being the signal level corresponding to when the fifth field-effect transistor is turned on;
[0030] The control terminal of the sixth field-effect transistor is electrically connected to the first terminal of the seventh transistor; the second terminal of the sixth field-effect transistor serves as the power supply output terminal.
[0031] The control terminal of the seventh transistor is electrically connected to the control circuit; the second terminal of the seventh transistor is used to receive a power supply voltage signal with a sixth level, which is the signal level corresponding to when the sixth field-effect transistor is turned on.
[0032] Optionally, the main power supply circuit further includes a first diode and a push-button switch;
[0033] The anode of the first diode is electrically connected to the control electrode of the sixth field-effect transistor and the first electrode of the seventh transistor, respectively, and the cathode of the first diode is electrically connected to the first terminal of the push-button switch; the second terminal of the push-button switch is used to receive a power supply voltage signal with the sixth level.
[0034] Secondly, embodiments of this application provide a control method applied to the dual-battery switching circuit as described in the first aspect, the control method comprising:
[0035] Obtain the first state information corresponding to the first battery and the second state information corresponding to the second battery;
[0036] A first target battery is selected from the first battery and the second battery based on the first status information and the second status information;
[0037] Control signals are sent to the first switching circuit and the second switching circuit respectively, so that the dual-battery switching circuit switches to the first target battery to supply power to the outside.
[0038] Optionally, before obtaining the first state information corresponding to the first battery and the second state information corresponding to the second battery, the method further includes:
[0039] A first default control signal is sent to the first switching circuit and the second switching circuit through the first output terminal, and a second default control signal is sent to the first switching circuit and the second switching circuit through the second output terminal;
[0040] The first default control signal and the second default control signal are used to control the first switching circuit and the second switching circuit to switch to the second target battery to supply power to the outside; the second target battery is the battery with the higher output voltage between the first battery and the second battery.
[0041] Optionally, the method further includes:
[0042] A first power-off control signal is sent to the first switching circuit and the second switching circuit through the first output terminal, and a second power-off control signal is sent to the first switching circuit and the second switching circuit through the second output terminal; wherein, the first power-off control signal and the second power-off control signal are used to control the first switching circuit to disconnect the external power supply path of the first battery, and control the second switching circuit to disconnect the external power supply path of the second battery.
[0043] Alternatively, a power control signal can be sent from the power control terminal to the control terminal of the main power supply circuit to completely de-energize the dual-battery switching circuit.
[0044] Optionally, sending control signals to the first switching circuit and the second switching circuit respectively, causing the dual-battery switching circuit to switch to the first target battery for external power supply, includes:
[0045] A first switching control signal is sent to the first switching circuit and the second switching circuit through the first output terminal, and a second switching control signal is sent to the first switching circuit and the second switching circuit through the second output terminal;
[0046] The first switching control signal and the second switching control signal have opposite signal levels; the first switching control signal and the second switching control signal are used to control the first switching circuit and the second switching circuit to switch to the first target battery to supply power to the outside.
[0047] Optionally, selecting the first target battery from the first battery and the second battery based on the first state information and the second state information includes:
[0048] The first state information and the second state information are compared to obtain a first comparison result;
[0049] The first target battery is determined based on the first comparison result and the preset switching threshold parameter.
[0050] Thirdly, embodiments of this application provide a battery box, which includes the dual-battery switching circuit described in the first aspect.
[0051] Fourthly, embodiments of this application provide a portable oxygen concentrator, which includes a battery compartment as described in the third aspect.
[0052] The technical solutions provided by the embodiments of this application bring at least the following beneficial effects:
[0053] In this embodiment, by setting corresponding first and second switching circuits for the first and second batteries, the control circuit can switch between the first and second batteries based on their state information, selecting one battery to supply power. Compared to single-battery devices in related technologies, this improves battery life and avoids overheating issues caused by prolonged operation of a single battery.
[0054] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description
[0055] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application, and do not constitute an undue limitation of this application.
[0056] Figure 1 This is a schematic diagram of a dual-battery switching circuit according to an exemplary embodiment;
[0057] Figure 2 This is a schematic diagram of the structure of a first switching circuit according to an exemplary embodiment;
[0058] Figure 3 This is a schematic diagram of the structure of a second switching circuit according to an exemplary embodiment;
[0059] Figure 4 This is a schematic diagram of another dual-battery switching circuit according to an exemplary embodiment;
[0060] Figure 5 This is a schematic diagram of a main power supply circuit according to an exemplary embodiment;
[0061] Figure 6 This is a flowchart illustrating the steps of a control method according to an exemplary embodiment. Detailed Implementation
[0062] To enable those skilled in the art to better understand the technical solutions of this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.
[0063] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0064] Figure 1 This is a schematic diagram illustrating the structure of a dual-battery switching circuit 10 according to an exemplary embodiment, such as... Figure 1 As shown, the dual-battery switching circuit 10 includes: a first battery 101, a second battery 102, a first switching circuit 103, a second switching circuit 104, and a control circuit 105;
[0065] The voltage input terminal of the first switching circuit 103 is electrically connected to the first battery 101, the control terminal of the first switching circuit 103 is electrically connected to the control circuit 105, and the voltage output terminal of the first switching circuit 103 serves as one output port of the dual-battery switching circuit 10. The first switching circuit 103 is used to switch to the first battery 101 to supply power to the outside under the control of the control circuit 105.
[0066] The voltage input terminal of the second switching circuit 104 is electrically connected to the second battery 102, the control terminal of the second switching circuit 104 is electrically connected to the control circuit 105, and the voltage output terminal of the second switching circuit 104 serves as another output port of the dual-battery switching circuit 10. The second switching circuit 104 is used to switch to the second battery 102 to supply power to the outside under the control of the control circuit 105.
[0067] The control circuit 105 is also electrically connected to the first battery 101 and the second battery 102 respectively, and is used to obtain the status information of the first battery 101 and the second battery 102 respectively, and select one battery to supply power to the outside according to the status information.
[0068] In some embodiments, the dual-battery switching circuit 10 can be applied to miniaturized, portable medical electronic devices, such as portable ventilators and portable oxygen concentrators. The first battery 101 and the second battery 102 can be two battery packs; the first battery 101 and the second battery 102 can be of the same or different models. The battery pack can be, for example, a 4S2P battery pack or a 4S1P battery pack. One type of 4S2P battery pack has eight cells, divided into two groups of four cells each, connected in series to form two parallel groups, thus obtaining the 4S2P battery pack.
[0069] In some embodiments, the control circuit 105 can be a specially constructed logic control circuit or a control chip, such as a microcontroller unit (MCU). The control circuit 105 can communicate with the first battery 101 and the second battery 102 respectively to obtain battery status information such as remaining capacity, voltage, current, and temperature. Based on this status information, it can select the battery with the better current state to supply power, thus allowing the other battery group a short recovery period. For example, if the temperature of either battery group rises too high, the control circuit 105 can select the other battery group, improving battery safety. This is merely an illustrative example, and the embodiments of this application do not impose limitations.
[0070] Optionally, the first switching circuit 103 includes a first field-effect transistor 1031 and a second field-effect transistor 1032, which are connected in reverse series; the first field-effect transistor 1031 and the second field-effect transistor 1032 are of the same type.
[0071] The first terminal of the first field-effect transistor 1031 is electrically connected to the first battery 101; the control terminal of the first field-effect transistor 1031 is electrically connected to the control circuit; the second terminal of the first field-effect transistor 1031 is also electrically connected to the second terminal of the second field-effect transistor 1032.
[0072] The control terminal of the second field-effect transistor 1032 is electrically connected to the control circuit 105; the first terminal of the second field-effect transistor 1032 serves as one output port of the dual-channel battery switching circuit.
[0073] The first field-effect transistor 1031 and the second field-effect transistor 1032 are used to conduct under the control of the control circuit, so that the first battery 101 supplies power to the outside.
[0074] In some embodiments, the first field-effect transistor 1031 and the second field-effect transistor 1032 in the first switching circuit 103 form a set of switches. When the first field-effect transistor 1031 and the second field-effect transistor 1032 are turned on, the first battery 101 supplies power to the outside. The first field-effect transistor 1031 and the second field-effect transistor 1032 are of the same type, and the second terminal of the first field-effect transistor 1031 is electrically connected to the second terminal of the second field-effect transistor 1032. Therefore, the first field-effect transistor 1031 and the second field-effect transistor 1032 are connected in reverse series, exhibiting the unidirectional conduction characteristic of a diode, which can prevent reverse current flow.
[0075] In this embodiment, by connecting the first field-effect transistor 1031 and the second field-effect transistor 1032 of the same type in reverse series, it can act as a switch. When it is turned on under the control of the control circuit 105, it enables the first battery 101 to supply power to the outside. When it is not turned on, it prevents current backflow, thereby improving the safety of the first battery 101.
[0076] Optionally, the second switching circuit 104 includes a third field-effect transistor 1041 and a fourth field-effect transistor 1042, which are connected in reverse series; the third field-effect transistor 1041 and the fourth field-effect transistor 1042 are of the same type.
[0077] The first terminal of the third field-effect transistor 1041 is electrically connected to the second battery 102; the control terminal of the third field-effect transistor 1041 is electrically connected to the control circuit; the second terminal of the third field-effect transistor 1041 is electrically connected to the second terminal of the fourth field-effect transistor 1042.
[0078] The control terminal of the fourth field-effect transistor 1042 is electrically connected to the control circuit; the first terminal of the fourth field-effect transistor 1042 serves as the other output port of the dual-channel battery switching circuit.
[0079] Among them, the third field-effect transistor 1041 and the fourth field-effect transistor 1042 are used to conduct under the control of the control circuit, so that the second battery 102 can supply power to the outside.
[0080] In some embodiments, the third field-effect transistor 1041 and the fourth field-effect transistor 1042 in the second switching circuit 104 form a set of switches, and the second battery 102 supplies power to the outside when the switches are turned on. The third field-effect transistor 1041 and the fourth field-effect transistor 1042 are of the same type, and the second terminal of the third field-effect transistor 1041 is also electrically connected to the second terminal of the fourth field-effect transistor 1042. Therefore, the third field-effect transistor 1041 and the fourth field-effect transistor 1042 are connected in reverse series, exhibiting the unidirectional conduction characteristics of a diode, which can prevent reverse current flow.
[0081] This prevents leakage of current from the external circuit to the first battery 101 and the second battery 102, and the first battery 101 and the second battery 102 are not conductive to each other, which can improve the safety of the first battery 101 and the second battery 102.
[0082] In some embodiments, the first field-effect transistor 1031, the second field-effect transistor 1032, the third field-effect transistor 1041, and the fourth field-effect transistor 1042 can be metal-oxide-semiconductor (MOS) field-effect transistors, i.e., MOS transistors. The first field-effect transistor 1031 and the second field-effect transistor 1032 can be of the same type, either NMOS or PMOS, and the third field-effect transistor 1041 and the fourth field-effect transistor 1042 can also be of the same type, either NMOS or PMOS. This application does not impose any limitations on this. The gate is the control electrode of the MOS transistor. NMOS is active high, and PMOS is active low. The control circuit 105 can control the NMOS to conduct by sending a high-level signal to the gate of the NMOS and control the PMOS to conduct by sending a low-level signal to the gate of the PMOS. This is merely an example, and this application does not impose any limitations on this.
[0083] In this embodiment, by connecting the third field-effect transistor 1041 and the fourth field-effect transistor 1042 of the same type in reverse series, they can function as a switch. When the switch is turned on under the control of the control circuit 105, the second battery 102 supplies power to the outside. When the switch is not turned on, it has the unidirectional conduction characteristic of a diode to prevent current backflow, thereby improving the safety of the second battery 102.
[0084] In some embodiments, the control circuit 105 can control whether the field-effect transistor is turned on by controlling the transistor. This is because the voltage required to turn on the transistor is low, for example, 0.3 to 0.6V, while the voltage required to turn on the field-effect transistor, such as a metal oxide semiconductor (MOS) field-effect transistor, is high, generally 3V to 5V.
[0085] Optionally, the control circuit 105 includes a first output terminal 1051 and a second output terminal 1052; the first switching circuit 103 further includes a first transistor 1033, a second transistor 1034 and a third transistor 1035; the first transistor 1033, the second transistor 1034 and the third transistor 1035 are of the same type;
[0086] The first terminal of the first transistor 1033 is electrically connected to the control terminal of the first field-effect transistor 1031; the control terminal of the first transistor 1033 is electrically connected to the first output terminal 1051; the second terminal of the first transistor 1033 is used to receive a power supply voltage signal with a first level; wherein, the first level is the signal level corresponding to when the first field-effect transistor 1031 is turned on;
[0087] The first terminal of the second transistor 1034 is electrically connected to the control terminal of the second field-effect transistor 1032, and the control terminal of the second transistor 1034 is electrically connected to the first terminal of the third transistor 1035; the second terminal of the second transistor 1034 is used to receive a power supply voltage signal with a first level.
[0088] The control terminal of the third transistor 1035 is electrically connected to the second output terminal 1052; the second terminal of the third transistor 1035 is used to receive a power supply voltage signal with a second level; wherein, the second level is the signal level corresponding to when the second transistor 1034 is cut off.
[0089] In some embodiments, the control circuit 105 includes a first output terminal 1051 and a second output terminal 1052. The control circuit 105 can output two control signals through the first output terminal 1051 and the second output terminal 1052. The control signals have two level states: high level and low level.
[0090] In some embodiments, a first transistor 1033 is disposed between the first output terminal 1051 of the control circuit 105 and the first field-effect transistor 1031, and the first transistor 1033 is used as a switching transistor. The control terminal of the first transistor 1033 is connected to the first output terminal 1051, the first terminal is connected to the control terminal of the first field-effect transistor 1031, and the second terminal is connected to a first power supply terminal.
[0091] The first power supply terminal can provide a power supply voltage signal with a first level, which is the signal level corresponding to when the first field-effect transistor 1031 is turned on. When the control circuit 105 controls the first transistor 1033 to turn on, the first power supply terminal can provide a power supply voltage signal with the first level to the first field-effect transistor 1031, thereby controlling the first field-effect transistor 1031 to turn on.
[0092] In some embodiments, a second transistor 1034 and a third transistor 1035 are disposed between the second output terminal 1052 of the control circuit 105 and the second field-effect transistor 1032. The second transistor 1034 and the third transistor 1035 are used as switching transistors. The control terminal of the third transistor 1035 is connected to the second output terminal 1052, the first terminal is electrically connected to the control terminal of the second transistor 1034, and the second terminal can be connected to a second power supply terminal.
[0093] The second power supply terminal can provide a power supply voltage signal with a second level, which is the signal level corresponding to when the second transistor 1034 is off. When the control circuit 105 controls the third transistor 1035 to be turned on, the second power supply terminal can provide a power supply voltage signal with the second level to the second transistor 1034, thereby controlling the second transistor 1034 to be turned off.
[0094] In some embodiments, the control electrode of the second transistor 1034 can also be electrically connected to a constant voltage source and conduct under the control of a constant voltage. Only when the third transistor 1035 is turned on will the control electrode of the second transistor 1034 receive a power supply voltage signal with a second level and become cut off. Thus, when the control circuit 105 controls the third transistor 1035 to conduct, the second transistor 1034 is cut off, causing the second field-effect transistor 1032 to be cut off; otherwise, the second field-effect transistor 1032 is in the conducting state.
[0095] In some embodiments, the first transistor 1033, the second transistor 1034, and the third transistor 1035 are of the same type. Specifically, they can be NPN transistors or PNP transistors. This application does not limit this.
[0096] For example, the first transistor 1033, the second transistor 1034, and the third transistor 1035 are all NPN transistors. When the control signal sent from the first output terminal 1051 is high, the first transistor 1033 is turned on, and the control electrode of the first field-effect transistor 1031 receives a power supply voltage signal with a first level, thus turning on the first field-effect transistor 1031. When the control signal sent from the first output terminal 1051 is low, the first transistor 1033 is turned off, thus turning on the first field-effect transistor 1032. When the control signal sent from the second output terminal 1052 is high, the third transistor 1035 is turned on, and the base of the second transistor 1034 is pulled low, turning off the second transistor 1034, and consequently, turning off the second field-effect transistor 1032. When the control signal sent from the second output terminal 1052 is low, the first transistor 1033 is turned off, and the second transistor 1034 is turned on, thus turning on the second field-effect transistor 1032. This is merely an example, and the embodiments in this application are not intended to limit the scope of the application.
[0097] In this embodiment, by setting a first transistor 1033, a second transistor 1034, and a third transistor 1035 of the same type in the first switching circuit 103, based on the connection relationship between the first transistor 1033 and the first field-effect transistor 1031, and the connection relationship between the second transistor 1034 and the third transistor 1035 and the second field-effect transistor 1032, it is possible to realize that when the control signals output by the first output terminal 1051 and the second output terminal 1052 are at the same level, one of the two field-effect transistors is turned on and the other is turned off, and when the control signals are at opposite levels, the two field-effect transistors are turned on or off at the same time. This allows the control circuit 105 to flexibly control the on or off state of the field-effect transistors, improving the practicality of the dual-battery switching circuit 10.
[0098] Figure 2 This is a schematic diagram of the structure of a first switching circuit 103 according to an exemplary embodiment, as shown below. Figure 2As shown, the first field-effect transistor 1031 and the second field-effect transistor 1032 are PMOS transistors, and the first transistor 1033, the second transistor 1034, and the third transistor 1035 are NPN transistors. The drain of the first field-effect transistor 1031 (Q1) is electrically connected to the output terminal (VSYV_OUT-A) of the first battery 101, and the gate and source of the field-effect transistor Q1 are electrically connected through resistors R3 and R4. The source of the field-effect transistor Q1 is also electrically connected to the source of the second field-effect transistor 1032 (Q2). The field-effect transistors Q1 and Q2 are connected in series in reverse. Since the body diode in the field-effect transistor Q1 conducts from drain to source, when the field-effect transistor Q1 is off and the field-effect transistor Q2 is on, the presence of the body diode in the field-effect transistor Q1 prevents external current from flowing back into the first battery 101, thus improving the safety of the first battery 101. Resistors R3 and R4 are electrically connected to the collector of the first transistor 1033 (N3) via resistor R9. The base of transistor N3 is electrically connected to the first output terminal 1051 (CTRL_ON-1) via resistor R13, and can receive control signals sent by control circuit 105. The emitter of transistor N3 is grounded (GAND), and resistor R17 is also connected between the base and emitter of transistor N3.
[0099] like Figure 2 As shown, the gate of MOSFET Q2 is electrically connected to resistor R7, and the drain of MOSFET Q2 serves as the voltage output terminal VSYS_OUT of the first switching circuit 103. Resistor R7 is electrically connected to the collector of the second transistor 1034 (N1), and the collector of transistor N1 is also electrically connected to the source of MOSFET Q2 through resistor R1. The base of transistor N1 is electrically connected to the source of MOSFET Q2 through resistor R10, and the base of transistor N1 is also electrically connected to the collector of the third transistor 1035 (N5). The emitter of transistor N1 is grounded. The base of transistor N5 is electrically connected to the second output terminal 1052 (CTRL_ON-2) through resistor R14, which can receive control signals sent by control circuit 105. The emitter of transistor N5 is grounded, and a resistor R18 is connected between the base and emitter of transistor N5.
[0100] Optionally, the control circuit 105 includes a first output terminal 1051 and a second output terminal 1052; the second switching circuit 104 further includes a fourth transistor 1043, a fifth transistor 1044 and a sixth transistor 1045; the fourth transistor 1043, the fifth transistor 1044 and the sixth transistor 1045 are of the same type;
[0101] The first terminal of the fourth transistor 1043 is electrically connected to the control terminal of the third field-effect transistor 1041; the control terminal of the fourth transistor 1043 is electrically connected to the second output terminal 1052; the second terminal of the fourth transistor 1043 is used to receive a power supply voltage signal with a third level; wherein, the third level is the signal level corresponding to when the third field-effect transistor 1041 is turned on;
[0102] The first terminal of the fifth transistor 1044 is electrically connected to the control terminal of the fourth field-effect transistor 1042, and the control terminal of the fifth transistor 1044 is electrically connected to the first terminal of the sixth transistor 1045; the second terminal of the fifth transistor 1044 is used to receive the third level power supply voltage signal.
[0103] The control terminal of the sixth transistor 1045 is electrically connected to the first output terminal 1051; the second terminal of the sixth transistor 1045 is used to receive a power supply voltage signal with a fourth level; wherein, the fourth level is the signal level corresponding to when the fifth transistor 1044 is cut off.
[0104] In this embodiment of the application, a fourth transistor 1043 is disposed between the second output terminal 1052 of the control circuit and the third field-effect transistor 1041. The fourth transistor 1043 is used as a switching transistor. The control terminal of the fourth transistor 1043 is connected to the second output terminal 1052, the first terminal is connected to the control terminal of the third field-effect transistor 1041, and the second terminal can be connected to the third power supply terminal.
[0105] The third power supply terminal can provide a power supply voltage signal with a third level, which is the signal level corresponding to when the third field-effect transistor 1041 is turned on. When the control circuit 105 controls the fourth transistor 1043 to turn on, the third power supply terminal can provide a power supply voltage signal with a third level to the third field-effect transistor 1041, thereby controlling the third field-effect transistor 1041 to turn on.
[0106] In some embodiments, a fifth transistor 1044 and a sixth transistor 1045 are disposed between the first output terminal 1051 of the control circuit 105 and the fourth field-effect transistor 1042. The fifth transistor 1044 and the sixth transistor 1045 are used as switching transistors. The control terminal of the sixth transistor 1045 is connected to the first output terminal 1051, the first terminal is electrically connected to the control terminal of the fifth transistor 1044, and the second terminal can be connected to the fourth power supply terminal.
[0107] The fourth power supply terminal can provide a power supply voltage signal with a fourth level, which is the signal level corresponding to when the fifth transistor 1044 is off. When the control circuit 105 controls the sixth transistor 1045 to be turned on, the fourth power supply terminal can provide a power supply voltage signal with the fourth level to the fifth transistor 1044, thereby controlling the fifth transistor 1044 to be turned off.
[0108] In some embodiments, the control electrode of the fifth transistor 1044 can also be electrically connected to a constant voltage source and conduct under the control of a constant voltage. Only when the fifth transistor 1044 is conducting will the control electrode of the sixth transistor 1045 receive a power supply voltage signal with a second level and become cut off. Thus, when the control circuit 105 controls the fifth transistor 1044 to conduct, the sixth transistor 1045 is cut off, causing the fourth field-effect transistor 1042 to be cut off; otherwise, the fourth field-effect transistor 1042 is in the conducting state.
[0109] In some embodiments, the fourth transistor 1043, the fifth transistor 1044, and the sixth transistor 1045 are of the same type. Specifically, they can be NPN transistors or PNP transistors, but this application does not limit this.
[0110] For example, transistors 1043 (fourth), 1044 (fifth), and 1045 (sixth) are all NPN transistors. When the control signal sent from the first output terminal 1051 is high, transistor 1045 is turned on, pulling the base of transistor 1044 low and turning it off, thus turning on the fourth field-effect transistor 1042. When the control signal sent from the first output terminal 1051 is low, transistor 1045 is turned off, turning on transistor 1044 and thus turning on the fourth field-effect transistor 1042. When the control signal sent from the second output terminal 1052 is high, transistor 1043 is turned on, and the control electrode of the third field-effect transistor 1041 receives a power supply voltage signal with a third level, turning on the third field-effect transistor 1041. When the control signal sent from the second output terminal 1052 is low, transistor 1043 is turned off, thus turning on the third field-effect transistor 1041.
[0111] In this embodiment, by setting a fourth transistor 1043, a fifth transistor 1044, and a sixth transistor 1045 of the same type in the first switching circuit 103, based on the connection relationship between the fourth transistor 1043 and the third field-effect transistor 1041, and the connection relationship between the fifth transistor 1044 and the sixth transistor 1045 and the fourth field-effect transistor 1042, it is possible to achieve that when the control signals output by the first output terminal 1051 and the second output terminal 1052 are at the same level, one of the two field-effect transistors is turned on and the other is turned off, while when the control signals are at opposite levels, the two field-effect transistors are turned on or off simultaneously. This allows the control circuit 105 to flexibly control the on or off state of the field-effect transistors, improving the practicality of the dual-channel battery switching circuit 10.
[0112] Figure 3 This is a schematic diagram of the structure of a second switching circuit 104 according to an exemplary embodiment, as shown below. Figure 3As shown, the third field-effect transistor 1041 and the fourth field-effect transistor 1042 are PMOS transistors, while the fourth transistor 1043, the fifth transistor 1044, and the sixth transistor 1045 are NPN transistors. The drain of the third field-effect transistor 1041 (Q3) is electrically connected to the output terminal (VSYV_OUT-B) of the second battery 102, and the gate and source of the field-effect transistor Q3 are electrically connected through resistors R5 and R6. The source of the field-effect transistor Q3 is also electrically connected to the source of the fourth field-effect transistor 1042 (Q4). The field-effect transistors Q3 and Q4 are connected in series in reverse. Since the body diode in the field-effect transistor Q3 conducts from drain to source, when the field-effect transistor Q3 is off and the field-effect transistor Q4 is on, the presence of the body diode in the field-effect transistor Q3 prevents external current from flowing back into the second battery 102, thus improving the safety of the second battery 102. Resistors R5 and R6 are electrically connected to the collector of the fourth transistor 1043 (N4) via resistor R12. The base of transistor N4 is electrically connected to the second output terminal 1052 (CTRL_ON-2) via resistor R13, which can receive control signals sent by control circuit 105. The emitter of transistor N4 is grounded, and resistor R19 is also connected between the base and emitter of transistor N4.
[0113] like Figure 3 As shown, the gate of MOSFET Q4 is electrically connected to resistor R8, and the drain of MOSFET Q4 serves as the output terminal VSYS_OUT of the second switching circuit 104. Resistor R8 is electrically connected to the collector of the fifth transistor 1044 (N2), and the collector of transistor N2 is also electrically connected to the source of Q4 through resistor R2. The base of transistor N2 is electrically connected to the source of Q4 through resistor R11, and the base of transistor N2 is also electrically connected to the collector of the sixth transistor 1045 (N6). The emitter of transistor N2 is grounded. The base of transistor N6 is electrically connected to the first output terminal 1051 (CTRL_ON-1) through resistor R16, which can receive control signals sent by control circuit 105. The emitter of transistor N6 is grounded, and a resistor R20 is connected between the base and emitter of transistor N6.
[0114] Although the voltage required for a MOSFET to turn on is high, MOSFETs have a strong load-driving capability. The control circuit 105 can control the transistor, and thus control the MOSFET, reducing the requirements on the control circuit 105 and making it more versatile. For example, as... Figure 2 As shown, field-effect transistors Q1 and Q2 are PMOS transistors of the same type, as follows: Figure 3As shown, field-effect transistors Q3 and Q4 are PMOS transistors of the same type. The combination circuits of field-effect transistors Q1 and Q2, as well as those of Q3 and Q4, combine the functions of both switches and diodes. Thus, dual-battery switching can be achieved using only four PMOS transistors in conjunction with an MCU, resulting in relatively low cost and suitability for miniaturized and portable electronic devices.
[0115] Optionally, the dual-battery switching circuit 10 also includes a main power supply circuit 106;
[0116] The input terminal of the main power supply circuit 106 is electrically connected to the voltage output terminal of the first switching circuit 103 and the voltage output terminal of the second switching circuit 104, respectively. The control terminal of the main power supply circuit 106 is electrically connected to the control circuit 105. The output terminal of the main power supply circuit 106 serves as the power supply output terminal of the dual-battery switching circuit 10.
[0117] The main power supply circuit 106 is used to completely disconnect the power to the dual-battery switching circuit 10 under the control of the control circuit 105.
[0118] In some embodiments, the output of the main power supply circuit 106 can be connected to a power-consuming module, outputting the power supply voltage provided by the first battery 101 or the second battery 102 to the power-consuming module. The main power supply circuit 106 can also receive control signals sent by the control circuit 105, completely cutting off the output path of the dual-battery switching circuit 10, realizing the switching on and off of the main power supply, that is, realizing a true power-off function in the power-off state.
[0119] In some embodiments, the first battery 101 may include a first communication interface, the second battery 102 may include a second communication interface, and the control circuit 105 may include a first input terminal and a second input terminal. The first communication interface is electrically connected to the first input terminal, and the second communication interface is electrically connected to the second input terminal. The control circuit 105 can obtain the remaining capacity, voltage, current, temperature, and other status information of the first battery 101 and the second battery 102 through the first and second communication interfaces, respectively. Then, through an intelligent algorithm, it automatically switches between the two batteries for time-sharing power supply, avoiding severe temperature rise of a single battery due to prolonged power supply. In addition, it allows the battery to recover after high current power supply, making the dual-battery switching circuit 10 safer and more reliable.
[0120] Specifically, the first communication interface and the first input terminal can be connected via a first bus, and the second communication interface and the second input terminal can be connected via a second bus. The first bus and the second bus can be of the same type or different types. For example, a Serial Peripheral Interface (SPI) bus or an Inter-Integrated Circuit (IIC) bus can be selected. This is merely an example, and the embodiments of this application do not impose limitations.
[0121] Taking the 4S1P battery pack as an example, the first battery 101 or the second battery 102 consists of four lithium-ion batteries with a nominal capacity of 3.2Ah and a nominal voltage of 3.6V connected in series. During normal operation, the MCU can obtain status information such as battery capacity of 2000mAh, voltage of 15.6V, current of 3.6A, and temperature of 43℃ through the I2C interface.
[0122] Figure 4 This is a schematic diagram illustrating the structure of another dual-battery switching circuit 10 according to an exemplary embodiment, as shown below. Figure 4 As shown, the first battery 101 and the second battery 102 are two sets of batteries in the battery pack. The first battery 101 is electrically connected to the first input terminal of the MCU through the first communication interface, and the second battery 102 is electrically connected to the second input terminal of the MCU through the second communication interface. The output terminal VSYS_OUT-A of the first battery 101 is electrically connected to the voltage input terminal of the first switching circuit 103, and the output terminal VSYS_OUT-B of the second battery 102 is electrically connected to the voltage input terminal of the second switching circuit 104. The output terminals VSYS_OUT of both the first switching circuit 103 and the second switching circuit 104 are electrically connected to the input terminal of the main power supply circuit 106. The first output terminal 1051 (CTRL_ON-1) and the second output terminal 1052 (CTRL_ON-2) of the MCU are electrically connected to the first switching circuit 103, and the first output terminal 1051 (CTRL_ON-1) and the second output terminal 1052 (CTRL_ON-2) are also electrically connected to the second switching circuit 104.
[0123] In this embodiment of the application, by setting a main power supply circuit 106 in the dual-battery switching circuit 10, the power supply output of the dual-battery switching circuit 10 can be easily cut off by the control circuit 105, so that the device is powered off and shut down, which can improve the practicality of the dual-battery switching circuit 10.
[0124] Optionally, the main power supply circuit 106 includes a fifth field-effect transistor 1061, a sixth field-effect transistor 1062, and a seventh transistor 1063;
[0125] The first terminal of the fifth field-effect transistor 1061 is electrically connected to the voltage output terminal of the first switching circuit 103 and the voltage output terminal of the second switching circuit 104, respectively; the second terminal of the fifth field-effect transistor 1061 is electrically connected to the first terminal of the sixth field-effect transistor 1062; the control terminal of the fifth field-effect transistor 1061 is used to receive a power supply voltage signal with a fifth level, which is the signal level corresponding to when the fifth field-effect transistor 1061 is turned on;
[0126] The control terminal of the sixth field-effect transistor 1062 is electrically connected to the first terminal of the seventh transistor 1063; the second terminal of the sixth field-effect transistor 1062 serves as the power supply output terminal.
[0127] The control terminal of the seventh transistor 1063 is electrically connected to the control circuit 105; the second terminal of the seventh transistor 1063 is used to receive a power supply voltage signal with a sixth level, which is the signal level corresponding to when the sixth field-effect transistor 1062 is turned on.
[0128] In some embodiments, the fifth field-effect transistor 1061 and the sixth field-effect transistor 1062 can be used as switching transistors in the main power supply circuit 106 to control the on / off of the main power supply of the device, so that a true power-off can be achieved when the device is in the off state.
[0129] In some embodiments, the first terminal of the fifth field-effect transistor 1061 serves as the input terminal of the main power supply circuit 106, and is electrically connected to the voltage output terminals of the first switching circuit 103 and the second switching circuit 104, respectively. Specifically, the first terminal of the fifth field-effect transistor 1061 is electrically connected to the first terminals of the second field-effect transistor 1032 and the fourth field-effect transistor 1042, respectively. The second terminal of the fifth field-effect transistor 1061 is electrically connected to the first terminal of the sixth field-effect transistor 1062, that is, the fifth field-effect transistor 1061 and the sixth field-effect transistor 1062 are connected in series. The control terminal of the fifth field-effect transistor 1061 can be connected to the fifth power supply terminal.
[0130] The fifth power supply terminal can provide a power supply voltage signal with a fifth level, which is the signal level corresponding to when the fifth field-effect transistor 1061 is turned on. For example, if the fifth field-effect transistor 1061 is a PMOS transistor, then the fifth power supply terminal can be a ground terminal, and the fifth field-effect transistor 1061 is turned on when its gate is pulled low.
[0131] In some embodiments, the second terminal of the sixth field-effect transistor 1062 serves as the power supply output terminal of the dual-battery switching circuit 10 and can be electrically connected to the power consumption module. A seventh transistor 1063 can be placed between the sixth field-effect transistor 1062 and the control circuit 105, so that the control circuit 105 controls the on / off state of the sixth field-effect transistor 1062 by controlling the seventh transistor 1063.
[0132] Specifically, the control electrode of the seventh transistor 1063 is electrically connected to the control circuit 105 and can be electrically connected to the power control terminal of the control circuit 105. The first electrode is electrically connected to the control electrode of the sixth field-effect transistor 1062, and the second electrode can be connected to the sixth power supply terminal.
[0133] The sixth power supply terminal can provide a power supply voltage signal with a sixth level, which is the signal level corresponding to when the sixth field-effect transistor 1062 is turned on. For example, if the sixth field-effect transistor 1062 is a PMOS transistor, then the sixth power supply terminal can be grounded. When the gate of the sixth field-effect transistor 1062 is pulled low, the sixth field-effect transistor 1062 is turned on.
[0134] For example, the seventh transistor 1063 is an NPN transistor. When the power control signal sent from the power control terminal is high, it turns on, and the gate of the sixth field-effect transistor 1062 is pulled low, turning on the sixth field-effect transistor 1062. When the power control signal is low, the seventh transistor 1063 turns off, thereby controlling the sixth field-effect transistor 1062 to turn off.
[0135] In this embodiment, by setting a fifth field-effect transistor 1061, a sixth field-effect transistor 1062, and a seventh transistor 1063 in the main power supply circuit, the advantages of the field-effect transistor's strong load-carrying capacity and its switching function can be utilized to better power the power module and realize power-on / off control. The control circuit 105 can control the on / off of the seventh transistor 1063 with a small voltage, thereby conveniently controlling the on / off of the sixth field-effect transistor 1062, which can improve the practicality of the dual-battery switching circuit 10.
[0136] Optionally, the main power supply circuit 106 also includes a first diode and a push-button switch;
[0137] The anode of the first diode is electrically connected to the control electrode of the sixth field-effect transistor 1062 and the first electrode of the seventh transistor 1063, respectively. The cathode of the first diode is electrically connected to the first terminal of the push-button switch. The second terminal of the push-button switch is used to receive a power supply voltage signal with a sixth level.
[0138] In some embodiments, the dual-battery switching circuit 10 can provide a power button. When the power button is pressed, battery power is output, and then the control circuit 105 automatically controls the switching between the two batteries. Specifically, the control electrode of the sixth field-effect transistor 1062 is connected to the button switch through a first diode. When the button switch is pressed, the control electrode of the sixth field-effect transistor 1062 receives a power supply voltage signal with a sixth level, and the sixth field-effect transistor 1062 is turned on, allowing the first switching circuit 103 and the second switching circuit 104 to switch the power supply.
[0139] Figure 5 This is a schematic diagram of the structure of a main power supply circuit 106 according to an exemplary embodiment, as shown below. Figure 5 As shown, the main power supply circuit 106 includes a fifth field-effect transistor 1061 (Q6), a sixth field-effect transistor 1062 (Q5), a seventh transistor 1063 (N7), a first diode (D1), and a push-button switch (KEY). The fifth field-effect transistor 1061 (Q6) and the sixth field-effect transistor 1062 (Q5) are PMOS transistors, and the seventh transistor 1063 (N7) is an NPN transistor. The source of field-effect transistor Q6 is electrically connected to the drain of field-effect transistor Q2 and the drain of field-effect transistor Q4, respectively, and the drain of field-effect transistor Q6 is electrically connected to the source of field-effect transistor Q5. Filter capacitors C1 to C7 are also provided between field-effect transistors Q6 and Q5. The gate of field-effect transistor Q6 is grounded through resistor R24, and filter capacitor C8 and resistor R21 are also connected between the source and gate of field-effect transistor Q6. The gate of MOSFET Q5 is electrically connected to the collector of transistor N7 via resistors R23 and R26. The emitter of transistor N7 is grounded, and the base of transistor N7 is electrically connected to the power control terminal (CTRL_ON), allowing it to receive power control signals from control circuit 105. The intermediate node of resistors R23 and R26 is connected to the source of MOSFET Q5 via resistors R25 and R22. This intermediate node is also electrically connected to the anode of diode D1, and the cathode of diode D1 is electrically connected to the push-button switch.
[0140] In this embodiment, by providing corresponding first switching circuits 103 and second switching circuits 104 for the first battery 101 and the second battery 102, the control circuit 105 can switch between the two batteries according to the state information of the first battery 101 and the second battery 102, selecting either the first battery 101 or the second battery 102 to supply power. Compared to single-battery devices in related technologies, this improves battery life and avoids overheating problems caused by long-term operation of a single battery.
[0141] Figure 6 This is a flowchart of the steps of a control method provided in an embodiment of this application, as shown below. Figure 6 As shown, this control method is applied to the dual-battery switching circuit 10 described in the foregoing embodiment, and includes:
[0142] Step S1: Obtain the first state information corresponding to the first battery 101 and the second state information corresponding to the second battery 102;
[0143] Step S2: Select the first target battery from the first battery 101 and the second battery 102 according to the first state information and the second state information;
[0144] Step S3: Send control signals to the first switching circuit 103 and the second switching circuit 104 respectively, so that the dual-battery switching circuit 10 switches to the first target battery to supply power to the outside.
[0145] In some embodiments, the control circuit 105 can obtain the remaining capacity, voltage, current, temperature and other status information of the first battery 101 and the second battery 102 through the first communication interface and the second communication interface, respectively, that is, the first status information corresponding to the first battery 101 and the second status information corresponding to the second battery 102.
[0146] For example, the first state information corresponding to the first battery 101 may include the remaining capacity CA, battery voltage VA, battery current IA, and battery temperature TA. The second state information corresponding to the second battery 102 may include the remaining capacity CB, battery voltage VB, battery current IB, and battery temperature TB. This is merely an example, and the embodiments of this application do not impose any limitations on it.
[0147] In some embodiments, the first target battery is the battery with the better current state. The control circuit 105 can compare the first state information and the second state information, and select the first target battery based on the comparison result. For example, when TA>TB, the second battery 102 is selected as the first target battery. When CA>CB or VA>VB, the first battery 101 is selected as the first target battery. This is only an example, and the embodiments of this application do not limit this.
[0148] In some embodiments, the control circuit 105 can send a control signal with a first level to the first field-effect transistor 1031 and the second field-effect transistor 1032, causing the first field-effect transistor 1031 and the second field-effect transistor 1032 to conduct, and then the first switching circuit 103 switches to the first battery 101 to supply power to the outside. The control circuit 105 can also send a power supply voltage signal with a third level to the third field-effect transistor 1041 and the fourth field-effect transistor 1042, causing the third field-effect transistor 1041 and the fourth field-effect transistor 1042 to conduct, and then the second switching circuit 104 switches to the second battery 102 to supply power to the outside.
[0149] In this embodiment, the control circuit 105 can obtain the status information of the first battery 101 and the second battery 102 respectively, and select the battery with the better current status to supply power to the outside based on the status information. This allows the other battery to have a short recovery period, which can improve the safety and endurance of the battery.
[0150] Optionally, before step S1, the method further includes:
[0151] Step S4: Send a first default control signal to the first switching circuit 103 and the second switching circuit 104 through the first output terminal 1051, and send a second default control signal to the first switching circuit 103 and the second switching circuit 104 through the second output terminal 1052.
[0152] The first default control signal and the second default control signal are used to control the first switching circuit 103 and the second switching circuit 104 to switch to the second target battery to supply power to the outside; the second target battery is the battery with the higher output voltage among the first battery 101 and the second battery 102.
[0153] In some embodiments, during the initial power-on phase of the dual-battery switching circuit 10, the first field-effect transistor 1031 and the second field-effect transistor 1032 in the first switching circuit 103, and the third field-effect transistor 1041 and the fourth field-effect transistor 1042 in the second switching circuit 104, all exhibit unidirectional conduction and reverse cutoff characteristics. The control circuit 105 can output a first default control signal and a second default control signal through the first output terminal 1051 and the second output terminal 1052, causing the first field-effect transistor 1031, the second field-effect transistor 1032, the third field-effect transistor 1041, and the fourth field-effect transistor 1042 to all conduct, at which point one battery with a higher output voltage supplies power to the outside.
[0154] For example, such as Figures 2-5 As shown, the first output terminal 1051 and the second output terminal 1052 of the MCU are at a low level by default, meaning that both the first default control signal and the second default control signal are at a low level during the initial power-on phase. At this time, PMOS transistors Q1 in the first switching circuit 103 and Q3 in the second switching circuit 104 are both cut off, while PMOS transistors Q2 in the first switching circuit 103 and Q4 in the second switching circuit 104 are both turned on. However, due to the presence of the body diodes in Q1 and Q3, the one with the higher output voltage from the first battery 101 and the second battery 102 can supply power externally. Even if the voltages of the first battery 101 and the second battery 102 are different, since Q1 and Q3 can be reverse-biased to cut off, the first battery 101 and the second battery 102 will not conduct, which improves the safety of the first battery 101 and the second battery 102.
[0155] Optionally, the method further includes:
[0156] Step S5: A first power-off control signal is sent to the first switching circuit 103 and the second switching circuit 104 through the first output terminal 1051, and a second power-off control signal is sent to the first switching circuit 103 and the second switching circuit 104 through the second output terminal 1052; wherein, the first power-off control signal and the second power-off control signal are used to control the first switching circuit 103 to disconnect the external power supply path of the first battery 101, and to control the second switching circuit 104 to disconnect the external power supply path of the second battery 102;
[0157] Alternatively, in step S6, a power control signal is sent from the power control terminal to the control terminal of the main power supply circuit 106 to completely de-energize the dual-battery switching circuit 10.
[0158] In some embodiments, when the dual-battery switching circuit 10 needs to be completely powered off, for example when the control circuit 105 receives a power-off signal from the device, the external power supply path of the first battery 101 and the second battery 102 can be disconnected by controlling the first switching circuit 103 and the second switching circuit 104. Alternatively, the output path of the dual-battery switching circuit 10 can be completely cut off by the main power supply circuit 106 to realize the switching of the main power supply. This application does not limit this.
[0159] For example, refer to Figure 2 and Figure 3 When the first output terminal 1051 and the first output terminal 1051 output high-level control signals, that is, when CTRL_ON-1 and CTRL_ON-2 output high-level signals, PMOS transistors Q1 and Q3 are turned on, but Q2 and Q4 are turned off. Thus, the voltage output terminals of the first switching circuit 103 and the second switching circuit 104 cannot output voltage, meaning that the external power supply paths for both the first battery 101 and the second battery 102 are disconnected. (Refer to...) Figure 5 When the power control terminal (CTRL_ON) outputs a low-level signal, the seventh transistor 1063 (N7) is cut off, and the sixth field-effect transistor 1062 (Q5) is cut off, causing the main power supply circuit 106 to shut down external power supply.
[0160] Optionally, step S3 may include the following sub-steps:
[0161] In sub-step A1, a first switching control signal is sent to the first switching circuit 103 and the second switching circuit 104 through the first output terminal 1051, and a second switching control signal is sent to the first switching circuit 103 and the second switching circuit 104 through the second output terminal 1052.
[0162] The first switching control signal and the second switching control signal have opposite signal levels; the first switching control signal and the second switching control signal are used to control the first switching circuit 103 and the second switching circuit 104 to switch to the first target battery to supply power to the outside.
[0163] In some embodiments, since the first switching circuit 103 contains a first transistor 1033, a second transistor 1034, and a third transistor 1035 of the same type, and a fourth transistor 1043, a fifth transistor 1044, and a sixth transistor 1045 of the same type, the first output terminal 1051 and the second output terminal 1052 of the control circuit 105 are mutually exclusive outputs when the dual-channel battery switching control circuit 10 is operating normally; that is, if one outputs a high-level signal, the other outputs a low-level signal. For example, refer to... Figure 2 and Figure 3 As shown, the control signals sent by the MCU through the CTRL_ON-1 and CTRL_ON-2 terminals are mutually exclusive outputs, with only two output states: CTRL_ON-1 is high and CTRL_ON-2 is low, or CTRL_ON-1 is low and CTRL_ON-2 is high, so that at any given time, only one battery, namely the first target battery, can supply power to the outside.
[0164] Optionally, step S2 may include the following sub-steps:
[0165] Sub-step B1: Compare the first state information and the second state information to obtain the first comparison result;
[0166] Sub-step B2: Determine the first target battery based on the first comparison result and the preset switching threshold parameter.
[0167] In some embodiments, to prevent frequent switching between the first battery 101 and the second battery 102, a switching threshold parameter can be set. When the first comparison result meets the switching threshold parameter requirement, the switching control logic is executed, improving the safety and lifespan of the dual-battery switching circuit 10. Specifically, the parameter values in the first and second state information can be subtracted, and the difference can be compared with the corresponding switching threshold parameter. If the difference is greater than the switching threshold parameter, the corresponding battery is identified as the first target battery. For example, the MCU can set a switching threshold parameter Xy, and the switching control logic will only be executed when TA-TB>X1, CA-CB>X2, or VA-VB>X3. This is only an example, and the embodiments of this application do not limit this.
[0168] Reference Figure 2 The first switching circuit 103 shown and as follows Figure 3The second switching circuit 104 shown has the following operating states based on the high / low level states of the output control signals CTRL_ON-1 and CTRL_ON-2: Initial power-on: CTRL_ON-1 and CTRL_ON-2 are both low. Transistors N3 / N4 are off, MOSFETs Q1 / Q3 are off, and transistors N5 / N6 are off. Transistors N1 / N2 are on, and MOSFETs Q2 / Q4 are on. At this time, the battery with the higher voltage between the first battery 101 and the second battery 102 is powered. Power-off: CTRL_ON-1 and CTRL_ON-2 are both high. Transistors N3 / N4 are on, MOSFETs Q1 / Q3 are on, and transistors N5 / N6 are on. Transistors N1 / N2 are off, and MOSFETs Q2 / Q4 are off. In this state, neither battery is powered. Powered by the first battery 101, CTRL_ON-1 is high and CTRL_ON-2 is low. Transistor N3 is on, transistor N4 is off, MOSFET Q1 is on, MOSFET Q3 is off, transistor N5 is off, transistor N6 is on, transistor N1 is on, transistor N2 is off, MOSFET Q2 is on, and MOSFET Q4 is off. Powered by the second battery 102, CTRL_ON-1 is low and CTRL_ON-2 is high. Transistor N3 is off, transistor N4 is on, MOSFET Q1 is off, MOSFET Q3 is on, transistor N5 is on, transistor N6 is off, transistor N1 is off, transistor N2 is on, MOSFET Q2 is off, and MOSFET Q4 is on.
[0169] This application also provides a battery box, which includes the dual-battery switching circuit 10 as described in the foregoing embodiments.
[0170] This application also provides a portable oxygen concentrator, which includes a battery box as described in the foregoing embodiments.
[0171] Numerous specific details are set forth in the specification provided herein. However, it will be understood that embodiments of this application may be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of this specification.
[0172] Similarly, it should be understood that, in order to simplify this application and aid in understanding one or more of the various aspects of the invention, in the description of exemplary embodiments of this application above, various features of this application are sometimes grouped together into a single embodiment, figure, or description thereof.
[0173] Those skilled in the art will understand that modules in the device of the embodiments can be adaptively modified and placed in one or more devices different from that embodiment. Modules, units, or components in the embodiments can be combined into a single module, unit, or component, and further, they can be divided into multiple sub-modules, sub-units, or sub-components. Unless expressly stated otherwise, each feature disclosed in this specification (including the accompanying claims, abstract, and drawings) may be replaced by an alternative feature that serves the same, equivalent, or similar purpose.
[0174] It should be noted that the above embodiments are illustrative of this application and not restrictive, and that those skilled in the art can devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses should not be construed as limiting the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. This application can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third, etc., does not indicate any order. These words can be interpreted as names.
[0175] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this application should be included within the protection scope of this application.
[0176] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0177] It should be noted that the various data-related processes in the embodiments of this application are carried out in compliance with the relevant data protection laws and policies of the country where the location is located, and with the authorization granted by the owner of the corresponding device.
Claims
1. A dual-battery switching circuit, characterized in that, include: The system comprises a first battery, a second battery, a first switching circuit, a second switching circuit, and a control circuit. The voltage input terminal of the first switching circuit is electrically connected to the first battery, the control terminal of the first switching circuit is electrically connected to the control circuit, and the voltage output terminal of the first switching circuit serves as one output port of the dual-battery switching circuit. The first switching circuit is used to switch to the first battery for external power supply under the control of the control circuit. The voltage input terminal of the second switching circuit is electrically connected to the second battery, the control terminal of the second switching circuit is electrically connected to the control circuit, and the voltage output terminal of the second switching circuit serves as another output port of the dual-battery switching circuit. The second switching circuit is used to switch to the second battery for external power supply under the control of the control circuit. The control circuit is also electrically connected to the first battery and the second battery respectively, and is used to obtain the status information of the first battery and the second battery respectively, and select one battery to supply power to the outside according to the status information.
2. The dual-battery switching circuit according to claim 1, characterized in that, The first switching circuit includes a first field-effect transistor and a second field-effect transistor, wherein the first field-effect transistor and the second field-effect transistor are connected in reverse series; the first field-effect transistor and the second field-effect transistor are of the same type; The first terminal of the first field-effect transistor is electrically connected to the first battery; the control terminal of the first field-effect transistor is electrically connected to the control circuit; the second terminal of the first field-effect transistor is also electrically connected to the second terminal of the second field-effect transistor. The control terminal of the second field-effect transistor is electrically connected to the control circuit; the first terminal of the second field-effect transistor serves as one output port of the dual-channel battery switching circuit. The first field-effect transistor and the second field-effect transistor are used to conduct under the control of the control circuit, so that the first battery can supply power to the outside.
3. The dual-battery switching circuit according to claim 1, characterized in that, The second switching circuit includes a third field-effect transistor and a fourth field-effect transistor, which are connected in series in reverse; the third field-effect transistor and the fourth field-effect transistor are of the same type. The first terminal of the third field-effect transistor is electrically connected to the second battery; the control terminal of the third field-effect transistor is electrically connected to the control circuit; the second terminal of the third field-effect transistor is electrically connected to the second terminal of the fourth field-effect transistor. The control terminal of the fourth field-effect transistor is electrically connected to the control circuit; the first terminal of the fourth field-effect transistor serves as the other output port of the dual-channel battery switching circuit. The third and fourth field-effect transistors are used to conduct under the control of the control circuit, so that the second battery can supply power to the outside.
4. The dual-battery switching circuit according to claim 2, characterized in that, The control circuit includes a first output terminal and a second output terminal; the first switching circuit further includes a first transistor, a second transistor, and a third transistor; the first transistor, the second transistor, and the third transistor are of the same type; The first terminal of the first transistor is electrically connected to the control terminal of the first field-effect transistor; the control terminal of the first transistor is electrically connected to the first output terminal; the second terminal of the first transistor is used to receive a power supply voltage signal with a first level; wherein, the first level is the signal level corresponding to when the first field-effect transistor is turned on; The first terminal of the second transistor is electrically connected to the control terminal of the second field-effect transistor, and the control terminal of the second transistor is electrically connected to the first terminal of the third transistor; the second terminal of the second transistor is used to receive a power supply voltage signal with the first level. The control terminal of the third transistor is electrically connected to the second output terminal; the second terminal of the third transistor is used to receive a power supply voltage signal with a second level; wherein, the second level is the signal level corresponding to when the second transistor is turned off.
5. The dual-battery switching circuit according to claim 3, characterized in that, The control circuit includes a first output terminal and a second output terminal; the second switching circuit further includes a fourth transistor, a fifth transistor, and a sixth transistor; the fourth transistor, the fifth transistor, and the sixth transistor are of the same type; The first terminal of the fourth transistor is electrically connected to the control terminal of the third field-effect transistor; the control terminal of the fourth transistor is electrically connected to the second output terminal; the second terminal of the fourth transistor is used to receive a power supply voltage signal with a third level; wherein, the third level is the signal level corresponding to when the third field-effect transistor is turned on; The first terminal of the fifth transistor is electrically connected to the control terminal of the fourth field-effect transistor, and the control terminal of the fifth transistor is electrically connected to the first terminal of the sixth transistor; the second terminal of the fifth transistor is used to receive the third level power supply voltage signal. The control terminal of the sixth transistor is electrically connected to the first output terminal; the second terminal of the sixth transistor is used to receive a power supply voltage signal with a fourth level; wherein, the fourth level is the signal level corresponding to when the fifth transistor is turned off.
6. The dual-battery switching circuit according to any one of claims 1-5, characterized in that, The dual-battery switching circuit also includes a main power supply circuit; The input terminal of the main power supply circuit is electrically connected to the voltage output terminal of the first switching circuit and the voltage output terminal of the second switching circuit, respectively. The control terminal of the main power supply circuit is electrically connected to the control circuit. The output terminal of the main power supply circuit serves as the power supply output terminal of the dual-battery switching circuit. The main power supply circuit is used to completely de-energize the dual-battery switching circuit under the control of the control circuit.
7. The dual-battery switching circuit according to claim 6, characterized in that, The main power supply circuit includes a fifth field-effect transistor, a sixth field-effect transistor, and a seventh transistor; The first terminal of the fifth field-effect transistor is electrically connected to the voltage output terminal of the first switching circuit and the voltage output terminal of the second switching circuit, respectively; the second terminal of the fifth field-effect transistor is electrically connected to the first terminal of the sixth field-effect transistor; the control terminal of the fifth field-effect transistor is used to receive a power supply voltage signal with a fifth level, the fifth level being the signal level corresponding to when the fifth field-effect transistor is turned on; The control terminal of the sixth field-effect transistor is electrically connected to the first terminal of the seventh transistor; the second terminal of the sixth field-effect transistor serves as the power supply output terminal. The control terminal of the seventh transistor is electrically connected to the control circuit; the second terminal of the seventh transistor is used to receive a power supply voltage signal with a sixth level, which is the signal level corresponding to when the sixth field-effect transistor is turned on.
8. The dual-battery switching circuit according to claim 7, characterized in that, The main power supply circuit also includes a first diode and a push-button switch; The anode of the first diode is electrically connected to the control electrode of the sixth field-effect transistor and the first electrode of the seventh transistor, respectively, and the cathode of the first diode is electrically connected to the first terminal of the push-button switch; the second terminal of the push-button switch is used to receive a power supply voltage signal with the sixth level.
9. A control method, characterized in that, The control method, applied to the dual-battery switching circuit as described in any one of claims 1-8, includes: Obtain the first state information corresponding to the first battery and the second state information corresponding to the second battery; A first target battery is selected from the first battery and the second battery based on the first status information and the second status information; Control signals are sent to the first switching circuit and the second switching circuit respectively, so that the dual-battery switching circuit switches to the first target battery to supply power to the outside.
10. The control method according to claim 9, characterized in that, Before obtaining the first state information corresponding to the first battery and the second state information corresponding to the second battery, the method further includes: A first default control signal is sent to the first switching circuit and the second switching circuit through the first output terminal, and a second default control signal is sent to the first switching circuit and the second switching circuit through the second output terminal; The first default control signal and the second default control signal are used to control the first switching circuit and the second switching circuit to switch to the second target battery to supply power to the outside; the second target battery is the battery with the higher output voltage between the first battery and the second battery.
11. The control method according to claim 9, characterized in that, The method further includes: A first power-off control signal is sent to the first switching circuit and the second switching circuit through the first output terminal, and a second power-off control signal is sent to the first switching circuit and the second switching circuit through the second output terminal; wherein, the first power-off control signal and the second power-off control signal are used to control the first switching circuit to disconnect the external power supply path of the first battery, and control the second switching circuit to disconnect the external power supply path of the second battery. Alternatively, a power control signal can be sent from the power control terminal to the control terminal of the main power supply circuit to completely de-energize the dual-battery switching circuit.
12. The control method according to claim 9, characterized in that, Sending control signals to the first switching circuit and the second switching circuit respectively, so that the dual-battery switching circuit switches to the first target battery for external power supply, includes: A first switching control signal is sent to the first switching circuit and the second switching circuit through the first output terminal, and a second switching control signal is sent to the first switching circuit and the second switching circuit through the second output terminal; The first switching control signal and the second switching control signal have opposite signal levels; the first switching control signal and the second switching control signal are used to control the first switching circuit and the second switching circuit to switch to the first target battery to supply power to the outside.
13. The control method according to claim 9, characterized in that, The step of selecting a first target battery from the first battery and the second battery based on the first state information and the second state information includes: The first state information and the second state information are compared to obtain a first comparison result; The first target battery is determined based on the first comparison result and the preset switching threshold parameter.
14. A battery box, characterized in that, The battery box includes a dual-battery switching circuit as described in any one of claims 1-8.
15. A portable oxygen concentrator, characterized in that, The portable oxygen concentrator includes the battery compartment as described in claim 14.