Power supply circuit and method, chip and electronic equipment

By designing a power supply circuit to adjust the battery voltage and impedance in electronic devices, the problem of inconsistent discharge of different batteries is solved, extending the battery life of the device and avoiding waste of power.

CN119561216APending Publication Date: 2025-03-04HONOR DEVICE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311072550.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-23
Publication Date
2025-03-04

AI Technical Summary

Technical Problem

In electronic devices, due to the different impedances and distances of different batteries, the discharge current and speed are inconsistent, resulting in waste of electricity and reduced battery life.

Method used

A power supply circuit is designed, including a first regulating part and a second regulating part, and through a control signal, the voltage and impedance between the batteries are adjusted to ensure a balance between the battery discharge current and the speed.

Benefits of technology

It effectively reduces the battery difference between batteries, extends the battery life of electronic devices, and avoids waste of power.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119561216A_ABST
    Figure CN119561216A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of power supply, and discloses a power supply circuit and method, a chip and electronic equipment. The power supply circuit comprises a first adjusting part and a second adjusting part, the first adjusting part is connected with the second adjusting part, and the second adjusting part is connected with the positive electrode of the first battery and the positive electrode of the second battery. When the voltage difference between the positive electrode of the first battery and the positive electrode of the second battery is larger than a voltage threshold value, the first adjusting part adjusts the voltage of the connection point of the first adjusting part and the second adjusting part from the first voltage to the second voltage based on the received first control signal. Therefore, the impedance between the two ends, connected with the positive electrode of the first battery and the positive electrode of the second battery, in the second adjusting part is changed from the first impedance to the second impedance, so that the voltage difference between the positive electrode of the first battery and the positive electrode of the second battery is smaller than a voltage threshold value. Therefore, the difference between the voltage of the first battery and the voltage of the second battery can be reduced, and electric quantity waste is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of power supply technology, and in particular to a power supply circuit, method, chip and electronic device. Background Art

[0002] In order to increase the total capacity of batteries in an electronic device or to facilitate the layout of circuits in the electronic device, a plurality of batteries are usually provided in the electronic device, and the plurality of batteries are connected in parallel to supply power to the electronic device.

[0003] However, in general, different batteries have different impedances, and different batteries are at different distances from the power modules of electronic devices, resulting in different discharge currents and discharge speeds during the discharge process. In this way, when one part of the battery in the electronic device has been exhausted or has reached the threshold for stopping discharge, another part of the battery still has power remaining. Since electronic devices usually shut down when a battery is exhausted or reaches the threshold for stopping discharge, other batteries can no longer power the electronic device, resulting in a waste of power and reducing the battery life of the electronic device. Summary of the invention

[0004] Based on the above problems, the present application provides a power supply circuit, method, chip and electronic device, which can reduce the difference in power (for example, reflected in voltage) of batteries included in the electronic device and extend the battery life of the electronic device.

[0005] In a first aspect, the present application provides a power supply circuit, which includes a first regulating unit and a second regulating unit, the first regulating unit and the second regulating unit are connected, and the second regulating unit is used to connect the positive electrode of a first battery and the positive electrode of a second battery; wherein the first regulating unit is used to receive a first control signal when a first regulating condition is satisfied, wherein the first control signal is used to adjust the voltage at the connection point between the first regulating unit and the second regulating unit from a first voltage to a second voltage, and the first regulating condition includes that the voltage difference between the third voltage of the positive electrode of the first battery and the fourth voltage of the positive electrode of the second battery is greater than a voltage threshold; the second regulating unit is configured such that when the voltage at the connection point is adjusted from the first voltage to the second voltage, the impedance between the two ends connecting the positive electrode of the first battery and the positive electrode of the second battery changes from the first impedance to the second impedance.

[0006] Since the second regulating unit is connected to the positive electrode of the first battery (i.e., battery 1 hereinafter) and the positive electrode of the second battery (i.e., battery 2 hereinafter), when the impedance between the two ends of the second regulating unit connecting the positive electrode of the first battery and the positive electrode of the second battery changes from the first impedance to the second impedance, the output impedance of the second battery (when the load (i.e., the power module) is connected to the positive electrode of the first battery) or the output impedance of the first battery (when the load is connected to the positive electrode of the second battery) will change. Thus, the discharge current and discharge speed of the first battery and the second battery are adjusted. In this way, the power supply circuit can adjust the voltage of the connection point (e.g., point A hereinafter) of the first regulating unit and the second regulating unit according to the first control signal, so as to adjust the impedance between the two ends of the second regulating unit connecting the positive electrode of the first battery and the positive electrode of the second battery, and then adjust the discharge current of the first battery so that the difference between the voltages of the first battery and the second battery is less than the voltage threshold, thereby avoiding the waste of electricity and extending the battery life of the electronic device.

[0007] For example, assuming that the load is connected to the positive electrode of the second battery (e.g., battery 2 below), when the voltage difference between the third voltage of the positive electrode of the first battery and the fourth voltage of the positive electrode of the second battery is greater than the voltage threshold, and the third voltage is greater than the fourth voltage, it is necessary to reduce the discharge speed of the first battery and increase the discharge speed of the second battery so that the voltage difference between the third voltage and the fourth voltage is less than the voltage threshold. Specifically, the voltage of the connection point of the first regulating unit and the second regulating unit (e.g., point A below) can be adjusted according to the first control signal, so that the impedance between the two ends of the second regulating unit connecting the positive electrode of the first battery and the positive electrode of the second battery increases. Because the load is connected to the positive electrode of the second battery, the second regulating unit is located on one side of the first battery, that is, the output impedance corresponding to the first battery increases, so that the discharge current of the first battery is reduced, and the discharge speed is also reduced, so that the voltage difference between the third voltage and the fourth voltage can be reduced to less than the voltage threshold.

[0008] In a possible implementation of the first aspect, the first control signal includes a pulse width modulation signal, and a change from the first voltage to the second voltage is positively correlated or negatively correlated with a change in a duty cycle of the first control signal.

[0009] Based on this, the voltage of the connection point can be adjusted by inputting the first control signal with different duty ratios into the first adjustment unit, thereby adjusting the impedance between the two ends of the second adjustment unit connecting the positive electrode of the first battery and the positive electrode of the second battery.

[0010] In a possible implementation of the first aspect, the first adjustment condition further includes that a first current of the first battery is less than or equal to a maximum discharge current of the first battery, and a second current of the second battery is less than or equal to a maximum discharge current of the second battery.

[0011] That is to say, if the first current and the second current of the first battery are both less than their respective corresponding maximum discharge currents, and the voltage difference between the third voltage of the positive electrode of the first battery and the fourth voltage of the positive electrode of the second battery is greater than the voltage threshold, this situation satisfies the first adjustment condition, and the voltage difference between the third voltage and the fourth voltage can be adjusted based on the above-mentioned power supply circuit and the first control signal, so that the voltage difference is less than the voltage threshold. In this way, it is possible to avoid increasing the current of a battery (the first battery or the second battery) when the current of the battery is greater than the corresponding maximum discharge current, thereby avoiding damage to the battery or circuit.

[0012] In a possible implementation of the first aspect, the first regulating unit is further used to receive a second control signal when the first current of the first battery is greater than the maximum discharge current of the first battery, and / or the second current of the second battery is greater than the maximum discharge current of the second battery, wherein the second control signal is used to adjust the voltage of the connection point from the fifth voltage to the sixth voltage; the second regulating unit is configured to change the impedance between the two ends connecting the positive electrode of the first battery and the positive electrode of the second battery from the third impedance to the fourth impedance when the voltage of the connection point is adjusted from the fifth voltage to the sixth voltage; and when the impedance between the two ends connecting the positive electrode of the first battery and the positive electrode of the second battery of the second regulating unit changes from the third impedance to the fourth impedance, the first current of the first battery is less than or equal to the maximum discharge current of the first battery, and the second current of the second battery is less than or equal to the maximum discharge current of the second battery.

[0013] That is, if at least one of the first current and the second current is greater than the corresponding maximum discharge current, the current needs to be reduced to less than the corresponding maximum discharge current to avoid performance degradation caused by long-term discharge of the battery at an excessively large current.

[0014] For example, assuming that the load is connected to the positive electrode of the second battery (such as battery 2 below), when the first current of the first battery is greater than the maximum discharge current of the first battery, the second control signal can be input to the first regulating module so that the impedance between the two ends of the second regulating unit connecting the positive electrode of the first battery and the positive electrode of the second battery is increased from the third impedance to the fourth impedance, thereby reducing the discharge current of the first battery. The processing method when the second current of the second battery is greater than the maximum discharge current of the second battery is similar and will not be repeated here.

[0015] In a possible implementation of the first aspect, the circuit further includes a target port, which is used to receive the discharge current of the positive electrode of the first battery and the positive electrode of the second battery or the charging current input by the power module to the positive electrode of the first battery and the positive electrode of the second battery; the second regulating unit includes a fourth terminal, a fifth terminal and a sixth terminal; wherein the fifth terminal is connected to the positive electrode of the first battery, the sixth terminal is connected to the target port and the positive electrode of the second battery, and the sum of the impedance between the positive electrode of the first battery and the fifth terminal and the impedance between the sixth terminal and the target port is less than the impedance between the positive electrode of the second battery and the target port.

[0016] That is, the target port is a port for connecting the second regulating unit and the positive electrode of the second battery. It can be understood that the target port can be located on the power module. In the power supply circuit provided by the present application, since the sum of the impedance between the positive electrode of the first battery and the fifth terminal and the impedance between the sixth terminal and the target port is less than the impedance between the positive electrode of the second battery and the target port, the discharge current of the first battery can be reduced by increasing the impedance between the fifth terminal and the sixth terminal, and correspondingly, the discharge current of the first battery can be increased by reducing the impedance between the fifth terminal and the sixth terminal.

[0017] In a possible implementation of the first aspect, the first regulating unit includes a first end, a second end and a third end; the first end is grounded, and the second end is used to receive a first control signal; the third end is connected to the fourth end, and the third end is used to output a voltage to the fourth end; the second regulating unit includes a plurality of field effect transistors connected in series, the gate of each field effect transistor is connected to the fourth end, the seventh end of the first field effect transistor among the plurality of field effect transistors is connected to the fifth end, and the eighth end of the second field effect transistor among the plurality of field effect transistors is connected to the sixth end, wherein the seventh end is one end of the source and drain of the first field effect transistor that is not connected to other field effect transistors, and the eighth end is one end of the source and drain of the second field effect transistor that is not connected to other field effect transistors; the negative electrode of the first battery and the negative electrode of the second battery are grounded.

