Circuit, control method and control device of circuit, and vehicle

By designing a battery circuit including switch and voltage equalization branch, the circulation problem arises in the battery circuit in parallel is solved, and the performance and safety of the circuit are significantly improved.

CN120092374APending Publication Date: 2025-06-03YINWANG INTELLIGENT TECHNOLOGIES CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202280100781.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-10-27
Publication Date
2025-06-03

AI Technical Summary

Technical Problem

Battery circuits that can switch series and parallel connections are prone to circulation problems in parallel states, which affects the safety and performance of the battery circuit.

Method used

A circuit is designed, including a first battery pack, a second battery pack, a switch and a first branch. By controlling the state of the switch and the fifth switch, the voltage balance of the two battery packs is achieved, thereby solving the circulation problem.

Benefits of technology

By equalizing the voltage of the battery pack, the circuit performance is significantly improved, the circulation problem is avoided, and the circuit safety and usage performance is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120092374A_ABST
    Figure CN120092374A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a circuit, a circuit control method and device and a vehicle, and can be applied to the fields of vehicles, terminal products, household products and the like. The circuit comprises a first battery pack, a second battery pack, a first switch, a second switch, a third switch, a fourth switch and a first branch circuit, and the first branch circuit comprises a first resistor and a fifth switch which are connected in series; the positive electrode of the first battery pack is electrically connected with the positive electrode of the second battery pack through the first switch and the second switch; the cathode of the first battery pack is electrically connected with the cathode of the second battery pack through a third switch and a fourth switch; the first branch is connected in parallel with the first switch, the second switch, the third switch or the fourth switch. The voltage of the first battery pack and the voltage of the second battery pack are balanced by using the first branch circuit, so that the circuit performance can be remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Circuit, Control Method and Control Device of Circuit, and Vehicle

[0001] The embodiments of the present application relate to the field of electronic and electrical technologies, and more specifically, to a circuit, a control method and a control device of the circuit, and a vehicle.

[0002] For a battery circuit with a switchable series-parallel mode, the potential of the battery charge-discharge interface can be changed by changing its series-parallel mode to be compatible with high-voltage or low-voltage power supply devices or high-voltage or low-voltage power-consuming devices. At present, battery circuits with a switchable series-parallel mode have been widely used in fields such as vehicles, terminal products, and household products.

[0003] Specifically, when the battery circuit is switched to series, the battery can be charged by a high-voltage power supply device or discharged to a high-voltage power-consuming device through the battery; when the battery circuit is switched to parallel, the battery can be charged by a low-voltage power supply device or discharged to a low-voltage power-consuming device through the battery. However, there are problems such as circulating current in the battery circuit with a switchable series-parallel mode, which affect the use performance of the battery circuit.

[0004]

[0005] The embodiments of the present application provide a circuit, a control method and a control device of the circuit, and a vehicle, which can significantly improve the circuit performance.

[0006] In a first aspect, a circuit is provided, including: a first battery pack, a second battery pack, a first switch, a second switch, a third switch, a fourth switch, and a first branch. The first branch includes a first resistor and a fifth switch connected in series; wherein, the positive electrode of the first battery pack is electrically connected to the positive electrode of the second battery pack through the first switch and the second switch; the negative electrode of the first battery pack is electrically connected to the negative electrode of the second battery pack through the third switch and the fourth switch; the first branch is connected in parallel with the first switch, the second switch, the third switch, or the fourth switch.

[0007] Based on the above circuit, if the first switch, the second switch, the third switch, and the fourth switch are closed, the first battery pack and the second battery pack can be in a parallel state. However, if there is a voltage difference between the first battery pack and the second battery pack, a circulating current problem will occur during parallel connection, affecting the safety and performance of the circuit.

[0008] The circuit provided by the embodiments of the present application further includes a first branch, which is connected in parallel with the first switch, the second switch, the third switch, or the fourth switch. The first branch can equalize the voltages of the two battery packs, thereby solving the circulating current problem in the parallel state of the battery packs and significantly improving the circuit performance.

[0009] In combination with the first aspect, in certain implementations of the first aspect, the circuit is configured to close the fifth switch when the voltages of the first battery pack and the second battery pack are not equal, and close the switches among the first switch, the second switch, the third switch, and the fourth switch that are not in parallel with the first branch, and open the switches among the first switch, the second switch, the third switch, and the fourth switch that are in parallel with the first branch (that is, the circuit is configured to balance the voltages of the first battery pack and the second battery pack).

[0010] In the embodiments of the present application, when the voltages of the first battery pack and the second battery pack are not equal, closing the switches among the first switch, the second switch, the third switch, and the fourth switch that are not in parallel with the first branch and the fifth switch, and opening the switches among the first switch, the second switch, the third switch, and the fourth switch that are in parallel with the first branch, the balancing current of the voltages of the first battery pack V1 and the second battery pack V2 can be controlled within a safe range, so as to solve the problem of circulating current when the battery packs are in parallel in the circuit and significantly improve the circuit performance.

[0011] In combination with the first aspect, in certain implementations of the first aspect, the circuit is configured to close the fifth switch when the voltage difference between the first battery pack and the second battery pack is greater than a first threshold, and close the switches among the first switch, the second switch, the third switch, and the fourth switch that are not in parallel with the first branch, and open the switches among the first switch, the second switch, the third switch, and the fourth switch that are in parallel with the first branch (that is, the circuit is configured to balance the voltages of the first battery pack and the second battery pack).

[0012] Wherein, the first threshold can be a value such as 5V, 10V, 20V, etc., and the specific value can be determined in combination with the actual situation, and the present application does not make any limitation thereto.

[0013] In the embodiments of the present application, when the voltage difference between the first battery pack and the second battery pack is greater than the first threshold, the first branch can be used to balance the voltages of the first battery pack and the second battery pack, avoiding frequent balancing and reducing the waiting time during user use.

[0014] In combination with the first aspect, in certain implementations of the first aspect, the circuit further includes a first interface and a sixth switch. The negative electrode of the first battery pack is electrically connected to the positive electrode of the second battery pack through the sixth switch. The first end of the first interface is connected between the first switch and the second switch, and the second end of the first interface is connected between the third switch and the fourth switch. The first interface is used to connect a first device, and the first device includes a first power supply device or a first power-consuming device.

[0015] Based on this circuit, the first battery pack and the second battery pack can be configured to work in series, parallel, or independent modes by closing or opening the switches. The circuit can be compatible with the first device within different voltage ranges in different working modes, which can improve the universality of the application of this circuit.

[0016] Combined with the first aspect, in some implementations of the first aspect, the first device includes the first power supply device, and the first power supply device is used to charge the first battery pack and / or the second battery pack; the circuit is configured to close the first switch, the second switch, the third switch, and the fourth switch and open the fifth switch and the sixth switch when the sum of the voltages of the first battery pack and the second battery pack is less than twice the maximum output voltage of the first power supply device (that is, the circuit is configured to charge the first battery pack and the second battery pack in parallel).

[0017] Optionally, the circuit can also be configured to close the first switch, the fourth switch, and the sixth switch and open the second switch, the third switch, and the fifth switch when the sum of the voltages of the first battery pack and the second battery pack is less than the maximum output voltage of the first power supply device (that is, the circuit is configured to charge the first battery pack and the second battery pack in series).

[0018] The circuit provided by the embodiments of the present application can be configured such that when the sum of the voltages of the first battery pack and the second battery pack is less than the maximum output voltage of the first power supply device, the first battery pack and the second battery pack are charged in series. Compared with charging in parallel, the current in the series circuit is smaller, and the loss to the circuit is also smaller.

[0019] Optionally, when the sum of the voltages of the first battery pack and the second battery pack is less than twice the maximum output voltage of the first power supply device, closing the first switch, the second switch, the third switch, and the fourth switch and opening the fifth switch and the sixth switch further includes: when the voltage difference between the first battery pack and the second battery pack is greater than the second threshold, closing the fifth switch and closing the switches among the first switch, the second switch, the third switch, and the fourth switch that are not in parallel with the first branch, and opening the switches among the first switch, the second switch, the third switch, and the fourth switch that are in parallel with the first branch and the sixth switch (that is, the circuit is configured to equalize the voltages of the first battery pack and the second battery pack); and / or, when the voltage difference between the first battery pack and the second battery pack is less than or equal to the second threshold, closing the first switch, the second switch, the third switch, and the fourth switch and opening the fifth switch and the sixth switch (that is, the circuit is configured to charge the first battery pack and the second battery pack in parallel).

[0020] The second threshold can also be values such as 5V, 10V, 20V, etc. The specific value can be determined in combination with the actual situation, and the present application does not make any limitations on this.

[0021] In the embodiments of the present application, the circuit can be flexibly configured into working modes such as series charging, parallel charging, or voltage equalization according to the relationship between the voltages of the first battery pack and the second battery pack and the maximum output voltage of the first power supply device, enabling the battery to be more widely compatible with power supply devices with more different power supply voltage ranges and improving the user's charging experience.

[0022] Optionally, the circuit can also be configured to separately charge the first battery pack and the second battery pack by using the first power supply device. Specifically, the circuit can be configured to close the first switch and the third switch and open the second switch and the fourth switch when the voltage of the first battery pack is less than the voltage of the second battery pack; and / or, the circuit is configured to close the second switch and the fourth switch and open the first switch and the third switch when the voltage of the first battery pack is greater than the voltage of the second battery pack.

[0023] Optionally, the embodiments of the present application can equalize the voltages of the first battery pack and the second battery pack through separate charging of the first battery pack and the second battery pack. For example, when the voltage of the first battery pack is less than the voltage of the second battery pack, the first switch and the third switch can be closed, and the second switch and the fourth switch can be opened to independently charge the first battery pack until the voltages of the first battery pack and the second battery pack are equal (or the voltage difference between the first battery pack and the second battery pack is less than or equal to the second threshold), and then stop the separate charging of the first battery pack; for another example, when the voltage of the first battery pack is greater than the voltage of the second battery pack, the second switch and the fourth switch can be closed, and the first switch and the third switch can be opened to independently charge the second battery pack until the voltages of the first battery pack and the second battery pack are equal (or the voltage difference between the first battery pack and the second battery pack is less than or equal to the second threshold), and then stop the separate charging of the second battery pack.

[0024] In the embodiments of the present application, when there is a voltage difference or a large voltage difference between the first battery pack and the second battery pack, the independent charging mode (i.e., separately charging the first battery pack or the second battery pack) can be adopted to reduce the voltage difference between the two battery packs, so as to achieve the voltage equalization of the two battery packs, thereby being able to solve the circulating current problem in the parallel state of the battery packs and significantly improving the circuit performance. Compared with equalizing the voltage through the first branch, the independent charging mode can ensure a higher charging voltage, charging power, and charging speed.

[0025] In combination with the first aspect, in some implementations of the first aspect, the first device includes the first power-consuming device, and the first battery pack and the second battery pack are used to discharge the first power-consuming device; the circuit is configured to close the first switch, the second switch, the third switch, and the fourth switch and open the fifth switch and the sixth switch when the sum of the voltages of the first battery pack and the second battery pack is less than or equal to twice the maximum input voltage of the first power-consuming device (i.e., the circuit is configured to discharge the first battery pack and the second battery pack in parallel).

[0026] Optionally, the circuit can also be configured to close the first switch, the fourth switch, and the sixth switch and open the second switch, the third switch, and the fifth switch when the sum of the voltages of the first battery pack and the second battery pack is less than or equal to the maximum input voltage of the first power-consuming device (i.e., the circuit is configured to discharge the first battery pack and the second battery pack in series).

[0027] The circuit provided by the embodiments of the present application can be configured to discharge the first battery pack and the second battery pack in series when the sum of the voltages of the first battery pack and the second battery pack is less than or equal to the maximum input voltage of the first power-consuming device. Compared with discharging in parallel, the current in the series circuit is smaller and the loss of the circuit is also smaller.

[0028] Optionally, when the sum of the voltages of the first battery pack and the second battery pack is less than or equal to twice the maximum input voltage of the first power-consuming device, closing the first switch, the second switch, the third switch, and the fourth switch and opening the fifth switch and the sixth switch further includes: closing the fifth switch when the voltage difference between the first battery pack and the second battery pack is greater than the third threshold, and closing the switches among the first switch, the second switch, the third switch, and the fourth switch that are not in parallel with the first branch, and opening the switches among the first switch, the second switch, the third switch, and the fourth switch that are in parallel with the first branch and the sixth switch (i.e., the circuit is configured to balance the voltages of the first battery pack and the second battery pack); and / or, closing the first switch, the second switch, the third switch, and the fourth switch and opening the fifth switch and the sixth switch when the voltage difference between the first battery pack and the second battery pack is less than or equal to the third threshold (i.e., the circuit is configured to discharge the first battery pack and the second battery pack in parallel).

[0029] The third threshold can also be values such as 5V, 10V, 20V, etc. The specific value can be determined in combination with the actual situation, and the present application does not limit this.

