A dual battery switching circuit
By adopting the design of mirror connection and multiplexing PMOS tubes in the dual-battery switching circuit, the problems of large number of components, large occupied area, and high cost in the existing technology are solved, and efficient switching of the battery pack and cost-saving effect are achieved.
Patent Information
- Application Number
- CN202011630644.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-31
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2040-12-31
AI Technical Summary
The existing dual-battery switching circuit has a large number of components, takes up a large area, is high in cost and has a complex circuit, and cannot effectively suppress the outflow of current when the battery is discharged.
A circuit design including four high-current PMOS transistors and multiple NMOS transistors and diodes is adopted. Through mirror connection and multiplexing of PMOS transistors, the number of components is reduced, the control logic is simplified, and the effectiveness of battery pack switching is ensured.
It realizes the multiplexing of battery charging and discharging PMOS tubes, reduces the number of components and the complexity of control logic, saves cost and space, and ensures efficient switching of the battery pack.
Smart Images

Figure CN112737044B
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of medical battery charging and discharging, and in particular is a dual-battery switching circuit. Background Art
[0002] The operation of the ventilator is inseparable from the power supply. Due to the limitations of the on-site environment, the ventilator may need to be disconnected from the AC power for a long time, and a single battery pack is not enough to support the machine to work for a long time. To solve this problem, dual-battery switching power supply becomes the first choice.
[0003] Existing dual battery switching circuits such as Figure 1 As shown, one switch is composed of a pair of large current mirror PMOS tubes. The prior art requires a total of 4 switches, that is, a total of 8 PMOS tubes are required. Since a total of 8 large current PMOS tubes are required, the cost is high and the circuit occupies a large area.
[0004] Chinese utility model patent CN 209046330 U discloses a charge-discharge switching circuit and a dual-battery charge-discharge automatic switching device, including: a first MOS tube, a second MOS tube, a first resistor, a second resistor, a third resistor and a fourth resistor; one end of the first resistor is respectively connected to the source of the first MOS tube and the charging port; the other end of the first resistor is respectively connected to the gate of the first MOS tube and one end of the second resistor; the other end of the second resistor is connected to the charging enable port; one end of the third resistor is respectively connected to the source of the second MOS tube, the drain of the first MOS tube and the battery port; the other end of the third resistor is respectively connected to the gate of the second MOS tube and one end of the fourth resistor; the other end of the fourth resistor is connected to the discharge enable port; the drain of the second MOS tube is connected to the discharge port. However, the patent still has many components, and the PMOS tube of the patent does not use a mirror connection, which cannot suppress the current from flowing out of the MOS tube at the charging end when the battery is discharged. The circuit is relatively complicated and needs further improvement. Summary of the invention
[0005] The object of the present invention is to provide a dual-battery switching circuit, which can reduce the number of electronic components, reduce the circuit occupation area, and reduce costs.
[0006] To achieve the above object, the present invention adopts the following technical solutions:
[0007] A dual-battery switching circuit, the circuit comprising a first battery, a second battery, a first high-current PMOS tube, a second high-current PMOS tube, a third high-current PMOS tube, a fourth high-current PMOS tube, a fifth NMOS tube, a sixth NMOS tube, a seventh NMOS tube, a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor, a first diode, a second diode, and a third diode;
[0008] The first battery is connected to the drain of the first large current PMOS tube, and the drain of the second large current PMOS tube is connected to the charge and discharge end; the source of the first large current PMOS tube is connected to the source of the second large current PMOS tube; one end of the first resistor is connected to the source of the first large current PMOS tube and the source of the second large current PMOS tube, and the other end of the first resistor is connected to the gate of the first large current PMOS tube and the gate of the second large current PMOS tube;
[0009] The second battery is connected to the drain of the third largest current PMOS tube, and the drain of the fourth largest current PMOS tube is connected to the charge and discharge end; the source of the third largest current PMOS tube is connected to the source of the fourth largest current PMOS tube; one end of the second resistor is connected to the source of the third largest current PMOS tube and the source of the fourth largest current PMOS tube, and the other end of the second resistor is connected to the gate of the third largest current PMOS tube and the gate of the fourth largest current PMOS tube;
[0010] One end of the third resistor is connected to the gate of the first large current PMOS tube and the gate of the second large current PMOS tube, and the other end is connected to the drain of the sixth NMOS tube, and the other end is also connected to the cathode of the first diode, and the cathode of the first diode is also connected to the drain of the sixth NMOS tube; one end of the fourth resistor is connected to the gate of the sixth NMOS tube, and the other end is connected to the source of the sixth NMOS tube, and the source of the sixth NMOS tube is grounded;
[0011] One end of the fifth resistor is connected to the gate of the third large current PMOS tube and the gate of the fourth large current PMOS tube, and the other end is connected to the drain of the seventh NMOS tube; one end of the sixth resistor is connected to the gate of the seventh NMOS tube, and the other end is connected to the source of the seventh NMOS tube, the source of the seventh NMOS tube is grounded, and the gate of the seventh NMOS tube is connected to the anode of the first diode;
[0012] One end of the seventh resistor is connected to the gate of the seventh NMOS tube, and the other end is connected to the power supply terminal D3V3;
[0013] One end of the ninth resistor is connected to the cathode of the second diode and the cathode of the third diode, and the other end is connected to the gate of the sixth NMOS transistor;
[0014] The source of the fifth NMOS tube is connected to the selection enable bit of the first battery, the drain of the fifth NMOS tube is connected to the anode of the second diode, and the gate of the fifth NMOS tube is connected to the status flag bit of the first battery; one end of the eighth resistor is connected to the source of the fifth NMOS tube, and the other end is connected to the gate of the fifth NMOS tube; the anode of the third diode is connected to the status flag bit of the second battery.
[0015] Furthermore, the charging and discharging end includes a fourth diode and a fifth diode, the cathode of the fourth diode is connected to the drain of the second large current PMOS tube and the drain of the fourth large current PMOS tube, and the anode of the fifth diode is connected to the drain of the second large current PMOS tube and the drain of the fourth large current PMOS tube; the anode of the fourth diode is connected to the charging port, and the cathode of the fifth diode is connected to the discharging port.
[0016] Furthermore, the charge and discharge end also includes a sixth diode and a seventh diode, the cathode of the sixth diode and the cathode of the seventh diode are both connected to the discharge port, the anode of the sixth diode is connected to the external DC port, and the anode of the seventh is connected to the AC / DC input port.
[0017] Compared with the prior art, the present invention has the following beneficial effects:
[0018] The present invention realizes the reuse of PMOS tubes for battery charging and discharging, and only needs to control the states of four PMOS tubes to realize the switching of battery packs, thereby reducing the complexity of control logic, reducing the number of components, and saving cost and space. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 It is a schematic diagram of a dual battery switching circuit in the prior art;
[0020] Figure 2 This is a schematic diagram of a dual battery switching circuit of the present invention;
[0021] Figure 3 This is a schematic diagram of the dual battery switching circuit of the present invention. DETAILED DESCRIPTION
[0022] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0023] Example 1
[0024] like Figure 2-Figure 3As shown, a dual battery switching circuit includes a first battery BAT1, a second battery BAT2, a first large current PMOS tube Q1, a second large current PMOS tube Q2, a third large current PMOS tube Q3, a fourth large current PMOS tube Q4, a fifth NMOS tube Q5, a sixth NMOS tube Q6, a seventh NMOS tube Q7, a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a ninth resistor R9, a first diode D1, a second diode D2, and a third diode D3;
[0025] The first battery BAT1 is connected to the drain of the first large current PMOS tube Q1, and the drain of the second large current PMOS tube Q2 is connected to the charge and discharge end; the source of the first large current PMOS tube Q1 is connected to the source of the second large current PMOS tube Q2; one end of the first resistor R1 is connected to the source of the first large current PMOS tube Q1 and the source of the second large current PMOS tube Q2, and the other end of the first resistor R1 is connected to the gate of the first large current PMOS tube Q1 and the gate of the second large current PMOS tube Q2;
[0026] The second battery is connected to the drain of the third largest current PMOS tube Q3, and the drain of the fourth largest current PMOS tube Q4 is connected to the charge and discharge end; the source of the third largest current PMOS tube Q3 is connected to the source of the fourth largest current PMOS tube Q4; one end of the second resistor R2 is connected to the source of the third largest current PMOS tube Q3 and the source of the fourth largest current PMOS tube Q4, and the other end of the second resistor R2 is connected to the gate of the third largest current PMOS tube Q3 and the gate of the fourth largest current PMOS tube Q4;
[0027] One end of the third resistor R3 is connected to the gate of the first large current PMOS transistor Q1 and the gate of the second large current PMOS transistor Q2, and the other end is connected to the drain of the sixth NMOS transistor Q6, and the other end is also connected to the cathode of the first diode D1, and the cathode of the first diode D1 is also connected to the drain of the sixth NMOS transistor Q6; one end of the fourth resistor R4 is connected to the gate of the sixth NMOS transistor Q6, and the other end is connected to the source of the sixth NMOS transistor Q6, and the source of the sixth NMOS transistor Q6 is grounded;
[0028] One end of the fifth resistor R5 is connected to the gate of the third large current PMOS tube Q3 and the gate of the fourth large current PMOS tube Q4, and the other end is connected to the drain of the seventh NMOS tube Q7; one end of the sixth resistor R6 is connected to the gate of the seventh NMOS tube Q7, and the other end is connected to the source of the seventh NMOS tube Q7, the source of the seventh NMOS tube Q7 is grounded, and the gate of the seventh NMOS tube Q7 is connected to the anode of the first diode D1;
[0029] One end of the seventh resistor R7 is connected to the gate of the seventh NMOS transistor Q7, and the other end is connected to the power supply terminal D3V3;
[0030] One end of the ninth resistor R9 is connected to the cathode of the second diode D2 and the cathode of the third diode D3, and the other end is connected to the gate of the sixth NMOS transistor Q6;
[0031] The source of the fifth NMOS tube Q5 is connected to the selection enable bit MCU_BAT1_EN of the first battery BAT1, the drain of the fifth NMOS tube Q5 is connected to the anode of the second diode D2, and the gate of the fifth NMOS tube Q5 is connected to the status flag bit BAT1_VAL of the first battery BAT1; one end of the eighth resistor R8 is connected to the source of the fifth NMOS tube Q5, and the other end is connected to the gate of the fifth NMOS tube Q5; the anode of the third diode D3 is connected to the status flag bit BAT2_VAL of the second battery.
[0032] The charging and discharging end includes a fourth diode D4 and a fifth diode D5, the cathode of the fourth diode D4 is connected to the drain of the second large current PMOS tube Q2 and the drain of the fourth large current PMOS tube Q4, the anode of the fifth diode D5 is connected to the drain of the second large current PMOS tube Q2 and the drain of the fourth large current PMOS tube Q4; the anode of the fourth diode D4 is connected to the charging port CHARGE_OUT, and the cathode of the fifth diode D5 is connected to the discharging port POWER_BUS.
[0033] The charge and discharge end also includes a sixth diode D6 and a seventh diode D7, wherein the cathode of the sixth diode D6 and the cathode of the seventh diode D7 are both connected to the discharge port POWER_BUS, the anode of the sixth diode D6 is connected to the external DC port EXT-DC_IN, and the anode of the seventh is connected to the AC-DC input port AC-DC_IN.
[0034] The battery pack charging and discharging circuits of the circuit of this embodiment reuse the same set of high-current PMOS tubes, that is, the number of high-current PMOS tubes required is 4. The diode ensures the consistency of the power supply direction.
[0035] Figure 3 Description of main components:
[0036] "BAT1_VAL" is the status flag of battery 1. If the flag is high, battery 1 is invalid; if the flag is low, battery 1 is valid.
[0037] "BAT2_VAL" is the status flag of battery 2. If the flag is high, battery 2 is invalid; if the flag is low, battery 2 is valid.
[0038] “MCU_BAT1_EN” is the enable bit for battery 1 selection.
[0039] "BAT1_EN" is the enable bit for battery 1. When the enable bit is high, battery 1 is cut off; when the enable bit is low, battery 1 is turned on.
[0040] "BAT2_EN" is the enable bit for battery 2. When the enable bit is high, battery 2 is cut off; when the enable bit is low, battery 2 is turned on.
[0041] Among them, Q1 and Q2 are large current PMOS tubes. Mirror connection of Q1 and Q2, that is, connection of the source of Q1 and Q2, can prevent the diode on the MOS tube from unidirectional conduction. One end of R1 is connected to the source of Q1 and Q2, and the other end is connected to the gate of Q1 and Q2. Battery 1 is connected to the drain of Q1, and Q2 is connected to the charge and discharge end. The same is true for battery 2, Q3, Q4, and R2.
[0042] One end of R3 is connected to the gate of Q2, and the other end is connected to the drain of Q6; one end of R4 is connected to the gate of Q6, and the other end is connected to the source of Q6, and the source of Q6 is grounded. The same is true for R5, R6 and Q7.
[0043] One end of R7 is connected to the gate of Q7, and the other end is connected to the power supply terminal D3V3.
[0044] The anode of the Schottky diode D1 is connected to the gate of Q7 , and the cathode is connected to the drain of Q6 .
[0045] The source of Q5 is connected to the selection enable bit MCU_BAT1_EN of battery 1, the drain is connected to the positive electrode of D2, and the gate is connected to the battery 1 status flag bit BAT1_VAL; one end of R8 is connected to the source of Q5, and the other end is connected to the gate;
[0046] The positive electrode of D3 is connected to the battery 2 status flag BAT2_VAL; one end of R9 is connected to the negative electrodes of D2 and D3, and the other end is connected to the gate of Q6.
[0047] When the battery 1 voltage BATT1_V is greater than the reference voltage (such as 4.7V), the battery 1 status flag BAT1_VAL is set to a low level, and when it is less than the reference voltage (such as 4.7V), the battery 1 status flag BAT1_VAL is set to a high level. The same is true for the battery 2 status flag BAT2_VAL.
[0048] exist Figure 3 In the circuit shown, the interlocking circuit composed of two NMOS tubes Q6 and Q7 can achieve the effect of switching the battery pack by only one path of battery 1 and battery 2 being turned on and the other being turned off. The circuit analysis is as follows:
[0049] When point A is high, Q6 is turned on, point B and battery 1 conduction enable bit BAT1_EN are set to low, Q7 is turned off, battery 2 conduction enable bit BAT2_EN is set to high, battery 1 is turned on, and battery 2 is turned off. When point A is low, Q6 is turned off, point B battery 1 conduction enable bit BAT1_EN is set to high, Q7 is turned on, battery 2 conduction enable bit BAT2_EN is set to low, battery 2 is turned on, and battery 1 is turned off.
[0050] The battery 1 status flag BAT1_VAL and the battery 2 status flag BAT2_VAL switch the battery on. The specific implementation method is as follows:
[0051] When the voltages of both batteries are greater than the reference voltage (such as 4.7V), the selection enable bit MCU_BAT1_EN of battery 1 is set to a low level, and battery 1 is turned on; when the battery 1 status flag bit BAT1_VAL is a high level and the battery 2 status flag bit BAT2_VAL is a low level, that is, point A is a low level, battery 1 is cut off, and battery 2 is turned on; when the battery 1 status flag bit BAT1_VAL is a low level and the battery 2 status flag bit BAT2_VAL is a high level, that is, point A is a high level, battery 2 is cut off, and battery 1 is turned on.
[0052] The current used in this embodiment is selected according to the actual discharge and charge current of the battery. The SI7463ADP is selected, and the maximum current can reach 14.4A.
[0053] The diodes in this embodiment all use Schottky diodes, and the model is SS16, but is not limited to other models.
[0054] Other components in this embodiment can be purchased.
[0055] In this embodiment:
[0056] (1) Discharge status: Battery 1 is discharged first. When battery 1 is about to run out of power, discharge is switched to battery 2. When battery 2 is about to run out of power, discharge is switched to battery 1.
[0057] (2) Charging status: Battery 1 is charged first. When battery 1 is fully charged or disconnected, the charging starts at battery 2. When battery 2 is fully charged or disconnected, the charging starts at battery 1.
[0058] (3) When battery 2 is charging, the AC power is disconnected and battery 2 changes from charging to discharging. If the current power and voltage of battery 2 cannot meet the current demand, the MCU detects that the voltage of battery 2 is reduced and sets MCU_BAT1_EN to a high level, switching battery 1 to discharge.
[0059] In this embodiment, D1 uses a Schottky diode. If an ordinary diode is used, a voltage drop of 0.7V will be generated, so that Q5 is always in the on state, preventing current from flowing into the power supply terminal D3V3 and affecting other devices using the power supply D3V3.
[0060] Any contents not described in detail in the present invention can be based on the conventional technical knowledge in the art.
[0061] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit the present invention. Although the present invention is described in detail with reference to the embodiments, it should be understood by those skilled in the art that any modification or equivalent replacement of the technical solutions of the present invention does not depart from the spirit and scope of the technical solutions of the present invention and should be included in the scope of the claims of the present invention.
Claims
1. A dual battery switching circuit, characterized in that: The circuit includes a first battery, a second battery, a first high-current PMOS tube, a second high-current PMOS tube, a third high-current PMOS tube, a fourth high-current PMOS tube, a fifth NMOS tube, a sixth NMOS tube, a seventh NMOS tube, a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor, a first diode, a second diode, and a third diode; The first battery is connected to the drain of the first large current PMOS tube, and the drain of the second large current PMOS tube is connected to the charge and discharge end; the source of the first large current PMOS tube is connected to the source of the second large current PMOS tube; one end of the first resistor is connected to the source of the first large current PMOS tube and the source of the second large current PMOS tube, and the other end of the first resistor is connected to the gate of the first large current PMOS tube and the gate of the second large current PMOS tube; The second battery is connected to the drain of the third largest current PMOS tube, and the drain of the fourth largest current PMOS tube is connected to the charge and discharge end; the source of the third largest current PMOS tube is connected to the source of the fourth largest current PMOS tube; one end of the second resistor is connected to the source of the third largest current PMOS tube and the source of the fourth largest current PMOS tube, and the other end of the second resistor is connected to the gate of the third largest current PMOS tube and the gate of the fourth largest current PMOS tube; One end of the third resistor is connected to the gate of the first large current PMOS tube and the gate of the second large current PMOS tube, and the other end is connected to the drain of the sixth NMOS tube, and the other end is also connected to the cathode of the first diode, and the cathode of the first diode is also connected to the drain of the sixth NMOS tube; one end of the fourth resistor is connected to the gate of the sixth NMOS tube, and the other end is connected to the source of the sixth NMOS tube, and the source of the sixth NMOS tube is grounded; One end of the fifth resistor is connected to the gate of the third large current PMOS tube and the gate of the fourth large current PMOS tube, and the other end is connected to the drain of the seventh NMOS tube; one end of the sixth resistor is connected to the gate of the seventh NMOS tube, and the other end is connected to the source of the seventh NMOS tube, the source of the seventh NMOS tube is grounded, and the gate of the seventh NMOS tube is connected to the anode of the first diode; One end of the seventh resistor is connected to the gate of the seventh NMOS tube, and the other end is connected to the power supply terminal D3V3; One end of the ninth resistor is connected to the cathode of the second diode and the cathode of the third diode, and the other end is connected to the gate of the sixth NMOS transistor; The source of the fifth NMOS tube is connected to the selection enable bit of the first battery, the drain of the fifth NMOS tube is connected to the anode of the second diode, and the gate of the fifth NMOS tube is connected to the status flag bit of the first battery; one end of the eighth resistor is connected to the source of the fifth NMOS tube, and the other end is connected to the gate of the fifth NMOS tube; the anode of the third diode is connected to the status flag bit of the second battery.
2. The dual battery switching circuit according to claim 1, characterized in that: The charge and discharge end includes a fourth diode and a fifth diode, the cathode of the fourth diode is connected to the drain of the second large current PMOS tube and the drain of the fourth large current PMOS tube, the anode of the fifth diode is connected to the drain of the second large current PMOS tube and the drain of the fourth large current PMOS tube; the anode of the fourth diode is connected to the charging port, and the cathode of the fifth diode is connected to the discharging port.
3. The dual battery switching circuit according to claim 1 or 2, characterized in that: The charge and discharge end also includes a sixth diode and a seventh diode, the cathode of the sixth diode and the cathode of the seventh diode are both connected to the discharge port, the anode of the sixth diode is connected to the external DC port, and the anode of the seventh diode is connected to the AC / DC input port.
Citation Information
Patent Citations
Charging and discharging switching circuit and double-battery charging and discharging automatic switching device
CN209046330U
Double battery power supply circuit
CN102340169A
Charge / discharge control circuit and battery device
CN102403757A
Double-battery temperature detection circuit and double-battery charging control method
CN106840444A
Double-battery power supply circuit for unmanned ships
CN109742841A
Cited By
Underground power supply switching control system
CN117458686A