[0018] In some implementations, since the on-resistance of different types of field effect tubes has different changing trends with the gate voltage, the types of multiple field effect tubes included in the second adjustment unit can be the same. In this way, when the voltage at the connection point of the first adjustment unit and the second adjustment unit changes, the gate voltage of the multiple field effect tubes changes accordingly. Based on the properties of the field effect tube, the change in the gate voltage can cause the on-resistance of the field effect tube to change, thereby changing the change in the impedance between the two ends of the second adjustment unit connecting the positive electrode of the first battery and the positive electrode of the second battery.

[0019] Optionally, at least two of the plurality of field effect transistors may be placed in reverse order to completely shut off the current.

[0020] In a possible implementation of the first aspect, the above-mentioned second adjustment unit also includes a first resistor, and the first adjustment unit also includes a second resistor, a third resistor, a first capacitor, a second capacitor and a third field effect transistor; wherein, one end of the first resistor is connected to the fourth end, and the other end of the first resistor is connected to the source or drain of any one of the multiple field effect transistors; one end of the second resistor is connected to the second end, and the other end of the second resistor is connected to one end of the first capacitor, one end of the third resistor and the gate of the third field effect transistor; the source of the third field effect transistor is connected to one end and the third end of the second capacitor, and the drain of the third field effect transistor is connected to the first end, or the drain of the third field effect transistor is connected to one end and the third end of the second capacitor, and the source of the third field effect transistor is connected to the first end; the other end of the first capacitor, the other end of the third resistor, and the other end of the second capacitor are connected to the first end.

[0021] Based on the internal structures of the first regulating unit and the second regulating unit described above, the change of the voltage at the connection point between the first regulating unit and the second regulating unit is positively correlated or negatively correlated with the change of the duty cycle of the first control signal, that is, the type of the third field effect tube included in the first regulating unit can be either a PMOS tube or an NMOS tube. For example, if the change of the voltage at the connection point is negatively correlated with the change of the duty cycle of the first control signal, the third field effect tube is an NMOS tube, that is, the duty cycle of the first control signal increases, the input voltage of the gate of the third field effect tube increases, the impedance of the third field effect tube decreases, and the voltage division decreases, so that the voltage at the connection point decreases.

[0022] In addition, the types of the multiple field effect tubes connected in series included in the second regulating unit can be either PMOS tubes or NMOS tubes, as long as the types of the multiple field effect tubes are consistent. This application does not limit the series connection of multiple field effect tubes. For example, any two adjacent field effect tubes can be connected by source and source, or by drain and drain, or by source and drain, etc.

[0023] In a possible implementation of the first aspect, the third field effect transistor is an N-channel enhancement type field effect transistor, the multiple field effect transistors included in the second adjustment unit are P-channel enhancement type field effect transistors, and the gate of the third field effect transistor is connected to the other end of the second resistor, one end of the first capacitor, and one end of the third resistor, the drain of the third field effect transistor is connected to one end and the third end of the second capacitor, and the source of the third field effect transistor is connected to the first end; and, when the first adjustment condition is met and the third voltage is greater than the fourth voltage, the duty cycle of the first control signal is increased from the first duty cycle to the second duty cycle, the first voltage is greater than the second voltage, and the first impedance is greater than the second impedance; when the first adjustment condition is met and the fourth voltage is greater than the third voltage, the duty cycle of the first control signal is reduced from the first duty cycle to the third duty cycle, the first voltage is less than the second voltage, and the first impedance is less than the second impedance.

[0024] When the first adjustment condition is met and the third voltage is greater than the fourth voltage, that is, the voltage of the first battery is greater than the voltage of the second battery, the duty cycle of the first control signal can be increased from the first duty cycle to the second duty cycle, and the voltage of the first control signal acting on the gate of the third field effect tube is increased, thereby reducing the on-resistance of the third field effect tube. Since the resistance value of the third resistor remains unchanged, when the on-resistance of the third field effect tube is reduced, the divided voltage of the drain of the third field effect tube is reduced, the gate voltage of the plurality of field effect tubes in the second adjustment unit is reduced, the on-resistance is reduced, the discharge current of the first battery is increased, and the discharge speed is increased, so that the voltage difference between the third voltage and the fourth voltage can be reduced to less than the voltage threshold.

[0025] When the first adjustment condition is met and the fourth voltage is greater than the third voltage, that is, the voltage of the first battery is less than the voltage of the second battery, the duty cycle of the first control signal can be reduced from the first duty cycle to the third duty cycle, and the voltage of the first control signal acting on the gate of the third field effect tube is reduced, thereby increasing the on-resistance of the third field effect tube. Since the resistance value of the third resistor remains unchanged, when the on-resistance of the third field effect tube increases, the divided voltage of the drain of the third field effect tube increases, the gate voltage of the plurality of field effect tubes in the second adjustment unit increases, the on-resistance increases, the discharge current of the first battery decreases, and the discharge speed slows down, so that the voltage difference between the third voltage and the fourth voltage can be reduced to less than the voltage threshold.

[0026] Among them, the first duty cycle can be the duty cycle when the difference between the third voltage and the fourth voltage is less than the voltage threshold. When the difference between the third voltage and the fourth voltage is greater than the voltage threshold, the first duty cycle can be changed to the second duty cycle or the third duty cycle to adjust the voltage difference to less than the voltage threshold. In addition, the first duty cycle can also be the current duty cycle when the voltage difference is adjusted when the voltage difference is greater than the voltage threshold. It can be understood that when adjusting the voltage difference to less than the voltage threshold, it may be necessary to adjust the duty cycle of the first control signal multiple times to make the voltage difference less than the voltage threshold. Therefore, if the voltage difference is not less than the voltage threshold after adjusting the voltage difference based on the first duty cycle, the first duty cycle can be further adjusted to the second duty cycle or the third duty cycle, and this step is repeated until the voltage difference between the third voltage and the fourth voltage is less than the voltage threshold.

[0027] In a possible implementation of the first aspect, the first regulating unit receives a first control signal from a control module, and the control module is located outside the power supply circuit.

[0028] In a second aspect, the present application provides a power supply method, which is applied to an electronic device, and the electronic device includes a control module, a first battery, a second battery, a first adjustment unit and a second adjustment unit, wherein the first adjustment unit is connected to the control module and the second adjustment unit, and the second adjustment unit is connected to the positive electrode of the first battery and the positive electrode of the second battery; and the method includes: the control module outputs a first control signal to the first adjustment unit when a first adjustment condition is satisfied, wherein the first adjustment condition includes that the voltage difference between the third voltage of the positive electrode of the first battery and the fourth voltage of the positive electrode of the second battery is greater than a voltage threshold; the first adjustment unit adjusts the voltage of the connection point of the first adjustment unit and the second adjustment unit from the first voltage to the second voltage based on the first control signal; and when the voltage of the connection point is adjusted from the first voltage to the second voltage, the impedance between the two ends of the second adjustment unit connecting the positive electrode of the first battery and the positive electrode of the second battery is adjusted from the first impedance to the second impedance.

[0029] In the present application, the electronic device can be either a single-screen device or a foldable device. Taking the electronic device as a foldable device as an example, in this case, the first battery and the second battery are respectively arranged on both sides of the folding axis of the electronic device.

[0030] In a possible implementation of the first aspect above, when the impedance between the two ends of the second adjustment unit connecting the positive electrode of the first battery and the positive electrode of the second battery changes from the first impedance to the second impedance, the voltage difference between the third voltage of the positive electrode of the first battery and the fourth voltage of the positive electrode of the second battery is less than the voltage threshold.

[0031] The power supply method provided in the present application adjusts the voltage of the connection point between the first adjustment unit and the second adjustment unit according to the first control signal, thereby adjusting the impedance between the two ends of the second adjustment unit connected to the positive electrode of the first battery and the positive electrode of the second battery, and then adjusting the current of the first battery, reducing the voltage difference between the first battery and the second battery included in the electronic device to a voltage difference less than a voltage threshold, thereby avoiding waste of electricity and extending the battery life of the electronic device.

[0032] In a possible implementation of the second aspect, the first control signal includes a pulse width modulation signal, and a change from the first voltage to the second voltage is positively correlated or negatively correlated with a change in a duty cycle of the first control signal.

[0033] In a possible implementation of the second aspect, the first adjustment condition further includes that a first current of the first battery is less than or equal to a maximum discharge current of the first battery, and a second current of the second battery is less than or equal to a maximum discharge current of the second battery.

[0034] In a possible implementation of the second aspect above, the method further includes: the control module outputs a second control signal to the first regulating unit when the first current of the first battery is greater than the maximum discharge current of the first battery, and / or the second current of the second battery is greater than the maximum discharge current of the second battery; the first regulating unit adjusts the voltage of the connection point from the fifth voltage to the sixth voltage based on the second control signal; and when the voltage of the connection point is adjusted from the fifth voltage to the sixth voltage, the impedance between the two ends of the second regulating unit connecting the positive electrode of the first battery and the positive electrode of the second battery changes from the third impedance to the fourth impedance; when the impedance between the two ends of the second regulating unit connecting the positive electrode of the first battery and the positive electrode of the second battery changes from the third impedance to the fourth impedance, the first current of the first battery is less than or equal to the maximum discharge current of the first battery, and the second current of the second battery is less than or equal to the maximum discharge current of the second battery.

[0035] In a possible implementation of the second aspect above, the electronic device further includes a power module, which is used to receive the discharge current of the positive electrode of the first battery and the positive electrode of the second battery or input charging current to the positive electrode of the first battery and the positive electrode of the second battery; the second regulating unit includes a fourth terminal, a fifth terminal and a sixth terminal; wherein the fifth terminal is connected to the positive electrode of the first battery, the sixth terminal is connected to the power module and the positive electrode of the second battery, and the sum of the impedance between the positive electrode of the first battery and the fifth terminal and the impedance between the sixth terminal and the power module is less than the impedance between the positive electrode of the second battery and the power module.

[0036] In a possible implementation of the second aspect above, the first regulating unit includes a first end, a second end and a third end; the first end is grounded, and the second end is used to receive a first control signal; the third end is connected to the fourth end, and the third end is used to output a voltage to the fourth end; the second regulating unit includes a plurality of field effect transistors connected in series, the gate of each field effect transistor is connected to the fourth end, the seventh end of the first field effect transistor among the plurality of field effect transistors is connected to the fifth end, and the eighth end of the second field effect transistor among the plurality of field effect transistors is connected to the sixth end, wherein the seventh end is one end of the source and drain of the first field effect transistor that is not connected to other field effect transistors, and the eighth end is one end of the source and drain of the second field effect transistor that is not connected to other field effect transistors; the negative electrode of the first battery and the negative electrode of the second battery are grounded.