[0030] In the embodiments of the present application, the circuit can be flexibly configured into modes such as series discharge, parallel discharge, or voltage equalization according to the relationship between the voltages of the first battery pack and the second battery pack and the maximum input voltage of the first electrical device, enabling the battery to be more widely compatible with electrical devices of different input voltages and improving the user experience of using the battery to supply power externally.

[0031] Similarly, in actual operation, the circuit can also be configured to discharge the first electrical device separately through the first battery pack or the second battery pack.

[0032] Combined with the first aspect, in some implementation manners of the first aspect, the first electrical device includes a capacitor, and the circuit further includes a second branch, where the second branch includes a second resistor and a seventh switch connected in series, and the second branch is connected in parallel with the first switch, the second switch, the third switch, the fourth switch, or the sixth switch. Among them, the second branch is used for pre-charging the capacitor of the first electrical device.

[0033] In the embodiments of the present application, the first electrical device may include a capacitor, and the circuit may further include a second branch, which is mainly used for pre-charging the capacitor of the first electrical device, so as to avoid the impact on devices such as loads and switches caused by excessive circuit current when directly closing the switch, protect the circuit devices, improve the circuit safety, and extend the service life of the circuit. Combined with the first aspect, in some implementation manners of the first aspect, the first resistor and the second resistor are shared resistors, and the fifth switch and the seventh switch are shared switches.

[0034] In the embodiments of the present application, the first resistor and the second resistor can be shared, and the fifth switch and the seventh switch can be shared, so as to achieve the functions of equalization and pre-charging through one resistor and one switch (i.e., one branch), thereby saving devices, reducing the volume of the circuit, and lowering the cost.

[0035] Combined with the first aspect, in some implementation manners of the first aspect, the circuit further includes a second interface and an eighth switch. The first end of the second interface is connected to the positive electrode of the first battery pack through the eighth switch, and the second end of the second interface is connected to the negative electrode of the second battery pack through the fourth switch. The second interface is used to connect a second device, and the second device includes a second power supply device or a second electrical device.

[0036] In the embodiments of the present application, while including the first interface, the circuit can also include a second interface, enabling the circuit to be connected to the second device while connecting the first device, thereby improving the flexibility and universality of circuit applications.

[0037] In connection with the first aspect, in certain implementations of the first aspect, the second device includes the second power supply device; the circuit is configured to close the fourth switch, the sixth switch, and the eighth switch when the sum of the voltages of the first battery pack and the second battery pack is less than the maximum output voltage of the second power supply device (i.e., the circuit is configured to perform series charging for the first battery pack and the second battery pack).

[0038] In connection with the first aspect, in certain implementations of the first aspect, the second device includes the second power-consuming device; the circuit is configured to close the fourth switch, the sixth switch, and the eighth switch when the sum of the voltages of the first battery pack and the second battery pack is less than or equal to the maximum input voltage allowed by the second power-consuming device (i.e., the circuit is configured to perform series discharging for the second power-consuming device through the first battery pack and the second battery pack).

[0039] In connection with the first aspect, in certain implementations of the first aspect, the second power-consuming device includes a capacitor, and the circuit further includes a third branch, the third branch includes a third resistor and a ninth switch connected in series, and the third branch is connected in parallel with the fourth switch, the sixth switch, or the eighth switch. Among them, the third branch is used for pre-charging the capacitor of the second power-consuming device.

[0040] In the embodiments of the present application, the second power-consuming device may include a capacitor, and the circuit may further include a third branch, which is mainly used for pre-charging the capacitor of the second power-consuming device, so as to avoid the impact on devices such as loads and switches caused by excessive circuit current when directly closing the switch, and to protect the circuit devices.

[0041] In connection with the first aspect, in certain implementations of the first aspect, the first resistor and the third resistor are shared resistors, and the fifth switch and the ninth switch are shared switches.

[0042] In the embodiments of the present application, the first resistor and the third resistor can be shared, and the fifth switch and the ninth switch can be shared, so as to achieve the functions of balancing and pre-charging through one resistor and one switch (i.e., one branch), thereby being able to save devices, reduce the volume of the circuit, and reduce costs.

[0043] In summary, the first resistor, the second resistor, and the third resistor can be shared resistors, and the fifth switch, the seventh switch, and the ninth switch can be shared switches.

[0044] In connection with the first aspect, in certain implementations of the first aspect, the eighth switch is located between the first battery pack and the first switch, and the first branch is connected in parallel with the first switch, the second switch, the third switch, the fourth switch, or the eighth switch.

[0045] Second aspect, a control method for a circuit is provided. The circuit includes: a first battery pack, a second battery pack, a first switch, a second switch, a third switch, a fourth switch, and a first branch. The first branch includes a first resistor and a fifth switch connected in series. Wherein, the positive electrode of the first battery pack is electrically connected to the positive electrode of the second battery pack through the first switch and the second switch; the negative electrode of the first battery pack is electrically connected to the negative electrode of the second battery pack through the third switch and the fourth switch; the first branch is connected in parallel with the first switch, the second switch, the third switch, or the fourth switch. The control method includes: obtaining the voltages of the first battery pack and the second battery pack; controlling the fifth switch in the first branch to be closed or opened according to the voltage difference between the first battery pack and the second battery pack. Wherein, controlling the fifth switch in the first branch to be closed can be used to balance the voltages of the first battery pack and the second battery pack.

[0046] Optionally, when the voltages of the first battery pack and the second battery pack are not equal, the voltages of the first battery pack and the second battery pack can be balanced by controlling the fifth switch to be closed, and closing the switches among the first switch, the second switch, the third switch, and the fourth switch that are not connected in parallel with the first branch, and controlling the switches among the first switch, the second switch, the third switch, and the fourth switch that are connected in parallel with the first branch to be opened.

[0047] In an embodiment of the present application, based on the above circuit, the fifth switch in the first branch can be controlled to be closed according to the voltage difference between the first battery pack and the second battery pack to achieve the balance of the voltages of the two battery packs, thereby being able to solve the circulating current problem in the parallel state of the battery packs and significantly improving the circuit performance.

[0048] Combined with the second aspect, in some implementation manners of the second aspect, the controlling the fifth switch in the first branch to be closed or opened according to the voltage difference between the first battery pack and the second battery pack includes: when the voltage difference between the first battery pack and the second battery pack is greater than a first threshold, controlling the fifth switch to be closed, and closing the switches among the first switch, the second switch, the third switch, and the fourth switch that are not connected in parallel with the first branch, and controlling the switches among the first switch, the second switch, the third switch, and the fourth switch that are connected in parallel with the first branch to be opened.

[0049] In an embodiment of the present application, when the voltage difference between the first battery pack and the second battery pack is greater than the first threshold, the first branch can be used to balance the voltages of the first battery pack and the second battery pack, avoiding frequent balancing and reducing the waiting time during user use.

[0050] In combination with the second aspect, in some implementations of the second aspect, the circuit further includes a first interface and a sixth switch. The negative electrode of the first battery pack is electrically connected to the positive electrode of the second battery pack through the sixth switch. The first end of the first interface is connected between the first switch and the second switch, and the second end of the first interface is connected between the third switch and the fourth switch. The first interface is used to connect a first device, and the first device includes a first power supply device or a first power-consuming device.

[0051] In combination with the second aspect, in some implementations of the second aspect, the first device includes the first power supply device; the control method further includes: when the sum of the voltages of the first battery pack and the second battery pack is less than twice the maximum output voltage of the first power supply device, controlling to close the first switch, the second switch, the third switch, and the fourth switch, and controlling to open the fifth switch and the sixth switch (i.e., controlling the first battery pack and the second battery pack to be charged in parallel).

[0052] In combination with the second aspect, in some implementations of the second aspect, the control method further includes: when the sum of the voltages of the first battery pack and the second battery pack is less than the maximum output voltage of the first power supply device, controlling to close the first switch, the fourth switch, and the sixth switch, and controlling to open the second switch, the third switch, and the fifth switch (i.e., controlling the first battery pack and the second battery pack to be charged in series).

[0053] In combination with the second aspect, in some implementations of the second aspect, when the sum of the voltages of the first battery pack and the second battery pack is less than twice the maximum output voltage of the first power supply device, controlling to close the first switch, the second switch, the third switch, and the fourth switch, and controlling to open the fifth switch and the sixth switch, further includes: when the voltage difference between the first battery pack and the second battery pack is greater than a second threshold, controlling to close the fifth switch, and closing the switch among the first switch, the second switch, the third switch, and the fourth switch that is not in parallel with the first branch, and controlling to open the switch among the first switch, the second switch, the third switch, and the fourth switch that is in parallel with the first branch and the sixth switch (i.e., controlling to equalize the voltages of the first battery pack and the second battery pack); and / or, when the voltage difference between the first battery pack and the second battery pack is less than or equal to the second threshold, controlling to close the first switch, the second switch, the third switch, and the fourth switch, and controlling to open the fifth switch and the sixth switch (i.e., controlling the first battery pack and the second battery pack to be charged in parallel).

[0054] In combination with the second aspect, in some implementations of the second aspect, the first device includes the first power supply device; the control method further includes: when the voltage of the first battery pack is less than the voltage of the second battery pack, controlling to close the first switch and the third switch, and controlling to open the second switch and the fourth switch; and / or, when the voltage of the first battery pack is greater than the voltage of the second battery pack, controlling to close the second switch and the fourth switch, and controlling to open the first switch and the third switch.

[0055] In combination with the second aspect, in some implementations of the second aspect, the first device includes the first power-consuming device; the control method further includes: when the sum of the voltages of the first battery pack and the second battery pack is less than or equal to twice the maximum input voltage of the first power-consuming device, controlling to close the first switch, the second switch, the third switch, and the fourth switch, and controlling to open the fifth switch and the sixth switch (i.e., controlling the first battery pack and the second battery pack to discharge in parallel).

[0056] In combination with the second aspect, in some implementations of the second aspect, the control method further includes: when the sum of the voltages of the first battery pack and the second battery pack is less than or equal to the maximum input voltage of the first power-consuming device, controlling to close the first switch, the fourth switch, and the sixth switch, and controlling to open the second switch, the third switch, and the fifth switch (i.e., controlling the first battery pack and the second battery pack to discharge in series).

[0057] In combination with the second aspect, in some implementations of the second aspect, when the sum of the voltages of the first battery pack and the second battery pack is less than or equal to twice the maximum input voltage of the first power-consuming device, controlling to close the first switch, the second switch, the third switch, and the fourth switch, and controlling to open the fifth switch and the sixth switch, further includes: when the voltage difference between the first battery pack and the second battery pack is greater than a third threshold, controlling to close the fifth switch, and closing the switch among the first switch, the second switch, the third switch, and the fourth switch that is not in parallel with the first branch, and controlling to open the switch among the first switch, the second switch, the third switch, and the fourth switch that is in parallel with the first branch and the sixth switch (i.e., controlling to equalize the voltages of the first battery pack and the second battery pack); and / or, when the voltage difference between the first battery pack and the second battery pack is less than or equal to the third threshold, controlling to close the first switch, the second switch, the third switch, and the fourth switch, and controlling to open the fifth switch and the sixth switch (i.e., controlling the first battery pack and the second battery pack to discharge in parallel).

[0058] In a third aspect, a control method for a circuit is provided. The circuit includes a first battery pack and a second battery pack, and is configured to be connected to a power supply device and charge the first battery pack and / or the second battery pack through the power supply device. The operating modes of the circuit include a first mode and a second mode. The control method includes: obtaining the voltages of the first battery pack and the second battery pack; when the sum of the voltages of the first battery pack and the second battery pack is greater than or equal to the maximum output voltage of the power supply device, controlling the circuit to switch to the second mode; wherein, in the first mode, the first battery pack is connected in series with the second battery pack; in the second mode, the first battery pack is connected in parallel with the second battery pack.

[0059] In the embodiments of the present application, based on a circuit including a first battery pack and a second battery pack, and having series charging mode (i.e., the first mode) and parallel charging mode (i.e., the second mode) as operating modes, during the charging process, the voltages of the first battery pack and the second battery pack can be dynamically identified and the charging mode can be dynamically updated. Specifically, during the charging process, when it is monitored that the sum of the voltages of the first battery pack and the second battery pack is greater than or equal to the maximum output voltage of the power supply device, the circuit can be controlled to switch from other charging modes to the parallel charging mode. Thus, on the one hand, when the battery pack voltage no longer supports the actual charging mode used, it can be timely adjusted to a more suitable charging mode for charging, avoiding the situation of charging stagnation and improving the reliability of charging; on the other hand, the capacity of the power supply device can be fully utilized and the compatibility of the power supply device can be improved.

[0060] In combination with the third aspect, in some implementation manners of the third aspect, the method further includes: when the sum of the voltages of the first battery pack and the second battery pack is less than the maximum output voltage of the power supply device, controlling the circuit to switch to the first mode.

