Embodiments of this application relate to the field of circuit technologies, and in particular, to a power system, a charging method, and a discharging method.
As electronic technologies develop, electronic device technologies have also been improved rapidly. In the conventional technology, to improve an endurance capability of an electronic device, a plurality of batteries are usually disposed in the electronic device to supply power to a load. In a scenario in which a plurality of batteries are disposed in the electronic device, the plurality of batteries are usually charged in a manner of connecting a battery pack in series, or the batteries are charged in a hybrid manner of connecting a battery pack in series and in parallel. In addition, an external adapter cannot directly charge a battery inside the electronic device. A charging circuit is usually disposed inside the electronic device. The charging circuit converts electric energy provided by the external adapter, to output a charging voltage and a charging current that are applicable to the battery, so as to charge the battery. In addition, when supplying power to the load in the electronic device, the load in the electronic device is usually supplied with power by using a battery pack connected in series.
Because charging voltages and charging currents of batteries may be affected differently by features such as battery aging, in a conventional multi-battery charging and discharging scenario, when the batteries connected in series are charged, a maximum charging current output by a charging circuit is limited by a charging current of each battery, and a maximum charging current for the battery may be far less than a maximum charging current for another battery. As a result, a charging speed of each battery is reduced, and in addition, some batteries may be undercharged, resulting in unbalanced charging of the batteries. When batteries are connected in series to supply power to the load, because an operating voltage required by the load is less than an output voltage of the serially connected batteries, a buck circuit is usually required to step down the voltage output by the serially connected batteries to meet an operating condition of the load. Using the buck circuit causes an energy loss, and reduces an endurance capability of the electronic device. Therefore, in a multi-battery charging and discharging scenario, how to charge the batteries in a balanced manner and control the batteries to supply power to the load in a balanced manner, to improve a charging speed of the batteries and an endurance capability of the electronic device becomes a problem that needs to be resolved.
According to a power system, and a charging method and a discharging method for a parallel battery pack provided in this application, batteries can be charged in a balanced manner, and the batteries can be controlled to supply power to a load in a balanced manner, thereby helping improve an endurance capability of an electronic device.
To achieve the foregoing objectives, the following technical solutions are used in this application.
According to a first aspect, an embodiment of this application provides a power system. The power system includes a first switch, a second switch, a first switched capacitor circuit, a second switched capacitor circuit, an inductive voltage conversion circuit, an input end, a first charging end, and a second charging end. An input side of the inductive voltage conversion circuit is coupled to the input end; an output side of the inductive voltage conversion circuit is coupled to the first charging end through the first switch, and is coupled to the second charging end through the second switch; the first switched capacitor circuit is coupled between the input end and the first charging end; and the second switched capacitor circuit is coupled between the input end and the second charging end.
According to the power system provided in this application, the inductive voltage conversion circuit may be used to charge batteries that are coupled to the first charging end and the second charging end respectively, or the first switched capacitor circuit and the second switched capacitor circuit may charge the batteries respectively, so that a battery charging manner can be flexibly adjusted based on a voltage of the first charging end and a voltage of the second charging end, and the batteries are charged in a balanced manner. This helps improve a charging speed of each battery and a service life of each battery.
According to the first aspect, in a possible implementation, the power system further includes a discharging end configured to supply power to a load, and the discharging end is coupled between the inductive voltage conversion circuit and the first switch and between the inductive voltage conversion circuit and the second switch.
Herein, the output side of the inductive voltage conversion circuit is connected to one end of the first switch to form a first node, the output side of the inductive voltage conversion circuit is connected to one end of the second switch to form a second node, the first node and the second node are connected together and have a same potential, and the discharging end is connected to the first node and the second node. In this way, the first switch and the second switch are controlled to be on or off, so that the power system can supply, based on potentials of the first charging end, the second charging end, and the discharging end, power to the load by using a single battery or by using a parallel battery pack together, so that the parallel battery pack can discharge in a balanced manner, thereby improving an endurance capability of the electronic device.
According to the first aspect, in a possible implementation, the power system further includes a first battery and a second battery, and the first charging end and the second charging end are configured to charge the first battery and the second battery respectively.
According to the first aspect, in a possible implementation, the power system further includes a control circuit, and the control circuit is configured to: when the voltage of the first charging end and the voltage of the second charging end are both within a preset voltage range, control the first switch and the second switch to be off.
In this implementation, the first switched capacitor circuit and the second switched capacitor circuit charge the first battery and the second battery respectively, and the inductive voltage conversion circuit stops charging the batteries. In this case, the inductive voltage conversion circuit may provide electric energy to the charging ends to maintain working of the load.
It should be noted that, based on an internal structure of a switched capacitor circuit, a voltage on an input side of the switched capacitor circuit dynamically changes with a voltage on an output side. Because both the first switched capacitor circuit and the second switched capacitor circuit are coupled to the input side of the inductive voltage conversion circuit, when the switched capacitor circuit and the inductive voltage conversion circuit are used at the same time, a voltage on the input side of the inductive voltage conversion circuit also changes. In this case, the selected inductive voltage conversion circuit needs to continuously adjust a wide range of voltages (for example, voltages in a range of 5 V to 12 V) input by the input side, so as to continuously output stable voltages suitable for battery charging.
According to the first aspect, if the first switch and the second switch are turned off, and the inductive voltage conversion circuit supplies power to the load, when a voltage of the discharging end suddenly decreases due to excessively high energy consumption of the load, the control circuit may be further configured to: when at least one of the voltage of the first charging end and the voltage of the second charging end is greater than a preset voltage threshold of the discharging end, control at least one of the first switch and the second switch to be on. For example, when the voltage of the first charging end is greater than the preset voltage threshold of the discharging end, the first switch may be controlled to be on. In this case, the battery may charge the load by using the discharging end, so as to suppress a voltage provided to the load from continuing to drop.
According to the first aspect, in a possible implementation, the power system further includes a control circuit, and the control circuit is configured to: when the voltage of the first charging end and the voltage of the second charging end are both within the preset voltage range, control the inductive voltage conversion circuit to stop supplying electric energy, control the first switched capacitor circuit to supply electric energy to the first charging end, and control the second switched capacitor circuit to supply electric energy to the second charging end. At least one of the first switch and the second switch is turned on.
In this implementation, the first switched capacitor circuit and the second switched capacitor circuit charge the first battery and the second battery respectively, and the inductive voltage conversion circuit stops charging the batteries. In this case, at least one switch is controlled to be on, so that the at least one battery supplies power to the load.
According to the first aspect, in a possible implementation, the control circuit is further configured to: when at least one of the voltage of the first charging end and the voltage of the second charging end is higher than an upper limit of the preset voltage range, control a switched capacitor circuit that is coupled to the charging end whose voltage exceeds the upper limit of the preset voltage range to stop providing electric energy.
According to the first aspect, in a possible implementation, the control circuit is further configured to: when both the voltage of the first charging end and the voltage of the second charging end are outside the preset voltage range, control the first switch and the second switch to be on.
In this case, the inductive voltage conversion circuit provides electric energy to the first charging end and the second charging end, and the first switched capacitor circuit and the second switched capacitor circuit stop providing electric energy.
According to the first aspect, if the first switch is on, the second switch is off, and the first battery supplies power to the load, when the voltage of the discharging end suddenly decreases due to excessively high energy consumption of the load and is lower than the preset voltage threshold of the second charging end, in a possible implementation, the control circuit is further configured to control the second switch to be on.
According to the first aspect, in a possible implementation, the first switch and the second switch are transistors.
According to the first aspect, in a possible implementation, when there is no voltage input to the input end and the first battery supplies power to the load, the control circuit is further configured to: when the voltage of the second charging end is greater than the preset voltage threshold of the discharging end, control the second switch to change from an off state to a linearly on state; and after a preset time, control the first switch to change from an on state to an off state, and control the second switch to change from the linearly on state to a fully on state.
According to a second aspect, an embodiment of this application provides a charging method for a parallel battery pack. The method includes: obtaining a voltage of a first charging end coupled to a first battery in the parallel battery pack and a voltage of a second charging end coupled to a second battery in the parallel battery pack; and when both the voltage of the first charging end and the voltage of the second charging end are within a preset voltage range, controlling an inductive voltage conversion circuit coupled to the first charging end and the second charging end to stop providing electric energy, controlling a first switched capacitor circuit coupled to the first charging end to provide electric energy to the first charging end, controlling a second switched capacitor circuit coupled to the second charging end to provide electric energy to the second charging end, and controlling at least one of a first switch and a second switch to be on, where the first switch is coupled between an output side of the inductive voltage conversion circuit and the first charging end, and the second switch is coupled between the output side of the inductive voltage conversion circuit and the second charging end.
According to the second aspect, in a possible implementation, the method further includes: when at least one of the voltage of the first charging end and the voltage of the second charging end is higher than an upper limit of the preset voltage range, controlling a switched capacitor circuit coupled to the charging end whose voltage exceeds the upper limit of the preset voltage range to stop providing electric energy.
According to the second aspect, in a possible implementation, the method further includes: when both the voltage of the first charging end and the voltage of the second charging end are outside the preset voltage range, controlling both the first switch and the second switch to be on.
According to the second aspect, in a possible implementation, the method further includes: when the first switch is turned on, the second switch is turned off, and the voltage of the second charging end is higher than a voltage of a discharging end used for supplying power to a load, controlling the second switch to be on.
According to the second aspect, in a possible implementation, after controlling the first switch coupled to the first charging end to be on, the method further includes: when at least one of the voltage of the first charging end and the voltage of the second charging end is less than the voltage of the discharging end, controlling a switch coupled to the charging end whose voltage is less than the voltage of the discharging end to be off.
According to a third aspect, an embodiment of this application provides a discharging method for a parallel battery pack. The method includes: in response to no voltage input to a power system, obtaining a voltage of a first charging end coupled to a first battery in the parallel battery pack and a voltage of a second charging end coupled to a second battery in the parallel battery pack; turning on the first switch when the voltage of the first charging end is greater than the voltage of the second charging end; obtaining a voltage of a discharging end that supplies power to a load; and turning on the second switch when the voltage of the discharging end is less than the voltage of the second charging end. The first switch is coupled between the first charging end and the discharging end, and the second switch is coupled between the second charging end and the discharging end.
Based on the third aspect, in a possible implementation, when the voltage of the discharging end is less than the voltage of the second charging end, the method further includes: keeping the first switch on.
Based on the third aspect, in a possible implementation, the first switch and the second switch are transistors.
Based on the third aspect, in a possible implementation, the method further includes: when the first switch is turned on, the second switch is turned off, and the voltage of the second charging end is higher than a preset voltage threshold of the discharging end, controlling the second switch to change from an off state to a linearly on state; and after a preset time, controlling the first switch to change from the on state to an off state, and controlling the second switch to change from the linearly on state to a fully on state.
To describe technical solutions in embodiments of this application more clearly, the following briefly introduces the accompanying drawings for describing embodiments of this application. It is clear that the accompanying drawings in the following descriptions show merely some embodiments of this application, and a person of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts.
The following clearly and completely describes the technical solutions in embodiments of this application with reference to the accompanying drawings in embodiments of this application. It is clear that the described embodiments are some but not all of embodiments of this application. All other embodiments obtained by a person of ordinary skill in the art based on embodiments of this application without creative efforts shall fall within the protection scope of this application.
“First”, “second”, or the like mentioned in this specification does not indicate any order, quantity, or importance, but is used only for distinguishing between different components. Likewise, “a/an”, “one”, or the like is not intended to indicate a quantity limitation either, but is intended to indicate existing at least one. “Connection”, “link” or the like is not limited to a physical or mechanical connection, but may include an electrical connection, whether directly or indirectly. It is equivalent to coupling or communication in a broad sense.
In embodiments of this application, the term “and/or” describes an association relationship between associated objects and indicates that three relationships may exist. For example, A and/or B may indicate the following three cases: Only A exists, both A and B exist, and only B exists.
In embodiments of this application, the word “example” or “for example” is used to represent giving an example, an illustration, or a description. Any embodiment or design scheme described as “example” or “for example” in embodiments of this application should not be explained as being more preferred or having more advantages than another embodiment or design scheme. Exactly, use of the word such as “example” or “for example” is intended to present a relative concept in a specific manner.
In the description of embodiments of this application, unless otherwise stated, “a plurality of” means two or more than two. For example, a plurality of batteries means two or more batteries.
Based on the application scenario shown in
As shown in
In this embodiment of this application, the voltage provided by the power supply system 1 to the power system 2 usually cannot be directly applied to the battery or directly applied to the load, and the voltage input from the outside needs to be converted by a voltage conversion circuit into a voltage that can be used to directly supply power to the load or meet a battery charging requirement, to supply power to the load or charge the battery. In a specific implementation, the voltage conversion circuit may be a circuit that increases or decreases a voltage input at the input end Vin to output the voltage through the output side Vdo. In addition, the inductive voltage conversion circuit SL in this embodiment of this application may include but is not limited to a buck (Buck) circuit, a boost (Boost) circuit, a boost-buck (Boost-Buck) circuit, or the like. Which one of the buck circuit, the boost circuit, or the boost-buck circuit is specifically used is determined based on a capacity of batteries connected to the first charging end Vc1 and the second charging end Vc2 and a power supply voltage required for running the load. The inductive voltage conversion circuit achieves electric energy output through charging and discharging of an inductor. The following briefly describes a structure and a working principle of an inductive voltage conversion circuit by using a buck circuit as an example.
In this embodiment of this application, the power system 2 further includes a first switched capacitor circuit SC1 and a second switched capacitor circuit SC2. The first switched capacitor circuit SC1 is coupled between the input end Vin and the first charging end Vc1, and the second switched capacitor circuit SC2 is coupled between the input end Vin and the second charging end Vc2. A switched capacitor circuit includes a circuit for charging and discharging a capacitor, and can output electric energy by discharging the capacitor or by directly connecting an output and an input.
According to the power system 2 provided in this embodiment of this application, the inductive voltage conversion circuit SL may be used to charge the batteries respectively coupled to the first charging end Vc1 and the second charging end Vc2, or the batteries may be charged by using the first switched capacitor circuit SC1 and the second switched capacitor circuit SC2 respectively. Existing adapters generally all support the inductive voltage conversion circuit SL, but the switched capacitor circuit needs to be adapted by using a dedicated adapter. Therefore, the inductive voltage conversion circuit SL, the first switched capacitor circuit SC1, and the second switched capacitor circuit SC2 are separately disposed, so that the power system 2 in this embodiment of this application is applicable to a plurality of charging scenarios. For example, when an adapter does not support the use of a switched capacitor circuit, the inductive voltage conversion circuit SL may be used for charging; or when an adapter supports the use of a switched capacitor circuit, the inductive voltage conversion circuit SL and the switched capacitor may be used together to implement fast charging of the battery.
Further, when the adapter supports charging by using the switched capacitor circuit, because a current output by the switched capacitor circuit is relatively large, when an anode voltage of the battery is excessively low, charging the battery by using the switched capacitor circuit is likely to cause undercharging of the battery and affect the battery life. In this case, the inductive voltage conversion circuit SL is required to perform trickle charging. When the anode voltage of the battery is excessively high, charging the battery by using the switched capacitor circuit is likely to cause a danger such as battery explosion due to overcharging. In this case, the inductive voltage conversion circuit SL is required to perform charging. Therefore, in this embodiment of this application, the inductive voltage conversion circuit SL, the first switched capacitor circuit SC1, and the second switched capacitor circuit SC2 are disposed, so that a battery charging manner can be flexibly adjusted based on a voltage of the first charging end Vc1 and a voltage of the second charging end Vc2, and each battery is charged in a balanced manner. This helps improve a charging speed of each battery and a service life of each battery.
In addition, in a possible implementation, the power system 2 may further include a first battery B1 and a second battery B2, as shown in
It may be understood that the figure shows an example in which the parallel battery pack includes two batteries. In this embodiment of this application, more batteries may be included. For example, the parallel battery pack may include more batteries such as a third battery and a fourth battery. Accordingly, the power system 2 shown in this embodiment of this application may further include more charging ends such as a third charging end and a fourth charging end. Correspondingly, the power system 2 may further include a third switched capacitor circuit coupled between the input end and the third charging end, a fourth switched capacitor circuit coupled between the input end and the fourth charging end, and the like. The inductive voltage conversion circuit SL is coupled to the third charging end and the fourth charging end by using the third switch and the fourth switch respectively. Details are not described in this embodiment of this application.
Further, as shown in
Step 401: A control circuit obtains a voltage of a first charging end Vc1 and a voltage of a second charging end Vc2.
Step 402: The control circuit determines whether either of the voltage of the first charging end Vc1 and the voltage of the second charging end Vc2 is lower than a lower limit of a preset voltage range.
The preset voltage range is determined based on a battery performance parameter, and the battery performance parameter includes but is not limited to a battery capacity, a charging current that can be borne by the battery, and a charging voltage. When either of the voltage of the first charging end Vc1 and the voltage of the second charging end Vc2 is lower than the lower limit of the preset voltage range, it indicates that the voltage of the battery is excessively low, and charging the battery by using a switched capacitor circuit may easily cause excessively large current impact on the battery, thereby reducing a service life of the battery. In this case, the inductive voltage conversion circuit SL is used to charge each battery, that is, step 403 is performed. When the voltage of the first charging end Vc1 and the voltage of the second charging end Vc1 are both higher than the lower limit of the preset voltage range, step 404 is performed.
Step 403: The control circuit controls the inductive voltage conversion circuit SL to charge a first battery B1 and a second battery B2.
The control circuit controls the inductive voltage conversion circuit SL to be enabled, controls the first switch K1 and the second switch K2 to be on, and controls the first switched capacitor circuit SC1 and the second switched capacitor circuit SC2 to be disabled. Currents output by an output side Vdo of the inductive voltage conversion circuit SL flow into the first battery B1 and the second battery B2 through the first charging end Vc1 and the second charging end Vc2 respectively, so as to charge the first battery B1 and the second battery B2.
Step 404: The control circuit determines whether the voltage of the first charging end Vc1 and the voltage of the second charging end Vc2 are both higher than the upper limit of the preset voltage range.
When the voltage of the first charging end Vc1 and the voltage of the second charging end Vc2 are both higher than the upper limit of the preset voltage range, it indicates that the battery is about to be fully charged, and charging the battery by using a switched capacitor circuit is likely to cause excessive current impact on the battery. In this case, the inductive voltage conversion circuit SL is used to charge each battery, that is, step 403 is performed; and when at least one of the voltage of the first charging end Vc1 and the voltage of the second charging end Vc2 is lower than the upper limit of the preset voltage range, step 405 is performed.
Step 405: The control circuit controls the inductive voltage conversion circuit SL to be disabled, and controls at least one of the first switched capacitor circuit SC1 and the second switched capacitor circuit SC2 to be enabled.
In specific implementation, the control circuit may further determine whether one of the voltage of the first charging end Vc1 and the voltage of the second charging end Vc2 is higher than the upper limit of the preset voltage range.
When both the voltage of the first charging end Vc1 and the voltage of the second charging end Vc2 are lower than the upper limit of the preset voltage range, the control circuit controls the inductive voltage conversion circuit SL to be disabled, and controls the first switched capacitor circuit SC1 and the second switched capacitor circuit SC2 to be enabled. In this case, a current output from an output side of the first switched capacitor circuit SC1 flows into the first battery B1 through the first charging end Vc1, to charge the first battery B1, and a current output from an output side of the second switched capacitor circuit SC2 flows into the second battery B2 through the second charging end Vc2, to charge the second battery B2.
When a voltage of one of the charging ends is higher than the upper limit of the preset voltage range, it indicates that a battery corresponding to the charging end is to be fully charged. In this case, charging the battery by using a switched capacitor circuit is likely to cause excessive current impact on the battery. In this case, the control circuit may control a switched capacitor circuit coupled to the charging end whose voltage is higher than the preset voltage range to be disabled. The first battery B1 is used as an example. When detecting that the voltage of the first charging end Vc1 is higher than the upper limit of the preset voltage range, the control circuit controls the first switched capacitor circuit SC1 to be disabled. It should be noted that, in this case, no circuit charges the first battery B1, and the first battery B1 may wait until the voltage of the second charging end Vc2 is higher than the upper limit of the preset voltage range, and the inductive voltage conversion circuit SL charges the batteries at the same time, that is, step 403 is performed.
It should be noted that in this embodiment of this application, because an input side of the switched capacitor circuit and an input side of the inductive voltage conversion circuit SL are both coupled to the input end Vin, when one battery is charged by using the switched capacitor circuit and the other battery is charged by using the inductive voltage conversion circuit SL (for example, the first battery B1 is charged by using the inductive voltage conversion circuit SL, and the second battery B2 is charged by using the second switched capacitor circuit SC2) at the same time, based on the structure of the switched capacitor circuit shown in
In conclusion, in the embodiment shown in
Further, when the inductive voltage conversion circuit SL can continuously adjust a wide range of voltages that are input from the input side, the batteries may be separately and independently charged, that is, the two batteries do not need to be bound together for charging. For example, when the voltage of the first charging end Vc1 is less than the lower limit of the preset voltage range and the voltage of the second charging end Vc2 is higher than the upper limit of the preset voltage range, the first switch K1 may be controlled to be on, the second switch K2 may be controlled to be off, the first battery B1 is charged by using the inductive voltage conversion circuit SL, and the second battery B2 is charged by using the second switched capacitor circuit SC2. In addition, when the voltage of the first charging end Vc1 falls between the lower limit of the preset voltage range and the upper limit of the preset voltage range, and the voltage of the second charging end Vc2 is higher than the upper limit of the preset voltage range, the first switch K1 may be controlled to be off, the second switch K2 may be controlled to be on, the first battery B1 is charged by using the first switched capacitor circuit SC1, and the second battery B2 is charged by using the inductive voltage conversion circuit SL.
In a possible implementation of this embodiment of this application, the first switch K1 and the second switch K2 may be transistors. Based on a voltage difference between a source and a drain, a current may flow from the source to the drain, or from the drain to the source. The transistor may be turned on or off based on control of a gate voltage. In addition, a working status of the transistor when the transistor is on may be further classified into a linear state and a fully on state. When a voltage applied to the gate of the transistor is less than a start voltage threshold, the transistor is turned off or cut off. When the voltage applied to the gate of the transistor is greater than the start voltage threshold, the current between the drain and the source of the transistor changes with a voltage between the drain and the source. In this case, the transistor is in a linear state, which may also be referred to as a variable resistance state. When the current between the drain and the source of the transistor no longer changes with the voltage between the drain and the source, the transistor works in a fully on state, which may also be referred to as a saturated state or a constant current state. In addition, by adjusting the gate voltage of the transistor, a magnitude of the current between the drain and the source when the transistor enters the saturated state may be adjusted. When the first switch K1 and the second switch K2 are both transistors, a structure of the power system 2 is shown in
According to the battery charging method shown in
It should be noted that, in another application scenario, the first switched capacitor circuit SC1 and the second switched capacitor circuit SC2 may not be used, and only the inductive voltage conversion circuit SL is used to charge the first battery K1 and the second battery K2 until battery charging is completed.
Continue to refer to
In this embodiment of this application, when the power system 2 charges the battery, to avoid a case in which the load cannot work due to insufficient power, when the inductive voltage conversion circuit SL charges the battery, the inductive voltage conversion circuit SL may further supply power to the load by using the discharging end Vsys; or when a switched capacitor circuit charges the battery, because the inductive voltage conversion circuit SL is not enabled in this case, one of the batteries may be used to supply power to the load. The following provides detailed descriptions.
When the inductive voltage conversion circuit SL charges the batteries, a part of currents output by the output side Vdo of the inductive voltage conversion circuit SL is provided to the first charging end Vc1 to charge the first battery B1, a part is provided to the second charging end Vc2 to charge the second battery B2, and a remaining part is provided to the discharging end Vsys to supply power to the load. Usually, when the inductive voltage conversion circuit SL charges the batteries, a voltage of the discharging end Vsys (that is, a voltage of the node a1, a voltage of the node a2, or a voltage of the output side Vdo of the inductive voltage conversion circuit SL) is higher than a voltage of the first charging end Vc1 and is also higher than a voltage of the second charging end Vc2, and currents flow from the node a and the node b to the first charging end Vc1 and the second charging end Vc2 respectively. When the voltage of the discharging end Vsys suddenly becomes lower due to excessive power consumption of the load and is lower than a voltage of a charging end, based on a voltage difference between the charging end and the discharging end Vsys, a battery coupled to the charging end is enabled to supplement electric energy to the load by using the discharging end Vsys. Because the battery and the inductive voltage conversion circuit SL supply power to the load at the same time, the voltage at the discharging end Vsys rises. When the voltage of the discharging end Vsys rises back to a value higher than the voltage of the charging end, the inductive voltage conversion circuit SL continues to charge the battery, and supplies power to the load by using the discharging end Vsys. It should be noted that, because charging of the first battery B1 and charging of the second battery B2 are independent of each other, and because of an aging speed of each battery and the like, potentials of the first charging end Vc1 and the second charging end Vc2 are usually unequal. The first battery B1 and the second battery B2 may reversely charge the load at the same time, or one of the batteries may reversely charge the load, which is determined by voltages of the charging ends.
When a switched capacitor circuit charges the battery, the two batteries may supply power to the load alternately. For a method for supplying power to the load by a battery by using the discharging end Vsys, refer to a procedure 600 shown in
Step 601: The control circuit obtains a voltage of the first charging end Vc1 and a voltage of the second charging end Vc2.
Step 602: The control circuit compares the voltage of the first charging end Vc1 with the voltage of the second charging end Vc2, and determines a larger value of the voltage of the first charging end Vc1 and the voltage of the second charging end Vc2.
Step 603: Use a battery corresponding to a charging end with the larger value to supply power to the load.
In this embodiment, it is assumed that the control circuit detects that the voltage of the first charging end Vc1 is higher than the voltage of the second charging end Vc2. In this case, the first switch K1 is controlled to be on, the second switch K2 is controlled to be off, and the first battery B1 supplies power to the load by using a discharging end Vsys.
The control circuit may further continue to collect voltages of the first charging end Vc1 and the second charging end Vc2, compare the voltages of the first charging end Vc1 and the second charging end Vc2, and when it is detected that the voltage of the second charging end Vc2 is higher than the voltage of the first charging end Vc1, control the second switch K2 to be on, and control the first switch K1 to be off, and the second battery B2 supplies power to the load by using the discharging end Vsys.
According to the method shown in
The foregoing describes a method for charging the first battery B1 and the second battery B2 when the input end Vin of the power system has electric energy input, and a method for supplying power to the load when the battery is being charged. The following describes a power supply method in which the first battery B1 and the second battery B2 supply power to the load when no electric energy is input to the input end Vin of the power system. When no electric energy is input to the input end Vin of the power system, the inductive voltage conversion circuit SL, the first switched capacitor circuit SC1, and the second switched capacitor circuit SC2 are all disabled.
Continue to refer to
Step 701: The control circuit obtains a voltage of the first charging end Vc1 and a voltage of the second charging end Vc2.
Step 702: Determine whether at least one of the first switch K1 and the second switch K2 is turned on.
When neither of the first switch K1 and the second switch K2 is turned on, the power supply system coupled to the input end of the power system may be just withdrawn. In this case, step 703 and step 704 are performed, so that one of the batteries supplies power to the load, and the load works normally. When at least one of the first switch K1 and the second switch K2 is turned on, step 705 may be further performed.
Step 703: Compare the voltage of the first charging end Vc1 with the voltage of the second charging end Vc2, and determine a larger value of the voltage of the first charging end Vc1 and the voltage of the second charging end Vc2.
Step 704: Use a battery corresponding to a charging end with the larger value to supply power to the load.
Based on step 703 and step 704, an example in which the voltage of the first charging end Vc1 is higher than the voltage of the second charging end Vc2 is used for description. When the voltage of the first charging end Vc1 is higher than the voltage of the second charging end Vc2, the first switch K1 coupled to the first charging end Vc1 is controlled to be on, so that the first battery B1 supplies power to the load by using the discharging end Vsys.
Step 705: Determine whether the first switch K1 and the second switch K2 are both turned on.
When both the first switch K1 and the second switch K2 are turned on, it indicates that in this case, the first battery B1 and the second battery B2 simultaneously supply power to the load by using the discharging end Vsys. In this case, a current on-off state of each switch may remain unchanged, that is, step 706 is performed. When one of the first switch K1 and the second switch K2 of the is turned on, step 707 is further performed.
Step 706: Keep the current on-off state of each switch unchanged.
Step 707: Determine whether a voltage of a charging end corresponding to a switch that is not turned on is less than a voltage of the discharging end Vsys.
When the voltage of the charging end corresponding to the switch that is not turned on is lower than the voltage of the discharging end Vsys, it indicates that the other battery still has sufficient electric energy at this time. In this case, the current on-off state of each switch may be kept unchanged, that is, step 706 is performed. When the voltage of the charging end corresponding to the switch that is not turned on is higher than or equal to the voltage of the discharging end Vsys, step 708 may be performed.
Step 708: Control the switch that is not turned on to be on.
In this case, the first battery B1 and the second battery B2 jointly supply power to the load by using the discharging end Vsys.
Based on step 707 and step 708, an example in which the first switch K1 is turned on and the second switch K2 is turned off is used for description. When the first switch K1 is turned on, the first battery B1 supplies power to the load by using the discharging end Vsys. The voltage of the discharging end Vsys is equal to the voltage of the first charging end Vc1 minus a turn-on voltage drop of the first switch K1. Generally, the turn-on voltage drop of the first switch K1 is very small and approximately ignored, and the voltage of the discharging end Vsys is approximately equal to the voltage of the first charging end Vc1. As discharge duration of the first battery B1 increases, an anode voltage of the first battery B1 gradually drops, that is, the voltage of the first charging end Vc1 gradually drops. When detecting that the voltage of the first charging end Vc1 is less than or equal to the voltage of the second charging end Vc2, the control circuit controls the second switch K2 to be on. In this case, the first battery B1 and the second battery B2 jointly supply power to the load by using the discharging end Vsys.
In a possible implementation, when there is no electric energy input to the input end yin of the power system, a mode in which the parallel battery pack supplies power to the load further includes an ECO (Ecology ecology, Conservation conservation, Optimization optimization) mode, that is, a mode in which the batteries in the battery pack supply power to the load alternately. When the power system 2 is set to the ECO mode, a structure of the power system 2 may be shown in
Step 801: The control circuit obtains a voltage of the first charging end Vc1 and a voltage of the second charging end Vc2.
Step 802: The control circuit determines whether one of the first switch K1 and the second switch K2 is currently turned on.
In this implementation, when the control circuit determines that both the first switch K1 and the second switch K2 are turned on, one of the switches may be turned off randomly, that is, step 803 is performed. When the control circuit determines that one of the first switch K1 and the second switch K2 is turned on, step 804 is further performed.
Step 803: The control circuit randomly turns off one of the switches.
Step 804: The control circuit determines whether a voltage of a charging end corresponding to the switch that is not turned on is greater than or equal to a preset voltage threshold of the discharging end Vsys.
When it is determined that the voltage of the charging end corresponding to the switch that is not turned on is not greater than or equal to the preset voltage threshold of the discharging end Vsys, step 805 is performed; or when it is determined that the voltage of the charging end corresponding to the switch that is not turned on is greater than or equal to the preset voltage threshold of the discharging end Vsys, step 806 is performed.
Step 805: Keep a current on-off state of each switch unchanged.
Step 806: Control a switch that is not turned on to be on and gradually increase a voltage of a control end of the switch.
Herein, the control end of the switch is a gate of a transistor. By adjusting the gate of the transistor, a working status of the transistor may gradually change from a linear state to a fully on state.
Step 807: After a preset time, control the rest of transistors to turn off.
After a preset time, the transistor that is turned on in step 806 works in a fully on state. In this case, the rest of transistors may be controlled to be off. In this way, battery discharge conversion is implemented.
The following uses the power system shown in
The power system 2 may detect current on-off states of the first transistor K1 and the second transistor K2. When it is detected that both the first transistor K1 and the second transistor K2 are on, one of the transistors is turned off randomly. When detecting that one of the transistors is turned off, the control circuit keeps a current on-off state of each transistor unchanged. It is assumed that the second transistor K2 is currently turned off, and the first battery supplies power to the load by using the discharging end Vsys. The control circuit obtains the voltage of the second charging end Vc2 and the voltage of the discharging end Vsys. The control circuit determines whether the voltage of the second charging end Vc2 is greater than or equal to the preset voltage threshold of the power supply end Vsys. If the voltage of the second charging end Vc2 is not greater than or equal to the preset voltage threshold of the power supply end Vsys, the current on-off state of each transistor keeps unchanged. If the voltage of the second charging end Vc2 is greater than or equal to the preset voltage threshold of the power supply end Vsys, the control circuit controls the second transistor K2 to be on, and adjusts a gate voltage of the second transistor K2, so that the second transistor K2 works in a linear working area. After a preset time, the control circuit controls the second transistor K2 to work in a fully on state, and controls the first transistor K1 to be off. In this case, the second battery B2 supplies power to the load by using the discharging end Vsys.
The gate voltage of the second transistor K2 is controlled, so that the second transistor works in a linear working area. This can avoid that in a process of switching on/off states of the first switch and the second switch, a voltage or a current output by the discharging end Vsys to the load is unstable due to an unstable voltage or current, thereby ensuring stability of working of the load.
Embodiments of this application further provide an electronic device. The electronic device may be a portable computer (such as a mobile phone), a notebook computer, a wearable electronic device (such as a smartwatch), a tablet computer, an augmented reality (augmented reality, AR) device, a virtual reality (virtual reality, VR) device, a vehicle-mounted device, or the like. Specifically, the electronic device shown in this application includes the power system shown in the embodiment in
Finally, it should be noted that the foregoing embodiments are merely intended for describing the technical solutions of this application other than limiting this application. Although this application is described in detail with reference to the foregoing embodiments, persons of ordinary skill in the art should understand that they may still make modifications to the technical solutions described in the foregoing embodiments or make equivalent replacements to some or all technical features thereof, without departing from the scope of the technical solutions of embodiments of this application.
This application is a continuation of International Application No. PCT/CN2020/127003, filed on Nov. 6, 2020, the disclosure of which is hereby incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2020/127003 | Nov 2020 | US |
Child | 18311978 | US |