[0037] In a possible implementation of the above-mentioned second aspect, the above-mentioned second adjustment unit also includes a first resistor, and the first adjustment unit also includes a second resistor, a third resistor, a first capacitor, a second capacitor and a third field effect transistor; wherein, one end of the first resistor is connected to the fourth end, and the other end of the first resistor is connected to the source or drain of any one of the multiple field effect transistors; one end of the second resistor is connected to the second end, and the other end of the second resistor is connected to one end of the first capacitor, one end of the third resistor and the gate of the third field effect transistor; the source of the third field effect transistor is connected to one end and the third end of the second capacitor, and the drain of the third field effect transistor is connected to the first end, or the drain of the third field effect transistor is connected to one end and the third end of the second capacitor, and the source of the third field effect transistor is connected to the first end; the other end of the first capacitor, the other end of the third resistor, and the other end of the second capacitor are connected to the first end.

[0038] In a possible implementation of the second aspect, the third field effect transistor is an N-channel enhancement type field effect transistor, the plurality of field effect transistors included in the second regulating unit are P-channel enhancement type field effect transistors, and the gate of the third field effect transistor is connected to the other end of the second resistor, one end of the first capacitor, and one end of the third resistor, the drain of the third field effect transistor is connected to one end and the third end of the second capacitor, and the source of the third field effect transistor is connected to the first end; and the control module outputs a first control signal to the first regulating unit when the first regulating condition is met, including: when the first regulating condition is met, if the third voltage is greater than the fourth voltage, the control signal output by the control module to the first regulating unit is adjusted from the third control signal to the first control signal, wherein the duty cycle of the first control signal is greater than the duty cycle of the third control signal; when the first regulating condition is met, if the fourth voltage is greater than the third voltage, the control signal output by the control module to the first regulating unit is adjusted from the fourth control signal to the first control signal, wherein the duty cycle of the first control signal is less than the duty cycle of the fourth control signal.

[0039] In a third aspect, the present application provides a chip, comprising the first aspect and any possible power supply circuit of the first aspect.

[0040] In a fourth aspect, the present application provides an electronic device, which may include a first battery, a second battery, and the first aspect and any possible power supply circuit of the first aspect.

[0041] In a possible implementation of the fourth aspect, the electronic device is a foldable device, and the first battery and the second battery are respectively arranged on both sides of a folding axis of the electronic device.

[0042] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be referred to the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1A According to some embodiments of the present application, a schematic diagram showing the positional relationship between a dual battery and a mainboard inside a folding screen mobile phone is shown;

[0044] Figure 1B According to some embodiments of the present application, a schematic diagram showing the positional relationship between dual batteries and a mainboard inside a single-screen mobile phone is shown;

[0045] Figure 2A According to some embodiments of the present application, a structural schematic diagram of an electronic device including a power supply circuit is shown;

[0046] Figure 2B According to some embodiments of the present application, a schematic diagram of a circuit structure including a power supply circuit is shown;

[0047] Figure 3 According to some embodiments of the present application, a schematic diagram of the internal structure of a first adjustment part 201 and a second adjustment part 202 is shown;

[0048] Figure 4 According to some embodiments of the present application, a schematic flow chart of a method for adjusting the amount of electricity when charging a battery is shown;

[0049] Figure 5A According to some embodiments of the present application, a schematic diagram of a series connection of PMOS1 and PMOS2 is shown;

[0050] Figure 5B-5C According to some embodiments of the present application, a schematic diagram showing different positions of the resistor R2 in the power supply circuit is shown;

[0051] Figure 6 According to some embodiments of the present application, a schematic diagram of an implementation process of a power supply circuit is shown;

[0052] Figure 7 According to some embodiments of the present application, a logic judgment schematic diagram of an implementation process of a power supply circuit is shown;

[0053] Figure 8 According to some embodiments of the present application, a schematic diagram of an implementation process of a power supply circuit in a charging state is shown. DETAILED DESCRIPTION

[0054] Illustrative embodiments of the present application include, but are not limited to, power supply circuits, methods, chips, and electronic devices.

[0055] As mentioned above, due to the different impedances of different batteries, the distances between different batteries and the power consumption modules (such as the motherboard) of the electronic device are also different. Different batteries in an electronic device with multiple batteries have different discharge currents and discharge speeds during the discharge process. This will result in different remaining power of the batteries, resulting in power waste and reducing the battery life of the electronic device.

[0056] It should be understood that the power supply circuit provided in the embodiments of the present application can be applicable to any electronic device including multiple batteries, including but not limited to mobile phones, tablet computers, computers, wearable devices, augmented reality (AR) devices, and any other electronic devices. The embodiments of the present application do not limit the type and form of the electronic device.

[0057] In the embodiment of the present application, the electronic device may be a folding screen device or a single screen device, which is not limited in the present application. It is understood that when the electronic device is a folding screen device and has two batteries inside the electronic device, the two batteries are usually respectively arranged on both sides of the folding axis of the electronic device.

[0058] For ease of description, the following takes a mobile phone as an example of an electronic device to introduce the principle of different discharge speeds of multiple batteries inside the mobile phone. Taking a folding screen mobile phone with two batteries (dual batteries) as an example, a folding screen mobile phone can usually be folded along a folding axis. In the unfolded state of the folding screen mobile phone, the body on one side of the folding axis can be called the first body, and the body on the other side of the folding axis can be called the second body. The first body and the second body are respectively configured with a first battery and a second battery, and the motherboard of the folding screen mobile phone is usually arranged in the first body or the second body. In this way, the distances between the first battery and the second battery and the motherboard are different, and because the impedances of the first battery and the second battery themselves are also different, the first battery and the second battery will discharge different currents when they are connected in parallel to supply power to the motherboard.

[0059] Figure 1A A schematic diagram showing the positional relationship between the dual batteries and the motherboard inside a foldable screen mobile phone. Figure 1A In the embodiment, the folding screen mobile phone can be folded left and right along the folding axis 103, and Figure 1AThe foldable screen mobile phone in the figure is in the unfolded state, the body on the left side of the folding axis 103 is the first body 101, and the body on the right side of the folding axis 103 is the second body 102. The first body 101 and the second body 102 each contain a battery, that is, the first body 101 contains a battery 1, and the second body 102 contains a battery 2. It can be understood that the battery 1 can refer to the first battery mentioned above, and the battery 2 can refer to the second battery mentioned above.

[0060] In addition, the mainboard of the foldable screen mobile phone is arranged in the first body 101, that is, on the side of the battery 1. Figure 1A It can be seen that the impedance of battery 1 is R1, the impedance of the line between battery 1 and the motherboard is R2, and the total impedance between battery 1 and the motherboard is Rm; the impedance of battery 2 is R3, the impedance of the line between battery 2 and the motherboard is R4, and the total impedance between battery 2 and the motherboard is Rn. It can be understood that the impedances of batteries located inside the same mobile phone are similar in magnitude. Therefore, in the embodiment of the present application, it can be considered that the impedance of battery 1 is the same as the impedance of battery 2, that is, R1 is equal to R3. In addition, the relationship between the length of the line and the impedance is that the longer the line, the greater the impedance of the line. By Figure 1A It can be seen that the line between battery 1 and the mainboard is shorter than the line between battery 2 and the mainboard. Therefore, the impedance R2 of the line between battery 1 and the mainboard is smaller than the impedance R4 of the line between battery 2 and the mainboard. Therefore, the total impedance Rm between battery 1 and the mainboard is also smaller than the total impedance Rn between battery 2 and the mainboard. Under the same voltage, impedance and current are negatively correlated. Therefore, Figure 1A In the embodiment, the first current of battery 1 during discharge is greater than the second current of battery 2 during discharge, and the discharge speed of battery 1 is also faster than the discharge speed of battery 2.

[0061] Take a single-screen mobile phone with two batteries (dual battery) as an example. Figure 1B A schematic diagram showing the positional relationship between the dual batteries and the motherboard inside a single-screen mobile phone. Figure 1B In the figure, battery 1 and battery 2 are arranged vertically, and the main board is connected to battery 1 and battery 2 respectively, and Figure 1B It can be seen that the line between battery 1 and the mainboard is shorter than the line between battery 2 and the mainboard, so the impedance R2 of the line between battery 1 and the mainboard is smaller than the impedance R4 of the line between battery 2 and the mainboard. Because the impedance R1 of battery 1 and the impedance R2 of battery 2 are similar, the total impedance between battery 1 and the mainboard is smaller than the total impedance between battery 2 and the mainboard. Therefore, under the same voltage, the first current of battery 1 during discharge is greater than the second current of battery 2 during discharge, and the discharge speed of battery 1 is also faster than that of battery 2.

[0062] Based on the above scenario, whether it is a single-screen mobile phone or a folding-screen mobile phone, as long as the mobile phone has dual batteries and the distance between the dual batteries and the motherboard is different, the discharge current of the dual batteries will be different. The dual batteries have different discharge speeds and voltages. When the mobile phone detects that any battery is exhausted or the voltage reaches the set threshold, it will automatically shut down. Therefore, in the above case, the voltages of the two batteries are different. If one battery is exhausted and the phone is shut down, the other battery that has not been fully discharged will be forced to end the discharge, resulting in incomplete discharge of the battery, resulting in a waste of power and reducing the battery life of the phone.

[0063] It can be understood that the above content is only explained using a mobile phone containing two batteries as an example. Other electronic devices containing multiple batteries (such as tablets, computers, etc.) may also have problems such as incomplete discharge and power waste due to different discharge currents of the batteries. This application will not explain them one by one.

[0064] In order to solve the above problems, an embodiment of the present application provides a power supply circuit, which can be applied to an electronic device powered by multiple batteries in parallel. The power supply circuit includes a first regulating unit and a second regulating unit, the first regulating unit and the second regulating unit are connected, and the second regulating unit is connected to the battery module. The first regulating unit can adjust the voltage of the connection point between the first regulating unit and the second regulating unit according to the control signal (for example, a pulse width modulation (PWM) signal) sent by the control module. Therefore, the impedance of the second regulating unit is adjusted. In addition, the second regulating unit can be arranged between the positive electrode of the first battery (the battery with the smaller impedance between the power module) among the multiple batteries of the electronic device and the power module (for example, the mainboard) of the electronic device. Based on the position of the above-mentioned second regulating unit, after the impedance of the second regulating unit is adjusted, the impedance between the positive electrode of the first battery and the power module is adjusted, and then the output current of the first battery can be adjusted. In this way, the electronic device can input different control signals to the power supply circuit according to the range of the difference in charge between the first battery and the other batteries (for example, reflected in the difference in voltage) to increase or decrease the impedance between the positive electrode of the first battery and the power module of the electronic device, thereby reducing or increasing the discharge speed of the first battery, and further reducing the difference in charge between the first battery and the other batteries.