[0061] Based on the solution of the present application, during the charging process, when it is monitored that the sum of the voltages of the first battery pack and the second battery pack is less than the maximum output voltage of the power supply device, it can be controlled to charge in the series charging mode first. As the voltages of the first battery pack and the second battery pack increase, when it is monitored that the sum of the voltages of the first battery pack and the second battery pack is greater than or equal to the maximum output voltage of the power supply device, the circuit can be controlled to switch from the series charging mode to the parallel charging mode. Thus, on the one hand, the situation of charging stagnation can be avoided and the reliability of charging can be improved; on the other hand, the capacity of the power supply device can be fully utilized and the compatibility of the power supply device can be improved.

[0062] Combined with the third aspect, in some implementation manners of the third aspect, the operating mode of the circuit further includes a third mode. When the sum of the voltages of the first battery pack and the second battery pack is greater than or equal to the maximum output voltage of the power supply device, controlling the circuit to switch to the second mode includes: when the sum of the voltages of the first battery pack and the second battery pack is greater than or equal to the maximum output voltage of the power supply device, obtaining the voltage difference between the first battery pack and the second battery pack; when the voltage difference between the first battery pack and the second battery pack is less than or equal to a first threshold, controlling the circuit to switch to the second mode; when the voltage difference between the first battery pack and the second battery pack is greater than the first threshold, controlling the circuit to switch to the third mode; wherein, in the third mode, the circuit is configured to charge the first battery pack or charge the second battery pack.

[0063] Optionally, the charging of the first battery pack or the second battery pack above can be that the high-voltage battery pack charges the low-voltage battery pack (i.e., corresponding to the above-mentioned equalization through the first branch); it can also be that the power supply device directly charges the battery pack with a lower voltage until the voltage difference between the two battery packs is less than or equal to the threshold, so as to achieve the voltage equalization of the two battery packs, thereby being able to solve the circulating current problem in the parallel state of the battery packs and significantly improving the circuit performance.

[0064] In a fourth aspect, a control device for a circuit is provided, including: a processing module for executing the control method in the second aspect or any possible implementation manner in the second aspect; and / or, for executing the control method in the third aspect or any possible implementation manner in the third aspect.

[0065] In a fifth aspect, a control device for a circuit is provided, including at least one processor, and the at least one processor is used to be coupled with a memory, read and execute instructions in the memory to implement the control method for executing in the second aspect or any possible implementation manner in the second aspect; and / or, to implement the control method for executing in the third aspect or any possible implementation manner in the third aspect.

[0066] In a sixth aspect, a computer-readable storage medium is provided, which is characterized by including instructions that, when the instructions run on a computer, cause the computer to execute the control method for executing in the second aspect or any possible implementation manner in the second aspect; and / or, execute the control method for executing in the third aspect or any possible implementation manner in the third aspect.

[0067] In a seventh aspect, a computer program product is provided, including instructions that, when the instructions run on a computer, the control method in the second aspect or any possible implementation manner in the second aspect is executed; or the control method in the third aspect or any possible implementation manner in the third aspect is executed.

[0068] In an eighth aspect, a computing device is provided, including: at least one processor and a memory, the at least one processor being coupled to the memory and configured to read and execute instructions in the memory to execute the control method as in the second aspect or any possible implementation manner of the second aspect; and / or execute the control method as in the third aspect or any possible implementation manner of the third aspect.

[0069] In a ninth aspect, a chip is provided, the chip including a processor and a data interface, the processor reading instructions stored on a memory through the data interface and executing the control method as in the second aspect or any possible implementation manner of the second aspect; and / or execute the control method as in the third aspect or any possible implementation manner of the third aspect.

[0070] Optionally, as an implementation manner, the chip may further include a memory, instructions being stored in the memory, the processor being configured to execute the instructions stored on the memory, and when the instructions are executed, the processor is configured to execute the control method as in the second aspect or any possible implementation manner of the second aspect; and / or execute the control method as in the third aspect or any possible implementation manner of the third aspect.

[0071] In a tenth aspect, an electronic device is provided, characterized by including a circuit as in the first aspect or any possible implementation manner of the first aspect.

[0072] In an eleventh aspect, a vehicle is provided, characterized by including a circuit as in the first aspect or any possible implementation manner of the first aspect.

[0073] FIG. 1 is an exemplary diagram of a vehicle provided by an embodiment of the present application.

[0074] FIG. 2 is an exemplary diagram of a battery circuit.

[0075] FIG. 3 is an exemplary diagram of a circuit provided by an embodiment of the present application.

[0076] FIG. 4 is an exemplary diagram of a circuit configured in a parallel working mode provided by an embodiment of the present application.

[0077] FIG. 5 is an exemplary diagram of a circuit configured in a balancing working mode provided by an embodiment of the present application.

[0078] FIG. 6 is an exemplary diagram of another circuit provided by an embodiment of the present application.

[0079] FIG. 7 is an exemplary diagram of another circuit configured in a series working mode provided by an embodiment of the present application.

[0080] FIG. 8 is an exemplary diagram of another circuit configured in a parallel operating mode provided by an embodiment of the present application.

[0081] FIG. 9 is an exemplary diagram of another circuit configured in a balancing operating mode provided by an embodiment of the present application.

[0082] FIG. 10 is an exemplary diagram of another circuit configured in an independent operating mode provided by an embodiment of the present application.

[0083] FIG. 11 is an exemplary diagram of another circuit configured in an independent operating mode provided by an embodiment of the present application.

[0084] FIG. 12 is an exemplary diagram of another circuit configured in a series operating mode provided by an embodiment of the present application.

[0085] FIG. 13 is an exemplary diagram of yet another circuit provided by an embodiment of the present application.

[0086] FIG. 14 is an exemplary diagram of still another circuit provided by an embodiment of the present application.

[0087] FIG. 15 is an exemplary diagram of a control method for a circuit provided by an embodiment of the present application.

[0088] FIG. 16 is an exemplary diagram of a control method for another circuit provided by an embodiment of the present application.

[0089] FIG. 17 is an exemplary diagram of a control method for yet another circuit provided by an embodiment of the present application.

[0090] FIG. 18 is a specific flowchart exemplary diagram of a control method for yet another circuit provided by an embodiment of the present application.

[0091] FIG. 19 is an exemplary diagram of a control device for a circuit provided by an embodiment of the present application.

[0092] FIG. 20 is an exemplary block diagram of the hardware structure of a control device for a circuit provided by an embodiment of the present application.

[0093] Next, the technical solutions in the embodiments of the present application will be described with reference to the accompanying drawings.

[0094] The solution of the present application can be applied to fields such as vehicles, terminal products, and home products. For example, it can be applied to products including batteries such as smart phones, desktop computers, laptop computers, tablet computers, wearable devices, home robots, or mobile vehicles, etc.

[0095] Among them, the mobile carrier may include road vehicles, water vehicles, air vehicles, industrial equipment, agricultural equipment, or entertainment equipment, etc. For example, the mobile carrier may be a vehicle, which is a vehicle in a broad sense, and may be a vehicle (such as a commercial vehicle, a passenger car, a motorcycle, a flying car, a train, etc.), an industrial vehicle (such as a forklift, a trailer, a tractor, etc.), an engineering vehicle (such as an excavator, a bulldozer, a crane, etc.), agricultural equipment (such as a lawn mower, a harvester, etc.), amusement equipment, a toy vehicle, etc. The embodiment of the present application does not specifically limit the type of vehicle. For another example, the mobile carrier may be a vehicle such as an airplane or a ship.

[0096] To facilitate understanding, the technology involved in the embodiments of the present application is introduced below using the application to a vehicle as an example.

[0097] FIG1 is an example diagram of a vehicle provided in an embodiment of the present application. As shown in FIG1 , the vehicle 10 may be a pure electric vehicle, a hybrid electric vehicle, an extended-range vehicle, a fuel cell vehicle, or the like including a battery 11. The vehicle 10 may charge the battery 11 through a power supply device, and the power supply device may include a wired charging pile 20, a wireless charging device, a power supply vehicle, or the like. For example, when the power supply device is a wired charging pile 20, the power supply device includes a charging pile body 21 and a charging gun 22, and the charging gun 22 is used to connect to the charging interface 12 of the vehicle 10 to charge the battery 11, wherein the charging interface 12 is electrically connected to the battery 11 inside the vehicle 10. It should be understood that the positions of the battery 11 and the charging interface 12 shown in the figure are only examples.

[0098] FIG2 is an example diagram of a battery circuit. As shown in FIG2, the battery circuit mainly includes a battery pack V, a switch (S1' to S4'), a resistor R, a shunt A, and a circuit breaker QF. The battery circuit can be connected to a charging pile or a load. When connected to a charging pile, the battery can be charged by the charging pile, or the battery can be powered by the grid through the charging pile; when connected to a load, the load can be powered. Among them, the battery pack V is composed of a plurality of battery cells connected in series. Based on this battery circuit, the charging pile can only charge batteries or vehicles whose charging voltage is within the output voltage range of the charging pile, and when the charging voltage of the battery exceeds the output voltage range of the charging pile, it is difficult for the charging pile to meet the battery's higher charging voltage requirements. For example, when the output voltage range of the charging pile is 200V-500V and the required charging voltage of the battery or vehicle is 800V, when the battery or vehicle is charged based on the charging pile, the voltage of the battery or vehicle can only reach 500V, which is difficult to meet the high voltage requirements of the battery or vehicle, and the user experience is poor. Moreover, the charging voltage of new energy vehicles is constantly increasing, for example, from 500V to 750V, 800V, 850V, 900V and other higher voltages. However, most of the current charging piles use a voltage standard of 500V or a similar range, which cannot support the charging needs of batteries with higher charging voltages.

[0099] When the above battery circuit includes more than two battery packs, the connection mode of series or parallel between the battery packs can be adjusted to change the potential of the external charging and discharging interface of the battery, so that it can be compatible with power supply devices with different output voltages or power-consuming devices with different input voltages. Specifically, if the battery circuit includes two battery packs, when the two battery packs are connected in series, the overall output voltage of the battery is relatively high, and the battery can be charged by a high-voltage power supply device or discharged to a high-voltage power-consuming device; when the two battery packs are connected in parallel, the battery can be charged by a low-voltage power supply device or discharged to a low-voltage power-consuming device. The above high voltage and low voltage are only relative values, not absolute voltage ranges. Exemplarily, if the battery includes 200 battery monomers, or called battery cells, where the first battery pack includes 100 cells and the second battery pack includes 100 cells (assuming the battery voltage of each monomer is 4V). When the first battery pack and the second battery pack are connected in series, the overall output or input voltage of the battery can reach 800V, which can be compatible with the charging and discharging requirements of higher voltages. When the first battery pack and the second battery pack are connected in parallel, the overall output or input voltage of the battery can reach 400V, which can be compatible with the charging and discharging requirements of lower voltages.

[0100] However, when the battery packs in the battery circuit are connected in parallel, if there is a voltage difference between different battery packs, a circulating current problem will occur, affecting the performance of the battery circuit.

[0101] Based on this, the embodiment of the present application provides a circuit (i.e., a battery circuit), which designs a first branch in the circuit to balance the voltages of two battery packs, thereby being able to solve the circulating current problem in the parallel state of the battery packs and significantly improving the circuit performance.

[0102] FIG. 3 is an exemplary diagram of a circuit provided by the embodiment of the present application. The structure and number of the circuit and each device in FIG. 3 are only an example of the embodiment of the present application and do not constitute a limitation to the present application.

[0103] As shown in FIG. 3, the circuit includes: a first battery pack V1, a second battery pack V2, a first switch S1, a second switch S2, a third switch S3, a fourth switch S4, and a first branch, and the first branch includes a first resistor R1 and a fifth switch S5 connected in series.

[0104] Wherein, the positive electrode of the first battery pack V1 is electrically connected to the positive electrode of the second battery pack V2 through the first switch S1 and the second switch S2; the negative electrode of the first battery pack V1 is electrically connected to the negative electrode of the second battery pack V2 through the third switch S3 and the fourth switch S4.

[0105] Among them, the embodiment provided by the circuit shown in FIG. 3 is described. The first branch is in parallel with the fourth switch S4. In the circuit provided by the embodiment of the present application, the first branch may also be in parallel with any one of the first switch S1, the second switch S2, the third switch S3, or the fourth switch S4; and in the circuit, one or more first branches may be included, and one or more first branches may be respectively in parallel with different switches. The embodiment of the present application does not limit the position and number of the first branches, but for the convenience of description, an example including one first branch is introduced.

[0106] Based on the circuit shown in FIG. 3, if the first switch S1, the second switch S2, the third switch S3, and the fourth switch S4 are closed and the fifth switch S5 is opened, the first battery pack V1 and the second battery pack V2 are in a parallel state (see FIG. 4). However, if there is a voltage difference between the first battery pack V1 and the second battery pack V2, a circulating current problem will occur during parallel connection. At this time, closing or opening the parallel circuit may affect the switch life, and in severe cases, it may cause the switch to stick, exacerbate battery loss, and affect the safety and performance of the circuit.

