Power supply circuit and electronic equipment
By introducing processing modules and switching modules into the dual-battery powered circuit, the supply path is controlled according to the pressure difference between the battery modules, the problems of stability and complexity of the dual-battery powered circuit are solved, and higher voltage stability and lower power loss are achieved.
Patent Information
- Application Number
- CN202311121620.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-31
- Publication Date
- 2025-02-28
AI Technical Summary
The existing dual-battery powered circuit has low stability and high circuit complexity, making it difficult to meet the stable power supply of equipment when it is high current demand.
A power supply circuit is designed to control the opening and closing state of the switch module according to the pressure difference between the two battery modules to realize the function of powering the load by a single or dual battery.
While improving the working time and current requirements of the equipment, it improves voltage stability, reduces power loss and cost, and has high compatibility and is not limited by battery cell parameters and protocols.
Smart Images

Figure CN119543348A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of control circuits, and in particular to a power supply circuit and an electronic device. Background Art
[0002] Dual battery power supply means two batteries are connected in parallel to form a common circuit to power the device. Dual battery power supply enables the device to work longer and can provide greater current output capacity. When the device requires a larger current, dual battery power supply can meet the demand and avoid malfunction or damage to the device due to insufficient current. However, the current dual battery power supply circuit has the problem of low stability and complex circuit.
[0003] Therefore, how to improve the stability of the dual-battery power supply circuit and reduce the circuit complexity is an urgent problem to be solved. Summary of the invention
[0004] The present application provides a power supply circuit and an electronic device to solve the current problem of how to improve the stability of a dual-battery power supply circuit and reduce circuit complexity.
[0005] In a first aspect, the present application provides a power supply circuit, the battery power supply circuit comprising: at least one sub-power supply circuit, each sub-power supply circuit comprising: two battery modules, a processing module, and a switch module corresponding to each battery module;
[0006] The output end of the battery module is respectively connected to one end of the corresponding switch module and one end of the processing module, the other end of the switch module is connected to the load, and the other end of the processing module is connected to the control end of the switch module;
[0007] The processing module is used to control the switch module of one of the battery modules to be closed or the switch modules of both battery modules to be closed according to the voltage difference between the battery modules, so as to supply power to the load.
[0008] Optionally, the processing module includes: a logic processing unit, a calculation unit corresponding to each battery module, and a comparison unit;
[0009] The input end of the operation unit is connected to the output ends of the two battery modules respectively, the output end of the operation unit is connected to the input end of the corresponding comparison unit, and the output end of the comparison unit is connected to the input end of the logic processing unit;
[0010] The computing unit is used to obtain the voltage difference between the battery modules;
[0011] The comparison unit is used to determine the magnitude relationship between the voltage difference between the battery modules and a preset threshold value;
[0012] The logic processing unit is used to control the switch module of one of the battery modules to be closed or the switch modules of both battery modules to be closed according to the magnitude relationship between the voltage difference between the battery modules and a preset threshold value, so as to supply power to the load.
[0013] Optionally, the operation unit includes: a first resistor, a second resistor, a third resistor, a fourth resistor, and an operational amplifier;
[0014] The first end of the first resistor is connected to the output end of the battery module corresponding to the operation unit, and the second end is respectively connected to the negative pin of the operational amplifier and the first end of the fourth resistor; the first end of the second resistor is connected to the output end of another battery module, and the second end is respectively connected to the positive pin of the operational amplifier and the first end of the third resistor, and the second end of the third resistor is grounded; the second end of the fourth resistor is connected to the output end of the operational amplifier; the positive pole of the power supply end of the operational amplifier is connected to the output end of the first power supply, and the negative pole is grounded;
[0015] The operational amplifier is used to obtain the voltage difference between the battery modules according to the output voltage of the battery module;
[0016] The fourth resistor is used to form a feedback resistor of the operation unit.
[0017] Optionally, the comparison unit includes: a fifth resistor, a sixth resistor, a first comparator, and a second comparator;
[0018] The first end of the fifth resistor and the first end of the sixth resistor are respectively connected to the output end of the operational amplifier, the second end of the fifth resistor is connected to the positive pin of the first comparator, the negative pin of the first comparator is connected to the output end of the second power supply, and the output end of the first comparator is connected to the input end of the logic processing unit; the second end of the sixth resistor is connected to the negative pin of the second comparator, the positive pin of the second comparator is connected to the output end of the second power supply, and the output end of the second comparator is connected to the input end of the logic processing unit;
[0019] The first comparator is used to output a high level when the voltage difference output by the operational amplifier is greater than or equal to the reference voltage output by the second power supply;
[0020] The second comparator is used to output a high level when the voltage difference output by the operational amplifier is smaller than the reference voltage output by the second power supply.
[0021] Optionally, the logic processing unit includes: an AND gate subunit, two OR gate subunits;
[0022] The input end of the AND gate subunit is respectively connected to the two second comparators, and the output end of the AND gate subunit is respectively connected to the input ends of the two OR gate subunits;
[0023] The AND gate subunit is used to output a high level when the voltage difference is less than the reference voltage, and to output a low level when the voltage difference is greater than the reference voltage;
[0024] The OR gate subunit is used to output a high level when the voltage of the corresponding battery module is higher than the voltage of another battery module, and to output a low level when the voltage of the corresponding battery module is lower than the voltage of another battery module.
[0025] Optionally, the switch module includes: a first electronic switch, a second electronic switch, a third electronic switch, a seventh resistor, an eighth resistor, a ninth resistor, and a first capacitor;
[0026] The first end of the seventh resistor is connected to the output end of the logic processing unit, and the second end is respectively connected to the first pole of the first electronic switch and the first end of the first capacitor; the second pole of the first electronic switch is grounded, and the third pole is connected to the first end of the eighth resistor; the second end of the eighth resistor is respectively connected to the first pole of the second electronic switch, the first pole of the third electronic switch, and the first end of the ninth resistor; the second end of the ninth resistor is respectively connected to the second pole of the second electronic switch and the third pole of the third electronic switch; the third pole of the second electronic switch is connected to the output end of the battery module, and the second pole of the third electronic switch is connected to the load;
[0027] The first electronic switch is used to open or close according to the enable signal output by the logic processing unit. When the first electronic switch is closed, the load is powered through the second pole of the third electronic switch.
[0028] Optionally, the electronic switch is a MOS tube, the first pole of the electronic switch is the gate of the MOS tube, the second pole of the electronic switch is the drain of the MOS tube, and the third pole of the electronic switch is the source of the MOS tube.
[0029] Optionally, it also includes: two battery presence detection switches;
[0030] The first end of the battery in-place detection switch is connected to the output end of the corresponding battery module, and the second end is connected to the input ends of the two operation units respectively;
[0031] The battery in-place detection switch is used to detect whether the corresponding battery module is in place. If so, the battery in-place detection switch is closed; if not, the battery in-place detection switch is opened.
[0032] Optionally, it also includes: two power supply presence detection switches;
[0033] The first end of the power supply detection switch is connected to the output end of the logic processing unit, and the second end of the power supply detection switch is connected to the control end of the corresponding switch module;
[0034] The power source presence detection switch is used to be disconnected when a third power source for charging the corresponding battery module is inserted, and closed when the corresponding battery module does not detect the third power source being connected.
[0035] In a second aspect, the present application provides an electronic device, comprising a battery-powered circuit as described in any one of the first aspects.
[0036] The power supply circuit and electronic device provided in the present application control the switch module of one of the battery modules to be closed or the switch modules of both battery modules to be closed according to the voltage difference between the two battery modules through the processing module, so as to realize the function of supplying power to the load with a single battery or a dual battery. When the voltage difference between the dual battery modules is large, only the high-voltage battery module is used for power supply, and when the voltage difference is less than a preset threshold, the dual battery modules are used for power supply. This improves the working time and current requirement of the equipment while improving the voltage stability, reducing the power loss and cost, and there is no restriction on the battery cell parameters and protocols, which has the advantage of high compatibility. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0038] Figure 1 A schematic diagram of the structure of a battery power supply circuit provided in an embodiment of the present application;
[0039] Figure 2 A schematic diagram of the structure of another battery power supply circuit provided in an embodiment of the present application;
[0040] Figure 3 A schematic diagram of the structure of another battery power supply circuit provided in an embodiment of the present application;
[0041] Figure 4 A schematic diagram of the structure of another battery power supply circuit provided in an embodiment of the present application;
[0042] Figure 5 A schematic diagram of the structure of another battery power supply circuit provided in an embodiment of the present application;
[0043] Figure 6 A schematic diagram of the structure of another battery power supply circuit provided in an embodiment of the present application;
[0044] Figure 7 A schematic diagram of the structure of another battery power supply circuit provided in an embodiment of the present application;
[0045] Figure 8 A schematic diagram of the structure of a battery in-place detection switch provided in an embodiment of the present application;
[0046] Fig. 9 A schematic diagram of the structure of another battery power supply circuit provided in an embodiment of the present application;
[0047] Fig.10 A schematic diagram of the structure of another battery power supply circuit provided in an embodiment of the present application.
[0048] Description of reference numerals:
[0049] 100-battery module; 200-processing module; 300-switch module; 201-logic processing unit; 202-operation unit; 203-comparison unit; R1-first resistor; R2-second resistor; R3-third resistor; R4-fourth resistor; OP777-operational amplifier; R5-fifth resistor; R6-sixth resistor; LT1-first comparator; LT2-second comparator; A1-AND gate unit; B1-OR gate unit; D1-first diode; D2-second diode; M1-first MOS tube; M2-second MOS tube; M3-third MOS tube; R7-seventh resistor; R8-eighth resistor; R9-ninth resistor; C1-first capacitor; V2-second power supply; E1-battery in-place detection switch; E2-power in-place detection switch; R10, tenth resistor; R11, eleventh resistor.
[0050] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0051] In order to make the objectives, technical solutions and advantages of the present application more clear, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.
[0052] It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0053] When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.
[0054] In the description of the present application, it should be understood that the terms "first", "second", "third", etc. are only used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence, nor can they be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to the specific circumstances. In addition, in the description of the present application, unless otherwise specified, "multiple" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.
[0055] At present, battery parallel power supply technology is mainly realized in the following three ways:
[0056] Method 1: Manually measure the voltage of each battery with a voltmeter, and connect batteries with similar voltages in parallel. For example, battery 1 (199mV) and battery 2 (201mV), both of which are close to 200mV, can be connected in parallel to form a dual-battery power supply module.
[0057] However, manually measuring the voltage of the batteries that need to be connected in parallel may result in inaccurate measurement results, which may lead to a large voltage difference between the two batteries and unstable power supply.
[0058] Method 2: Parallel connection through diodes, insulated-gate bipolar transistors (IGBT) or thyristors. Taking diodes as an example, since diodes have unidirectional conductivity characteristics, when the positive poles of two batteries are connected together through a diode, if the voltage difference between the positive and negative poles of the diode is greater than the forward voltage drop of the diode, the diode will be turned on, so that a low-impedance path is formed between the positive poles of the two batteries, and the current can flow from the battery where the positive pole of the diode is located to the battery where the negative pole of the diode is located. When the voltage of the battery connected to the negative pole of the diode is higher than the voltage of the battery connected to the positive pole, the diode will be reverse biased, preventing the current from flowing from the negative pole of the diode to the positive pole, thereby avoiding the two from communicating with each other and reducing the problem of unstable power supply.
[0059] However, when two batteries are connected in parallel through a diode, if the voltage is low, when the voltage difference between the positive and negative electrodes of the diode is greater than the forward voltage drop of the diode (such as 0.7V), the diode is turned on and the current flows from the positive electrode to the negative electrode. At this time, the diode body will have a power loss of 0.7V*current. When the current is larger, the power consumption of the diode is greater. When connected in parallel through IGBT or thyristor, there is also a large power loss.
[0060] Method 3: Control the output voltage of the two batteries through the control logic of the battery management system (BMS) to achieve a high-stability dual-battery power supply solution. However, in this implementation, the system complexity and cost are high, and it must be implemented through a BMS with the same battery cell parameters and protocols as the battery, which has high limitations.
[0061] In view of this, the present application provides a battery power supply circuit. By connecting multiple batteries through basic electronic components such as resistors, capacitors, diodes, switches, and comparators, the voltage difference of multiple batteries is detected to achieve automatic scheduling of parallel power supply of multiple batteries, thereby improving the working time and current demand of the equipment while improving voltage stability, reducing power loss and cost, and there is no restriction on the battery cell parameters and protocols, which has the advantage of high compatibility.
[0062] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0063] Figure 1 This is a schematic diagram of a battery power supply circuit provided in an embodiment of the present application. Figure 1 As shown, the battery power supply circuit includes: at least one sub-power supply circuit, each sub-power supply circuit includes two battery modules 100 , a processing module 200 , and a switch module 300 corresponding to each battery module 100 .
[0064] The output end of the battery module 100 is connected to one end of the corresponding switch module 300 and one end of the processing module 200 respectively, the other end of the switch module 300 is connected to the load, and the other end of the processing module 200 is connected to the control end of the switch module 300.
[0065] The battery module 100 may be a battery, a battery pack, a battery pack, etc. The battery may be, for example, a lithium battery, a zinc-manganese battery, a fuel cell, a bromine-hydrogen battery, etc. The switch module 300 is a switch module 300 that can be opened and closed according to an enable signal, for example, a switch module 300 composed of an N-type metal-oxide-semiconductor (NMOS) electronic switch, a switch module 300 composed of a P-type metal-oxide-semiconductor (PMOS) electronic switch, a switch module 300 composed of a triode, etc. The other end of the processing module 200 includes two output ends, one of which is connected to the switch module 300 corresponding to the first battery module 100, and the other is connected to the switch module 300 corresponding to another battery module 100.
[0066] The processing module 200 is used to control the switch module 300 of one battery module 100 to be closed or the switch modules 300 of both battery modules 100 to be closed according to the voltage difference between the battery modules 100 to supply power to the load.
[0067] The output end of the processing module 200 is connected to the control end of the switch module 300, and the opening and closing of the switch module 300 are controlled by outputting an enable signal. The processing module 200 calculates the voltage difference between the two battery modules 100 according to the voltage output by the two battery modules 100, and determines whether to output an enable signal according to the value of the voltage difference. If the voltage difference is less than a preset threshold, an enable signal that can close the two switch modules 300 is output; if the voltage difference is greater than or equal to the preset threshold, an enable signal that only closes the switch module 300 corresponding to the battery module 100 with a larger voltage is output.
[0068] When the output end of the processing module 200 outputs an enable signal, the switch module 300 receiving the enable signal is closed to conduct the power supply circuit of the battery module 100 corresponding to the switch module 300, and supply power to the load. The load may be an electronic device, a motor, a light bulb, a heater, a resistor, a capacitor, an inductor, etc. Exemplary, for example, it may be an electronic device such as a computer, a display, a printer, or a lighting fixture such as an incandescent lamp, a fluorescent lamp, an LED lamp, or an electric fan, a washing machine, a refrigerator, etc.
[0069] When the battery power supply circuit includes more than one sub-power supply circuit, the battery power supply circuit may be implemented in the following manner.
[0070] In a possible implementation, each sub-power supply circuit is connected in parallel with the load, and the sub-power supply circuit supplies power to the load independently. When a sub-power supply circuit supplies power to the load, the loops of other sub-power supply circuits are disconnected and stop supplying power to the load.
[0071] In another possible implementation, each sub-power supply circuit is used as a battery module 100, and every two sub-power supply circuits are connected through a processing module 200 and a switch module 300 corresponding to each sub-power supply circuit, and one end of the sub-power supply circuit connected to the load is used as the output end of the battery module 100 and connected to the processing module 200 and the switch module 300. In this implementation, the battery power supply circuit may include a multi-layer structure, for example, including 16 batteries, then the first layer includes 16 battery modules 100, 8 sub-power supply circuits, the second layer uses 8 sub-power supply circuits as battery modules 100, then includes 8 battery modules 100, 4 sub-power supply circuits, and so on, the battery power supply circuit includes 4 layers in total, and 16 batteries are used for power supply.
[0072] The structure provided in the present application controls the switch module 300 of one of the battery modules 100 to be closed or the switch modules 300 of both battery modules 100 to be closed according to the pressure difference between the two battery modules 100 through the processing module 200, so as to realize the function of supplying power to the load with a single battery or a dual battery. When the pressure difference of the dual battery module 100 is large, only the high-voltage battery module 100 is used for power supply. When the pressure difference is less than a preset threshold, the dual battery module 100 is used for power supply. This improves the working time and current requirement of the equipment while improving the voltage stability, reducing the power loss and cost. There is no restriction on the battery cell parameters and protocols, and it has the advantage of high compatibility.
[0073] The circuit structure of the processing module 200 is described in detail below.
[0074] Figure 2 This is a schematic diagram of another battery power supply circuit provided in an embodiment of the present application. Figure 2 As shown, the battery powered circuit Figure 1 Based on the circuit structure shown, the processing module 200 includes: a logic processing unit 201 , a calculation unit 202 corresponding to each battery module 100 , and a comparison unit 203 .
[0075] The input end of the operation unit 202 is connected to the output ends of the two battery modules 100 respectively, the output end of the operation unit 202 is connected to the input end of the corresponding comparison unit 203 , and the output end of the comparison unit 203 is connected to the input end of the logic processing unit 201 .
[0076] The operation unit 202 is used to obtain the voltage difference between the battery modules 100. The operation unit 202 can be, for example, any subtraction operation circuit, for example, a differential operation circuit. The operation unit 202 includes two input terminals, one input terminal is connected to the output terminal of one battery module 100, and the other input terminal is connected to the input terminal of another battery module 100. The output terminal of the operation module is the difference between the voltages of the two battery modules 100, that is, the voltage difference. When the difference between the voltages of the two battery modules 100 is positive, for example, the operation module is used to calculate the difference between battery 1 and battery 2, and when the voltage of battery 1 is higher than the voltage of battery 2, the difference is positive, and the output of the operation unit 202 is the difference between the two battery modules 100; when the difference between the voltages of the two battery modules 100 is negative, for example, the operation module is used to calculate the difference between battery 1 and battery 2, and when the voltage of battery 1 is lower than the voltage of battery 2, the difference is negative, and the output of the operation unit 202 is 0.
[0077] The comparison unit 203 is used to determine the magnitude relationship between the voltage difference between the battery modules 100 and the preset threshold. The comparison unit 203 can be, for example, a comparison circuit formed by a comparator, and the comparator can be any existing comparator electronic component, which is not limited in this application. The comparison unit 203 determines the magnitude relationship between the voltage difference between the battery modules 100 and the preset threshold by comparing the voltage difference with the reference voltage. The reference voltage can be set according to the preset threshold. For example, if the preset threshold is 2mV, the reference voltage is 2mV. The comparison unit 203 outputs a low level when the voltage difference is greater than the preset threshold, and outputs a high level when the voltage difference is less than or equal to the preset threshold.
[0078] The logic processing unit 201 is used to control the switch module 300 of one of the battery modules 100 to be closed or the switch modules 300 of both battery modules 100 to be closed according to the magnitude relationship between the voltage difference between the battery modules 100 and the preset threshold value, so as to supply power to the load. When the voltage difference is greater than or equal to the preset threshold value, the logic processing unit 201 outputs an enable signal to the switch module 300 corresponding to the battery module 100 with a higher voltage, so as to close the switch module 300 and conduct the power supply circuit of the battery module 100 with a higher voltage to supply power to the load; when the voltage difference is less than the preset threshold value, the logic processing unit 201 outputs an enable signal to the switch modules 300 corresponding to the two battery modules 100, so as to close the two switch modules 300 and conduct the power supply circuit of the two battery modules 100, so as to supply power to the load through the two battery modules 100.
[0079] Next, the specific circuit structure of the arithmetic unit 202 is introduced in detail. Figure 3 This is a schematic diagram of the structure of another battery power supply circuit provided in an embodiment of the present application. Figure 3 As shown, the battery powered circuit Figure 2 Based on the circuit structure shown, the operation unit 202 includes: a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, and an operational amplifier OP777.
[0080] The first end of the first resistor R1 is connected to the output end of the battery module 100 corresponding to the operation unit 202, and the second end is respectively connected to the negative pin of the operational amplifier OP777 and the first end of the fourth resistor R4; the first end of the second resistor R2 is connected to the output end of another battery module 100, and the second end is respectively connected to the positive pin of the operational amplifier OP777 and the first end of the third resistor R3, and the second end of the third resistor R3 is grounded; the second end of the fourth resistor R4 is connected to the output end of the operational amplifier OP777, and the positive pole of the power supply end of the operational amplifier OP777 is connected to the output end of the first power supply, and the negative pole is grounded. The first resistor R1 and the second resistor R2 have the same resistance value, and the third resistor R3 and the fourth resistor R4 have the same resistance value.
[0081] The operational amplifier OP777 is used to obtain the voltage difference between two battery modules 100 according to the output voltage of the battery module 100. The battery module 100 corresponding to the operation unit 202 is connected to the inverting output terminal of the operational amplifier OP777, and the other battery module 100 is connected to the non-inverting output terminal of the operational amplifier OP777. The first resistor R1 is used to divide the voltage output by the battery module 100 corresponding to the operation unit 202, the second resistor R2 and the third resistor R3 are used to divide the voltage output by the other battery module 100, and the fourth resistor R4 is used to constitute the feedback resistor of the operation unit 202.
[0082] Through the above connection mode, a differential operation circuit is formed by using the superposition principle, and the differential operation circuit can obtain the voltage difference between the two battery modules 100 and amplify the voltage difference. For example, taking the battery module 100 corresponding to the operation unit 202 as battery 1 and the other battery module 100 as battery 2 as an example, the output of the operational amplifier OP777 can be shown as the following formula (1):
[0083]
[0084] Among them, the V minus_out is the amplified voltage difference, BAT2_V is the output voltage of battery 2, BAT1_V is the output voltage of battery 1, r4 is the resistance value of the fourth resistor R4, and r3 is the resistance value of the third resistor R3. When the output voltage of battery 2 is greater than the output voltage of battery 1, V minus_out is a positive value. When the output voltage of battery 1 is greater than the output voltage of battery 2, the V minus_out is 0.
[0085] The resistance values of the third resistor R3 and the fourth resistor R4 can be determined according to the multiples of the voltage difference required to be amplified, which can be determined according to actual needs and is not limited in this application. By amplifying the voltage difference, it is beneficial for the subsequent comparison unit 203 to set the reference voltage and improve the accuracy of controlling the voltage difference.
[0086] Similarly, in the operation unit 202 corresponding to another battery module 100, taking battery 1 and battery 2 as an example, the battery module 100 corresponding to the operation unit 202 is battery 2, and the other battery module 100 is battery 1. The output of the operational amplifier OP777 can be shown as the following formula (2):
[0087]
[0088] In this case, only the positive and negative pins of battery 1 and battery 2 connected to the operational amplifier OP777 are swapped. u1_minus_out This means that the amplified voltage difference of battery 1 is greater than that of battery 2.
[0089] Above Figure 3 Only V minus_out The computing unit 202 where V u1_minus_out The computing unit 202 is similar to the computing unit 202 and will not be described in detail here.
[0090] Next, the specific circuit structure of the comparison unit 203 is introduced in detail. Figure 4 This is a schematic diagram of the structure of another battery power supply circuit provided in an embodiment of the present application. Figure 4 As shown, the battery powered circuit Figure 2 Based on the circuit structure shown, the comparison unit 203 includes: a fifth resistor R5, a sixth resistor R6, a first comparator LT1, and a second comparator LT2.
[0091] Among them, the first end of the fifth resistor R5 and the first end of the sixth resistor R6 are respectively connected to the output end of the operational amplifier OP777, the second end of the fifth resistor R5 is connected to the positive pin of the first comparator LT1, the negative pin of the first comparator LT1 is connected to the output end of the second power supply, and the output end of the first comparator LT1 is connected to the input end of the logic processing unit 201; the second end of the sixth resistor R6 is connected to the negative pin of the second comparator LT2, the positive pin of the second comparator LT2 is connected to the output end of the second power supply V2, and the output end of the second comparator LT2 is connected to the input end of the logic processing unit 201.
[0092] The first comparator LT1 is used to output a high level when the voltage difference output by the operational amplifier OP777 is greater than or equal to the reference voltage output by the second power supply V2, and to output a low level when the voltage difference is less than the reference voltage output by the second power supply V2. The second comparator LT2 is used to output a high level when the voltage difference output by the operational amplifier OP777 is less than the reference voltage output by the second power supply V2, and to output a low level when the voltage difference is greater than or equal to the reference voltage output by the second power supply V2. The reference voltage represents a preset threshold value of the difference between the voltages output by the two battery modules 100. When the voltage difference is less than the preset threshold value, it represents that the voltage difference between the outputs of the two battery modules 100 is small and can supply power to the load at the same time. When the voltage difference is greater than or equal to the preset threshold value, it represents that the voltage difference between the outputs of the two battery modules 100 is large and cannot supply power to the load at the same time. It is necessary to select a battery module 100 with a larger voltage to supply power to the load.
[0093] Case 1: Assuming that the voltage of battery 1 (the battery module 100 corresponding to the comparison unit 203) is greater than that of battery 2 (another battery module 100), and the voltage difference is greater than the preset threshold (reference voltage), the voltage difference output by the operational amplifier OP777 is 0 (battery 2 voltage - battery 1 voltage is negative, which is 0 in the circuit), and the negative pin voltage (reference voltage) of the first comparator LT1 is greater than the positive pin voltage (voltage difference), and the output "BAT2_V-BAT1_V" of the first comparator LT1 is low level (i.e., BAT2_V minus V corresponding to BAT1_V). minus_out is 0, the reference voltage is positive, so V minus_out The output PA1 of the second comparator LT2 is high level. Correspondingly, in the comparison unit 203 corresponding to the battery 2, the voltage difference output by the operational amplifier OP777 corresponding to the battery 2 is positive, then the negative foot (reference voltage) of the first comparator LT1 of the comparison unit 203 corresponding to the battery 2 is less than the positive foot (voltage difference), and the output "BAT1_V-BAT2_V" of the first comparator LT1 is high level. Since the voltage difference is greater than the preset threshold, the output PA2 of the second comparator LT2 is low level.
[0094] Case 2: Assuming that the voltage of battery 1 (the battery module 100 corresponding to the comparison unit 203) is greater than that of battery 2 (another battery module 100), and the voltage difference is less than the preset threshold value (reference voltage), the voltage difference output by the operational amplifier OP777 is 0 (battery 2 voltage - battery 1 voltage is negative, which is 0 in the circuit), the negative pin voltage (reference voltage) of the first comparator LT1 is greater than the positive pin voltage (voltage difference), the first comparator LT1 outputs a low level, and the output PA1 of the second comparator LT2 is a high level. Correspondingly, in the comparison unit 203 corresponding to battery 2, the voltage difference output by the operational amplifier OP777 corresponding to battery 2 is positive, the negative pin (reference voltage) of the first comparator LT1 of the comparison unit 203 corresponding to battery 2 is less than the positive pin (voltage difference), the first comparator LT1 outputs a high level, and since the voltage difference is less than the preset threshold value, the output PA2 of the second comparator LT2 is a high level.
[0095] Figure 4 Only V minus_out As an example, the comparison unit 203 with V u1_minus_out The comparison unit 203 for input is similar to the comparison unit 203 and will not be described in detail here.
[0096] Subsequently, the logic processing unit 201 determines the output of the enable signal according to the outputs of the first comparator LT1 and the second comparator LT2 of the two comparison units 203. Continuing with the above content as an example, when the outputs of the second comparators LT2 of the two comparison units 203 are both high, that is, corresponding to situation 2 (the voltage difference is less than the preset threshold), the logic processing unit 201 outputs the enable signal to the switch modules 300 corresponding to the two battery modules 100, so that the two switch modules 300 are closed, so that the two battery modules 100 can supply power to the load at the same time; when the outputs of the second comparators LT2 of the two comparison units 203 are low, that is, corresponding to situation 1 (the voltage difference is greater than the preset threshold), the logic processing unit 201 outputs the enable signal to the switch module 300 corresponding to the battery module 100 with a higher voltage, so that the switch module 300 corresponding to the battery module 100 is closed, so that the battery module 100 with a higher output voltage can supply power to the load alone.
[0097] The following is a detailed description of how to implement the above functions through the logic processing unit 201. Figure 5 This is a schematic diagram of the structure of another battery power supply circuit provided in an embodiment of the present application. Figure 5 As shown, the battery powered circuit Figure 2 Based on the circuit structure shown, the logic processing unit 201 includes: an AND gate subunit A1, and two OR gate subunits B1.
[0098] The input end of the AND gate subunit A1 is connected to the two second comparators LT2 respectively, and the output end of the AND gate subunit A1 is connected to the input ends of the two OR gate subunits B1 respectively. The OR gate subunit B1 can be realized by connecting diodes in parallel. Figure 2 For example, the OR gate subunit B1 includes a first diode D1 and a second diode D2. The anode of the first diode D1 is connected to an output end of the AND gate subunit A1, and the cathode is connected to the cathode of the second diode D2. The anode of the second diode D2 is connected to the output end of the first comparator LT1. The cathodes of the first diode D1 and the second diode D2 are the output ends of the OR gate subunit B1, and output enable signals.
[0099] The AND gate subunit A1 is used to output a high level when the voltage difference is less than the reference voltage, and to output a low level when the voltage difference is greater than the reference voltage. The OR gate subunit B1 is used to output a high level when the voltage of the corresponding battery module 100 is higher than the voltage of another battery module 100, and to output a low level when the voltage of the corresponding battery module 100 is lower than the voltage of another battery module 100.
[0100] Continue to refer to the above Figure 4 In scenarios 1 and 2, when the outputs of the second comparators LT2 of the two comparison units 203 are both high, corresponding to scenario 2 (the voltage difference is less than the preset threshold), the AND gate subunit A1 receives both high levels from the two comparison units 203, so the output PA_OUT of the AND gate subunit A1 is also high; when the outputs of the second comparators LT2 of the two comparison units 203 are low, corresponding to scenario 1 (the voltage difference is greater than the preset threshold), the AND gate subunit A1 receives one high level and one low level from the two comparison units 203, so the output PA_OUT of the AND gate subunit A1 is low.
[0101] In case 2, since the output of the AND gate sub-unit A1 is a high level, the two OR gate sub-units B1 have one input terminal input at a high level. Regardless of the level of the other terminal, the two OR gate sub-units B1 output a high level to activate the output of the enable signals BAT1_EN and BAT2_EN.
[0102] In case 1, the output of AND gate subunit A1 is low level, and the input of the two OR gate subunits B1 and the input end connected to the AND gate subunit A1 is low level. The other input ends of the two OR gate subunits B1 are respectively connected to the output ends of the first comparators LT1 of the corresponding comparison units 203. Furthermore, because only one of the first comparators LT1 of the two comparison units 203 outputs a high level (i.e., the comparison unit 203 corresponding to the positive value of the voltage difference subtraction), and the other outputs a low level, only one of the two OR gate subunits B1 outputs a high level to activate the output of the enable signal BAT1_EN or BAT2_EN, and the other OR gate subunit B1 outputs a low level and does not activate the output of the enable signal.
[0103] As can be seen from the above, the logic processing unit 201 can realize the following functions, thereby controlling the battery module 100 that supplies power to the load according to the magnitude of the pressure difference:
[0104] 1. When the voltage difference between the two power modules is less than a preset threshold, the switch modules 300 corresponding to the two battery modules 100 output enable signals to close the two switch modules 300, so that the two battery modules 100 can supply power to the load at the same time.
[0105] 2. When the voltage difference between the two power modules is greater than a preset threshold, the logic processing unit 201 outputs an enable signal to the switch module 300 corresponding to the battery module 100 with a higher voltage, so that the switch module 300 corresponding to the battery module 100 is closed, so as to realize powering the load solely through the battery module 100 with a higher output voltage.
[0106] Next, the aforementioned switch module 300 is introduced. Figure 6 This is a schematic diagram of the structure of another battery power supply circuit provided in an embodiment of the present application. Figure 6 As shown, the battery powered circuit Figure 1 Based on the circuit structure shown, the switch module 300 includes: a first electronic switch, a second electronic switch, a third electronic switch, a seventh resistor R7, an eighth resistor R8, a ninth resistor R9, and a first capacitor C1.
[0107] The first end of the seventh resistor R7 is connected to the output end of the logic processing unit 201, and the second end is respectively connected to the first pole of the first electronic switch and the first end of the first capacitor C1; the second pole of the first electronic switch is grounded, and the third pole is connected to the first end of the eighth resistor R8; the second end of the eighth resistor R8 is respectively connected to the first pole of the second electronic switch, the first pole of the third electronic switch, and the first end of the ninth resistor R9; the second end of the ninth resistor R9 is respectively connected to the second pole of the second electronic switch and the third pole of the third electronic switch; the third pole of the second electronic switch is connected to the output end of the battery module 100, and the second pole of the third electronic switch is connected to the load.
[0108] The first electronic switch is used to open or close according to the enable signal output by the logic processing unit 201. When the first electronic switch is closed, the load is powered through the second pole of the third electronic switch. The above electronic switch can be, for example, an electronic switch composed of a PMOS tube, an NMOS tube, a triode, etc., which can be controlled by an enable signal.
[0109] Figure 6 Taking the above-mentioned first electronic switch as an NMOS tube, and the second and third electronic switches as PMOS tubes as an example, the switch module 300 includes: a first MOS tube M1, a second MOS tube M2, a third MOS tube M3, a seventh resistor R7, an eighth resistor R8, a ninth resistor R9, and a first capacitor C1.
[0110] Among them, the first end of the seventh resistor R7 is connected to the output end of the logic processing unit 201, and the second end is respectively connected to the gate of the first MOS tube M1 and the first end of the first capacitor C1, the drain of the first MOS tube M1 is grounded, and the source is connected to the first end of the eighth resistor R8, the second end of the eighth resistor R8 is respectively connected to the gate of the second MOS tube M2, the gate of the third MOS tube M3, and the first end of the ninth resistor R9, and the second end of the ninth resistor R9 is respectively connected to the drain of the second MOS tube M2 and the source of the third MOS tube M3. The source of the second MOS tube M2 is connected to the output end of the battery module 100, and the drain of the third MOS tube M3 is connected to the load.
[0111] The seventh resistor R7, the eighth resistor R8, and the ninth resistor R9 are all used for voltage division, and the first capacitor C1 is used to form a filter circuit. The first MOS tube M1 is used to open or close according to the enable signal output by the logic processing unit 201. When the first MOS tube M1 is closed, the drain of the third MOS tube M3 is used to supply power to the load.
[0112] When the logic processing unit 201 inputs an enable signal to the switch module 300, the enable signal turns on the gate of the first MOS transistor M1 to turn on the first MOS transistor M1. After the first MOS transistor M1 is turned on, the source of the first MOS transistor M1 turns on the gates of the second MOS transistor M2 and the third MOS transistor M3 through the eighth resistor R8 to turn on the second MOS transistor M2 and the third MOS transistor M3, so that the output of the battery module 100 corresponding to the switch module 300 is connected to the load through the conduction line where the second MOS transistor M2 and the third MOS transistor M3 are located, so as to supply power to the load.
[0113] Optionally, the switch module 300 may also be an NMOS type electronic switch. Figure 6The PMOS type electronic switch shown is different only in the driving circuit. The driving circuit can refer to the prior art and is not limited in this application.
[0114] The circuit structure provided in the embodiment of the present application obtains the voltage difference between the two battery modules 100 through the operation unit 202, and compares the magnitude relationship between the voltage difference and the preset threshold value according to the comparison unit 203. The logic processing unit 201 controls the closing or disconnection of the switch modules 300 corresponding to the two battery modules 100 according to the magnitude relationship between the voltage difference and the preset threshold value and the magnitude relationship between the output voltages of the two battery modules 100, so as to realize the function of single battery or dual battery supplying power to the load. When the voltage difference between the dual battery modules 100 is large, only the high voltage battery module 100 is used for power supply, and when the voltage difference is less than the preset threshold value, the dual battery module 100 is used for power supply, thereby improving the working time and current demand of the equipment, improving the voltage stability, reducing the power loss and cost, and there is no restriction on the battery cell parameters and protocols, which has the advantage of high compatibility.
[0115] In addition, when the battery module 100 is a battery, if one of the batteries is removed, since the two batteries are connected in parallel, the connection path corresponding to the battery is still in a conductive state. If the battery is reinserted when the device is running in a low voltage working range, a large current backflow will occur, causing damage to the device and circuit. Therefore, the above problem can also be avoided by adding a battery presence detection switch.
[0116] Figure 7 This is a schematic diagram of the structure of another battery power supply circuit provided in an embodiment of the present application. Figure 7 As shown, the battery powered circuit Figure 1 Based on the circuit structure shown, it can also include: two battery presence detection switches E1.
[0117] The first end of the battery presence detection switch E1 is connected to the output end of the corresponding battery module 100 , and the second end is connected to the input ends of the two operation units 202 .
[0118] The battery presence detection switch E1 is used to detect whether the corresponding battery module 100 is in place. If it is in place, the battery presence detection switch E1 is closed, and if it is not in place, the battery presence detection switch E1 is opened. If the battery presence detection switch E1 is closed, the connection path corresponding to the battery is connected, and if the battery presence switch is opened, the connection path corresponding to the battery is disconnected, thereby avoiding a large current backflow when the battery is reinserted.
[0119] The battery in-place detection switch E1 may be arranged at the installation position of the battery, so as to detect whether the battery is in place. For example, the battery in-place detection switch E1 is a button-type switch. When the battery is in place, the battery is installed in the battery slot, and the battery presses down the battery in-place detection switch E1 to close the battery in-place detection switch E1. When the battery is removed, the battery in-place detection switch E1 pops up due to the lack of the battery's squeezing, so that the battery in-place detection switch E1 is in the disconnected state. Exemplarily, the schematic diagram of the battery in-place detection switch E1 is shown in FIG. Figure 8 shown. Figure 8 A schematic diagram of the structure of a battery presence detection switch E1 provided in an embodiment of the present application.
[0120] In a possible implementation, the impact of the charging interface on the battery power supply circuit can also be considered. When the charging interface is connected to the power supply to charge the battery, the path where the battery is located needs to be disconnected, and only another path is used to power the device. Fig. 9 This is a schematic diagram of the structure of another battery power supply circuit provided in an embodiment of the present application. Fig. 9 As shown, the battery power supply circuit may further include: two power supply presence detection switches E2.
[0121] The first end of the power supply detection switch E2 is connected to the output end of the logic processing unit 201 , and the second end of the power supply detection switch E2 is connected to the control end of the corresponding switch module 300 .
[0122] The power supply in-place detection switch E2 is used to be disconnected when a third power supply for charging the corresponding battery module 100 is inserted, and closed when the corresponding battery module 100 does not detect the third power supply being connected. If the power supply in-place detection switch E2 is closed, the connection path corresponding to the battery is connected, and if the power supply in-place switch is disconnected, the connection path corresponding to the battery is disconnected, thereby avoiding a large current generated when charging the battery to affect the operation of the device.
[0123] The power presence detection switch E2 can be set at the charging interface of the device. The present application does not limit the setting method thereof, and any existing detection switch for detecting whether the charging interface is plugged into a power source can be referred to.
[0124] The structure provided in the embodiment of the present application, by setting a battery presence detection switch E1 and / or a power supply presence detection switch E2, can avoid the problem of large current backflow caused by reinserting the battery when the battery is not in place, and avoid the influence of large current inflow on the battery power supply circuit when the power supply is charging the battery, thereby improving the safety and stability of the battery power supply circuit.
[0125] For the above embodiments, in order to facilitate understanding, Fig.10 shows the complete circuit of the battery powered circuit above, Fig.10 A schematic diagram of the structure of another battery power supply circuit provided in an embodiment of the present application. Fig.10 The processing module 200 also includes a tenth resistor R10 and an eleventh resistor R11, which are used to perform voltage division sampling on the output voltage of each battery module 100, so that the processing module 200 can obtain the output voltage of the battery module 100.
[0126] On the other hand, an embodiment of the present application further provides an electronic device, which includes the battery power supply circuit mentioned in any of the aforementioned embodiments. The technical effects thereof are similar to those of the aforementioned battery power supply circuit and will not be described in detail herein.
[0127] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0128] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A battery powered circuit, characterized in that: The battery power supply circuit comprises: at least one sub-power supply circuit, each sub-power supply circuit comprises: two battery modules, a processing module, and a switch module corresponding to each battery module; The output end of the battery module is respectively connected to one end of the corresponding switch module and one end of the processing module, the other end of the switch module is connected to the load, and the other end of the processing module is connected to the control end of the switch module; The processing module is used to control the switch module of one of the battery modules to be closed or the switch modules of both battery modules to be closed according to the voltage difference between the battery modules, so as to supply power to the load.
2. The circuit according to claim 1, characterized in that The processing module includes: a logic processing unit, a calculation unit corresponding to each battery module, and a comparison unit; The input end of the operation unit is connected to the output ends of the two battery modules respectively, the output end of the operation unit is connected to the input end of the corresponding comparison unit, and the output end of the comparison unit is connected to the input end of the logic processing unit; The computing unit is used to obtain the voltage difference between the battery modules; The comparison unit is used to determine the magnitude relationship between the voltage difference between the battery modules and a preset threshold value; The logic processing unit is used to control the switch module of one of the battery modules to be closed or the switch modules of both battery modules to be closed according to the magnitude relationship between the voltage difference between the battery modules and a preset threshold value, so as to supply power to the load.
3. The circuit according to claim 2, characterized in that The operation unit includes: a first resistor, a second resistor, a third resistor, a fourth resistor, and an operational amplifier; The first end of the first resistor is connected to the output end of the battery module corresponding to the operation unit, and the second end is respectively connected to the negative pin of the operational amplifier and the first end of the fourth resistor; the first end of the second resistor is connected to the output end of another battery module, and the second end is respectively connected to the positive pin of the operational amplifier and the first end of the third resistor, and the second end of the third resistor is grounded; the second end of the fourth resistor is connected to the output end of the operational amplifier; the positive pole of the power supply end of the operational amplifier is connected to the output end of the first power supply, and the negative pole is grounded; The operational amplifier is used to obtain the voltage difference between the battery modules according to the output voltage of the battery module; The fourth resistor is used to form a feedback resistor of the operation unit.
4. The circuit according to claim 2, characterized in that The comparison unit includes: a fifth resistor, a sixth resistor, a first comparator, and a second comparator; The first end of the fifth resistor and the first end of the sixth resistor are respectively connected to the output end of the operational amplifier, the second end of the fifth resistor is connected to the positive pin of the first comparator, the negative pin of the first comparator is connected to the output end of the second power supply, and the output end of the first comparator is connected to the input end of the logic processing unit; the second end of the sixth resistor is connected to the negative pin of the second comparator, the positive pin of the second comparator is connected to the output end of the second power supply, and the output end of the second comparator is connected to the input end of the logic processing unit; The first comparator is used to output a high level when the voltage difference output by the operational amplifier is greater than or equal to the reference voltage output by the second power supply; The second comparator is used to output a high level when the voltage difference output by the operational amplifier is smaller than the reference voltage output by the second power supply.
5. The circuit according to claim 2, characterized in that The logic processing unit includes: an AND gate subunit, two OR gate subunits; The input end of the AND gate subunit is respectively connected to the two second comparators, and the output end of the AND gate subunit is respectively connected to the input ends of the two OR gate subunits; The AND gate subunit is used to output a high level when the voltage difference is less than a reference voltage, and to output a low level when the voltage difference is greater than the reference voltage; The OR gate subunit is used to output a high level when the voltage of the corresponding battery module is higher than the voltage of another battery module, and to output a low level when the voltage of the corresponding battery module is lower than the voltage of another battery module.
6. The circuit according to claim 2, characterized in that The switch module includes: a first electronic switch, a second electronic switch, a third electronic switch, a seventh resistor, an eighth resistor, a ninth resistor, and a first capacitor; The first end of the seventh resistor is connected to the output end of the logic processing unit, and the second end is respectively connected to the first pole of the first electronic switch and the first end of the first capacitor; the second pole of the first electronic switch is grounded, and the third pole is connected to the first end of the eighth resistor; the second end of the eighth resistor is respectively connected to the first pole of the second electronic switch, the first pole of the third electronic switch, and the first end of the ninth resistor; the second end of the ninth resistor is respectively connected to the second pole of the second electronic switch and the third pole of the third electronic switch; the third pole of the second electronic switch is connected to the output end of the battery module, and the second pole of the third electronic switch is connected to the load; The first electronic switch is used to open or close according to the enable signal output by the logic processing unit. When the first electronic switch is closed, the load is powered through the second pole of the third electronic switch.
7. The circuit according to claim 6, characterized in that The electronic switch is a MOS tube, the first electrode of the electronic switch is the gate of the MOS tube, the second electrode of the electronic switch is the drain of the MOS tube, and the third electrode of the electronic switch is the source of the MOS tube.
8. The circuit according to any one of claims 1 to 7, characterized in that: Also includes: Two battery presence detection switches; The first end of the battery in-place detection switch is connected to the output end of the corresponding battery module, and the second end is connected to the input ends of the two operation units respectively; The battery in-place detection switch is used to detect whether the corresponding battery module is in place. If so, the battery in-place detection switch is closed; if not, the battery in-place detection switch is opened.
9. The circuit according to any one of claims 1 to 7, characterized in that: Also includes: Two power supply presence detection switches; The first end of the power supply detection switch is connected to the output end of the logic processing unit, and the second end of the power supply detection switch is connected to the control end of the corresponding switch module; The power source presence detection switch is used to be disconnected when a third power source for charging the corresponding battery module is inserted, and closed when the corresponding battery module does not detect the third power source being connected.
10. An electronic device, characterized in that: The electronic device comprises the battery powered circuit as claimed in any one of claims 1 to 9.