[0065] Figure 2A FIG. 1 shows a schematic diagram of the structure of an electronic device including the power supply circuit. Figure 2A As shown, the electronic device includes a control module, a power supply circuit and a power consumption module. The control module is used to send a control signal to the power supply circuit, and the power supply circuit adjusts the speed of battery 1 and battery 2 discharging to the power consumption module based on the control signal, thereby adjusting the difference in the power (which can be reflected in voltage) between battery 1 and battery 2.

[0066] Take the example of an electronic device comprising two batteries connected in parallel for power supply. Specifically, Figure 2B FIG. 1 shows a schematic diagram of a circuit structure including a power supply circuit. Figure 2B As shown, the circuit includes a battery (BAT) 1, a battery (BAT) 2, a first regulating unit 201 and a second regulating unit 202. The battery 1 and the battery 2 discharge to the power module through the line 203, that is, to supply power to the system. Among them, the first regulating unit 201 includes a first end, a second end and a third end, the first end is grounded, the second end receives an input control signal, such as a PWM signal, and the third end is connected to the second regulating unit 202. The second regulating unit 202 includes a fourth end, a fifth end and a sixth end, the fourth end is connected to the third end of the first regulating unit 201, the fifth end is connected to the positive electrode of the battery 1, and the sixth end is connected to the power module and the positive electrode of the battery 2. In addition, the negative electrode of the battery 1 is grounded, the negative electrode of the battery 2 is grounded, and the positive electrode of the battery 2 is connected to the power module.

[0067] In addition, a target port can be provided on the power module. In this case, the above-mentioned connection method can also be that the fourth end is connected to the third end of the first adjustment unit 201, the fifth end is connected to the positive electrode of battery 1, the sixth end is connected to the target port and the positive electrode of battery 2, the negative electrodes of battery 1 and battery 2 are grounded, and the positive electrode of battery 2 is connected to the target port.

[0068] It can be understood that the first adjustment unit 201 is used to receive an input control signal and adjust the impedance of the element connected between the first end and the third end of the first adjustment unit 201 according to the input control signal, thereby adjusting the voltage at the connection point between the first adjustment unit 201 and the second adjustment unit 202. Figure 2B As shown, point A is the connection point between the first adjusting portion 201 and the second adjusting portion 202. Specifically, point A may be the third end of the first adjusting portion 201, the fourth end of the second adjusting portion 202, or any point between the third end and the fourth end.

[0069] The second regulating unit 202 is used to adjust the impedance of the second regulating unit 202 according to the voltage of the connection point between the first regulating unit 201 and the second regulating unit 202, so as to adjust the output current of the battery 1.

[0070] Taking the input control signal as a PWM signal as an example, it can be known from the above circuit structure diagram that by adjusting the duty cycle of the PWM signal, the impedance between the first end and the third end of the first adjustment unit 201 can be adjusted, thereby changing the output voltage of the third end of the first adjustment unit 201. As a result, the input voltage of the first end of the second adjustment unit 202 also changes accordingly, thereby changing the impedance of the second adjustment unit 202, thereby adjusting the output current of the battery 1. Because the total current of the battery 1 and the battery 2 does not change during discharge, after adjusting the output current of the battery 1, the output current of the battery 2 can also be adjusted, so as to achieve the purpose of balancing the power of the battery 1 and the battery 2.

[0071] It can be understood that the PWM signal is an AC signal, which usually needs to be filtered through an RC circuit (a circuit composed of a resistor and a capacitor) and converted into a DC signal. In addition, the higher the duty cycle of the PWM signal, the higher the voltage of the DC signal after filtering by the RC circuit. Therefore, the embodiment of the present application does not limit the type of components included in the first adjustment unit 201, as long as the input PWM signal can be converted into direct current and the output voltage of the third end of the first adjustment unit 201 can be adjusted according to the input DC voltage. The embodiment of the present application also does not limit the type of components included in the second adjustment unit 202, as long as the impedance can be adjusted according to the input voltage of the fourth end of the second adjustment unit 202.

[0072] In some embodiments, the first regulating unit 201 may include an RC circuit and a metal oxide semiconductor field effect transistor (MOS transistor). The MOS transistor includes a source S, a gate G, and a drain D, and is divided into two categories: a P-channel enhancement MOS transistor and an N-channel enhancement MOS transistor. The P-channel enhancement MOS transistor may also be referred to as a PMOS transistor, and the working characteristic of the PMOS transistor is that when Vgs (the voltage between the gate G and the source S) is less than a certain threshold, the PMOS transistor is turned on. In addition, the PMOS transistor may also be used as a variable resistor, and Vgs is positively correlated with the impedance of the MOS transistor, that is, the greater the Vgs, the greater the impedance.

[0073] N-channel enhancement MOS transistors can also be called NMOS transistors. The working characteristic of NMOS transistors is that when Vgs (the voltage between the gate G and the source S) is greater than a certain threshold, the NMOS transistor is turned on. In addition, the Vgs of the NMOS transistor is negatively correlated with the impedance of the MOS transistor, that is, the larger the Vgs, the smaller the impedance.

[0074] Taking the input control signal as a PWM signal as an example, the RC circuit can filter the input PWM signal, convert the PWM signal into a DC signal, output a DC voltage, and then adjust the impedance of the MOS tube based on the voltage difference to adjust the voltage of the MOS tube, that is, to achieve the adjustment of the output voltage of the third end of the first adjustment unit 201.

[0075] In an exemplary embodiment, the change of the output voltage of the third terminal of the first regulating unit 201 is positively correlated or negatively correlated with the change of the duty cycle of the PWM signal, so the type of the MOS tube included in the first regulating unit can be either a PMOS tube or an NMOS tube. For example, if the change of the output voltage of the third terminal is negatively correlated with the change of the duty cycle of the PWM signal, the MOS tube is an NMOS tube, that is, the duty cycle increases, the input voltage of the MOS tube gate increases, the impedance decreases, and the voltage division decreases, so that the output voltage of the third terminal decreases.

[0076] In some embodiments, the second regulation unit 202 may include a resistor and multiple MOS tubes connected in series, wherein the resistor can divide the voltage with the MOS tube in the first regulation unit 201, and the multiple MOS tubes in the second regulation unit 202 can adjust the impedance according to the different output voltages of the third end of the first regulation unit 201 to achieve the adjustment of the impedance between the battery 1 and the power module, thereby adjusting the current of the battery 1.

[0077] The embodiment of the present application does not limit the types of the multiple MOS tubes included in the second adjustment unit 202. They can be either PMOS tubes or NMOS tubes, as long as the types of the multiple MOS tubes are consistent.

[0078] For example, the first regulating unit 201 includes an NMOS transistor, and the second regulating unit 202 includes two PMOS transistors. Figure 3 FIG. 2 shows a schematic diagram of the internal structure of the first adjustment part 201 and the second adjustment part 202. Figure 3 As shown, the circuit includes: a battery (BAT) 1, a battery (BAT) 2, a resistor R1, a resistor R2, a resistor R3, a capacitor C1, a capacitor C2, a MOS1, a MOS2 and a MOS3, and Figure 3 The input control signal is a PWM signal. The first adjustment unit 201 includes a resistor R2, a resistor R3, a capacitor C1, a capacitor C2 and an NMOS3 (i.e., the MOS tube is an NMOS tube). The second adjustment unit 202 includes a PMOS1 (i.e., the MOS tube is a PMOS tube), a PMOS2 (i.e., the MOS tube is a PMOS tube) and a resistor R1.

[0079] It can be understood that one end of the resistor R2 receives the PWM signal, and the other end is connected to one end of the capacitor C1, one end of the resistor R3 and the gate of the MOS3, and the capacitor C1 and the resistor R3 are connected in parallel.

[0080] The source S3 of NMOS3 is grounded, the gate G3 is connected to one end of the capacitor C1, one end of the resistor R3 and one end of the resistor R1, and the drain D3 is connected to the gate G1 of PMOS1, the gate G2 of PMOS2 and one end of the resistor R1. NMOS3 is connected in parallel with the capacitor C2, which can play a role in voltage stabilization, so that when NMOS3 is in the off state, the voltage of the gate of NMOS3 is in a stable state.

[0081] The drain D1 of PMOS1 is connected to the resistor R1 and the drain D3 of NMOS3. The source S1 of PMOS1 is connected to the positive electrode of battery 1, and the negative electrode of battery 1 is grounded. The source S2 of PMOS2 is connected to the power module of the electronic device. The positive electrode of battery 2 is connected to the power module of the electronic device, and the negative electrode is grounded.

[0082] It should be noted that after PMOS1 and PMOS2 are connected in series, they need to be placed in reverse order, such as Figure 3 As shown, the source S1 of PMOS1 is connected to the source S2 of PMOS2. The purpose of using two MOS tubes placed in series in reverse is that there is still a parasitic diode between the source S and the drain D of the MOS tube. Taking the PMOS tube as an example, after the PMOS tube is turned off, the direction from the source S to the drain D can be turned off, but the drain D can be turned on to the source S through the parasitic diode, that is, the current will still flow from the drain D to the source S. Therefore, in order to completely turn off the MOS tube, the series PMOS1 and PMOS2 need to be placed in reverse. Taking the connection of the source S1 of PMOS1 and the source S2 of PMOS2 as an example, even after PMOS1 is turned off, there is still current flowing from the drain D1 to the source S1, but the diode from the source S2 of PMOS2 to the drain D2 is not turned on, and the complete shutdown of PMOS1 and PMOS2 can be achieved.

[0083] The resistor R2 and the capacitor C1 form an RC circuit, which can convert the PWM signal into direct current and output a direct current voltage to the gate G3 of NMOS3. Therefore, if the duty cycle of the PWM signal is changed, the input voltage of the gate G3 of NMOS3 can be changed, thereby changing the voltage difference Vgs between the gate G3 and the source S3 of NMOS3. Since the characteristic of the MOS tube is that the impedance changes with the change of Vgs, the impedance of NMOS3 will also change, thereby causing the voltage division of NMOS3 in series with the resistor R1 to change. Similarly, when the voltage division of NMOS3 changes, the gate voltages of PMOS1 and PMOS2 also change, resulting in changes in the impedance of PMOS1 and PMOS2. Therefore, the impedance between battery 1 and the mainboard changes, resulting in a change in the current, which can then serve the purpose of regulating the current of battery 1. Since the total current of battery 1 and battery 2 remains unchanged, the current of battery 1 is adjusted, and the current of battery 2 also changes accordingly, so that the current of the dual batteries can be balanced in this way, thereby achieving the purpose of balancing the power of the dual batteries.