[0107] When the voltages of the first battery pack V1 and the second battery pack V2 are not equal (i.e., there is a voltage difference), as shown in FIG. 5, the circuit can be configured to close the fifth switch S5, and close the switches among the first switch S1, the second switch S2, the third switch S3, and the fourth switch S4 that are not in parallel with the first branch (such as S1, S2, S3 in FIG. 5), and open the switches among the first switch S1, the second switch S2, the third switch S3, and the fourth switch S4 that are in parallel with the first branch (such as S4 in FIG. 5). The equalizing current of the voltages of the first battery pack V1 and the second battery pack V2 can be controlled within a safe range, so as to solve the circulating current problem during battery pack parallel connection and significantly improve the circuit performance.

[0108] It should be noted that during the equalizing process, the first resistor in the first branch can reduce the current in the circuit, reduce the impact on the switch, and ensure the safe progress of the voltage equalizing process.

[0109] Optionally, when the voltage difference between the first battery pack V1 and the second battery pack V2 is greater than the first threshold, the circuit can be configured to close the fifth switch S5, and close the switches among the first switch S1, the second switch S2, the third switch S3, and the fourth switch S4 that are not in parallel with the first branch (such as S1, S2, S3 in FIG. 5), and open the switches among the first switch S1, the second switch S2, the third switch S3, and the fourth switch S4 that are in parallel with the first branch (such as S4 in FIG. 5), so as to equalize the voltages of the first battery pack V1 and the second battery pack V2, thereby avoiding frequent equalization and reducing the waiting time during user use.

[0110] Among them, the first threshold can be a value such as 5V, 10V, 20V, etc. The specific value can be determined in combination with the actual situation, and the present application does not limit this.

[0111] Optionally, the voltages of the two battery packs can be equalized after the battery charging and discharging are completed or when it is ready to stand still, or the voltages of the two battery packs can be equalized before the next charging and discharging. The present application does not limit this. Taking a vehicle including a battery as an example, in one implementation manner, when the vehicle is stationary and powered off, the voltages of the two battery packs are obtained. If the voltage difference between the two battery packs is less than or equal to the first threshold, the equalization function is not activated; if the voltage difference between the two battery packs is greater than the first threshold, the equalization function is activated, entering the equalization mode, and then the voltages of the two battery packs are obtained in real time until the voltage difference between the two battery packs is less than or equal to the first threshold, and then the equalization ends. In another implementation manner, when the vehicle starts or the vehicle is connected to a charging pile to prepare for charging, the voltages of the two battery packs can be obtained, and it is determined whether equalization is required according to the voltage difference between the two battery packs.

[0112] In a possible implementation manner, as shown in FIG. 6, the circuit may further include a first interface O1 and a sixth switch S6. The negative electrode of the first battery pack V1 is electrically connected to the positive electrode of the second battery pack V2 through the sixth switch S6. The positive electrode of the first battery pack V1 is connected to the positive electrode of the second battery pack V2 through the first switch S2 and the second switch S2. The negative electrode of the first battery pack V1 is connected to the negative electrode of the second battery pack V2 through the third switch S3 and the fourth switch S4. The first end of the first interface O1 is connected between the first switch S1 and the second switch S2, and the second end of the first interface O1 is connected between the third switch S3 and the fourth switch S4. Among them, the first interface O1 can be used to connect a first device, and the first device can be a first power supply device or a first power-consuming device. Based on this circuit, the first battery pack V1 and the second battery pack V2 can be configured into a series, parallel, or independent working mode by closing or opening the switches. The circuit can be compatible with the first device with different voltage ranges in different working modes, and can improve the universality of the application of the circuit.

[0113] Optionally, the first device may include a first power supply device, and the first power supply device is used to charge the first battery pack V1 and / or the second battery pack V2.

[0114] When the sum of the voltages of the first battery pack and the second battery pack is less than twice the maximum output voltage of the first power supply device (that is, the parallel voltage of the first battery pack V1 and the second battery pack V2 satisfies the output voltage range of the first power supply device), as shown in FIG. 8, the circuit can be configured to close the first switch S1, the second switch S2, the third switch S3, and the fourth switch S4, and open the fifth switch S5 and the sixth switch S6, so that the first battery pack V1 and the second battery pack V2 can be charged in parallel through the first power supply device.

[0115] Optionally, when the sum of the voltages of the first battery pack V1 and the second battery pack V2 is less than twice the maximum output voltage of the first power supply device, and the voltage difference between the first battery pack V1 and the second battery pack V2 is less than or equal to the second threshold, as shown in FIG. 8, the circuit can be configured to close the first switch S1, the second switch S2, the third switch S3, and the fourth switch S4, and open the fifth switch S5 and the sixth switch S6, so that the first battery pack V1 and the second battery pack V2 can be charged in parallel through the first power supply device. When the sum of the voltages of the first battery pack V1 and the second battery pack V2 is less than twice the maximum output voltage of the first power supply device, and the voltage difference between the first battery pack V1 and the second battery pack V2 is greater than the second threshold, as shown in FIG. 9, the circuit can be configured to close the fifth switch S5, and close the switches among the first switch S1, the second switch S2, the third switch S3, and the fourth switch S4 that are not in parallel with the first branch (such as S1, S2, S3 in FIG. 9), and open the sixth switch S6, and open the switches among the first switch S1, the second switch S2, the third switch S3, and the fourth switch S4 that are in parallel with the first branch (such as S4 in FIG. 9), so as to balance the voltages of the first battery pack V1 and the second battery pack V2.

[0116] Optionally, when the sum of the voltages of the first battery pack V1 and the second battery pack V2 is less than the maximum output voltage of the first power supply device (that is, the series voltage of the first battery pack V1 and the second battery pack V2 satisfies the output voltage range of the first power supply device), as shown in FIG. 7, the circuit can also be configured to close the first switch S1, the fourth switch S4, and the sixth switch S6, and open the second switch S2, the third switch S3, and the fifth switch S5, so that the first battery pack V1 and the second battery pack V2 can be charged in series through the first power supply device.

[0117] It should be understood that when the sum of the voltages of the first battery pack V1 and the second battery pack V2 is less than the maximum output voltage of the first power supply device, configuring the circuit for the first battery pack V1 and the second battery pack V2 to be charged in series results in a smaller current in the series circuit and less loss to the circuit compared to configuring it for parallel charging.

[0118] The power supply device involved in the embodiments of the present application is a device that can charge the first battery pack V1 and the second battery pack V2. The power supply device can be a fixed charging device or a mobile charging device, and can include, for example, a charger, a charging pile, a charging vehicle, etc. The present application does not make any limitations in this regard.

[0119] The circuit can also be configured to separately charge the first battery pack V1 and the second battery pack V2 using the first power supply device. For the specific switch closing and opening conditions, refer to FIGS. 10 and 11. As shown in FIG. 10, when separately charging the second battery pack V2, close the second switch S2 and the fourth switch S4, open the first switch S1 and the third switch S3, and open the fifth switch S5. As shown in FIG. 11, when separately charging the first battery pack V1, close the first switch S1 and the third switch S3, open the second switch S2 and the fourth switch S4.

[0120] Specifically, the circuit can be configured to close the first switch S1 and the third switch S3, open the second switch S2 and the fourth switch S4, and open the fifth switch S5 when the voltage of the first battery pack V1 is less than the voltage of the second battery pack V2; and / or, the circuit is configured to close the second switch S2 and the fourth switch S4, open the first switch S1 and the third switch S3 when the voltage of the first battery pack V1 is greater than the voltage of the second battery pack V2. Alternatively, the circuit can also be configured to close the first switch S1 and the third switch S3, open the second switch S2 and the fourth switch S4, and open the fifth switch S5 when the voltage of the first battery pack V1 is less than the voltage of the second battery pack V2 and the voltage difference is greater than a preset value; and / or, the circuit can also be configured to close the second switch S2 and the fourth switch S4, open the first switch S1 and the third switch S3 when the voltage of the first battery pack V1 is greater than the voltage of the second battery pack V2 and the voltage difference is greater than a preset value.

[0121] The embodiment of the present application can balance the voltages of the first battery pack V1 and the second battery pack V2 by separately charging the first battery pack V1 and the second battery pack V2. For example, when the voltage of the first battery pack V1 is less than the voltage of the second battery pack V2, the first switch S1 and the third switch S3 can be closed, the second switch S2 and the fourth switch S4 can be opened, and the first battery pack V1 can be independently charged until the voltages of the first battery pack V1 and the second battery pack V2 are equal (or the voltage difference between the first battery pack V1 and the second battery pack V2 is less than or equal to the second threshold), and then the separate charging of the first battery pack V1 can be stopped; for another example, when the voltage of the first battery pack V1 is greater than the voltage of the second battery pack V2, the second switch S2 and the fourth switch S4 can be closed, the first switch S1 and the third switch S3 can be opened, and the second battery pack V2 can be independently charged until the voltages of the first battery pack V1 and the second battery pack V2 are equal (or the voltage difference between the first battery pack V1 and the second battery pack V2 is less than or equal to the second threshold), and then the separate charging of the second battery pack V2 can be stopped.

[0122] In the embodiments of the present application, when there is a voltage difference or a large voltage difference between the first battery pack V1 and the second battery pack V2, an independent charging mode (i.e., charging the first battery pack V1 and the second battery pack V2 separately) can be adopted to reduce the voltage difference between the two battery packs, so as to achieve the voltage balance of the two battery packs, thereby solving the circulating current problem in the parallel state of the battery packs and significantly improving the circuit performance. Compared with balancing the voltage through the first branch, the independent charging mode can ensure a higher charging voltage, charging power, and charging speed.

[0123] Optionally, the second threshold can also be values such as 5V, 10V, 20V, etc. The specific value can be determined according to the actual situation, and the present application does not limit this.

[0124] The output voltage range of the power supply device mentioned in the embodiments of the present application refers to the output voltage capability range of the power supply device. For example, the output voltage capability range of a power supply device with a maximum output voltage of 500V can be set to 200 - 500V, and the output voltage capability range of a power supply device with a maximum output voltage of 800V can be set to 400 - 800V. The above-mentioned meeting the output voltage range of the first power supply device means falling within the output voltage range of the first power supply device.

[0125] In the embodiments of the present application, according to the relationship between the voltages of the first battery pack V1 and the second battery pack V2 and the maximum output voltage (or output voltage range) of the first power supply device, the circuit can be flexibly configured into working modes such as series charging, parallel charging, or voltage balancing, so that the battery can be more widely compatible with power supply devices with more different supply voltages, improving the user's charging experience.

[0126] Optionally, the first device may include a first electrical device, and the first battery pack V1 and the second battery pack V2 are used to discharge for the first electrical device.

[0127] When the sum of the voltages of the first battery pack V1 and the second battery pack V2 is less than or equal to twice the maximum input voltage of the first electrical device (i.e., the parallel voltage of the first battery pack V1 and the second battery pack V2 meets the input voltage range of the first electrical device), as shown in Figure 8, the circuit can be configured to close the first switch S1, the second switch S2, the third switch S3, and the fourth switch S4, and open the fifth switch S5 and the sixth switch S6, so that the first battery pack V1 and the second battery pack V2 discharge in parallel.

[0128] Optionally, when the sum of the voltages of the first battery pack V1 and the second battery pack V2 is less than or equal to twice the maximum input voltage of the first electrical device, and the voltage difference between the first battery pack V1 and the second battery pack V2 is less than or equal to the third threshold, as shown in FIG. 8, the circuit can be configured to close the first switch S1, the second switch S2, the third switch S3, and the fourth switch S4, and open the fifth switch S5 and the sixth switch S6, so that the first battery pack V1 and the second battery pack V2 discharge in parallel. When the sum of the voltages of the first battery pack V1 and the second battery pack V2 is less than or equal to twice the maximum input voltage of the first electrical device, and the voltage difference between the first battery pack V1 and the second battery pack V2 is greater than the third threshold, as shown in FIG. 9, the circuit can be configured to close the fifth switch S5, and close the switches among the first switch S1, the second switch S2, the third switch S3, and the fourth switch S4 that are not in parallel with the first branch, open the sixth switch S6, and open the switches among the first switch S1, the second switch S2, the third switch S3, and the fourth switch S4 that are in parallel with the first branch, so as to balance the voltages of the first battery pack V1 and the second battery pack V2.

[0129] Optionally, when the sum of the voltages of the first battery pack V1 and the second battery pack V2 is less than or equal to the maximum input voltage of the first electrical device (that is, when the series voltage of the first battery pack V1 and the second battery pack V2 meets the input voltage range of the first electrical device), as shown in FIG. 7, the circuit can be configured to close the first switch S1, the fourth switch S4, and the sixth switch S6, and open the second switch S2, the third switch S3, and the fifth switch S5, so that the first battery pack V1 and the second battery pack V2 discharge in series.

[0130] It should be understood that when the sum of the voltages of the first battery pack and the second battery pack is less than or equal to the maximum input voltage of the first electrical device, configuring the circuit for the first battery pack and the second battery pack to discharge in series results in a smaller current in the series circuit and less loss to the circuit compared to configuring them to discharge in parallel.

