Charging and discharging circuit, control method of charging and discharging circuit, and electronic device
By introducing a switching module and an inductor module into the charging and discharging circuit, the charging current is adjusted by switching the switching state, which solves the problem of excessive mutual charging current caused by voltage imbalance in parallel battery power supply, and achieves safe and efficient charging.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- VIVO MOBILE COMM CO LTD
- Filing Date
- 2022-12-27
- Publication Date
- 2026-04-24
AI Technical Summary
In electronic devices, when two batteries with different capacities are connected in parallel for power supply, there is a risk of excessive mutual charging current due to voltage imbalance.
Adding a switching module and an inductor module to the charging and discharging circuit allows for the control of the switching module to switch between different switching states, thereby adjusting the charging current and preventing large-current mutual charging when the voltage difference is too large.
Effective control of charging current avoids safety risks, while reducing energy loss and improving charging efficiency.
Smart Images

Figure CN116316946B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of electronic technology, specifically relating to a charging and discharging circuit, a control method for the charging and discharging circuit, and an electronic device. Background Technology
[0002] To make more flexible use of the internal space of the electronic device, the power supply battery was changed from one large battery to two batteries of different sizes. Because the two batteries have different cell capacities, it would be impossible to achieve balanced power supply if they were connected in series. Therefore, the two batteries are connected in parallel for power supply.
[0003] For charging and discharging schemes involving batteries of different sizes, to ensure battery safety, the voltages of the large and small batteries must be balanced during charging and discharging to prevent issues such as current leakage caused by inconsistent voltages. When the charging and discharging current is large, an imbalance between the two batteries can lead to excessive voltage differences after charging and discharging, resulting in excessive mutual charging current between them and creating a safety risk. Summary of the Invention
[0004] The purpose of this application is to provide a charging and discharging circuit, a control method for the charging and discharging circuit, and an electronic device that can solve the problem of excessive mutual charging current between two batteries in the charging and discharging circuit.
[0005] In a first aspect, embodiments of this application provide a charging and discharging circuit, the circuit comprising:
[0006] The system includes a charging module, a first battery module, a second battery module, a switch module, and an inductor module.
[0007] The output terminal of the charging module is connected to the first terminal of the first battery module and the first terminal of the second battery module, respectively, and the charging module is used to charge the first battery module and the second battery module.
[0008] The voltage at the first terminal of the first battery module is a first voltage, and the second terminal of the first battery module is grounded;
[0009] The voltage at the first terminal of the second battery module is the second voltage, and the second terminal of the second battery module is grounded;
[0010] When the second voltage exceeds the first voltage, and the voltage difference between the second voltage and the first voltage exceeds the first voltage threshold corresponding to the first battery module, the switching module switches between the first switching state and the second switching state.
[0011] When the switch module is in the first switch state, the first end of the inductor module is electrically connected to the first end of the first battery module, and the second end of the inductor module is electrically connected to the first end of the second battery module.
[0012] When the switch module is in the second switch state, the first terminal of the inductor module is electrically connected to the first terminal of the first battery module, and the second terminal of the inductor module is grounded.
[0013] Secondly, embodiments of this application provide a control method for a charging and discharging circuit, the method comprising:
[0014] When the charging and discharging circuit is in a charging state, the first voltage output by the first battery module in the charging and discharging circuit and the second voltage output by the second battery module in the charging and discharging circuit are detected.
[0015] Based on the voltage difference between the first voltage and the second voltage, the switching state of the switching module in the charging and discharging circuit is controlled to adjust the mutual charging current between the first battery module and the second battery module through the inductor module.
[0016] Thirdly, embodiments of this application provide an electronic device including a processor and a memory, the memory storing programs or instructions executable on the processor, the programs or instructions, when executed by the processor, implementing the steps of the method described in the first aspect.
[0017] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the second aspect.
[0018] Fifthly, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the method as described in the second aspect.
[0019] In a sixth aspect, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the method described in the second aspect.
[0020] In this embodiment, by adding a switch module and an inductor module to the first battery module and the second battery module, and by controlling the switch module to switch between the first switch state and the second switch state, the charging current of the charging module to the first battery module and the charging current of the charging module to the second battery module can be controlled, thus avoiding the problem of large current mutual charging when the voltage of the second battery module is too high; at the same time, the switch module only has switching losses, which results in less energy loss and higher charging efficiency compared to the solution of adding resistance to the charging path. Attached Figure Description
[0021] Figure 1 This is one of the structural schematic diagrams of the charging and discharging circuit provided in the embodiments of this application;
[0022] Figure 2 This is a second schematic diagram of the charging and discharging circuit provided in the embodiments of this application;
[0023] Figure 3 This is the third schematic diagram of the charging and discharging circuit provided in the embodiments of this application;
[0024] Figure 4 This is the fourth schematic diagram of the charging and discharging circuit provided in the embodiments of this application;
[0025] Figure 5 This is the fifth schematic diagram of the charging and discharging circuit provided in the embodiments of this application;
[0026] Figure 6 This is the sixth schematic diagram of the charging and discharging circuit provided in the embodiments of this application;
[0027] Figure 7 This is a flowchart illustrating the control method of the charging and discharging circuit provided in the embodiments of this application;
[0028] Figure 8 This is a schematic diagram of the structure of the control device for the charging and discharging circuit provided in the embodiments of this application;
[0029] Figure 9 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application;
[0030] Figure 10 This is a hardware schematic diagram of the electronic device provided in the embodiments of this application. Detailed Implementation
[0031] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.
[0032] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0033] The charging and discharging circuit, the control method for the charging and discharging circuit, and the electronic device provided in this application will be described in detail below with reference to the accompanying drawings and through specific embodiments and application scenarios.
[0034] In related technologies, electronic devices can employ a dual-cell parallel power supply. Assuming the two cells have the same initial voltage, the ratio of current flowing into each cell is entirely determined by the cell's internal resistance and wiring impedance. However, due to the complex external environment and manufacturing limitations in practical applications, it is difficult to achieve a suitable wiring impedance value that ensures the charging current is proportional to the battery capacity. Furthermore, the battery's internal resistance is affected by factors such as battery capacity, charge level, and lifespan, causing continuous changes in resistance value. This affects the impedance distribution, thus influencing the charging current and leading to voltage imbalances between the large and small cells, potentially causing battery safety issues.
[0035] To address the aforementioned issues, in practice, current-limiting integrated circuits (ICs) can be added before each of the two batteries. The current-limiting IC clamps the charging current to a threshold current, which can be adjusted in real-time by the application processor (AP). When the current-limiting thresholds of the two ICs are proportional to the battery capacity, this allows the voltage of both batteries to increase simultaneously, achieving voltage balance between them.
[0036] Therefore, the charging process of the aforementioned dual-cell battery is closely related to the current-limiting IC. The working principle of the current-limiting IC is to add resistance to the charging path; the current that is "limited" is consumed by this additional resistor, resulting in significant energy loss. The amount of energy loss is related to the charging current; as the charging power increases, the charging current also increases, and the energy loss of this solution will become increasingly greater.
[0037] Figure 1 This is one of the structural schematic diagrams of the charging and discharging circuit provided in the embodiments of this application. For example... Figure 1As shown, the charging and discharging circuit includes: a charging module 110, a first battery module 120, a second battery module 130, a switch module 140, and an inductor module 150.
[0038] The output terminal of the charging module 110 is connected to the first terminal of the first battery module 120 and the first terminal of the second battery module 130, respectively. The charging module 110 is used to charge the first battery module 120 and the second battery module 130. The voltage of the first terminal of the first battery module 120 is a first voltage, and the second terminal of the first battery module 120 is grounded. The voltage of the first terminal of the second battery module 130 is a second voltage, and the second terminal of the second battery module 130 is grounded.
[0039] It is understood that the switching module 140 may include multiple switches. By driving the various switches in the switching module 140, the switching module 140 can be in different switching states, thereby generating a pulse width modulation (PWM) signal. The switching module 140 and the inductor module 150 together constitute a buck chopper circuit.
[0040] It should be noted that the buck chopper circuit is a type of step-down circuit that can control the on and off states of switches to reduce the power supply voltage. The buck chopper circuit may include multiple switches and inductors; the specific structures of the switch module 140 and inductor module 150 will be described in subsequent embodiments.
[0041] When the buck chopper circuit is working, the switches in the switching module 140 only operate in two states: on and off. There are only switching losses, which result in less energy loss and higher efficiency compared to existing solutions that increase the path impedance.
[0042] In this embodiment of the application, when the second voltage exceeds the first voltage and the voltage difference between the second voltage and the first voltage exceeds the first voltage threshold corresponding to the first battery module 120, the switch module 140 switches between the first switch state and the second switch state.
[0043] The first voltage threshold is related to the capacity of the first battery module 120, and is not specifically limited here.
[0044] When the switch module 140 is in the first switch state, the first end of the inductor module 150 is electrically connected to the first end of the first battery module 120, and the second end of the inductor module 150 is electrically connected to the first end of the second battery module 130.
[0045] When the switch module 140 is in the second switch state, the first end of the inductor module 150 is electrically connected to the first end of the first battery module 120, and the second end of the inductor module 150 is grounded.
[0046] In some embodiments, when the second voltage exceeds the first voltage and the voltage difference between the second voltage and the first voltage exceeds the first voltage threshold corresponding to the first battery module 120, the switch module 140 switches between a first switch state and a second switch state, causing the inductor module 150 to charge in the first switch state and to discharge in the second switch state to charge the first battery module 120.
[0047] It is understandable that when the charging module 110 is working normally, if the second voltage exceeds the first voltage and the voltage difference between the second voltage and the first voltage exceeds the first voltage threshold corresponding to the first battery module, it indicates that the charging current of the second battery module 130 is too large. Therefore, the control switch module 140 switches between the first switch state and the second switch state to increase the charging current of the first battery module 120.
[0048] Switching between the first switch state and the second switch state refers to alternating between the first switch state and the second switch state.
[0049] When the switch module 140 is in the first switch state, the first terminal of the inductor module 150 is electrically connected to the first terminal of the first battery module 120, and the second terminal of the inductor module 150 is electrically connected to the first terminal of the second battery module 130. At this time, the charging module 110 can supply power to the inductor module 150 to store energy. The longer the first switch state lasts, the more energy the inductor module 150 stores.
[0050] When the switch module 140 is in the second switch state, the first terminal of the inductor module 150 is electrically connected to the first terminal of the first battery module 120, and the second terminal of the inductor module 150 is grounded. At this time, the stored charge in the inductor module 150 can be released to the first battery module 120, thus the inductor module 150 discharges to charge the first battery module 120. The magnitude of the charging current generated by the inductor module 150 discharging to the first battery module 120 can be adjusted by controlling the duty cycle of the buck chopper circuit. The larger the duty cycle, the larger the charging current.
[0051] In some embodiments, the charging and discharging circuit further includes a voltage detection module 160, which is connected to the first terminal of the first battery module 120 and the first terminal of the second battery module 130, respectively. The voltage detection module 160 is used to acquire the first voltage and the second voltage.
[0052] It should be noted that the charging and discharging circuit can generate a large charging current during charging. Even with a very small path impedance, the excessive charging current can still lead to a large voltage difference between the first battery module 120 and the second battery module 130. To determine the true voltage of the first battery module 120 and the second battery module 130, a path without current flow is needed to detect their true voltages. This path is the voltage detection module 160.
[0053] In actual operation, the voltage detection module 160 can detect the first voltage at the first terminal of the first battery module 120 and the second voltage at the first terminal of the second battery module 130 in real time. The voltage detection module 160 includes, but is not limited to, an AP, a microcontroller unit (MCU), a power management integrated circuit (PMIC), or a fuel gauge.
[0054] It is understandable that when battery packs of different capacities are connected in parallel, the direction of the mutual charging current is determined by the electromotive force (EMF) of the battery packs (which can be understood as the terminal voltage of a single battery pack). The current flows from the positive terminal with the higher EMF to the positive terminal of the other battery pack, forming a loop. The magnitude of the current is determined by the internal resistance and EMF of both battery packs.
[0055] In actual operation, the voltage detection module 160 detects the first voltage and the second voltage in real time, and calculates the charging current of the charging module 110 for charging the first battery module 120 and the charging current of the charging module 130 for charging the second battery module.
[0056] When the switch module 140 switches between the first switch state and the second switch state, it can calculate in real time the charging current of the charging module 110 for the first battery module 120. When the charging current of the charging module 110 for the first battery module 120 is large, the output current of the buck chopper circuit can be reduced to avoid safety risks; when the charging current of the charging module 110 for the first battery module 120 is small, the output current of the buck chopper circuit can be increased to speed up the equalization process.
[0057] According to the charging and discharging circuit provided in the embodiments of this application, by adding a switch module and an inductor module to the first battery module and the second battery module, and controlling the switch module to switch between the first switch state and the second switch state, the charging current of the charging module to the first battery module and the charging current of the charging module to the second battery module can be controlled, avoiding the problem of large current mutual charging caused by the voltage of the second battery module being too high; at the same time, the switch module only has switching losses, which results in less energy loss and higher charging efficiency compared to the solution of adding resistance in the charging path.
[0058] In some embodiments, when the first voltage exceeds the second voltage and the voltage difference between the first voltage and the second voltage exceeds the second voltage threshold corresponding to the second battery module 130, the switch module 140 switches between a third switch state and a fourth switch state. The inductor module 150 can be charged in the third switch state and discharged in the fourth switch state to charge the second battery module 130.
[0059] The second voltage threshold is related to the capacity of the second battery module 130, and is not specifically limited here.
[0060] It is understandable that when the charging module 110 is working normally, if the first voltage exceeds the second voltage and the voltage difference between the first voltage and the second voltage exceeds the second voltage threshold corresponding to the second battery module 130, it indicates that the charging current of the first battery module 120 is too large. Therefore, the control switch module 140 switches between the third switch state and the fourth switch state to increase the charging current of the second battery module 130.
[0061] Switching between the third and fourth switch states refers to alternating between the third and fourth switch states.
[0062] Figure 2 This is the second schematic diagram of the charging and discharging circuit provided in the embodiments of this application.
[0063] like Figure 2 As shown, when the switch module 140 is in the third switch state, the first terminal of the inductor module 150 is electrically connected to the first terminal of the first battery module 120, and the second terminal of the inductor module 150 is electrically connected to the first terminal of the second battery module 130. At this time, the charging module 110 can supply power to the inductor module 150 to store energy. The longer the third switch state lasts, the more energy the inductor module 150 stores.
[0064] When the switch module 140 is in the fourth switch state, the first terminal of the inductor module 150 is grounded, and the second terminal of the inductor module 150 is electrically connected to the first terminal of the second battery module 130. At this time, the stored charge in the inductor module 150 can be released to the second battery module 130, thus the inductor module 150 discharges to charge the second battery module 130. The magnitude of the charging current generated by the inductor module 150 discharging to the second battery module 130 can be adjusted by controlling the duty cycle of the buck chopper circuit. The larger the duty cycle, the larger the charging current.
[0065] In actual operation, when the switch module 140 switches between the third and fourth switch states, the charging current of the charging module 110 to the second battery module 130 can be detected in real time. When the charging current of the charging module 110 to the second battery module 130 is large, the output current of the buck chopper circuit can be reduced to avoid safety risks; when the charging current of the charging module 110 to the second battery module 130 is small, the output current of the buck chopper circuit can be increased to speed up the equalization process.
[0066] According to the charging and discharging circuit provided in the embodiments of this application, by adding a switch module and an inductor module to the first battery module and the second battery module, and controlling the switch module to switch between the third switch state and the fourth switch state, the charging current of the charging module to the first battery module and the charging current of the charging module to the second battery module can be controlled, avoiding the problem of large current mutual charging caused by the voltage of the first battery module being too high; at the same time, the switch module only has switching losses, which results in less energy loss and higher charging efficiency compared to the solution of adding resistance in the charging path.
[0067] It is understandable that when the charging module 110 is working normally, if the first voltage and the second voltage are both less than the first voltage threshold and the second voltage threshold, it means that the battery is in a balanced state. In this case, all switches in the control switch module 140 are turned off, and the inductor module 150 does not need to charge or discharge.
[0068] Figure 3 This is the third schematic diagram of the charging and discharging circuit provided in the embodiments of this application.
[0069] In some embodiments, such as Figure 3 As shown, the inductor module 150 includes a first inductor L1 and a second inductor L2.
[0070] When the switch module 140 is in the first switch state, the first end of the first inductor L1 is electrically connected to the first end of the first battery module 120, and the second end of the first inductor L1 is electrically connected to the first end of the second battery module 130.
[0071] When the switch module 140 is in the second switch state, the first end of the first inductor L1 is electrically connected to the first end of the first battery module 120, and the second end of the first inductor L1 is grounded.
[0072] When the switch module 140 is in the third switch state, the first end of the second inductor L2 is electrically connected to the first end of the first battery module 120, and the second end of the second inductor L2 is electrically connected to the first end of the second battery module 130.
[0073] When the switch module 140 is in the fourth switch state, the first end of the second inductor L2 is grounded, and the second end of the second inductor L2 is electrically connected to the first end of the second battery module 130.
[0074] In actual implementation, charging module 110 is the Charger module. The output terminal of charging module 110 is connected to the first terminal of the first battery module 120 via resistor R3, and the output terminal of charging module 110 is connected to the first terminal of the second battery module 130 via resistor R4. Here, resistors R3 and R4 represent the path impedance from the output terminal of charging module 110 to the positive terminal of the first battery module 120, and the path impedance from the output terminal of charging module 110 to the positive terminal of the second battery module 130, respectively. The second terminal of the first battery module 120 is grounded, and the second terminal of the second battery module 130 is also grounded.
[0075] The first battery module 120 may include a battery Cell1 and a resistor R1; the second battery module 130 may include a battery Cell2 and a resistor R2, wherein resistor R1 and resistor R2 are the internal resistances of battery Cell1 and battery Cell2, respectively.
[0076] When the charging and discharging circuit includes a first inductor L1 and a second inductor L2, the operating state of the inductors can be controlled according to the different switching states of the switching module 140.
[0077] In actual operation, when the voltage difference between battery Cell1 and battery Cell2 is simultaneously less than V... risk1 and V risk2 When all switches in switch module 140 are turned on, the charging system will work normally.
[0078] Among them, V risk1 The dangerous voltage threshold corresponding to the first battery module 120, i.e., the first voltage threshold; V risk2 This is the dangerous voltage threshold corresponding to the second battery module 130, i.e., the second voltage threshold. V risk1 Related to the capacity of battery Cell1, V risk2 This is related to the battery's Cell2 capacity. Generally, the dangerous voltage threshold for batteries with smaller capacities is lower than that for batteries with larger capacities.
[0079] When the voltage of battery Cell2 exceeds the voltage of battery Cell1 and the voltage difference between the two exceeds the V corresponding to battery Cell1... risk1 At that time, the switch module 140 switches between the first switch state and the second switch state.
[0080] In this embodiment, the alternating switching of the first switch state and the second switch state can generate a PWM control signal.
[0081] When the switch module 140 is in the first switch state, the first end of the first inductor L1 is electrically connected to the first end of the first battery module 120, and the second end of the first inductor L1 is electrically connected to the first end of the second battery module 130. At this time, the charging module 110 can supply power to the first inductor L1 to store energy. The longer the first switch state lasts, the more energy the first inductor L1 stores.
[0082] When the switch module 140 is in the second switch state, the first terminal of the first inductor L1 is electrically connected to the first terminal of the first battery module 120, and the second terminal of the first inductor L1 is grounded. At this time, the charge stored in the second inductor L2 can be released to the battery Cell1, thus the first inductor L1 discharges to charge the battery Cell1. The magnitude of the charging current generated by the first inductor L1 discharging to the battery Cell1 can be adjusted by controlling the duty cycle of the buck chopper circuit. The larger the duty cycle, the larger the charging current.
[0083] When the charging current of the Charger module to the Cell1 battery is large, the output current of the first inductor L1 is reduced to avoid safety risks. When the charging current of the Charger module to the Cell1 battery is small, the output current of the first inductor L1 can be increased to speed up the balancing process.
[0084] When the voltage of battery Cell1 exceeds the voltage of battery Cell2 and the voltage difference between the two exceeds the V corresponding to battery Cell2... risk2 At this time, the switch module 140 switches between the third switch state and the fourth switch state.
[0085] In this embodiment, the alternating switching of the third switch state and the fourth switch state can generate a PWM control signal.
[0086] When the switch module 140 is in the third switch state, the first terminal of the second inductor L2 is electrically connected to the first terminal of the first battery module 120, and the second terminal of the second inductor L2 is electrically connected to the first terminal of the second battery module 130. At this time, the charging module 110 can supply power to the second inductor L2 to store energy. The longer the third switch state lasts, the more energy the second inductor L2 stores.
[0087] When the switch module 140 is in the fourth switch state, the first terminal of the second inductor L2 is grounded, and the second terminal of the second inductor L2 is electrically connected to the first terminal of the second battery module 130. At this time, the charge stored in the second inductor L2 can be released to the battery Cell2, thus the second inductor L2 discharges to charge the battery Cell2. The magnitude of the charging current generated by the discharge of the second inductor L2 to the battery Cell2 can be adjusted by controlling the duty cycle of the buck chopper circuit. The larger the duty cycle, the larger the charging current.
[0088] When the charging current of the Charger module to the Cell2 battery is large, the output current of the second inductor L2 should be reduced to avoid safety risks. When the charging current of the Charger module to the Cell2 battery is small, the output current of the second inductor L2 can be increased to speed up the balancing process.
[0089] The charging and discharging circuit provided in the embodiments of this application can achieve the effect of balancing the voltage of large and small batteries during charging and discharging, avoiding large current mutual charging between batteries. At the same time, the switch only has two states, on and off, when balancing the voltage, resulting in low energy loss and high charging efficiency.
[0090] In some embodiments, such as Figure 3 As shown, the switch module 140 includes a first switch Q1 and a second switch Q2.
[0091] The second terminal of the inductor module 150 is connected to the first terminal of the first switch Q1 and the first terminal of the second switch Q2 respectively. The second terminal of the first switch Q1 is electrically connected to the first terminal of the second battery module 130, and the second terminal of the second switch Q2 is grounded.
[0092] When the switch module 140 is in the first switch state, the first switch Q1 is turned on and the second switch Q2 is turned off.
[0093] When the switch module 140 is in the second switch state, the first switch Q1 is open and the second switch Q2 is on.
[0094] In actual implementation, such as Figure 3 As shown, when the voltage of both battery Cell2 and battery Cell1 does not exceed the V corresponding to battery Cell1... risk1 V corresponding to battery Cell2 risk2 At this time, the switch module 140 does not switch the state, and both the first switch Q1 and the second switch Q2 are open.
[0095] When the voltage of battery Cell2 exceeds the voltage of battery Cell1 and the voltage difference between the two exceeds the V corresponding to battery Cell1... risk1 At that time, the switch module 140 switches between the first switch state and the second switch state.
[0096] In this embodiment, the first switch state is that the first switch Q1 is on and the second switch Q2 is off; the second switch state is that the first switch Q1 is off and the second switch Q2 is on. The switch module 140 switches between the first switch state and the second switch state, that is, the first switch Q1 and the second switch Q2 are alternately turned on and off, thereby generating a PWM control signal.
[0097] like Figure 3As shown, when the first switch Q1 is on and the second switch Q2 is off, the first terminal of the inductor module 150 is electrically connected to the first terminal of the first battery module 120, the first terminal of the first switch Q1 is electrically connected to the second terminal of the inductor module 150, and the second terminal of the first switch Q1 is electrically connected to the first terminal of the second battery module 130. At this time, the charging module 110 can supply power to the inductor module 150 to store energy. The longer the first switch Q1 is on, the more energy the inductor module 150 stores.
[0098] When the first switch Q1 is open and the second switch Q2 is open, the first terminal of the inductor module 150 is electrically connected to the first terminal of the first battery module 120, and the second terminal of the inductor module 150 is connected to the first terminal of the second switch Q2, which is grounded. At this time, the stored charge in the inductor module 150 can be released to the battery Cell1, thus the inductor module 150 discharges to charge the battery Cell1. The magnitude of the charging current generated by the inductor module 150 discharging to the battery Cell1 can be adjusted by controlling the duty cycle of the buck chopper circuit. The larger the duty cycle, the larger the charging current.
[0099] When the charging current of the Charger module to the Cell1 battery is large, the output current of the inductor module 150 should be reduced to avoid safety risks. When the charging current of the Charger module to the Cell1 battery is small, the output current of the inductor module 150 can be increased to speed up the balancing process.
[0100] According to the charging and discharging circuit provided in the embodiments of this application, by setting a first switch and a second switch, and controlling the conduction and cutoff of the first switch and the second switch, the inductor module and the two switches together form a step-down chopper circuit, thereby adjusting the charging current of the charging module to charge the first battery module to avoid safety risks, and also speeding up the battery equalization speed.
[0101] In some embodiments, such as Figure 3 As shown, the switch module 140 includes a third switch Q3 and a fourth switch Q4;
[0102] The first terminal of the inductor module 150 is connected to the first terminal of the third switch Q3 and the first terminal of the fourth switch Q4 respectively. The second terminal of the third switch Q3 is electrically connected to the first terminal of the first battery module 120. The second terminal of the fourth switch Q4 is grounded.
[0103] When the switch module 140 is in the third switch state, the third switch Q3 is turned on and the fourth switch Q4 is turned off.
[0104] When the switch module 140 is in the fourth switch state, the third switch Q3 is open and the fourth switch Q4 is on.
[0105] In actual implementation, such as Figure 3 As shown, when the voltage of both battery Cell2 and battery Cell1 does not exceed the V corresponding to battery Cell1... risk1 V corresponding to battery Cell2 risk2 At this time, the switch module 140 does not switch the state, and both the third switch Q3 and the fourth switch Q4 are open.
[0106] When the voltage of battery Cell1 exceeds the voltage of battery Cell2 and the voltage difference between the two exceeds the V corresponding to battery Cell2... risk2 At this time, the switch module 140 switches between the third switch state and the fourth switch state.
[0107] In this embodiment, the third switch state is that the third switch Q3 is on and the fourth switch Q4 is off; the fourth switch state is that the third switch Q3 is off and the fourth switch Q4 is on. Switching between the third and fourth switch states refers to the alternating on and off of the third switch Q3 and the fourth switch Q4, thereby generating a PWM control signal.
[0108] like Figure 3 As shown, when the third switch Q3 is on and the fourth switch Q4 is off, the first terminal of the third switch Q3 is electrically connected to the first terminal of the inductor module 150, the second terminal of the third switch Q3 is connected to the first terminal of the first battery module 120, and the second terminal of the inductor module 150 is electrically connected to the first terminal of the second battery module 130. At this time, the charging module 110 can supply power to the inductor module 150 to store energy. The longer the third switch Q3 is on, the more energy the second inductor L2 stores.
[0109] When the third switch Q3 is open and the fourth switch Q4 is open, the first terminal of the fourth switch Q4 is electrically connected to the first terminal of the inductor module 150, and the second terminal of the fourth switch Q4 is grounded. The second terminal of the inductor module 150 is electrically connected to the first terminal of the second battery module 130. At this time, the energy stored in the inductor module 150 can be released to the battery Cell2, thus the inductor module 150 discharges to charge the battery Cell2. The magnitude of the charging current generated by the inductor module 150 discharging to the battery Cell2 can be adjusted by controlling the duty cycle of the buck chopper circuit. The larger the duty cycle, the larger the charging current.
[0110] When the charging current of the Charger module to the Cell2 battery is large, the output current of the second inductor L2 should be reduced to avoid safety risks. When the charging current of the Charger module to the Cell2 battery is small, the output current of the second inductor L2 can be increased to speed up the balancing process.
[0111] According to the charging and discharging circuit provided in the embodiments of this application, by setting a third switch and a fourth switch, and controlling the conduction and cutoff of the third switch and the fourth switch, the inductor module and the two switches together form a step-down chopper circuit, thereby adjusting the charging current of the charging module to charge the second battery module to avoid safety risks, and also speeding up the battery equalization speed.
[0112] In some embodiments, such as Figure 3 As shown, the switch module 140 includes a first switch Q1, a second switch Q2, a third switch Q3, and a fourth switch Q4.
[0113] The first terminal of the first switch Q1 is connected to the first terminal of the second switch Q2, the second terminal of the first switch Q1 is connected to the first terminal of the second battery module 130, and the second terminal of the second switch Q2 is grounded.
[0114] The first end of the first inductor L1 is connected to the first end of the first battery module 120, and the second end of the first inductor L1 is connected to the first end of the first switch Q1.
[0115] The first terminal of the third switch Q3 is connected to the first terminal of the fourth switch Q4, the second terminal of the third switch Q3 is connected to the first terminal of the first battery module 120, and the second terminal of the fourth switch Q4 is grounded.
[0116] The first end of the second inductor L2 is connected to the first end of the third switch Q3, and the second end of the second inductor L2 is connected to the first end of the second battery module 130.
[0117] In actual implementation, such as Figure 3 As shown, the switch module 140 includes a first switch Q1, a second switch Q2, a third switch Q3 and a fourth switch Q4, and the inductor module 150 includes a first inductor L1 and a second inductor L2.
[0118] When the voltage of both battery Cell2 and battery Cell1 does not exceed the V corresponding to battery Cell1 risk1 V corresponding to battery Cell2 risk2 When the switch module 140 does not switch the state, the first switch Q1, the second switch Q2, the third switch Q3 and the fourth switch Q4 are all off.
[0119] When the voltage of battery Cell2 exceeds the voltage of battery Cell1 and the voltage difference between the two exceeds the V corresponding to battery Cell1... risk1 At this time, the first switch Q1 and the second switch Q2 are alternately turned on and off, thereby generating a PWM control signal.
[0120] When the first switch Q1 is turned on and the second switch Q2 is turned off, the first terminal of the first inductor L1 is electrically connected to the first terminal of the first battery module 120, the first terminal of the first switch Q1 is electrically connected to the second terminal of the first inductor L1, and the second terminal of the first switch Q1 is electrically connected to the first terminal of the second battery module 130. At this time, the charging module 110 can supply power to the first inductor L1 to store energy. The longer the first switch Q1 is turned on, the more energy the first inductor L1 stores.
[0121] When the first switch Q1 is open and the second switch Q2 is open, the first terminal of the first inductor L1 is electrically connected to the first terminal of the first battery module 120, and the second terminal of the first inductor L1 is connected to the first terminal of the second switch Q2, which is grounded. At this time, the charge stored in the first inductor L1 can be released to the battery Cell1, thus the first inductor L1 discharges to charge the battery Cell1. The magnitude of the charging current generated by the first inductor L1 discharging to the battery Cell1 can be adjusted by controlling the duty cycle of the buck chopper circuit. The larger the duty cycle, the larger the charging current.
[0122] When the charging current of the Charger module to the Cell1 battery is large, the output current of the inductor module 150 should be reduced to avoid safety risks. When the charging current of the Charger module to the Cell1 battery is small, the output current of the inductor module 150 can be increased to speed up the balancing process.
[0123] When the voltage of battery Cell1 exceeds the voltage of battery Cell2 and the voltage difference between the two exceeds the V corresponding to battery Cell2... risk2 At this time, the third switch Q3 and the fourth switch Q4 are alternately turned on and off, thereby generating a PWM control signal.
[0124] When the third switch Q3 is on and the fourth switch Q4 is off, the first terminal of the third switch Q3 is electrically connected to the first terminal of the second inductor L2, the second terminal of the third switch Q3 is connected to the first terminal of the first battery module 120, and the second terminal of the second inductor L2 is electrically connected to the first terminal of the second battery module 130. At this time, the charging module 110 can supply power to the second inductor L2 to store energy. The longer the third switch Q3 is on, the more energy the second inductor L2 stores.
[0125] When the third switch Q3 is open and the fourth switch Q4 is open, the first terminal of the fourth switch Q4 is electrically connected to the first terminal of the second inductor L2, and the second terminal of the fourth switch Q4 is grounded. The second terminal of the second inductor L2 is electrically connected to the first terminal of the second battery module 130. At this time, the charge stored in the second inductor L2 can be released to the battery Cell2, thus the second inductor L2 discharges to charge the battery Cell2. The magnitude of the charging current generated by the discharge of the second inductor L2 to the battery Cell2 can be adjusted by controlling the duty cycle of the buck chopper circuit. The larger the duty cycle, the larger the charging current.
[0126] When the charging current of the Charger module to the Cell2 battery is large, the output current of the second inductor L2 should be reduced to avoid safety risks. When the charging current of the Charger module to the Cell2 battery is small, the output current of the second inductor L2 can be increased to speed up the balancing process.
[0127] In some embodiments, such as Figures 4 to 6 As shown, the switch module 140 includes a first switch Q1, a second switch Q2, a third switch Q3 and a fourth switch Q4, and the inductor module 150 includes a third inductor L3.
[0128] The first terminal of the first switch Q1 is connected to the first terminal of the second switch Q2, the second terminal of the first switch Q1 is connected to the first terminal of the second battery module 130, and the second terminal of the second switch Q2 is grounded.
[0129] The first terminal of the third switch Q3 is connected to the first terminal of the fourth switch Q4, the second terminal of the third switch Q3 is connected to the first terminal of the first battery module 120, and the second terminal of the fourth switch Q4 is grounded.
[0130] The second end of the third inductor L3 is connected to the first end of the third switch Q3, and the second end of the third inductor L3 is connected to the first end of the first switch Q1.
[0131] It should be noted that the inductance values of the first inductor L1, the second inductor L2, and the third inductor L3 in this embodiment can be determined according to actual needs, and are not specifically limited here.
[0132] like Figure 4 As shown, in actual operation, when the voltage difference between battery Cell1 and battery Cell2 is simultaneously less than V... risk1 and V risk2 When all switches are turned on, namely the first switch Q1, the second switch Q2, the third switch Q3 and the fourth switch Q4, the charging system will work normally.
[0133] like Figure 5As shown, when the voltage of battery Cell2 exceeds the voltage of battery Cell1 and the voltage difference between the two exceeds the V corresponding to battery Cell1... risk1 At this time, the third switch Q3 is normally closed, and the fourth switch Q4 is normally open. The first switch Q1, the second switch Q2, and the third inductor L3 form a step-down chopper circuit. The first switch Q1 and the second switch Q2 alternately turn on and off, thereby generating a PWM control signal.
[0134] The system uses the voltage detection module 160 to detect the battery voltage in real time, and uses this to calculate the charging current of the Charger module for battery Cell1 or battery Cell2.
[0135] When the charging current of the Charger module to battery Cell1 is large, the output current of the BUCK module should be reduced to avoid safety risks. When the charging current of the Charger module to battery Cell1 is small, the output current of the BUCK module can be increased to speed up the balancing process.
[0136] like Figure 6 As shown, when the voltage of battery Cell1 exceeds the voltage of battery Cell2 and the voltage difference between the two exceeds the V corresponding to battery Cell2... risk2 At this time, the first switch Q1 is normally closed, and the second switch Q2 is normally open. The third switch Q3, the fourth switch Q4, and the third inductor L3 form a step-down chopper circuit. The third switch Q3 and the fourth switch Q4 alternately turn on and off, thereby generating a PWM control signal.
[0137] When the charging current of the Charger module to the Cell2 battery is large, the output current of the second inductor L2 should be reduced to avoid safety risks. When the charging current of the Charger module to the Cell2 battery is small, the output current of the second inductor L2 can be increased to speed up the balancing process.
[0138] According to the charging and discharging circuit provided in the embodiments of this application, the device utilization rate is improved by time-division multiplexing the inductor during the charging and discharging stages; and the voltage of large and small cells can be balanced during charging and discharging to avoid large current mutual charging between batteries; at the same time, the switch only has two states, on and off, during voltage balancing, resulting in low energy loss and high charging efficiency.
[0139] In some embodiments, the switch module 140 alternately switches between a first switch state and a second switch state. By adjusting the duration of the switch module 140 in the first switch state and the duration of the switch module 140 in the second switch state, the charging current flowing through the first battery module 120 and the charging current flowing through the second battery module 130 are adjusted.
[0140] The switch module 140 alternates between the third switch state and the fourth switch state. By adjusting the duration of the switch module 140 in the third switch state and the duration of the switch module 140 in the fourth switch state, the charging current flowing through the first battery module 120 and the charging current flowing through the second battery module 130 are adjusted.
[0141] In this embodiment, the switch module 140 and the inductor module 150 form a buck chopper circuit. The switching frequency and duty cycle of the buck chopper circuit can control the inter-cell charging current. Specifically, by adjusting the duration of the switch module 140 in the first switching state and the duration of its second switching state, or by adjusting the duration of its third switching state and the duration of its fourth switching state, the charging current flowing through the first battery module 120 and the charging current flowing through the second battery module 130 can be adjusted, thereby accelerating battery equalization and avoiding battery safety risks. Since the switch only operates in two states (on and off) during buck chopper circuit operation, there are only switching losses. Compared to existing solutions that increase path impedance, energy loss is smaller and efficiency is higher.
[0142] Figure 7 This is a schematic flowchart of the control method for the charging and discharging circuit provided in an embodiment of this application. Figure 7 As shown, the control method for the charging and discharging circuit may include steps 710 and 720.
[0143] Step 710: When the charging and discharging circuit is in a charging state, detect the first voltage output by the first battery module 120 in the charging and discharging circuit and the second voltage output by the second battery module 130 in the charging and discharging circuit.
[0144] Step 720: Based on the voltage difference between the first voltage and the second voltage, control the switching state of the switching module 140 in the charging and discharging circuit to adjust the mutual charging current between the first battery module 120 and the second battery module 130 through the inductor module 150.
[0145] In practice, it can be combined with Figures 1 to 6 The charging and discharging circuit will be used to illustrate the embodiments of this application.
[0146] In step 710, when the charging and discharging circuit is in a charging state, the voltage detection module 160 can detect the first voltage output by the first battery module 120 and the second voltage output by the second battery module 130 in real time. Based on the voltage difference between the first voltage and the second voltage, the charging current of the charging module 110 to the first battery module 120 and the second battery module 130 can be calculated. Then, the mutual charging current between the first battery module 120 and the second battery module 130 can be adjusted by the inductor module 150.
[0147] In some embodiments, the switching state of the switching module 140 can be determined based on the voltage difference, i.e., the on-time or off-time of the switching module 140 can be controlled to adjust the magnitude of the mutual charging current.
[0148] According to the control method of the charging and discharging circuit provided in the embodiments of this application, when the charging and discharging circuit is in the charging state, the switching state of the switching module in the charging and discharging circuit is controlled, thereby controlling the mutual charging current between the first battery module and the second battery module and avoiding the problem of large current mutual charging; at the same time, the switch only works in two states, on and off, so there is only switching loss. Compared with the solution of adding resistance in the charging path, the energy loss is smaller and the charging efficiency is higher.
[0149] The control method for a charging and discharging circuit provided in this application can be executed by a control device for the charging and discharging circuit. This application uses the example of a control device for the charging and discharging circuit executing the control method to illustrate the control device for the charging and discharging circuit provided in this application.
[0150] This application also provides a control device for a charging and discharging circuit.
[0151] like Figure 8 As shown, the control device of the charging and discharging circuit includes a detection module 810 and a control module 820.
[0152] The detection module 810 is used to detect the first voltage output by the first battery module in the charging and discharging circuit and the second voltage output by the second battery module in the charging and discharging circuit when the charging and discharging circuit is in a charging state.
[0153] The control module 820 is used to control the switching state of the switching module in the charging and discharging circuit based on the voltage difference between the first voltage and the second voltage, so as to adjust the mutual charging current between the first battery module and the second battery module through the inductor module.
[0154] According to the control device for the charging and discharging circuit provided in the embodiments of this application, when the charging and discharging circuit is in a charging state, the switching state of the switching module in the charging and discharging circuit is controlled, thereby controlling the mutual charging current between the first battery module and the second battery module and avoiding the problem of large current mutual charging; at the same time, the switch only works in two states, on and off, so there is only switching loss. Compared with the solution of adding resistance in the charging path, the energy loss is smaller and the charging efficiency is higher.
[0155] The control device for the charging and discharging circuit in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the scope of the device.
[0156] The control device for the charging and discharging circuit in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit the specific operating system used.
[0157] The control device for the charging and discharging circuit provided in this application embodiment can achieve... Figure 7 The various processes implemented in the method implementation examples will not be described again here to avoid repetition.
[0158] Optionally, such as Figure 9 As shown, this application embodiment also provides an electronic device 900, including a processor 901, a memory 902, and a program or instructions stored in the memory 902 and executable on the processor 901. When the program or instructions are executed by the processor 901, they implement the various processes of the above-described charging and discharging circuit control method embodiment and achieve the same technical effect. To avoid repetition, they will not be described again here.
[0159] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.
[0160] Figure 10 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.
[0161] The electronic device 1000 includes, but is not limited to, components such as: radio frequency unit 1001, network module 1002, audio output unit 1003, input unit 1004, sensor 1005, display unit 1006, user input unit 1007, interface unit 1008, memory 1009, and processor 1010.
[0162] Those skilled in the art will understand that the electronic device 1000 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 1010 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 10 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.
[0163] The processor 1010 is used to detect the first voltage output by the first battery module in the charging and discharging circuit and the second voltage output by the second battery module in the charging and discharging circuit when the charging and discharging circuit is in a charging state.
[0164] Based on the voltage difference between the first voltage and the second voltage, the switching state of the switching module in the charging and discharging circuit is controlled to adjust the mutual charging current between the first battery module and the second battery module through the inductor module.
[0165] According to the electronic device provided in the embodiments of this application, when the charging and discharging circuit is in a charging state, the switching state of the switching module in the charging and discharging circuit can be controlled, thereby controlling the mutual charging current between the first battery module and the second battery module and avoiding the problem of large current mutual charging; at the same time, the switch only works in two states, on and off, so there is only switching loss. Compared with the solution of adding resistance to the charging path, the energy loss is smaller and the charging efficiency is higher.
[0166] It should be understood that, in this embodiment, the input unit 1004 may include a graphics processing unit (GPU) 10041 and a microphone 10042. The GPU 10041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 1006 may include a display panel 10061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 1007 includes a touch panel 10071 and at least one of other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here.
[0167] The memory 1009 can be used to store software programs and various data. The memory 1009 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 1009 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 1009 in this embodiment includes, but is not limited to, these and any other suitable types of memory.
[0168] The processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into the processor 1010.
[0169] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described control method embodiment for the charging and discharging circuit and achieve the same technical effect. To avoid repetition, they will not be described again here.
[0170] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0171] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described control method embodiment for the charging and discharging circuit, and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0172] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0173] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0174] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0175] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
Claims
1. A charging and discharging circuit, characterized in that, include: The system includes a charging module, a first battery module, a second battery module, a switch module, and an inductor module. The output terminal of the charging module is connected to the first terminal of the first battery module and the first terminal of the second battery module, respectively, and the charging module is used to charge the first battery module and the second battery module. The voltage at the first terminal of the first battery module is a first voltage, and the second terminal of the first battery module is grounded; The voltage at the first terminal of the second battery module is the second voltage, and the second terminal of the second battery module is grounded; When the second voltage exceeds the first voltage, and the voltage difference between the second voltage and the first voltage exceeds the first voltage threshold corresponding to the first battery module, the switching module switches between the first switching state and the second switching state. When the switch module is in the first switch state, the first end of the inductor module is electrically connected to the first end of the first battery module, and the second end of the inductor module is electrically connected to the first end of the second battery module. When the switch module is in the second switch state, the first end of the inductor module is electrically connected to the first end of the first battery module, and the second end of the inductor module is grounded.
2. The charging and discharging circuit according to claim 1, characterized in that, When the first voltage exceeds the second voltage, and the voltage difference between the first voltage and the second voltage exceeds the second voltage threshold corresponding to the second battery module, the switching module switches between a third switching state and a fourth switching state. When the switch module is in the third switch state, the first end of the inductor module is electrically connected to the first end of the first battery module, and the second end of the inductor module is electrically connected to the first end of the second battery module. When the switch module is in the fourth switch state, the first terminal of the inductor module is grounded, and the second terminal of the inductor module is electrically connected to the first terminal of the second battery module.
3. The charging and discharging circuit according to claim 1, characterized in that, The inductor module includes a first inductor and a second inductor; When the switch module is in the first switch state, the first end of the first inductor is electrically connected to the first end of the first battery module, and the second end of the first inductor is electrically connected to the first end of the second battery module. When the switch module is in the second switch state, the first end of the first inductor is electrically connected to the first end of the first battery module, and the second end of the first inductor is grounded. When the switch module is in the third switch state, the first end of the second inductor is electrically connected to the first end of the first battery module, and the second end of the second inductor is electrically connected to the first end of the second battery module. When the switch module is in the fourth switch state, the first end of the second inductor is grounded, and the second end of the second inductor is electrically connected to the first end of the second battery module.
4. The charging and discharging circuit according to claim 1, characterized in that, The switch module includes a first switch and a second switch; The second terminal of the inductor module is connected to the first terminal of the first switch and the first terminal of the second switch, respectively. The second terminal of the first switch is electrically connected to the first terminal of the second battery module, and the second terminal of the second switch is grounded. When the switch module is in the first switch state, the first switch is turned on and the second switch is turned off. When the switch module is in the second switch state, the first switch is off and the second switch is on.
5. The charging and discharging circuit according to claim 4, characterized in that, The switch module includes a third switch and a fourth switch; The first terminal of the inductor module is connected to the first terminal of the third switch and the first terminal of the fourth switch, respectively. The second terminal of the third switch is electrically connected to the first terminal of the first battery module, and the second terminal of the fourth switch is grounded. When the switch module is in the third switch state, the third switch is turned on and the fourth switch is turned off; When the switch module is in the fourth switch state, the third switch is off and the fourth switch is on.
6. The charging and discharging circuit according to claim 3, characterized in that, The switch module includes a first switch, a second switch, a third switch, and a fourth switch; The first terminal of the first switch is connected to the first terminal of the second switch, the second terminal of the first switch is connected to the first terminal of the second battery module, and the second terminal of the second switch is grounded. The first end of the first inductor is connected to the first end of the first battery module, and the second end of the first inductor is connected to the first end of the first switch. The first end of the third switch is connected to the first end of the fourth switch, the second end of the third switch is connected to the first end of the first battery module, and the second end of the fourth switch is grounded. The first end of the second inductor is connected to the first end of the third switch, and the second end of the second inductor is connected to the first end of the second battery module.
7. The charging and discharging circuit according to any one of claims 1 to 6, characterized in that, The charging and discharging circuit further includes a voltage detection module, which is connected to the first terminal of the first battery module and the first terminal of the second battery module, respectively. The voltage detection module is used to obtain the first voltage and the second voltage.
8. The charging and discharging circuit according to claim 1, characterized in that, When the second voltage exceeds the first voltage, and the voltage difference between the second voltage and the first voltage exceeds the first voltage threshold corresponding to the first battery module, the switch module switches between a first switch state and a second switch state, so that the inductor module is charged in the first switch state and discharged in the second switch state to charge the first battery module.
9. The charging and discharging circuit according to claim 1, characterized in that, The switching module alternately switches between a first switching state and a second switching state. By adjusting the duration of the switching module in the first switching state and the duration of the switching module in the second switching state, the charging current flowing through the first battery module and the charging current flowing through the second battery module are adjusted.
10. A control method for a charging and discharging circuit, applied to the charging and discharging circuit according to any one of claims 1 to 9, characterized in that, The method includes: When the charging and discharging circuit is in a charging state, the first voltage output by the first battery module in the charging and discharging circuit and the second voltage output by the second battery module in the charging and discharging circuit are detected. Based on the voltage difference between the first voltage and the second voltage, the switching state of the switching module in the charging and discharging circuit is controlled to adjust the mutual charging current between the first battery module and the second battery module through the inductor module.
11. An electronic device, characterized in that, Includes the charging and discharging circuit described in any one of claims 1-9.
Citation Information
Patent Citations
Battery power supply circuit, battery power supply method and mobile terminal
CN102916468A
Battery charge and discharge protection circuit
CN103187712A