[0084] Based on the above Figure 3 In the circuit structure, the battery discharge power regulation method can be as follows Figure 4 shown.

[0085] Figure 4 In the example of increasing the duty cycle of the PWM signal, the voltage output by the RC circuit increases. The voltage output by the RC circuit is used as input to the gate G3 of NMOS3. Therefore, the higher the voltage output by the RC circuit, the higher the voltage of the gate G3 of NMOS3. When the source voltage remains unchanged, the higher the gate voltage, the greater the Vgs, and the smaller the impedance of NMOS3.

[0086] NMOS3 and resistor R1 are connected in series. The smaller the impedance of NMOS3, the smaller the voltage division of NMOS3, that is, the output voltage of NMOS3 decreases. The output voltage of NMOS3 is used as input to the gates G1 and G2 of PMOS1 and PMOS2 respectively, and the Vgs of the PMOS tube is positively correlated with the impedance. Therefore, the output voltage of NMOS3 decreases, and the input voltage (driving voltage) of the gates G1 and G2 of PMOS1 and PMOS2 decreases, resulting in a decrease in the (on) impedance of PMOS1 and PMOS2. The impedance between battery 1 and the power module decreases, which will cause the current of battery 1 to increase. Since the total current required by the power module in the instantaneous state remains unchanged when batteries 1 and 2 are discharged, the current of battery 1 increases and the current of battery 2 decreases. It can be seen from this that increasing the duty cycle of PWM can increase the current of battery 1 and reduce the current of battery 2; conversely, reducing the duty cycle of PWM can reduce the current of battery 1 and increase the current of battery 2.

[0087] From the above content, it can be known that by changing the duty cycle of PWM, the current of battery 1 and battery 2 can be changed respectively, and the discharge speed of battery 1 and battery 2 can be changed, so as to achieve the purpose of balancing the power (or voltage) of battery 1 and battery 2.

[0088] It is understood that the embodiment of the present application does not limit the device for controlling the input of the PWM signal, as long as the PWM signal can be generated. For example, the device can be a central processing unit (CPU) or a power management unit (PMU).

[0089] It can be understood that the above content is only explained by taking the example that the source S3 of NMOS3 is grounded and the drain D3 is connected to the second regulating unit 202, but this does not constitute all limitations on the embodiments of the present application. Exemplarily, the connection method of NMOS3 can also be that the source S3 is connected to the second regulating unit 202 and the drain D3 is grounded.

[0090] It is understood that the above content is only Figure 3 The series connection of PMOS1 and PMOS2 in FIG. 1 is explained by taking the source S phase connection as an example. In addition, Figure 5A As shown, PMOS1 and PMOS2 can also be connected through the drain D. At this time, the direction from the source S to the drain D of PMOS1 is not conductive, and the direction from the source S to the drain D of PMOS2 is also not conductive. No current flows between the battery 1 and the power module, and PMOS1 and PMOS2 can also be completely shut down.

[0091] In addition, in the embodiment of the present application, the number of MOS tubes in the second regulating unit 202 is not limited. It only needs to ensure that the second regulating unit 202 includes multiple (i.e., at least two) MOS tubes connected in series, and any two connected MOS tubes in the multiple MOS tubes connected in series are placed in reverse order to achieve complete shutdown of the multiple MOS tubes.

[0092] It can be understood that multiple MOS tubes are connected in series means that the multiple MOS tubes are connected end to end in sequence through the source and the drain, wherein any two adjacent MOS tubes among the multiple MOS tubes can be connected in a way that the source and the source are connected, or in a way that the drain and the drain are connected, or in a way that the source and the drain are connected.

[0093] Taking the example that the multiple MOS tubes include the first MOS tube, the second MOS tube and the third MOS tube, and the first MOS tube and the third MOS tube are located at the two end parts of the three MOS tubes, if the source of the first MOS tube is connected to the positive electrode of the battery 1, then the drain of the first MOS tube can be connected to the source of the second MOS tube, and can also be connected to the drain of the second MOS tube. Taking the example that the drain of the first MOS tube is connected to the source of the second MOS tube, the drain of the second MOS tube needs to be connected to the drain of the third MOS tube, and the source of the third MOS tube is connected to the positive electrode of the battery 2; taking the example that the drain of the first MOS tube is connected to the drain of the second MOS tube, then the source of the second MOS tube can be connected to the source of the third MOS tube, and can also be connected to the drain of the third MOS tube, and the other end of the third MOS tube can be connected to the positive electrode of the battery 2.

[0094] Similarly, if the drain of the first MOS tube is connected to the positive electrode of the battery 1, then the source of the first MOS tube can be connected to the source of the second MOS tube, or it can be connected to the drain of the second MOS tube. Taking the example of the source of the first MOS tube being connected to the source of the second MOS tube, the drain of the second MOS tube can be connected to the source of the third MOS tube, or it can be connected to the drain of the third MOS tube, and the other end of the third MOS tube can be connected to the positive electrode of the battery 2; taking the example of the source of the first MOS tube being connected to the drain of the second MOS tube, then the source of the second MOS tube needs to be connected to the source of the third MOS tube, and the drain of the third MOS tube is connected to the positive electrode of the battery 2.

[0095] In addition, the positional relationship between the resistor R2 and the MOS group formed by connecting PMOS1 and PMOS2 in series includes but is not limited to: Figure 3 In the case shown in , in the case of multiple MOS tubes, one end of the resistor R1 can be connected to the source or drain of any one of the multiple MOS tubes, and the other end is connected to the drain or source of the MOS tube in the first adjustment unit 201, as long as the resistor R1 can play a voltage dividing role on NMOS3. Figure 5B As shown, the resistor R1 can also be located between the drain D of the PMOS 1 and the positive electrode of the battery 1. Figure 5C As shown, the resistor R1 may also be located between the drain D of the PMOS 2 and the power-consuming module.

[0096] It is understandable that the embodiment of the present application does not limit the types of MOS tubes in the first adjustment unit 201 and the second adjustment unit 202, as long as the current of battery 1 and battery 2 can be adjusted by adjusting the duty cycle of PWM, thereby adjusting the power of battery 1 and battery 2. Figure 3 In addition to the MOS1 being an NMOS tube and MOS2 and MOS3 being PMOS tubes, MOS1 can also be a PMOS tube and MOS2 and MOS3 can be NMOS tubes, etc.

[0097] Still taking the Figure 3 shown power supply circuit as an example, the implementation process of the power supply circuit will be explained. The implementation process of this power supply circuit can be executed by the control module of the electronic device. As Figure 6 shown, taking the electronic device including battery 1 and battery 2 as an example, this process may include the following steps:

[0098] 601: Determine that battery 1 and battery 2 are in an unbalanced state in the discharging state.

[0099] Among them, the discharging states of battery 1 and battery 2 also mean that battery 1 and battery 2 discharge to the power-consuming module (such as the main board) simultaneously for the use of the electronic device.

[0100] It can be understood that in the discharging state, the unbalanced state of battery 1 and battery 2 includes but is not limited to any one of the following: the discharging current IBAT1 of battery 1 is greater than the maximum discharging current Ith1 of battery 1, the discharging current IBAT2 of battery 2 is greater than the maximum discharging current Ith2 of battery 2, and the absolute value of the difference between the voltages of battery 1 and battery 2 is greater than the difference threshold.

[0101] 602: Determine the adjustment method of the duty cycle of the PWM signal according to the currents and voltages of battery 1 and battery 2.

[0102] In the embodiments of the present application, the difference situations of the currents and voltages of battery 1 and battery 2 include but are not limited to the following five types:

[0103] Situation 1: IBAT1 > Ith1 and IBAT2 > Ith2.

[0104] If IBAT1 > Ith1 and IBAT2 > Ith2, then at this time, the discharging currents of both battery 1 and battery 2 are greater than their respective maximum discharging currents. This is an abnormal situation, and current limiting operations need to be performed on battery 1 and battery 2 respectively, that is, reduce the discharging currents of battery 1 and battery 2, and report this situation to the power management module. There is no need to adjust the duty cycle of the PWM signal.

[0105] Situation 2: IBAT1 > Ith1 and IBAT2 < Ith2.

[0106] If IBAT1 > Ith1 and IBAT2 < Ith2, then at this time, the discharging current of battery 1 is greater than the maximum discharging current of battery 1, and the discharging current of battery 2 is less than the maximum discharging current of battery 2, that is, the discharging of battery 1 is abnormal. It is necessary to reduce IBAT1 and increase IBAT2. Therefore, the electronic device can determine that it is necessary to reduce the duty cycle (Duty) of the PWM signal at this time. For example, reduce the duty cycle from P0 to P1. When the duty cycle decreases, the impedances of MOS1 and MOS2 increase, resulting in a decrease in IBAT1 and an increase in IBAT2.

[0107] Case 3: IBAT1 < Ith1 and IBAT2 > Ith2.

[0108] If IBAT1 < Ith1 and IBAT2 > Ith2, then at this time the discharge current of Battery 1 is less than the maximum discharge current of Battery 1, and the discharge current of Battery 2 is greater than the maximum discharge current of Battery 2, that is, the discharge of Battery 2 is abnormal. It is necessary to decrease IBAT2 and increase IBAT1. Therefore, the electronic device can determine that it is necessary to increase the duty cycle (Duty) of the PWM signal at this time. As the duty cycle increases, the impedance of MOS1 and MOS2 decreases, resulting in an increase in IBAT1 and a decrease in IBAT2.

[0109] Case 4: VBAT1 - VBAT2 (δVBAT) >= V1.

[0110] The premise of this case is that IBAT1 < Ith1 and IBAT2 < Ith2, that is, the discharge currents of both Battery 1 and Battery 2 are less than their respective maximum discharge currents. At this time, the difference between VBAT1 and VBAT2 does not meet the requirement of being greater than V1 and less than V2. If the difference between VBAT1 and VBAT2 is greater than or equal to V1, that is, δVBAT >= V1, then VBAT1 is greater than VBAT2, and the difference between them exceeds the threshold range. It is necessary to increase the discharge speed of Battery 1 and decrease the discharge speed of Battery 2. Therefore, the electronic device can determine that it is necessary to increase the duty cycle of the PWM signal at this time, increase the discharge speed of Battery 1, and decrease the discharge speed of Battery 2 to achieve the purpose of balancing VBAT1 and VBAT2.