[0131] The electrical devices involved in the embodiments of the present application may include other vehicles, camping appliances (such as lighting equipment, induction cookers, heating equipment, electric ovens, etc.).

[0132] The third threshold can also be values such as 5V, 10V, 20V, etc. The specific value can be determined in combination with the actual situation, and the present application does not limit this.

[0133] Similarly, in actual operation, the circuit can also be configured to discharge the first electrical device separately through the first battery pack V1 and the second battery pack V2 respectively. For the specific switch closing and opening situations, refer to FIG. 10, FIG. 11, and the descriptions of other embodiments, which will not be elaborated here.

[0134] The input voltage range of the electrical device mentioned in the embodiments of the present application refers to the input voltage capability range of the electrical device.

[0135] In the embodiments of the present application, according to the relationship between the voltages of the first battery pack V1 and the second battery pack V2 and the maximum input voltage (or input voltage range) of the first electrical device, the circuit can be flexibly configured into modes such as series discharge, parallel discharge, or voltage equalization, enabling the battery to be more widely compatible with electrical devices of different input voltages and improving the user experience of using the battery to supply external power.

[0136] Optionally, the first electrical device may include a capacitor, and the circuit may further include a second branch, which includes a second resistor R2 and a seventh switch S7 connected in series. The second branch is connected in parallel with one of the first switch S1, the second switch S2, the third switch S3, the fourth switch S4, or the sixth switch S6 (exemplarily, see FIGS. 6 to 13). Among them, the second branch is used for pre-charging the capacitor of the first electrical device, thereby being able to avoid the impact on devices such as loads and switches caused by excessive circuit current when directly closing the switch, protecting the circuit devices, improving the circuit safety, and extending the service life of the circuit.

[0137] The realization of the capacitor pre-charging of the first electrical device can be achieved by closing the switch of the second branch and the switches in the pre-charging loop that are not connected in parallel with the second branch, and disconnecting the switches connected in parallel with the second branch and other switches. Exemplarily, taking the battery loop shown in FIG. 6 as an example, if only the second battery pack V2 is included in the pre-charging loop, the realization of the capacitor pre-charging of the first electrical device can be achieved by closing the second switch S2 and the seventh switch S7 and disconnecting the fourth switch S4 and other switches; if the first battery pack V1 and the second battery pack V2 are included in the pre-charging loop, the realization of the capacitor pre-charging of the first electrical device can be achieved by closing the first switch S1, the sixth switch S6, and the seventh switch S7 and disconnecting the fourth switch S4 and other switches.

[0138] In this circuit, one or more second branches may be included, and one or more second branches may be respectively connected in parallel with different switches. The embodiments of the present application do not limit the position and number of the second branches. Additionally, the specific setting position and the disconnection / closure situation of the second branch can be determined in combination with the specific working mode to ensure that capacitor pre-charging can be achieved during series discharge, parallel discharge, and independent discharge.

[0139] Optionally, the first resistor R1 and the second resistor R2 may be the same shared resistor, and the fifth switch S5 and the seventh switch S7 may be the same shared switch (such as FIGS. 6 to 13), so as to achieve the functions of equalization and pre-charging through one resistor and one switch (i.e., one branch), thereby being able to save devices, reduce the volume of the circuit, and lower the cost.

[0140] Optionally, as shown in FIG. 6, the circuit may further include a second interface O2 and an eighth switch S8. The first end of the second interface O2 is connected to the positive electrode of the first battery pack V1 through the eighth switch S8, and the second end of the second interface O2 is connected to the negative electrode of the second battery pack V2 through the fourth switch S4. Herein, the second interface O2 is used to connect a second device, and the second device includes a second power supply device or a second power-consuming device. The circuit can be connected to the second device while connecting the first device, thereby improving the flexibility and universality of the application of the circuit.

[0141] Optionally, the second device may include a second power supply device. As shown in FIG. 12, the circuit may be configured to close the fourth switch S4, the sixth switch S6, and the eighth switch S8 when the sum of the voltages of the first battery pack V1 and the second battery pack V2 is less than the maximum output voltage of the second power supply device (i.e., the circuit may be configured to serially charge the first battery pack V1 and the second battery pack V2).

[0142] Optionally, the second device may include a second power-consuming device. As shown in FIG. 12, the circuit may be configured to close the fourth switch S4, the sixth switch S6, and the eighth switch S8 when the sum of the voltages of the first battery pack V1 and the second battery pack V2 is less than or equal to the maximum input voltage allowed by the second power-consuming device (i.e., the circuit may be configured to serially discharge the second power-consuming device through the first battery pack V1 and the second battery pack V2).

[0143] The first interface O1 may be connected to a first power supply device or a first power-consuming device, and the second interface O2 may be connected to a second power supply device or a second power-consuming device. The battery can be connected to multiple power supply devices and / or power-consuming devices simultaneously, significantly improving flexibility.

[0144] Optionally, the second power-consuming device may include a capacitor. The circuit may further include a third branch, and the third branch includes a third resistor R3 and a ninth switch S9 connected in series. The third branch is connected in parallel with the fourth switch S4, the sixth switch S6, or the eighth switch S8 (exemplarily, see FIGS. 6 to 13). The third branch is used for pre-charging the capacitor of the second power-consuming device. Thereby, it can avoid the impact on devices such as loads and switches due to excessive circuit current when directly closing the switch, so as to protect the circuit devices.

[0145] The pre-charging of the capacitor of the second power-consuming device can be achieved by closing the switch of the third branch and the switches in the pre-charging loop that are not connected in parallel with the third branch, and disconnecting the switches connected in parallel with the third branch and other switches. Exemplarily, taking the battery loop shown in FIG. 6 as an example, the pre-charging of the capacitor of the second power-consuming device can be achieved by closing the eighth switch S8, the sixth switch S6, and the ninth switch S9, and disconnecting the fourth switch S4 and other switches.

[0146] Optionally, the first resistor R1 and the third resistor R3 can be the same shared resistor, and the fifth switch S5 and the ninth switch S9 can be the same shared switch (for example, in FIGS. 6 to 12), so as to achieve the functions of balancing and pre-charging through one resistor and one switch (i.e., one branch), thereby being able to save devices, reduce the volume of the circuit, and lower the cost.

[0147] Further, the first resistor R1, the second resistor R2, and the third resistor R3 can be the same shared resistor, and the fifth switch S5, the seventh switch S7, and the ninth switch S9 can be the same shared switch (exemplarily, see FIGS. 6 to 12), so as to further save devices, reduce the volume of the circuit, and lower the cost.

[0148] It should be understood that after the above resistors are shared, the pre-charging function and the balancing function can be simultaneously achieved, and in this application, it can also be denoted as a pre-charging - balancing shared resistor.

[0149] Optionally, the above circuit can have various different presentation forms. As shown in FIG. 14, the eighth switch S8 can also be located between the first battery pack V1 and the first switch S1. In this case, the first branch and / or the second branch can also be in parallel with the eighth switch S8. The specific position of the eighth switch S8 in the embodiments of the present application is not limited.

[0150] The switches involved in the embodiments of the present application can include any one of all devices capable of realizing circuit on-off, such as metal oxide semiconductor field effect transistor (MOSFET), insulated gate bipolar transistor (IGBT), bipolar junction transistor (BJT), relay, contactor, etc. Moreover, in actual operation, the above battery circuit can also include more or fewer switches. For example, a switch can also be provided at the negative pole of the first interface O1, and the present application does not limit this.

[0151] Optionally, the circuit provided in the embodiments of the present application can also include a first ammeter A1 and a second ammeter A2. Among them, the first ammeter A1 is used to detect the current in the branch where the first battery pack V1 is located, and the second ammeter A2 is used to detect the current in the branch where the first battery pack V2 is located. The positions of the ammeters in FIGS. 3 to 14 are only examples, and the present application does not limit this.

[0152] Optionally, the circuit provided by the embodiments of the present application may further include a circuit breaker (which may also be denoted as a fuse), so that the circuit can be disconnected when a circuit fault occurs (for example, switch failure, battery short circuit, etc.), preventing damage to the device. The positions and numbers of the first circuit breaker QF1 and the first circuit breaker QF2 shown in FIGS. 6 to 14 are only examples. In practice, more or fewer circuit breakers may be included, and the arrangement can be made according to actual requirements.

[0153] FIG. 15 is an exemplary diagram of a control method for a circuit provided by an embodiment of the present application. This control method 1500 can be applied to any circuit provided by the embodiments of the present application. As shown in FIG. 15, the control method includes steps S1510 and S1520, which are introduced below.

[0154] S1510, obtain the voltages of the first battery pack V1 and the second battery pack V2.

[0155] S1520, control the fifth switch S5 in the first branch to be closed or opened according to the voltage difference between the first battery pack V1 and the second battery pack V2. Among them, controlling the fifth switch S5 in the first branch to be closed can be used to balance the voltages of the first battery pack V1 and the second battery pack V2.

[0156] Specifically, when the voltages of the first battery pack V1 and the second battery pack V2 are not equal (i.e., there is a voltage difference), the fifth switch S5 can be controlled to be closed, and the switches among the first switch S1, the second switch S2, the third switch S3, and the fourth switch S4 that are not in parallel with the first branch can be controlled to be closed, and the switches among the first switch S1, the second switch S2, the third switch S3, and the fourth switch S4 that are in parallel with the first branch can be controlled to be opened, so as to balance the voltages of the first battery pack V1 and the second battery pack V2.

[0157] In the embodiments of the present application, based on the above circuit, the fifth switch S5 in the first branch can be controlled to be closed according to the voltage difference between the first battery pack V1 and the second battery pack V2, so as to achieve the balance of the voltages of the two battery packs, thereby being able to solve the circulating current problem generated when there is a voltage difference between different battery packs in the parallel state of the battery packs, and significantly improving the circuit performance.

[0158] Optionally, when the voltage difference between the first battery pack V1 and the second battery pack V2 is greater than the first threshold, the fifth switch S5 can be controlled to be closed, and the switches among the first switch S1, the second switch S2, the third switch S3, and the fourth switch S4 that are not in parallel with the first branch can be controlled to be closed, and the switches among the first switch S1, the second switch S2, the third switch S3, and the fourth switch S4 that are in parallel with the first branch can be controlled to be opened, so as to balance the voltages of the first battery pack V1 and the second battery pack V2, thereby being able to avoid frequent balancing and avoid the problem that the user waits for a long time during use, and improving the user experience.

[0159] Optionally, the circuit may further include a first interface O1 and a sixth switch S6. As shown in FIG. 6, the negative electrode of the first battery pack V1 is electrically connected to the positive electrode of the second battery pack V2 through the sixth switch S6. The first end of the first interface O1 is connected between the first switch S1 and the second switch S2, and the second end of the first interface O1 is connected between the third switch S3 and the fourth switch S4. Wherein, the first interface O1 can be used to connect to a first device.

[0160] Optionally, the first device may include a first power supply device for charging the first battery pack V1 and / or the second battery pack V2.

[0161] The control method 1500 may further include: when the sum of the voltages of the first battery pack V1 and the second battery pack V2 is less than twice the maximum output voltage of the first power supply device (i.e., the parallel voltage of the first battery pack V1 and the second battery pack V2 satisfies the output voltage range of the first power supply device), as shown in FIG. 8, control to close the first switch S1, the second switch S2, the third switch S3 and the fourth switch S4, and control to open the fifth switch S5 and the sixth switch S6, so that the first battery pack V1 and the second battery pack V2 are charged in parallel.

[0162] Optionally, when the sum of the voltages of the first battery pack V1 and the second battery pack V2 is less than twice the maximum output voltage of the first power supply device, and the voltage difference between the first battery pack V1 and the second battery pack V2 is less than or equal to a second threshold, as shown in FIG. 8, control to close the first switch S1, the second switch S2, the third switch S3 and the fourth switch S4, and control to open the fifth switch S5 and the sixth switch S6, so that the first battery pack V1 and the second battery pack V2 are charged in parallel. When the sum of the voltages of the first battery pack V1 and the second battery pack V2 is less than twice the maximum output voltage of the first power supply device, and the voltage difference between the first battery pack V1 and the second battery pack V2 is greater than the second threshold, as shown in FIG. 9, control to close the fifth switch S5, and close the switches among the first switch S1, the second switch S2, the third switch S3 and the fourth switch S4 that are not in parallel with the first branch, and control to open the switches among the first switch S1, the second switch S2, the third switch S3 and the fourth switch S4 that are in parallel with the first branch and the sixth switch S6, so as to balance the voltages of the first battery pack V1 and the second battery pack V2.

[0163] Optionally, when the sum of the voltages of the first battery pack V1 and the second battery pack V2 is less than the maximum output voltage of the first power supply device (i.e., the series voltage of the first battery pack V1 and the second battery pack V2 satisfies the output voltage range of the first power supply device), as shown in FIG. 7, control the first switch S1, the fourth switch S4, and the sixth switch S6 to be closed, and control the second switch S2, the third switch S3, and the fifth switch S5 to be opened, so that the first battery pack V1 and the second battery pack V2 can be charged in series through the first power supply device.