[0111] Case 5: VBAT1 - VBAT2 (δVBAT) <= V2.

[0112] The premise of this case is still IBAT1 < Ith1 and IBAT2 < Ith2. If the difference between VBAT1 and VBAT2 is less than or equal to V2, that is, δVBAT <= V2, then VBAT1 is less than VBAT2, and the difference between them exceeds the threshold range. It is necessary to decrease the discharge speed of Battery 1 and increase the discharge speed of Battery 2. Therefore, the electronic device can determine that it is necessary to decrease the duty cycle of the PWM signal at this time to achieve the purpose of balancing VBAT1 and VBAT2.

[0113] In addition, it should be noted that in Case 2 and Case 3, even if the current is adjusted so that IBAT1 < Ith1 and IBAT2 < Ith2, the above-mentioned Case 4 and Case 5 may still occur when IBAT1 < Ith1 and IBAT2 < Ith2. If the corresponding cases occur, adjust VBAT1 and VBAT2 in the above manner until the difference between VBAT1 and VBAT2 is less than the voltage threshold.

[0114] 603: Adjust the duty cycle of the PWM signal based on the adjustment method, and input the PWM signal after the duty cycle is adjusted to the power supply circuit.

[0115] After the electronic device determines the adjustment method of the duty cycle of the PWM signal according to the difference between battery 1 and battery 2, the duty cycle is adjusted according to the adjustment method. That is, for the aforementioned situation 1 and situation 5, the duty cycle of the PWM signal is reduced, and for the aforementioned situation 3 and situation 4, the duty cycle of the PWM signal is increased. Then, the PWM signal after the duty cycle is adjusted is input into the power supply circuit provided in the embodiment of the present application, and the power of battery 1 and battery 2 can be balanced based on the power supply circuit.

[0116] Figure 7 The figure shows a logic judgment diagram of the implementation process of the power supply circuit. Figure 7 As shown, Figure 3 Taking the circuit structure shown in the figure, and the electronic device includes battery 1 and battery 2 as an example, if the electronic device detects that the discharge of battery 1 and battery 2 is balanced, that is, the remaining power of battery 1 and battery 2 during the discharge process is the same, there is no need to balance the current and power of the two batteries. Step 701 is executed to keep all MOS tubes fully turned on, that is, PMOS1, PMOS2 and NMOS3 are fully turned on.

[0117] The electronic device also needs to execute step 702 in real time, detect the voltages of battery 1 and battery 2, and respectively determine whether the first voltage VBAT1 of battery 1 is less than or equal to the first voltage threshold Vth1 of battery 1, or whether the second voltage VBAT2 of battery 2 is less than or equal to the second voltage threshold Vth2 of battery 2. In particular, the embodiment of the present application does not limit the magnitudes of the first voltage threshold Vth1 and the second voltage threshold Vth2, which can be set based on experience or flexibly adjusted based on actual application scenarios.

[0118] If VBAT1 is not less than or equal to Vth1, and VBAT2 is not less than or equal to Vth2, that is, VBAT1 is greater than Vth1, and VBAT2 is greater than Vth2, then both VBAT1 and VBAT2 are relatively high, and there is no need to adjust the voltage to balance the power, and all MOS tubes are still fully turned on. Then after all MOS tubes are fully turned on for the first time interval, if the discharge is balanced at this time, step 702 is executed. Exemplarily, the first time interval can be 1 minute (min).

[0119] If VBAT1 <= Vth1 or VBAT2 <= Vth2, it indicates that the voltage of any one of the dual batteries is relatively low during charging. At this time, it can be preliminarily determined that the voltage difference (i.e., the charge difference) between Battery 1 and Battery 2 is relatively large, and there is a possibility of balancing the charges of the two batteries. Therefore, it is necessary to further execute Step 703 to determine whether the average value of the current IBAT1 of Battery 1 and the current IBAT2 of Battery 2 is greater than the first current threshold Ith0, and both batteries are in the discharging state.

[0120] If not, it means that the average value of the currents of the two batteries is less than or equal to Ith0 or the two batteries are not both in the discharging state. For the case where the average value of the currents of the two batteries is less than or equal to Ith0, it can be determined at this time that the two batteries are in a state of current and charge balance, so all MOS transistors are kept fully open; for the case where the two batteries are not both in the discharging state, that is, one of the two batteries is discharging and the other battery is not discharging, at this time, since only one battery is discharging, there is no need to adjust the balanced charge either, and all MOS transistors are kept fully open.

[0121] If so, that is, AVG(IBAT1 + IBAT2) > Ith0 and both batteries are discharging, then execute Step 704 to determine whether the difference between VBAT1 and VBAT2 is greater than the third voltage threshold V1, less than the fourth voltage threshold V2, and whether IBAT1 is less than the second current threshold Ith1 and IBAT2 is less than the third current threshold Ith2. Among them, the absolute values of V1 and V2 are the same, that is to say, V1 and V2 are opposite numbers to each other. Therefore, V1 < VBAT1 - VBAT2 < V2, that is, δVBAT < |V2|, which also means that if the absolute value of the voltage difference between Battery 1 and Battery 2 is less than |V2|, and IBAT1 < Ith1 and IBAT2 < Ith2, it can indicate that Battery 1 and Battery 2 are in discharging balance. Among them, Ith1 can be the maximum discharge current of Battery 1, and Ith2 can be the maximum discharge current of Battery 2.

[0122] Based on the above content, if V1 < VBAT1 - VBAT2 < V2, IBAT1 < Ith1 and IBAT2 < Ith2, it indicates that Battery 1 and Battery 2 are in discharging balance at this time. Execute Step 705 to keep the duty cycle (Duty) of the PWM unchanged for a second time interval, and then execute Step 704 again. The embodiments of the present application do not limit the size of the second time interval, which can be set according to experience or flexibly adjusted according to the actual application scenario. Exemplarily, the second time interval can be 1 minute (min), or 2 min, etc.

[0123] Otherwise, step 706 is executed to determine IBAT1 and IBAT2. If IBAT1 > Ith1 and IBAT2 > Ith2, it indicates that the discharge currents of both battery 1 and battery 2 are greater than their respective maximum discharge currents. This is an abnormal situation, and step 707 needs to be executed for current limiting operation, that is, reducing the discharge currents of battery 1 and battery 2 and reporting them to the power management module.

[0124] If IBAT1 > Ith1 and IBAT2 < Ith2, it indicates that the discharge current of battery 1 is greater than the maximum discharge current of battery 1, and the discharge current of battery 2 is less than the maximum discharge current of battery 2. That is, IBAT1 needs to be reduced and IBAT2 needs to be increased. Therefore, step 708 needs to be executed to subtract 1 from the duty cycle (Duty), for example, reducing the duty cycle from P0 to P1 for a third time interval, and then step 704 is executed. In the embodiments of the present application, the value y of the minimum duty cycle is not limited. Exemplarily, y can be 1, and the unit is a percentage. Exemplarily, the third time interval can be 1 second (s), or 2 s, etc. When the duty cycle decreases, the impedances of MOS1 and MOS2 increase, resulting in a decrease in IBAT1. The total discharge current of battery 1 and battery 2 remains unchanged. Then, IBAT2 can be increased to balance the currents of the two batteries and further balance the power of the two batteries.

[0125] If IBAT1 < Ith1 and IBAT2 > Ith2, it indicates that the discharge current of battery 1 is less than the maximum discharge current of battery 1, and the discharge current of battery 2 is greater than the maximum discharge current of battery 2. That is, IBAT1 needs to be increased and IBAT2 needs to be reduced. Therefore, step 709 needs to be executed to add 1 to the duty cycle (Duty) for a third time interval, and then step 704 is executed. In the embodiments of the present application, the value x of the maximum duty cycle is not limited. Exemplarily, x can be 100, and the unit is a percentage. When the duty cycle increases, the impedances of MOS1 and MOS2 decrease, resulting in an increase in IBAT1. The total discharge current of battery 1 and battery 2 remains unchanged. Then, IBAT2 can be reduced to balance the currents of the two batteries and further balance the power of the two batteries.

[0126] It can be understood that the method of increasing or decreasing the duty cycle involved in the embodiments of the present application is not limited to the above method of increasing or decreasing the duty cycle by one percentage. For example, the duty cycle can also be increased or decreased by two percentages, etc., and the increased or decreased percentage numbers can be the same or different. That is to say, the magnitude of the increase or decrease of the duty cycle in the embodiments of the present application can be set according to experience or flexibly adjusted according to the application scenario. Exemplarily, when increasing the duty cycle, m duty cycles can be increased each time; similarly, when decreasing the duty cycle, n duty cycles can be decreased each time. Wherein, both m and n are greater than 0, and m and n can be equal or unequal.

[0127] In some embodiments, the magnitude of the increased or decreased duty cycle can also be determined according to the pressure difference between battery 1 and battery 2. For example, when the pressure difference between battery 1 and battery 2 is greater than a certain threshold, the percentage of the increase or decrease in the duty cycle is increased; when the pressure difference is less than a certain threshold, the percentage of the increase or decrease in the duty cycle is decreased. The embodiments of the present application do not limit the method of adjusting the duty cycle according to the pressure difference, as long as it is ensured that the pressure difference between battery 1 and battery 2 can be reduced by adjusting the duty cycle, thereby reducing the difference in the power of the two batteries.

[0128] The above method is used to judge the magnitudes of the discharge currents of battery 1 and battery 2, and then the power of battery 1 and battery 2 is changed by adjusting the discharge current, so that the power reaches an equilibrium state, which can protect the batteries and prevent the performance of the batteries from degrading due to excessive current. In addition, this method can also make the process of equalizing the battery power faster and more efficient.

[0129] If IBAT1 < Ith1 and IBAT2 < Ith2, it means that the discharge currents of battery 1 and battery 2 are both less than their respective maximum discharge currents. At this time, the difference between VBAT1 and VBAT2 does not meet the requirement of being greater than V1 and less than V2. If the difference between VBAT1 and VBAT2 is greater than or equal to V1, δVBAT >= V1, and since δVBAT does not meet the requirement of being greater than V1 and less than V2, so δVBAT >= V1 is equivalent to δVBAT >= V2. V2 is a positive number. At this time, it means that VBAT1 is greater than VBAT2, and the difference between them exceeds the threshold range. It is necessary to increase the discharge speed of battery 1 and decrease the discharge speed of battery 2. Therefore, step 709 needs to be executed to increase the discharge current of battery 1 by increasing the duty cycle of PWM, so as to increase the discharge speed of battery 1. The discharge current of battery 1 is increased, and the total discharge current remains unchanged. Therefore, the discharge current of battery 2 will decrease, and the discharge speed will also decrease, so as to achieve the purpose of equalizing the discharge currents of battery 1 and battery 2 and equalizing the voltages of battery 1 and battery 2.

[0130] If the difference between VBAT1 and VBAT2 is less than or equal to V2, δVBAT<=V2, and because δVBAT does not meet the requirement of being greater than V1 and less than V2, δVBAT<=V2 is equivalent to δVBAT<=V1. V1 is a positive number, which means that VBAT1 is less than VBAT2, and the difference between the two exceeds the threshold range. It is necessary to reduce the discharge rate of battery 1 and increase the discharge rate of battery 2. Therefore, it is necessary to execute step 708 to reduce the discharge current of battery 1 by reducing the duty cycle of PWM to reduce the discharge rate of battery 1. The discharge current of battery 1 is reduced, and the total discharge current remains unchanged. Therefore, the discharge current of battery 2 will increase, and the discharge rate will also increase, so that the discharge current of battery 1 and battery 2 can be balanced to balance the voltage of battery 1 and battery 2.

[0131] The power supply circuit provided in the embodiment of the present application can adjust the impedance between the positive electrode of battery 1 and the power consumption module according to the input control signal to adjust the discharge current of battery 1, and then adjust the difference in power between battery 1 and battery 2, so as to achieve the purpose of balancing the power of battery 1 and battery 2.

[0132] The above content only illustrates the working principle of the power supply circuit provided in the present application by taking an electronic device including two batteries as an example. It can be understood that for an electronic device including more than two batteries, the working principle of the power supply circuit is similar.

[0133] The power supply circuit provided in the embodiment of the present application can be applied to the battery charging state as well as the battery discharging state. Figure 8 As shown, taking an electronic device including two batteries connected in parallel as an example, when the batteries are in a charging state, the control method of the power supply circuit provided in the embodiment of the present application includes the following steps:

[0134] 801: Determine that battery 1 and battery 2 are in an unbalanced state under charging.

[0135] The charging status of battery 1 and battery 2 refers to that battery 1 and battery 2 are charged by a charging module (such as a mainboard) at the same time, so that battery 1 and battery 2 store electricity for subsequent discharge of battery 1 and battery 2 for use by the electronic device.

[0136] It can be understood that in the charging state, the battery 1 and the battery 2 are in an unbalanced state, including but not limited to the absolute value of the difference between the voltages of the battery 1 and the battery 2 being greater than the difference threshold.

[0137] 802: Determine a method for adjusting the duty cycle of the PWM signal according to the current and voltage of battery 1 and battery 2.

[0138] In the embodiment of the present application, the electronic device determines the respective to-be-charged power of battery 1 and battery 2 according to the first voltage VBAT1 of battery 1 and the second voltage VBAT2 of battery 2. The to-be-charged power refers to the difference between the current power and the full power of the battery. For example, the current voltage of battery 1 is VBAT1, the current power is M1, the full power is M2, and the to-be-charged power is the difference M0 between M2 and M1; the current voltage of battery 2 is VBAT2, the current power is N1, the full power is N2, and the to-be-charged power is the difference N0 between N2 and N1.

[0139] It can be understood that the total charging current of the charging module for battery 1 and battery 2 is constant, so the electronic device can determine the charging current I1 allocated to battery 1 and the charging current I2 allocated to battery 2 according to the amount of charge to be charged M0 of battery 1, the amount of charge to be charged N0 of battery 2 and the total charging current I0, wherein the sum of I1 and I2 is I0. The purpose of this method is to make the ratio of the charging current I1 of battery 1 to the amount of charge to be charged M0 of battery 1 match the ratio of the charging current I2 of battery 2 to the amount of charge to be charged N0 of battery 2, so that battery 1 and battery 2 can reach their respective full charge at the same time, that is, battery 1 and battery 2 are fully charged at the same time.

[0140] After determining the charging current I1 of the battery 1 and the charging current I2 of the battery 2 , the electronic device determines the adjustment method of the duty cycle of the PWM signal based on the current charging current I1 ′ of the battery 1 and the current charging current I2 ′ of the battery 2 .

[0141] For example, if I1' is greater than I1, and I2' is less than I2, it means that the charging current of battery 1 needs to be reduced and the charging current of battery 2 needs to be increased, so the duty cycle of the PWM signal needs to be reduced. For another example, if I1' is less than I1, and I2' is greater than I2, it means that the charging current of battery 1 needs to be increased and the charging current of battery 2 needs to be reduced, so the duty cycle of the PWM signal needs to be increased. If I1' is greater than I1, and I2' is greater than I2, or I1' is less than I1, and I2' is less than I2, it means that the sum of the current charging currents of battery 1 and battery 2 exceeds the total charging current of the charging module, or does not reach the total charging current of the charging module. This is an abnormal situation and needs to be reported to the power management module respectively, and current limiting or current increasing processing is performed on battery 1 and battery 2 respectively.

[0142] 803: Adjust the duty cycle of the PWM signal based on the adjustment method, and input the PWM signal after the duty cycle is adjusted to the power supply circuit.

[0143] After the electronic device determines the adjustment method of the duty cycle of the PWM signal, the PWM signal after the duty cycle is adjusted is input into the power supply circuit provided in the embodiment of the present application. Based on the power supply circuit, the current and power of battery 1 and battery 2 can be balanced, so that battery 1 and battery 2 can reach full power at the same time. This method can avoid the overcharging phenomenon of the battery that is fully charged first due to the two batteries being fully charged one after another, and the capacity loss phenomenon of the battery that is not fully charged.

[0144] In an exemplary embodiment, the present application further provides a chip, which may include the power supply circuit involved in the above embodiments.

[0145] In an exemplary embodiment, the present application further provides an electronic device, which may include a battery 1, a battery 2, and the power supply circuit involved in the above embodiment. The electronic device is a foldable device, and the battery 1 and the battery 2 are respectively arranged on both sides of the folding axis of the electronic device.

[0146] It will be understood that, as used herein, the term "module" may refer to or include an application specific integrated circuit (ASIC), an electronic circuit, a processor (shared, dedicated, or group) and / or memory that executes one or more software or firmware programs, a combinational logic circuit, and / or other appropriate hardware components that provide the described functionality, or may be part of these hardware components.

[0147] It is understood that in each embodiment of the present application, the processor may be a microprocessor, a digital signal processor, a microcontroller, etc., and / or any combination thereof. According to another aspect, the processor may be a single-core processor, a multi-core processor, etc., and / or any combination thereof.

[0148] The various embodiments disclosed in the present application may be implemented in hardware, software, firmware, or a combination of these implementation methods. The embodiments of the present application may be implemented as a computer program or program code executed on a programmable system, the programmable system including at least one processor, a storage system (including volatile and non-volatile memory and / or storage elements), at least one input device, and at least one output device.

[0149] Program code can be applied to input instructions to perform the functions described in this application and generate output information. The output information can be applied to one or more output devices in a known manner. For the purposes of this application, a processing system includes any system having a processor such as, for example, a digital signal processor (DSP), a microcontroller, an application specific integrated circuit (ASIC), or a microprocessor.

[0150] Program code can be implemented with high-level programming language or object-oriented programming language to communicate with the processing system. When necessary, program code can also be implemented with assembly language or machine language. In fact, the mechanism described in this application is not limited to the scope of any specific programming language. In either case, the language can be a compiled language or an interpreted language.

[0151] In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried or stored on one or more temporary or non-temporary machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. For example, instructions may be distributed over a network or through other computer-readable media. Therefore, machine-readable media may include any mechanism for storing or transmitting information in a machine (e.g., computer) readable form, including, but not limited to, floppy disks, optical disks, optical disks, read-only memories (CD-ROMs), magneto-optical disks, read-only memories (ROMs), random access memories (RAMs), erasable programmable read-only memories (EPROMs), electrically erasable programmable read-only memories (EEPROMs), magnetic or optical cards, flash memory, or a tangible machine-readable memory for transmitting information (e.g., carrier waves, infrared signals, digital signals, etc.) using the Internet in electrical, optical, acoustic, or other forms of propagation signals. Therefore, machine-readable media include any type of machine-readable media suitable for storing or transmitting electronic instructions or information in a machine (e.g., computer) readable form.

[0152] In the accompanying drawings, some structural or method features may be shown in a specific arrangement and / or order. However, it should be understood that such a specific arrangement and / or order may not be required. Instead, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the illustrative drawings. In addition, the inclusion of structural or method features in a particular figure does not mean that such features are required in all embodiments, and in some embodiments, these features may not be included or may be combined with other features.

[0153] It should be noted that the units / modules mentioned in the various device embodiments of the present application are all logical units / modules. Physically, a logical unit / module can be a physical unit / module, or a part of a physical unit / module, or can be implemented as a combination of multiple physical units / modules. The physical implementation method of these logical units / modules themselves is not the most important. The combination of functions implemented by these logical units / modules is the key to solving the technical problems proposed by the present application. In addition, in order to highlight the innovative part of the present application, the above-mentioned device embodiments of the present application do not introduce units / modules that are not closely related to solving the technical problems proposed by the present application, which does not mean that there are no other units / modules in the above-mentioned device embodiments.

[0154] It should be noted that in the examples and description of this patent, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including one" do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0155] Although the present application has been illustrated and described with reference to certain preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the present application.

Claims

1. A power supply circuit, characterized in that: It includes a first adjusting part and a second adjusting part, the first adjusting part and the second adjusting part are connected, and the second adjusting part is used to connect the positive electrode of the first battery and the positive electrode of the second battery; in The first regulating unit is used to receive a first control signal when a first regulating condition is met, wherein the first control signal is used to adjust the voltage of the connection point between the first regulating unit and the second regulating unit from a first voltage to a second voltage, and the first regulating condition includes that a voltage difference between a third voltage of the positive electrode of the first battery and a fourth voltage of the positive electrode of the second battery is greater than a voltage threshold; The second adjustment unit is configured to change the impedance between both ends connecting the positive electrode of the first battery and the positive electrode of the second battery from a first impedance to a second impedance when the voltage of the connection point is adjusted from the first voltage to the second voltage.

2. The circuit according to claim 1, characterized in that The first control signal includes a pulse width modulation signal, and a change from the first voltage to the second voltage is positively correlated or negatively correlated with a change in a duty cycle of the first control signal.