[0164] Optionally, the control method 1500 may further include: when the voltage of the first battery pack V1 is less than the voltage of the second battery pack V2, control the first switch S1 and the third switch S3 to be closed, and control the second switch S2 and the fourth switch S4 to be opened; and / or, when the voltage of the first battery pack V1 is greater than the voltage of the second battery pack V2, control the second switch S2 and the fourth switch S4 to be closed, and control the first switch S1 and the third switch S3 to be opened.

[0165] Optionally, the first device may include a first electrical device, and the first battery pack V1 and the second battery pack V2 are used to discharge for the first electrical device.

[0166] The control method 1500 may further include: when the sum of the voltages of the first battery pack V1 and the second battery pack V2 is less than or equal to twice the maximum input voltage of the first electrical device (i.e., the parallel voltage of the first battery pack V1 and the second battery pack V2 satisfies the input voltage range of the first electrical device), as shown in FIG. 8, control the first switch S1, the second switch S2, the third switch S3, and the fourth switch S4 to be closed, and control the fifth switch S5 and the sixth switch S6 to be opened, so that the first battery pack V1 and the second battery pack V2 discharge in parallel.

[0167] Optionally, when the sum of the voltages of the first battery pack V1 and the second battery pack V2 is less than or equal to twice the maximum input voltage of the first electrical device, and the voltage difference between the first battery pack V1 and the second battery pack V2 is less than or equal to the third threshold, as shown in FIG. 8, control to close the first switch S1, the second switch S2, the third switch S3, and the fourth switch S4, and control to open the fifth switch S5 and the sixth switch S6, so that the first battery pack V1 and the second battery pack V2 are discharged in parallel. When the sum of the voltages of the first battery pack V1 and the second battery pack V2 is less than or equal to twice the maximum input voltage of the first electrical device, and the voltage difference between the first battery pack V1 and the second battery pack V2 is greater than the third threshold, as shown in FIG. 9, control to close the fifth switch S5, and close the switches among the first switch S1, the second switch S2, the third switch S3, and the fourth switch S4 that are not in parallel with the first branch, and control to open the switches among the first switch S1, the second switch S2, the third switch S3, and the fourth switch S4 that are in parallel with the first branch and the sixth switch S6 to equalize the voltages of the first battery pack V1 and the second battery pack V2.

[0168] The control method 1500 may further include: when the sum of the voltages of the first battery pack V1 and the second battery pack V2 is less than or equal to the maximum input voltage of the first electrical device (that is, when the series voltage of the first battery pack V1 and the second battery pack V2 meets the input voltage range of the first electrical device), as shown in FIG. 7, control to close the first switch S1, the fourth switch S4, and the sixth switch S6, and control to open the second switch S2, the third switch S3, and the fifth switch S5, so that the first battery pack V1 and the second battery pack V2 are discharged in series.

[0169] FIG. 16 is an exemplary diagram of a control method for another circuit provided by an embodiment of the present application. The method 1600 may be applied to a circuit including a first battery pack and a second battery pack. The circuit is used to be connected to a power supply device, and the first battery pack and / or the second battery pack can be charged through the power supply device. The working modes of the circuit include a first mode and a second mode. Among them, in the first mode, the first battery pack is in series with the second battery pack (that is, the first mode can be understood as a series charging mode); in the second mode, the first battery pack is in parallel with the second battery pack (that is, the second mode can be understood as a parallel charging mode). The specific structure of the circuit in the solution of the present application is not limited. As an example, the circuit may be, for example, a partial circuit in the circuit shown in FIG. 6 that can implement series-parallel charging. The method 1600 includes step S1610 and step S1620.

[0170] S1610, obtain the voltages of the first battery pack and the second battery pack.

[0171] The voltages of the first battery pack and the second battery pack can be monitored during the charging process, and the voltages of the first battery pack and the second battery pack can be obtained in real time.

[0172] S1620, when the sum of the voltages of the first battery pack and the second battery pack is greater than or equal to the maximum output voltage of the power supply device, the control circuit switches to the second mode.

[0173] In the embodiment of the present application, based on a circuit including a first battery pack and a second battery pack, and operating modes including a series charging mode and a parallel charging mode, during the charging process, the voltages of the first battery pack and the second battery pack can be dynamically identified and the charging mode can be dynamically updated. Specifically, during the charging process, when it is monitored that the sum of the voltages of the first battery pack and the second battery pack is greater than or equal to the maximum output voltage of the power supply device, the control circuit can be switched from other charging modes to the parallel charging mode. Thus, on the one hand, when the battery pack voltage no longer supports the actually used charging mode, it can be timely adjusted to a more suitable charging mode for charging, avoiding the situation of charging stagnation, and improving the reliability of charging; on the other hand, the ability of the power supply device can be fully utilized, and the compatibility of the power supply device can be improved.

[0174] Optionally, the method 1600 may further include: when the sum of the voltages of the first battery pack and the second battery pack is less than the maximum output voltage of the power supply device, the control circuit switches to the first mode.

[0175] Based on the solution of the present application, during the charging process, when it is monitored that the sum of the voltages of the first battery pack and the second battery pack is less than the maximum output voltage of the power supply device, it can be controlled to charge in the series charging mode first. As the voltages of the first battery pack and the second battery pack increase, when it is monitored that the sum of the voltages of the first battery pack and the second battery pack is greater than or equal to the maximum output voltage of the power supply device, the control circuit can be switched from the series charging mode to the parallel charging mode. Thus, on the one hand, the situation of charging stagnation can be avoided, and the reliability of charging can be improved; on the other hand, the ability of the power supply device can be fully utilized, and the compatibility of the power supply device can be improved.

[0176] Optionally, the operating mode of the circuit may further include a third mode. In the third mode, the circuit can be configured to charge the first battery pack or the second battery pack. Specifically, when the sum of the voltages of the first battery pack and the second battery pack is greater than or equal to the maximum output voltage of the power supply device, the voltage difference between the first battery pack and the second battery pack can be obtained; when the voltage difference between the first battery pack and the second battery pack is less than or equal to the first threshold, the control circuit switches to the second mode; when the voltage difference between the first battery pack and the second battery pack is greater than the first threshold, the control circuit switches to the third mode.

[0177] The charging of the first battery pack or the second battery pack can be the charging of a high-voltage battery pack to a low-voltage battery pack (i.e., corresponding to the above-mentioned equalization through the first branch); it can also be directly charging the battery pack with a lower voltage through a power supply device to reduce the voltage difference between the two battery packs and achieve the voltage equalization of the two battery packs, thereby being able to solve the circulating current problem in the parallel state of the battery packs and significantly improving the circuit performance.

[0178] The above control method 1600 is also applicable to the battery discharge process to adjust the discharge mode in real time according to the voltage of the first battery pack, the voltage of the second battery pack, and the maximum input voltage of the electrical device during the discharge process (the discharge mode can include, for example, any one or more of a series discharge mode, a parallel discharge mode, or an independent discharge mode) to ensure the reliability of the discharge operation.

[0179] FIG. 17 is an example diagram of a control method for another circuit provided by an embodiment of the present application. This method can be applied to a circuit including more than two battery packs (for example, including a first battery pack and a second battery pack), and the circuit can be configured in multiple charging modes, such as including one or more of a series charging mode, a parallel charging mode, and an independent charging mode. This method can be applied to any circuit provided by an embodiment of the present application.

[0180] As shown in FIG. 17, the control method 1700 includes Step 1 to Step 3, and these steps will be introduced in detail below with reference to the accompanying drawings.

[0181] Step 1, determine the charging mode according to the current voltage of the first battery pack, the current voltage of the second battery pack, and the output voltage of the power supply device.

[0182] Step 2, perform charging according to the charging mode to obtain the current charging result, and the current charging result includes the updated voltage of the first battery pack and the updated voltage of the second battery pack.

[0183] Step 3, if the current charging result meets the charging end condition, end the charging; if the current charging result does not meet the charging end condition, re-execute Step 1 to Step 3 according to the current charging result until the obtained charging result meets the charging end condition.

[0184] Among them, the output voltage of the power supply device can refer to the maximum output voltage of the power supply device, or other values within the output voltage range of the power supply device, which is not limited.

[0185] Based on this control method, during the charging process, the voltages of the first battery pack and the second battery pack can be dynamically identified and the charging mode can be dynamically updated. Thus, on the one hand, when the battery pack voltage no longer supports the charging mode, it can be timely adjusted to a more suitable charging mode for charging, avoiding the situation of charging stagnation and improving the reliability of charging; on the other hand, the capabilities of the power supply device can be fully utilized and the compatibility degree of the power supply device can be improved.

[0186] Before performing step 1, the power supply circuit can be first connected to the power supply device and the output voltage of the power supply device can be obtained.

[0187] In step 2, charging can be performed according to the preset charging duration and charging mode. Among them, the preset charging duration can be durations such as 1 s, 2 s, 5 s, 10 s, etc., and this application does not make any limitations. This means that the embodiments of this application can monitor in real time at a certain frequency whether the current charging result meets the charging end condition and make timely responses when the charging end condition is not met, thereby being able to further improve the reliability of charging.

[0188] Optionally, the above charging end condition can be that the voltages of the first battery pack and the second battery pack reach the target charging voltage. Among them, the target charging voltage can be a value or a voltage range, without any limitations. For another example, the charging end condition can be that the remaining battery power reaches the target power. In addition, the above charging end condition can also be the interruption operation of the user. This application does not limit the type of the charging end condition.

[0189] Optionally, the determining the charging mode according to the current voltage of the first battery pack, the current voltage of the second battery pack, and the output voltage of the power supply device can include: if the sum of the series voltage or the current voltages of the first battery pack and the second battery pack is less than the output voltage of the power supply device, determining the charging mode as the series charging mode.

[0190] Optionally, the determining the charging mode according to the current voltage of the first battery pack, the current voltage of the second battery pack, and the output voltage of the power supply device can include: if the sum of the series voltage or the current voltages of the first battery pack and the second battery pack is greater than or equal to the output voltage of the power supply device and less than twice the output voltage of the power supply device, obtaining the difference between the current voltages of the first battery pack and the second battery pack; if the difference between the current voltages of the first battery pack and the second battery pack is less than or equal to the first threshold, determining the charging mode as the parallel charging mode; if the difference between the current voltages of the first battery pack and the second battery pack is greater than the first threshold, determining the charging mode as the independent charging mode.

[0191] Among them, the first threshold can be values such as 5 V, 10 V, 20 V, etc., and specifically needs to be determined in combination with the actual situation, and this application does not make any limitations in this regard.

[0192] Optionally, if the sum of the series voltages or the current voltages of the first battery pack and the second battery pack is greater than or equal to twice the output voltage of the power supply device, it is recommended to end the charging.

[0193] Optionally, if it is determined that the charging mode is the independent charging mode, the above charging according to the charging mode includes: determining the battery pack with the lower current voltage among the first battery pack and the second battery pack; charging the battery pack with the lower current voltage according to the independent charging mode.

[0194] Specifically, the battery pack with the lower current voltage can be independently charged to reduce the voltage difference between the two battery packs. When the voltage difference between the two battery packs is less than or equal to the first threshold, the charging is stopped, and then the charging mode is re-determined according to the updated voltages of the two battery packs.

[0195] The above charging mode can also include: the balanced voltage mode (in this balanced mode, the high-voltage battery pack can charge the low-voltage battery pack). If the sum of the current voltages of the first battery pack and the second battery pack is greater than or equal to the output voltage of the power supply device and less than or equal to twice the output voltage of the power supply device, and the difference between the current voltages of the first battery pack and the second battery pack is greater than the second threshold, the charging mode can be determined as the balanced voltage mode. Among them, the second threshold can also be a value such as 5V, 10V, 20V, etc., which specifically needs to be determined in combination with the actual situation, and this application does not limit this.

[0196] In actual operation, when the difference between the current voltages of the first battery pack and the second battery pack is large, the independent charging mode can be used to reduce the voltage difference between the two battery packs, or the method of charging the low-voltage battery pack by the high-voltage battery pack (that is, corresponding to the above-mentioned balancing through the first branch) can be used to reduce the voltage difference between the two battery packs. It should be understood that compared with balancing the voltage through the first branch, the independent charging mode can ensure a higher charging voltage, charging power, and charging speed.

[0197] The above control method 1700 is also applicable to the battery discharge process to update and adjust the discharge mode (for example, the discharge mode is any one of the series discharge mode, parallel discharge mode, or independent discharge mode) in real time according to the current voltage of the first battery pack, the current voltage of the second battery pack, and the input voltage of the electrical device during the discharge process to ensure the reliability of the discharge operation.

[0198] Based on the above control method 1700, FIG. 18 is a specific flowchart example of another circuit control method provided by an embodiment of the present application. This circuit can refer to the description of the circuit involved in the above method 1700 and will not be elaborated here. As shown in FIG. 18, this process 1800 includes steps S1801 to S1812, and these steps will be introduced below with reference to the accompanying drawings.