3. The circuit according to claim 1 or 2, characterized in that: The first adjustment condition also includes that a first current of the first battery is less than or equal to a maximum discharge current of the first battery, and a second current of the second battery is less than or equal to a maximum discharge current of the second battery.

4. The circuit according to claim 3, characterized in that The first regulating unit is further configured to receive a second control signal when the first current of the first battery is greater than the maximum discharge current of the first battery and / or the second current of the second battery is greater than the maximum discharge current of the second battery, wherein the second control signal is configured to adjust the voltage of the connection point from the fifth voltage to the sixth voltage; The second adjustment unit is configured to change the impedance between the two ends connecting the positive electrode of the first battery and the positive electrode of the second battery from the third impedance to the fourth impedance when the voltage of the connection point is adjusted from the fifth voltage to the sixth voltage; and When the impedance between the two ends of the second regulating unit connecting the positive electrode of the first battery and the positive electrode of the second battery changes from the third impedance to the fourth impedance, the first current of the first battery is less than or equal to the maximum discharge current of the first battery, and the second current of the second battery is less than or equal to the maximum discharge current of the second battery.

5. The circuit according to claim 2, characterized in that The circuit further includes a target port, the target port is used to receive the discharge current of the positive electrode of the first battery and the positive electrode of the second battery or the charging current input by the power module to the positive electrode of the first battery and the positive electrode of the second battery; the second regulating unit includes a fourth terminal, a fifth terminal and a sixth terminal; in The fifth end is connected to the positive electrode of the first battery, the sixth end is connected to the target port and the positive electrode of the second battery, and the sum of the impedance between the positive electrode of the first battery and the fifth end and the impedance between the sixth end and the target port is less than the impedance between the positive electrode of the second battery and the target port.

6. The circuit according to claim 5, characterized in that The first adjustment portion includes a first end, a second end and a third end; The first end is grounded, and the second end is used to receive the first control signal; The third end is connected to the fourth end, and the third end is used to output voltage to the fourth end; The second regulating unit includes a plurality of field effect transistors connected in series, the gate of each field effect transistor is connected to the fourth end, the seventh end of the first field effect transistor among the plurality of field effect transistors is connected to the fifth end, and the eighth end of the second field effect transistor among the plurality of field effect transistors is connected to the sixth end, wherein the seventh end is one end of the source and the drain of the first field effect transistor that is not connected to other field effect transistors, and the eighth end is one end of the source and the drain of the second field effect transistor that is not connected to other field effect transistors; A negative electrode of the first battery and a negative electrode of the second battery are grounded.

7. The circuit according to claim 6, characterized in that The second regulating unit further includes a first resistor, and the first regulating unit further includes a second resistor, a third resistor, a first capacitor, a second capacitor and a third field effect transistor; wherein One end of the first resistor is connected to the fourth end, and the other end of the first resistor is connected to the source or drain of any field effect transistor among the plurality of field effect transistors; One end of the second resistor is connected to the second end, and the other end of the second resistor is connected to one end of the first capacitor, one end of the third resistor and the gate of the third field effect transistor; The source of the third field effect transistor is connected to one end of the second capacitor and the third end, and the drain of the third field effect transistor is connected to the first end, or the drain of the third field effect transistor is connected to one end of the second capacitor and the third end, and the source of the third field effect transistor is connected to the first end; The other end of the first capacitor, the other end of the third resistor, and the other end of the second capacitor are connected to the first end.

8. The circuit according to claim 7, characterized in that The third field effect transistor is an N-channel enhancement type field effect transistor, the plurality of field effect transistors included in the second regulating unit are P-channel enhancement type field effect transistors, and the gate of the third field effect transistor is connected to the other end of the second resistor, one end of the first capacitor, and one end of the third resistor, the drain of the third field effect transistor is connected to one end of the second capacitor and the third end, and the source of the third field effect transistor is connected to the first end; and When the first adjustment condition is met and the third voltage is greater than the fourth voltage, the duty cycle of the first control signal increases from the first duty cycle to the second duty cycle, the first voltage is greater than the second voltage, and the first impedance is greater than the second impedance; When the first adjustment condition is met and the fourth voltage is greater than the third voltage, the duty cycle of the first control signal is reduced from the first duty cycle to the third duty cycle, the first voltage is less than the second voltage, and the first impedance is less than the second impedance.

9. The circuit according to claim 8, characterized in that The first regulating unit receives the first control signal from a control module, and the control module is located outside the power supply circuit.

10. A power supply method, characterized in that: Applied to an electronic device, the electronic device comprises a control module, a first battery, a second battery, a first regulating unit and a second regulating unit, wherein the first regulating unit is connected to the control module and the second regulating unit, and the second regulating unit is connected to the positive electrode of the first battery and the positive electrode of the second battery; and the method comprises: The control module outputs a first control signal to the first regulating unit when a first regulating condition is met, wherein the first regulating condition includes that a voltage difference between a third voltage of the positive electrode of the first battery and a fourth voltage of the positive electrode of the second battery is greater than a voltage threshold; The first regulating unit adjusts the voltage of the connection point between the first regulating unit and the second regulating unit from a first voltage to a second voltage based on the first control signal; and When the voltage at the connection point is adjusted from the first voltage to the second voltage, the impedance between both ends of the second adjustment unit connecting the positive electrode of the first battery and the positive electrode of the second battery is adjusted from the first impedance to the second impedance.

11. The method according to claim 10, characterized in that The first control signal includes a pulse width modulation signal, and a change from the first voltage to the second voltage is positively correlated or negatively correlated with a change in a duty cycle of the first control signal.

12. The method according to claim 10 or 11, characterized in that: The first adjustment condition also includes that a first current of the first battery is less than or equal to a maximum discharge current of the first battery, and a second current of the second battery is less than or equal to a maximum discharge current of the second battery.

13. The method according to claim 12, characterized in that The method further comprises: The control module outputs a second control signal to the first regulating unit when the first current of the first battery is greater than the maximum discharge current of the first battery and / or the second current of the second battery is greater than the maximum discharge current of the second battery; The first adjustment unit adjusts the voltage of the connection point from the fifth voltage to the sixth voltage based on the second control signal; and When the voltage at the connection point is adjusted from the fifth voltage to the sixth voltage, the impedance between the two ends of the second adjustment unit connecting the positive electrode of the first battery and the positive electrode of the second battery changes from the third impedance to the fourth impedance; When the impedance between the two ends of the second regulating unit connecting the positive electrode of the first battery and the positive electrode of the second battery changes from the third impedance to the fourth impedance, the first current of the first battery is less than or equal to the maximum discharge current of the first battery, and the second current of the second battery is less than or equal to the maximum discharge current of the second battery.

14. The method according to claim 11, characterized in that The electronic device further includes a power module, the power module is used to receive the discharge current of the positive electrode of the first battery and the positive electrode of the second battery or input the charging current to the positive electrode of the first battery and the positive electrode of the second battery; the second regulating unit includes a fourth terminal, a fifth terminal and a sixth terminal; in The fifth end is connected to the positive electrode of the first battery, the sixth end is connected to the power module and the positive electrode of the second battery, and the sum of the impedance between the positive electrode of the first battery and the fifth end and the impedance between the sixth end and the power module is less than the impedance between the positive electrode of the second battery and the power module.

15. The method according to claim 14, characterized in that The first adjustment portion includes a first end, a second end and a third end; The first end is grounded, and the second end is used to receive the first control signal; The third end is connected to the fourth end, and the third end is used to output voltage to the fourth end; The second regulating unit includes a plurality of field effect transistors connected in series, the gate of each field effect transistor is connected to the fourth end, the seventh end of the first field effect transistor among the plurality of field effect transistors is connected to the fifth end, and the eighth end of the second field effect transistor among the plurality of field effect transistors is connected to the sixth end, wherein the seventh end is one end of the source and the drain of the first field effect transistor that is not connected to other field effect transistors, and the eighth end is one end of the source and the drain of the second field effect transistor that is not connected to other field effect transistors; A negative electrode of the first battery and a negative electrode of the second battery are grounded.

16. The method according to claim 15, characterized in that The second regulating unit further includes a first resistor, and the first regulating unit further includes a second resistor, a third resistor, a first capacitor, a second capacitor and a third field effect transistor; wherein One end of the first resistor is connected to the fourth end, and the other end of the first resistor is connected to the source or drain of any field effect transistor among the plurality of field effect transistors; One end of the second resistor is connected to the second end, and the other end of the second resistor is connected to one end of the first capacitor, one end of the third resistor and the gate of the third field effect transistor; The source of the third field effect transistor is connected to one end of the second capacitor and the third end, and the drain of the third field effect transistor is connected to the first end, or the drain of the third field effect transistor is connected to one end of the second capacitor and the third end, and the source of the third field effect transistor is connected to the first end; The other end of the first capacitor, the other end of the third resistor, and the other end of the second capacitor are connected to the first end.

17. The method according to claim 16, characterized in that The third field effect transistor is an N-channel enhancement type field effect transistor, the plurality of field effect transistors included in the second regulating unit are P-channel enhancement type field effect transistors, and the gate of the third field effect transistor is connected to the other end of the second resistor, one end of the first capacitor, and one end of the third resistor, the drain of the third field effect transistor is connected to one end of the second capacitor and the third end, and the source of the third field effect transistor is connected to the first end; and The control module outputs a first control signal to the first regulating unit when a first regulating condition is met, including: When the first adjustment condition is met, if the third voltage is greater than the fourth voltage, the control signal output by the control module to the first adjustment unit is adjusted from the third control signal to the first control signal, wherein the duty cycle of the first control signal is greater than the duty cycle of the third control signal; When the first adjustment condition is met, if the fourth voltage is greater than the third voltage, the control signal output by the control module to the first adjustment unit is adjusted from the fourth control signal to the first control signal, wherein the duty cycle of the first control signal is less than the duty cycle of the fourth control signal.

18. A chip, characterized in that: The chip includes the power supply circuit according to any one of claims 1 to 9.

19. An electronic device, characterized in that: The electronic device comprises a first battery, a second battery and the power supply circuit according to any one of claims 1 to 9.

20. The electronic device according to claim 19, characterized in that: The electronic device is a foldable device, and the first battery and the second battery are respectively arranged on both sides of a folding axis of the electronic device.

Citation Information

Patent Citations

  • Charging and discharging circuit and electronic equipment

    CN115001063A

  • Double-battery charging and discharging circuit, control method and electronic equipment

    CN115085302A