[0199] S1801. Connect the power supply circuit to the power supply device and continue with step S1802.

[0200] S1802. Obtain the output voltage of the power supply device (e.g., the maximum output voltage) and continue with step S1803.

[0201] S1803. Determine whether the current battery voltage is less than twice the output voltage of the power supply device. This battery voltage can be the series voltage of the first battery pack and the second battery pack, or the sum of the current voltages of the first battery pack and the second battery pack. If the current battery voltage is less than twice the output voltage of the power supply device, continue with step S1804; if the current battery voltage is greater than or equal to twice the output voltage of the power supply device, execute step S1812.

[0202] S1804. Determine whether the current battery voltage is less than the output voltage of the power supply device. If the current battery voltage is less than the output voltage of the power supply device, execute step S1805; if the current battery voltage is greater than or equal to the output voltage of the power supply device, execute step S1806.

[0203] S1805. Determine to use the series charging mode and continue with step S1810.

[0204] S1806. Obtain the difference between the current voltages of the first battery pack and the second battery pack and continue with step S1807.

[0205] S1807. Determine whether the difference in the current battery voltage is less than or equal to the first threshold. If the difference in the previous battery voltage is less than or equal to the first threshold, execute step S1808; if the difference in the previous battery voltage is greater than the first threshold, execute step S1809.

[0206] S1808. Determine to use the parallel charging mode and continue with step S1810.

[0207] S1809. Determine to use the independent charging mode and continue with step S1810.

[0208] S1810. Charge the battery. After charging for a preset duration, obtain the updated voltage and continue with step S1811.

[0209] S1811. Determine whether the charging end condition is met based on the updated voltage. If the charging end condition is not met, return to step S1804 and continue to repeat the above steps until the obtained updated voltage meets the charging end condition; if the charging end condition is met, execute step S1812.

[0210] S1812. End the charging

[0211] The specific content involved in steps S1801 to S1812 can be referred to the relevant description in the above control method 1700, and will not be elaborated here.

[0212] Next, taking the vehicle charging scenario as an example with reference to FIG. 18, the charging process of the vehicle battery will be introduced.

[0213] First, the vehicle includes a battery circuit, which includes a first battery pack and a second battery pack, and the configurable modes of the battery circuit include series charging mode, parallel charging mode, and independent charging mode. Assume that the current voltage of the first battery pack is 200V, the current voltage of the second battery pack is 220V, the current total voltage of the two battery packs is 420V, the target charging voltage is 600V, the preset charging duration is 1s, the first threshold is 10V, and the output voltage range of the used charging pile is 200V - 500V. The charging process is as follows:

[0214] Execute step S1801 to connect the vehicle to the charging pile.

[0215] Execute step S1802 to obtain the output voltage of the charging pile. In this example, the output voltage of the charging pile can be understood as the maximum output voltage of the charging pile, which is 500V.

[0216] Execute step S1803, and it is judged that the current battery voltage (for example, the series voltage of the first battery pack and the second battery pack, or the current total voltage of the first battery pack and the second battery pack, which is 420V) is less than twice the output voltage of the charging pile, which is 1000V.

[0217] Execute steps S1804 and S1805. It is judged that the current battery voltage of 420V is less than the maximum output voltage of the charging pile of 500V, so the charging mode is determined to be the series charging mode.

[0218] Execute step S1810 to charge in the series charging mode for the preset charging duration of 1s to obtain the current charging result, that is, the voltage of the first battery pack is updated to 200.5V and the voltage of the second battery pack is updated to 220.5V.

[0219] Execute step S1811. It is judged that the updated battery voltage (that is, the updated total voltage of the first battery pack and the second battery pack, which is 421V) has not reached the target charging voltage of 600V, that is, the charging end condition is not satisfied. Then return to step S1804, and re - execute S1804, S1805, S1810, and S1811 based on the current updated total battery voltage in a loop until the sum of the voltages of the updated first battery pack and the second battery pack reaches the output voltage of the charging pile of 500V, that is, the current voltage of the first battery pack is updated to 240V and the voltage of the second battery pack is updated to 260V.

[0220] Continue to execute step S1804. By judgment, it is obtained that the sum of the voltages of the updated first battery pack and the second battery pack, 500V, is equal to the output voltage of the charging pile, 500V. Then, the series charging mode cannot be used anymore, and the charging mode needs to be re-determined.

[0221] Execute step S1806 to obtain that the voltage difference between the updated first battery pack and the second battery pack is 20V.

[0222] Execute steps S1807 and S1809. By judgment, it is obtained that the voltage difference of 20V between the updated first battery pack and the second battery pack is greater than the first threshold of 10V. It is determined that parallel charging is not possible currently, and the charging mode is switched to the independent charging mode.

[0223] Execute step 1810 to independently charge the first battery pack in the independent charging mode for a preset charging duration of 1s and obtain the charging result, that is, the voltage of the first battery pack is updated to 241V, and the voltage of the second battery pack remains 260V.

[0224] Execute step 1811. By judgment, it is obtained that the currently updated battery voltage (i.e., the total voltage of the updated first battery pack and the second battery pack, 501V) has not reached the target charging voltage of 600V, that is, the charging end condition is not yet met. Then, return to step S1804 and re-execute S1804, S1806, S1807, S1809 to S1811 based on the updated voltages of the first battery pack and the second battery pack in a loop until the voltage of the first battery pack is updated to 250V and the voltage of the second battery pack remains 260V.

[0225] Continue to execute step S1804. By judgment, it is obtained that the sum of the voltages of the currently updated first battery pack and the second battery pack, 510V, is greater than the output voltage of the charging pile, 500V.

[0226] Execute step S1806 to obtain that the voltage difference between the updated first battery pack and the second battery pack is 10V.

[0227] Execute steps S1807 and S1808. By judgment, it is obtained that the voltage difference of 10V between the currently updated first battery pack and the second battery pack is equal to the first threshold of 10V. Then, it is determined that the parallel charging mode can be used currently.

[0228] Execute step S1810 to charge in the parallel charging mode for a preset charging duration of 1s to obtain the charging result. At this time, the voltage of the first battery pack is updated to 251V, the voltage of the second battery pack is updated to 261V, and the total current voltage is updated to 512V.

[0229] Step S1811 is executed. By judgment, it is obtained that the total voltage of the currently updated first battery pack and second battery pack, 512V, has not reached the target charging voltage of 600V, that is, the charging end condition is still not satisfied. Then, return to step S1804, and re-execute S1804, S1806 to S1808, S1810, and S1811 based on the currently updated battery voltage in a loop until the voltage of the first battery pack is updated to 295V, the voltage of the second battery pack is updated to 305V, and the total voltage is updated to 600V. And by judgment, it is obtained that the total voltage of the updated first battery pack and second battery pack is equal to the charging target voltage of 600V, that is, the charging end condition is satisfied, then execute S1812 to end the charging.

[0230] FIG. 19 is an exemplary diagram of a control device for a circuit provided by an embodiment of the present application. As shown in FIG. 19, the device 1900 includes a processing module 1910, and the processing module 1910 is used to execute the above control method 1500; and / or, used to execute the above control method 1600; and / or, used to execute the above control method 1700; and / or, used to execute the above control method 1800.

[0231] FIG. 20 is an exemplary block diagram of the hardware structure of a control device for a circuit provided by an embodiment of the present application. Optionally, the device 2000 may specifically be a computer device. The device 2000 includes a memory 2010, a processor 2020, and a communication interface 2030. Among them, the memory 2010, the processor 2020, and the communication interface 2030 can be communicatively connected to each other through a bus.

[0232] The memory 2010 may be a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 2010 can store a program. When the program stored in the memory 2010 is executed by the processor 2020, the processor 2020 is used to execute each step of the control method 1500 of the embodiment of the present application and / or used to execute each step of the control method 1600 of the embodiment of the present application and / or used to execute each step of the control method 1700 of the embodiment of the present application and / or used to execute each step of the control method 1800 of the embodiment of the present application.

[0233] The processor 2020 may adopt a general - purpose central processing unit (CPU), a microprocessor, an application - specific integrated circuit (ASIC), a graphics processing unit (GPU), or one or more integrated circuits to execute relevant programs to implement the control method 1500 of the method embodiment of the present application and / or implement the control method 1600 of the method embodiment of the present application and / or implement the control method 1700 of the method embodiment of the present application and / or implement the control method 1800 of the method embodiment of the present application.

[0234] The processor 2020 may also be an integrated circuit chip with signal - processing capabilities. During implementation, the control method 1500 and / or the control method 1600 and / or the control method 1700 and / or the control method 1800 of the present application may be completed through the integrated logic circuit in the hardware of the processor 2020 or instructions in software form.

[0235] The above - mentioned processor 2020 may also be a general - purpose processor, a digital signal processor (DSP), an ASIC, a field - programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. It can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present application. The general - purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in combination with the embodiments of the present application can be directly embodied as being executed by the hardware decoding processor, or executed by a combination of the hardware and software modules in the decoding processor. The software module may be located in a mature storage medium in the art such as a random - access memory, a flash memory, a read - only memory, a programmable read - only memory, or an electrically erasable programmable memory, a register, etc. This storage medium is located in the memory 2010, and the processor 2020 reads the information in the memory 2010 and combines its hardware to complete the functions required to be executed by the modules included in the device of the embodiments of the present application, or execute the control method 1500 and / or the control method 1600 and / or the control method 1700 and / or the control method 1800 of the method embodiment of the present application.

[0236] The communication interface 2030 uses a transceiver device such as, but not limited to, a transceiver to achieve communication between the device 2000 and other devices or communication networks.

[0237] An embodiment of the present application further provides a computer-readable storage medium, including instructions, which, when running on a computer, cause the computer to execute the above control method 1500; and / or, execute the above control method 1600; and / or, execute the above control method 1700; and / or, execute the above control method 1800.

[0238] An embodiment of the present application further provides a computer program product, including instructions, which, when running on a computer, cause the above control method 1500 to be executed; or the above control method 1600 to be executed; or the above control method 1700 to be executed; or the above control method 1800 to be executed.

[0239] An embodiment of the present application further provides a computing device, including: at least one processor and a memory, the at least one processor being coupled to the memory and configured to read and execute instructions in the memory to execute the above control method 1500; and / or, execute the above control method 1600; and / or, execute the above control method 1700; and / or, execute the above control method 1800.

[0240] An embodiment of the present application further provides a chip, the chip including a processor and a data interface, the processor reading instructions stored on a memory through the data interface and executing the above control method 1500; and / or, executing the above control method 1600; and / or, executing the above control method 1700; and / or, executing the above control method 1800.

[0241] Optionally, as an implementation, the chip may further include a memory, instructions being stored in the memory, the processor being configured to execute the instructions stored on the memory, and when the instructions are executed, the processor is configured to execute the above control method 1500; and / or, execute the above control method 1600; and / or, execute the above control method 1700; and / or, execute the above control method 1800.

[0242] An embodiment of the present application further provides an electronic device, characterized by including any one of the circuits provided in the embodiments of the present application.

[0243] An embodiment of the present application further provides a vehicle, characterized by including any one of the circuits provided in the embodiments of the present application.

[0244] Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. A professional technician can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.

[0245] Those skilled in the art can clearly understand that for the convenience and conciseness of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0246] In several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there can be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection to each other can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be in an electrical, mechanical, or other form.

[0247] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they can be located in one place, or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0248] In addition, the functional units in each embodiment of this application can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit.

[0249] When the above-mentioned functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the technology, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical discs that can store program codes.

[0250] As described above, the above are only specific implementation manners of this application, but the protection scope of this application is not limited thereto. Any person skilled in the art within the technical scope disclosed by this application can easily think of changes or substitutions, and all should be covered by the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims

A circuit, characterized in that, it includes: a first battery pack, a second battery pack, a first switch, a second switch, a third switch, a fourth switch, and a first branch circuit. The first branch circuit includes a first resistor and a fifth switch connected in series. Wherein, the positive electrode of the first battery pack is electrically connected to the positive electrode of the second battery pack through the first switch and the second switch; the negative electrode of the first battery pack is electrically connected to the negative electrode of the second battery pack through the third switch and the fourth switch; the first branch circuit is connected in parallel with the first switch, the second switch, the third switch, or the fourth switch. The circuit according to claim 1, characterized in that, the circuit is configured to, when the voltages of the first battery pack and the second battery pack are not equal, close the fifth switch, and close the switches among the first switch, the second switch, the third switch, and the fourth switch that are not connected in parallel with the first branch circuit, and open the switches among the first switch, the second switch, the third switch, and the fourth switch that are connected in parallel with the first branch circuit. The circuit according to claim 1, characterized in that, the circuit is configured to, when the voltage difference between the first battery pack and the second battery pack is greater than a first threshold value, close the fifth switch, and close the switches among the first switch, the second switch, the third switch, and the fourth switch that are not connected in parallel with the first branch circuit, and open the switches among the first switch, the second switch, the third switch, and the fourth switch that are connected in parallel with the first branch circuit. The circuit according to any one of claims 1 to 3, characterized in that, the circuit further includes a first interface and a sixth switch. The negative electrode of the first battery pack is electrically connected to the positive electrode of the second battery pack through the sixth switch. The first end of the first interface is connected between the first switch and the second switch, and the second end of the first interface is connected between the third switch and the fourth switch. The first interface is used to connect a first device, and the first device includes a first power supply device or a first power-consuming device. The circuit according to claim 4, characterized in that, the first device includes the first power supply device, and the first power supply device is used to charge the first battery pack and / or the second battery pack; the circuit is configured to, when the sum of the voltages of the first battery pack and the second battery pack is less than twice the maximum output voltage of the first power supply device, close the first switch, the second switch, the third switch, and the fourth switch, and open the fifth switch and the sixth switch. The circuit according to claim 5, characterized in that, the circuit is configured to, when the sum of the voltages of the first battery pack and the second battery pack is less than the maximum output voltage of the first power supply device, close the first switch, the fourth switch, and the sixth switch, and open the second switch, the third switch, and the fifth switch. The circuit according to claim 5, characterized in that, When the sum of the voltages of the first battery pack and the second battery pack is less than twice the maximum output voltage of the first power supply device, closing the first switch, the second switch, the third switch, and the fourth switch, and opening the fifth switch and the sixth switch, further includes: when the voltage difference between the first battery pack and the second battery pack is greater than a second threshold, closing the fifth switch, and closing the switches among the first switch, the second switch, the third switch, and the fourth switch that are not in parallel with the first branch, and opening the switches among the first switch, the second switch, the third switch, and the fourth switch that are in parallel with the first branch and the sixth switch; and / or, when the voltage difference between the first battery pack and the second battery pack is less than or equal to the second threshold, closing the first switch, the second switch, the third switch, and the fourth switch, and opening the fifth switch and the sixth switch. The circuit according to any one of claims 4 to 6, characterized in that the first device includes the first power supply device, and the first power supply device is used to charge the first battery pack and / or the second battery pack; the circuit is configured to close the first switch and the third switch and open the second switch and the fourth switch when the voltage of the first battery pack is less than the voltage of the second battery pack; and / or, the circuit is configured to close the second switch and the fourth switch and open the first switch and the third switch when the voltage of the first battery pack is greater than the voltage of the second battery pack. The circuit according to claim 4, characterized in that the first device includes the first electrical device; the circuit is configured to close the first switch, the second switch, the third switch, and the fourth switch and open the fifth switch and the sixth switch when the sum of the voltages of the first battery pack and the second battery pack is less than or equal to twice the maximum input voltage of the first electrical device. The circuit according to claim 9, characterized in that the circuit is configured to close the first switch, the fourth switch, and the sixth switch and open the second switch, the third switch, and the fifth switch when the sum of the voltages of the first battery pack and the second battery pack is less than or equal to the maximum input voltage of the first electrical device. The circuit according to claim 9, characterized in that When the sum of the voltages of the first battery pack and the second battery pack is less than or equal to twice the maximum input voltage of the first electrical device, close the first switch, the second switch, the third switch, and the fourth switch, and open the fifth switch and the sixth switch. It further includes: when the voltage difference between the first battery pack and the second battery pack is greater than a third threshold, close the fifth switch, and close the switches among the first switch, the second switch, the third switch, and the fourth switch that are not in parallel with the first branch, and open the switches among the first switch, the second switch, the third switch, and the fourth switch that are in parallel with the first branch and the sixth switch; and / or when the voltage difference between the first battery pack and the second battery pack is less than or equal to the third threshold, close the first switch, the second switch, the third switch, and the fourth switch, and open the fifth switch and the sixth switch. The circuit according to any one of claims 9 to 11, characterized in that, the first electrical device includes a capacitor, and the circuit further includes a second branch, the second branch includes a second resistor and a seventh switch connected in series, and the second branch is in parallel with the first switch, the second switch, the third switch, the fourth switch, or the sixth switch. The circuit according to claim 12, characterized in that, the first resistor and the second resistor are a common resistor, and the fifth switch and the seventh switch are a common switch. The circuit according to any one of claims 4 to 13, characterized in that, the circuit further includes a second interface and an eighth switch, the first end of the second interface is connected to the positive electrode of the first battery pack through the eighth switch, the second end of the second interface is connected to the negative electrode of the second battery pack through the fourth switch, and the second interface is used to connect a second device, and the second device includes a second power supply device or a second electrical device. The circuit according to claim 14, characterized in that, the second device includes the second power supply device; the circuit is configured to close the fourth switch, the sixth switch, and the eighth switch when the sum of the voltages of the first battery pack and the second battery pack is less than the maximum output voltage of the second power supply device. The circuit according to claim 14, characterized in that, the second device includes the second electrical device; the circuit is configured to close the fourth switch, the sixth switch, and the eighth switch when the sum of the voltages of the first battery pack and the second battery pack is less than or equal to the maximum input voltage allowed by the second electrical device. The circuit according to claim 16, characterized in that, the second electrical device includes a capacitor, and the circuit further includes a third branch, the third branch includes a third resistor and a ninth switch connected in series, and the third branch is in parallel with the fourth switch, the sixth switch, or the eighth switch. The circuit according to claim 17, characterized in that, The first resistor and the third resistor are shared resistors, and the fifth switch and the ninth switch are shared switches. The circuit according to any one of claims 14 to 18, wherein, the eighth switch is located between the first battery pack and the first switch, and the first branch is connected in parallel with the first switch, the second switch, the third switch, the fourth switch or the eighth switch. A control method for a circuit, wherein, the circuit includes: a first battery pack, a second battery pack, a first switch, a second switch, a third switch, a fourth switch and a first branch, and the first branch includes a first resistor and a fifth switch connected in series; wherein, the positive electrode of the first battery pack is electrically connected to the positive electrode of the second battery pack through the first switch and the second switch; the negative electrode of the first battery pack is electrically connected to the negative electrode of the second battery pack through the third switch and the fourth switch; the first branch is connected in parallel with the first switch, the second switch, the third switch or the fourth switch; the control method includes: obtaining the voltages of the first battery pack and the second battery pack; controlling the fifth switch in the first branch to be closed or opened according to the voltage difference between the first battery pack and the second battery pack. The control method according to claim 20, wherein, the controlling the fifth switch in the first branch to be closed or opened according to the voltage difference between the first battery pack and the second battery pack includes: when the voltage difference between the first battery pack and the second battery pack is greater than a first threshold, controlling the fifth switch to be closed, and closing the switches among the first switch, the second switch, the third switch and the fourth switch that are not connected in parallel with the first branch, and controlling the switches among the first switch, the second switch, the third switch and the fourth switch that are connected in parallel with the first branch to be opened. The control method according to claim 20 or 21, wherein, the circuit further includes a first interface and a sixth switch, the negative electrode of the first battery pack is electrically connected to the positive electrode of the second battery pack through the sixth switch, the first end of the first interface is connected between the first switch and the second switch, the second end of the first interface is connected between the third switch and the fourth switch, and the first interface is used to connect a first device, and the first device includes a first power supply device or a first power-consuming device. The control method according to claim 22, wherein, the first device includes the first power supply device; the control method further includes: when the sum of the voltages of the first battery pack and the second battery pack is less than twice the maximum output voltage of the first power supply device, controlling the first switch, the second switch, the third switch and the fourth switch to be closed, and controlling the fifth switch and the sixth switch to be opened. The control method according to claim 23, wherein, The control method further includes: when the sum of the voltages of the first battery pack and the second battery pack is less than the maximum output voltage of the first power supply device, controlling to close the first switch, the fourth switch, and the sixth switch, and controlling to open the second switch, the third switch, and the fifth switch. The control method according to claim 23, wherein, when the sum of the voltages of the first battery pack and the second battery pack is less than twice the maximum output voltage of the first power supply device, controlling to close the first switch, the second switch, the third switch, and the fourth switch, and controlling to open the fifth switch and the sixth switch, further includes: when the voltage difference between the first battery pack and the second battery pack is greater than a second threshold, controlling to close the fifth switch, and closing the switches among the first switch, the second switch, the third switch, and the fourth switch that are not in parallel with the first branch, and controlling to open the switches among the first switch, the second switch, the third switch, and the fourth switch that are in parallel with the first branch and the sixth switch; and / or, when the voltage difference between the first battery pack and the second battery pack is less than or equal to the second threshold, controlling to close the first switch, the second switch, the third switch, and the fourth switch, and controlling to open the fifth switch and the sixth switch. The control method according to any one of claims 22 to 24, wherein, the first device includes the first power supply device; the control method further includes: when the voltage of the first battery pack is less than the voltage of the second battery pack, controlling to close the first switch and the third switch, and controlling to open the second switch and the fourth switch; and / or, when the voltage of the first battery pack is greater than the voltage of the second battery pack, controlling to close the second switch and the fourth switch, and controlling to open the first switch and the third switch. The control method according to claim 22, wherein, the first device includes the first power-consuming device; the control method further includes: when the sum of the voltages of the first battery pack and the second battery pack is less than or equal to twice the maximum input voltage of the first power-consuming device, controlling to close the first switch, the second switch, the third switch, and the fourth switch, and controlling to open the fifth switch and the sixth switch. The control method according to claim 27, wherein, the control method further includes: when the sum of the voltages of the first battery pack and the second battery pack is less than or equal to the maximum input voltage of the first power-consuming device, controlling to close the first switch, the fourth switch, and the sixth switch, and controlling to open the second switch, the third switch, and the fifth switch. The circuit according to claim 27, wherein, When the sum of the voltages of the first battery pack and the second battery pack is less than or equal to twice the maximum input voltage of the first electrical device, controlling to close the first switch, the second switch, the third switch, and the fourth switch, and controlling to open the fifth switch and the sixth switch, further includes: when the voltage difference between the first battery pack and the second battery pack is greater than a third threshold, controlling to close the fifth switch, and closing the switches among the first switch, the second switch, the third switch, and the fourth switch that are not in parallel with the first branch, and controlling to open the switches among the first switch, the second switch, the third switch, and the fourth switch that are in parallel with the first branch and the sixth switch; and / or, when the voltage difference between the first battery pack and the second battery pack is less than or equal to the third threshold, controlling to close the first switch, the second switch, the third switch, and the fourth switch, and controlling to open the fifth switch and the sixth switch. A control method for a circuit characterized in that the circuit includes a first battery pack and a second battery pack, the circuit is used to be connected to a power supply device, and the first battery pack and / or the second battery pack is charged through the power supply device, and the working modes of the circuit include a first mode and a second mode; the control method includes: obtaining the voltages of the first battery pack and the second battery pack; when the sum of the voltages of the first battery pack and the second battery pack is greater than or equal to the maximum output voltage of the power supply device, controlling the circuit to switch to the second mode; wherein, in the first mode, the first battery pack is connected in series with the second battery pack; in the second mode, the first battery pack is connected in parallel with the second battery pack. The control method according to claim 30 characterized in that the method further includes: when the sum of the voltages of the first battery pack and the second battery pack is less than the maximum output voltage of the power supply device, controlling the circuit to switch to the first mode. The control method according to claim 30 or 31 characterized in that the working mode of the circuit further includes a third mode, and the controlling the circuit to switch to the second mode when the sum of the voltages of the first battery pack and the second battery pack is greater than or equal to the maximum output voltage of the power supply device includes: when the sum of the voltages of the first battery pack and the second battery pack is greater than or equal to the maximum output voltage of the power supply device, obtaining the voltage difference between the first battery pack and the second battery pack; when the voltage difference between the first battery pack and the second battery pack is less than or equal to a first threshold, controlling the circuit to switch to the second mode; when the voltage difference between the first battery pack and the second battery pack is greater than the first threshold, controlling the circuit to switch to the third mode; wherein, in the third mode, the circuit is configured to charge the first battery pack or charge the second battery pack. A control device for a circuit characterized in that includes: A processing module for executing the control method according to any one of claims 20 to 29; and / or for executing the control method according to any one of claims 30 to 32. A control device for a circuit, characterized in that it includes at least one processor, and the at least one processor is used to be coupled with a memory, read and execute instructions in the memory to implement the control method according to any one of claims 20 to 29; and / or to implement the control method according to any one of claims 30 to 32. A computer-readable storage medium, characterized in that it includes instructions, when the instructions run on a computer, the computer is caused to execute the control method according to any one of claims 20 to 29; and / or execute the control method according to any one of claims 30 to 32. An electronic device, characterized in that it includes a circuit according to any one of claims 1 to 19. A vehicle, characterized in that it includes a circuit according to any one of claims 1 to 19.

Citation Information

Patent Citations

  • Vehicle battery system and charging and discharging method thereof

    CN110316008A

  • Vehicle traction battery circuit and control system

    CN113939970A

  • System and method for parallel battery charging

    CN114696381A

  • Charging and discharging circuit and electronic equipment

    CN211320982U