Battery switching method and device and power supply circuit switching system and method
By detecting the battery voltage and switching power supply, seamless power supply for electric vehicle battery switching is achieved, which solves the problem of inconvenient battery switching in the existing technology and improves the endurance and safety of electric vehicles.
Patent Information
- Application Number
- CN201710249811.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2017-04-17
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2037-04-17
AI Technical Summary
Existing battery switching technology cannot achieve seamless switching, causing electric vehicles to shut down or cut off power when the battery power is low, which cannot effectively solve the problem of inconvenient charging.
By detecting the battery voltage, multiple sets of batteries are used to achieve seamless switching. The specific method includes switching to the second battery power supply when the voltage of the first battery is less than the preset voltage, and blocking the power supply circuit before switching to avoid simultaneous power supply to ensure continuous load powered by.
It achieves seamless power supply during battery switching, avoids high-power batteries charging low-power batteries, reduces the risk of excessive current in the power supply line, and improves the endurance of electric vehicles.
Smart Images

Figure CN108736562B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of circuits, and in particular to a method and device for switching batteries, and a switching system and method for power supply circuits. Background Art
[0002] At present, electric vehicles are increasingly becoming a means of transportation that the government strongly advocates due to their environmental protection and energy-saving characteristics, especially in large cities. In order to reduce environmental pollution, the number of electric vehicles has exploded. However, the development of electric vehicles must solve the problem of battery life. Usually, electric vehicles use a whole set of batteries. When the battery of an electric vehicle is insufficient, it must rely on finding a charging pile to charge. However, charging piles are not very common in China, especially in small and medium-sized cities, where the number of charging piles is even scarcer. The lack of common charging piles and the inconvenience of charging are one of the biggest obstacles to the development of electric vehicles.
[0003] Battery switching technology groups batteries so that each group of batteries can be charged and discharged individually. Battery switching technology is applied to the field of electric vehicles. Electric vehicles use multiple batteries and can switch to the next group of batteries for power supply when one group of batteries runs out of power. Each group of batteries can be removed separately for home charging.
[0004] However, current battery switching technology cannot achieve truly seamless switching. When switching between two sets of batteries, the machine needs to be shut down or the load needs to be powered off.
[0005] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0006] The embodiments of the present invention provide a battery switching method and device as well as a power supply circuit switching system and method, so as to at least solve the technical problem that it is impossible to seamlessly switch multiple groups of batteries to supply power to a load.
[0007] According to one aspect of an embodiment of the present invention, a battery switching method is provided, comprising: using a first battery in a first power supply circuit to power a load, wherein the first power supply circuit is any one of at least two power supply circuits, and the voltage of the first battery is greater than a preset voltage; in the process of the first battery powering the load, detecting the voltage of the first battery; when it is detected that the voltage of the first battery is greater than the preset voltage, continuing to use the first battery to power the load; when it is detected that the voltage of the first battery is less than or equal to the preset voltage, first controlling the second battery in the second power supply circuit to power the load, and then controlling the first battery to stop powering the load, wherein the second power supply circuit is any one of the at least two power supply circuits different from the first power supply circuit, and the voltage of the second battery is greater than the preset voltage.
[0008] Furthermore, before controlling the second battery in the second power supply circuit to supply power to the load, the method further includes: blocking the second power supply circuit and the first power supply circuit to prevent the second power supply circuit from supplying power to the first power supply circuit.
[0009] Furthermore, using the first battery in the first power supply circuit to power the load includes: limiting the power supply current in the first power supply circuit to obtain a first current; using the first current to power the load; detecting whether the ratio of the voltage across the load to the voltage of the first battery reaches a preset threshold; when the ratio of the voltage across the load to the voltage of the first battery reaches the preset threshold, stopping current limiting of the power supply current, and using the power supply current to power the load.
[0010] Further, first controlling the second battery in the second power supply circuit to supply power to the load, and then controlling the first battery to stop supplying power to the load includes: limiting the power supply current in the second power supply circuit to obtain a second current; using the second current to supply power to the load; detecting whether the ratio of the voltage across the load to the voltage of the second battery reaches the preset threshold; when the ratio of the voltage across the load to the voltage of the second battery reaches the preset threshold, stopping limiting the power supply current and using the power supply current to supply power to the load; after using the power supply current to supply power to the load, controlling the first battery to stop supplying power to the load.
[0011] Furthermore, before using the first battery in the first power supply circuit to power the load, the method also includes: arbitrarily selecting a target power supply circuit from the at least two power supply circuits; detecting whether the voltage of the battery in the target power supply circuit is greater than a preset voltage; when the voltage of the battery in the target power supply circuit is greater than the preset voltage, using the target power supply circuit as the first power supply circuit.
[0012] According to another aspect of an embodiment of the present invention, a switching system for a power supply circuit is also provided, comprising: a load; at least two power supply circuits, the at least two power supply circuits are connected in parallel, and each of the power supply circuits is connected in series with the load, wherein each of the power supply circuits has the same circuit composition, and each of the power supply circuits comprises a battery and a first switch, wherein the first end of the first switch is coupled to the positive electrode of the battery, and the second end of the first switch is coupled to the positive electrode of the load, and when the first switch is closed, the battery in the power supply circuit supplies power to the load.
[0013] Furthermore, the power supply circuit also includes: a second switch and a diode, the second switch is connected in parallel with the diode, the first switch is connected in series with the second switch and the diode connected in parallel, wherein the positive electrode of the diode is coupled with the positive electrode of the battery, and the second end of the diode is coupled with the positive electrode of the load.
[0014] Furthermore, the power supply circuit also includes: a third switch and a pre-charging resistor, the third switch is connected in parallel with the pre-charging resistor, the first switch is connected in series with the third switch and the pre-charging resistor that are connected in parallel, wherein the first end of the pre-charging resistor is coupled to the positive electrode of the battery, and the second end of the pre-charging resistor is coupled to the positive electrode of the load.
[0015] Furthermore, the power supply circuit also includes: a fourth switch, a first end of the fourth switch is connected to the negative electrode of the battery, and a second end of the fourth switch is connected to the negative electrode of the load, and when the first switch and the fourth switch are closed, the battery in the power supply circuit supplies power to the load.
[0016] According to another aspect of an embodiment of the present invention, a switching method for a power supply circuit of the above-mentioned switching system is also provided, comprising: controlling a first switch of a first power supply circuit and a fourth switch of the first power supply circuit to be closed, wherein the first power supply circuit is any one of the at least two power supply circuits, and a voltage of a battery of the first power supply circuit is greater than a preset voltage; after the first switch of the first power supply circuit and the fourth switch of the first power supply circuit are closed, detecting the voltage of the battery of the first power supply circuit; when it is detected that the voltage of the battery of the first power supply circuit is greater than the preset voltage, keeping the first switch of the first power supply circuit and the fourth switch of the first power supply circuit closed; when it is detected that the voltage of the battery of the first power supply circuit is less than or equal to the preset voltage, first controlling the first switch of the second power supply circuit and the fourth switch of the second power supply circuit to be closed, and then controlling the first switch of the first power supply circuit and the fourth switch of the first power supply circuit to be opened, wherein the second power supply circuit is any one of the at least two power supply circuits different from the first power supply circuit, and a voltage of a battery of the second power supply circuit is greater than the preset voltage.
[0017] Further, the power supply circuit includes a second switch and a diode. Before controlling the first switch of the first power supply circuit and the fourth switch of the first power supply circuit to close, the method also includes: controlling the second switch of the first power supply circuit to close; before controlling the first switch of the second power supply circuit and the fourth switch of the second power supply circuit to close, the method also includes: controlling the second switch of the first power supply circuit to open, so as to utilize the diode to block the first power supply circuit and the second power supply circuit.
[0018] Furthermore, the power supply circuit includes a third switch and a pre-charging resistor. Before controlling the first switch of the first power supply circuit and the fourth switch of the first power supply circuit to close, the method also includes: controlling the third switch of the first power supply circuit to open; detecting whether the ratio of the voltage across the load to the voltage of the battery in the first power supply circuit reaches a preset threshold; when the ratio of the voltage across the load to the voltage of the battery in the first power supply circuit reaches the first threshold, controlling the third switch of the first power supply circuit to close.
[0019] Further, before controlling the first switch of the second power supply circuit and the fourth switch of the second power supply circuit to close, the method also includes: controlling the third switch of the second power supply circuit to open; after controlling the first switch of the second power supply circuit and the fourth switch of the second power supply circuit to close, the method also includes: detecting whether the ratio of the voltage across the load and the voltage of the battery in the second power supply circuit reaches the preset threshold; when the ratio of the voltage across the load and the voltage of the battery in the second power supply circuit reaches the preset threshold, controlling the third switch of the second power supply circuit to close; after controlling the third switch of the second power supply circuit to close, controlling the first switch of the first power supply circuit and the fourth switch of the first power supply circuit to open.
[0020] According to another aspect of an embodiment of the present invention, a battery switching device is also provided, including: a first power supply unit, used to use a first battery in a first power supply circuit to power a load, wherein the first power supply circuit is any one of a plurality of power supply circuits, each of the power supply circuits has the same circuit composition, and the voltage of the first battery is greater than a preset voltage; a detection unit, used to detect the voltage of the first battery during the process of the first battery powering the load; a second power supply unit, used to continue to use the first battery to power the load when it is detected that the voltage of the first battery is greater than the preset voltage; a third power supply unit, used to first control the second battery in the second power supply circuit to power the load, and then control the first battery to stop powering the load when it is detected that the voltage of the first battery is less than or equal to the preset voltage, wherein the second power supply circuit is any one of the plurality of power supply circuits different from the first power supply circuit, and the voltage of the second battery is greater than the preset voltage.
[0021] Furthermore, the device also includes: a blocking unit, which is used to block the second power supply circuit and the first power supply circuit before controlling the second battery in the second power supply circuit to supply power to the load, so as to prevent the second power supply circuit from supplying power to the first power supply circuit.
[0022] According to another aspect of the present invention, a storage medium is provided, which includes a stored program, wherein when the program is executed, the device where the storage medium is located is controlled to execute the battery switching method and the power supply circuit switching method described above.
[0023] According to another aspect of the present invention, a processor is provided, the processor being used to run a program, wherein the program executes the above-mentioned battery switching method and power supply circuit switching method when running.
[0024] In an embodiment of the present invention, the following method is adopted: a first battery in a first power supply circuit is used to power a load, the first power supply circuit is any one of at least two power supply circuits, and the voltage of the first battery is greater than a preset voltage; in the process of the first battery powering the load, the voltage of the first battery is detected; when it is detected that the voltage of the first battery is greater than the preset voltage, the first battery is continued to be used to power the load; when it is detected that the voltage of the first battery is less than or equal to the preset voltage, the second battery in the second power supply circuit is first controlled to power the load, and then the first battery is controlled to stop powering the load, wherein the second power supply circuit is any one of the multiple power supply circuits that is different from the first power supply circuit, and the voltage of the second battery is greater than the preset voltage, by first controlling the second battery to power the load and then controlling the first battery to power the load when the voltage of the first battery is less than or equal to the preset voltage, the purpose of continuously powering the load when the battery is switched is achieved, thereby achieving the technical effect of seamlessly switching to power the load using multiple groups of batteries, and thus solving the technical problem that the load cannot be seamlessly switched to power the load using multiple groups of batteries. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0026] Figure 1 is a flow chart of an optional battery switching method according to an embodiment of the present invention;
[0027] Figure 2 is a schematic diagram of an optional switching system of a power supply circuit according to an embodiment of the present invention;
[0028] Figure 3 is a flow chart of an optional power supply circuit switching method according to an embodiment of the present invention;
[0029] Figure 4 is a flow chart of an optional power supply circuit switching method according to an embodiment of the present invention;
[0030] Figure 5 is a schematic diagram of an optional battery switching device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0031] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0032] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0033] According to an embodiment of the present invention, a method embodiment of a battery switching method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0034] Figure 1 is a flow chart of an optional battery switching method according to an embodiment of the present invention, such as Figure 1 As shown, the method comprises the following steps:
[0035] Step S102, using a first battery in a first power supply circuit to supply power to a load, wherein the first power supply circuit is any one of at least two power supply circuits, and a voltage of the first battery is greater than a preset voltage;
[0036] Step S104, detecting the voltage of the first battery while the first battery is supplying power to the load;
[0037] Step S106, when it is detected that the voltage of the first battery is greater than the preset voltage, the first battery continues to be used to supply power to the load;
[0038] Step S108, when it is detected that the voltage of the first battery is less than or equal to the preset voltage, first control the second battery in the second power supply circuit to supply power to the load, and then control the first battery to stop supplying power to the load, wherein the second power supply circuit is any one of the at least two power supply circuits that is different from the first power supply circuit, and the voltage of the second battery is greater than the preset voltage.
[0039] The battery switching method provided in the embodiment of the present invention can be used for switching between two or more groups of batteries. When the voltage of the battery currently powering the load drops to a certain level, it switches to another group of batteries, and the load is powered by the other group of batteries. During the battery switching process, uninterrupted power supply is maintained to achieve seamless switching of batteries.
[0040] In an embodiment of the present invention, each group of batteries is arranged in a power supply circuit, the first battery is arranged in the first power supply circuit, the second battery is arranged in the second power supply circuit, the first battery is different from the second battery, and the first power supply circuit is different from the second power supply circuit. The embodiment of the present invention may also include other batteries besides the first battery and the second battery. The battery switching method of the embodiment of the present invention can be used to switch between the first battery, the second battery and other batteries included in the embodiment of the present invention.
[0041] Optionally, the first battery is any one of the multiple battery groups in the embodiment of the present invention. When the voltage of the first battery is greater than a preset voltage, the first battery can be used to power the load. In the process of using the first battery to power the load, as the power of the first battery decreases, the voltage of the first battery will continue to decrease. The voltage of the first battery is detected in real time. When it is detected that the voltage of the first battery is greater than the preset voltage, the first battery continues to power the load. When it is detected that the voltage of the first battery is less than or equal to the preset voltage, the power of the first battery is insufficient. At this time, the second battery is first controlled to power the load. The second battery is any one of the other batteries whose voltage is greater than the preset voltage. After the second battery powers the load, the first battery is controlled to stop powering the load to achieve uninterrupted power supply to the load, that is, seamless switching of the battery.
[0042] In an embodiment of the present invention, the following method is adopted: a first battery in a first power supply circuit is used to power a load, the first power supply circuit is any one of at least two power supply circuits, and the voltage of the first battery is greater than a preset voltage; in the process of the first battery powering the load, the voltage of the first battery is detected; when it is detected that the voltage of the first battery is greater than the preset voltage, the first battery continues to be used to power the load; when it is detected that the voltage of the first battery is less than or equal to the preset voltage, the second battery in the second power supply circuit is first controlled to power the load, and then the first battery is controlled to stop powering the load, wherein the second power supply circuit is any one of the multiple power supply circuits that is different from the first power supply circuit, and the voltage of the second battery is greater than the preset voltage, by first controlling the second battery to power the load when the voltage of the first battery is less than or equal to the preset voltage, and then controlling the first battery to power the load, the purpose of continuously powering the load when the battery is switched is achieved, thereby achieving the technical effect of seamlessly switching to power the load using multiple groups of batteries, and thus solving the technical problem that the load cannot be seamlessly switched to power the load using multiple groups of batteries.
[0043] Optionally, before controlling the second battery in the second power supply circuit to supply power to the load, the method further includes: blocking the second power supply circuit and the first power supply circuit to prevent the second power supply circuit from supplying power to the first power supply circuit.
[0044] Since when the voltage of the first battery is less than or equal to the preset voltage, the second battery is first controlled to supply power to the load, and then the first battery is controlled to stop supplying power to the load, there is a situation where the first battery and the second battery supply power to the load at the same time, causing the second battery with high power to charge the first battery with low power, which may cause excessive current on the power supply line, heating of the power supply line, sparking, etc. In order to avoid the situation where the battery with high power charges the battery with low power, optionally, when the voltage of the first battery is less than or equal to the preset voltage and it is necessary to switch to the second battery for power supply, the second power supply circuit and the first power supply circuit are first blocked, and then the second battery is controlled to supply power to the load, thereby avoiding the situation where the second battery in the second charging circuit charges the first battery in the first charging circuit when the first battery and the second battery supply power to the load at the same time.
[0045] Optionally, using the first battery in the first power supply circuit to power the load includes: limiting the power supply current in the first power supply circuit to obtain a first current; using the first current to power the load; detecting whether the ratio of the voltage across the load to the voltage of the first battery reaches a preset threshold; when the ratio of the voltage across the load to the voltage of the first battery reaches a preset threshold, stopping limiting the power supply current and using the power supply current to power the load.
[0046] When the first battery is used to power the load, the initial current in the power supply circuit will be large due to the high initial voltage of the first battery. In order to avoid excessive current in the power supply circuit and damage to the power supply circuit, the current in the power supply circuit can be limited when the first battery starts to power the load. Optionally, when the first battery is used to power the load, the current in the first power supply circuit is limited to obtain a first current, the load is powered by the first current, and when the ratio of the voltage at both ends of the load to the voltage of the first battery reaches a preset threshold, the current limiting of the current in the power supply circuit is canceled. For example: when the first battery initially powers the load, the current of the first power supply circuit is limited to obtain a smaller current, and the load is powered. The voltage at both ends of the load will continue to increase during the power supply process. When the ratio of the voltage at both ends of the load to the voltage of the first battery reaches 95% of the preset threshold, the current limiting is canceled. Since the voltage at both ends of the load is close to the voltage of the first battery at this time, the power supply current in the first power supply circuit will not be too large.
[0047] Optionally, first controlling the second battery in the second power supply circuit to supply power to the load, and then controlling the first battery to stop supplying power to the load includes: limiting the power supply current in the second power supply circuit to obtain a second current; using the second current to supply power to the load; detecting whether the ratio of the voltage across the load to the voltage of the second battery reaches a preset threshold; when the ratio of the voltage across the load to the voltage of the second battery reaches a preset threshold, stopping limiting the power supply current and using the power supply current to supply power to the load; after using the power supply current to supply power to the load, controlling the first battery to stop supplying power to the load.
[0048] When the voltage of the first battery is less than or equal to the preset voltage, when the load is switched to be powered by the second battery, since the initial voltage of the second battery is relatively high and much greater than the voltage at both ends of the load, the current in the power supply circuit will be relatively large when the battery is switched. In order to avoid excessive current in the power supply circuit and damage to the power supply circuit, when the first battery is switched to the second battery, the current in the second power supply circuit can be limited to obtain a second current, and the load is powered by the second current, and when the ratio of the voltage at both ends of the load to the voltage of the second battery reaches a preset threshold, the current limiting of the current in the second power supply circuit is cancelled. For example: when the second battery is controlled to power the load, the current of the second power supply circuit is limited to obtain a smaller current, and the load is powered. The voltage at both ends of the load will continue to increase during the power supply process. When the ratio of the voltage at both ends of the load to the voltage of the second battery reaches 95% of the preset threshold, the current limiting is cancelled. Since the voltage at both ends of the load is close to the voltage of the second battery at this time, the power supply current in the second power supply circuit will not be excessive.
[0049] Optionally, before using the first battery in the first power supply circuit to power the load, the method also includes: arbitrarily selecting a target power supply circuit from at least two power supply circuits; detecting whether the voltage of the battery in the target power supply circuit is greater than a preset voltage; when the voltage of the battery in the target power supply circuit is greater than the preset voltage, using the target power supply circuit as the first power supply circuit.
[0050] The embodiment of the present invention includes two or more power supply circuits, each power supply circuit includes a group of batteries, and the first battery is any group of batteries in the multiple groups of batteries. In an optional implementation, before powering the load, a power supply circuit is arbitrarily selected from the multiple power supply circuits as the target power supply circuit, and it is detected whether the battery voltage in the target power supply circuit is greater than the preset voltage. If the battery voltage in the target power supply circuit is greater than the preset voltage, the target power supply circuit is used as the first power supply circuit, and the first battery in the first power supply circuit is used to power the load.
[0051] According to an embodiment of the present invention, an embodiment of a switching system for a power supply circuit is also provided, the switching system comprising: a load; at least two power supply circuits, at least two power supply circuits are connected in parallel, each power supply circuit is connected in series with the load, wherein each power supply circuit has the same circuit composition, each power supply circuit comprises a battery, a first switch, wherein the first end of the first switch is coupled to the positive electrode of the battery, the second end of the first switch is coupled to the positive electrode of the load, and when the first switch is closed, the battery in the power supply circuit supplies power to the load. Wherein, the first end of the first switch is coupled to the positive electrode of the battery, which means that the first end of the first switch can be directly connected to the positive electrode of the battery, or other devices are connected between the first end of the first switch and the positive electrode of the battery, and the first end of the first switch is indirectly connected to the positive electrode of the battery. Similarly, the second end of the first switch is coupled to the positive electrode of the load, which means that the second end of the first switch is directly connected to the positive electrode of the load, or the second end of the first switch is indirectly connected to the positive electrode of the load.
[0052] The switching system of the power supply circuit in the embodiment of the present invention may include two or more power supply circuits, each of which includes a battery and a first switch, wherein the first switch is arranged between the positive electrode of the battery and the positive electrode of the load, and when the first switch is closed, the load is charged by the power supply circuit. The switching system of the power supply circuit in the embodiment of the present invention can switch to another power supply circuit to supply power to the load when the battery power in the power supply circuit currently supplying power to the load is insufficient, that is, realize the switching of multiple power supply circuits.
[0053] In an embodiment of the present invention, when the voltage of the battery currently supplying power to the load is less than a preset voltage, the first switch of another power supply circuit is first controlled to be closed so as to use another power supply circuit to supply power to the load, and then the first switch of the original power supply circuit is controlled to be disconnected, thereby achieving the purpose of continuously supplying power to the load when the battery is switched, thereby realizing the technical effect of seamlessly switching the load with multiple groups of batteries, and further solving the technical problem that the load cannot be supplied with power by seamlessly switching multiple groups of batteries.
[0054] Since when switching the power supply circuit, the first switch of another power supply circuit is first controlled to be closed, so that another power supply circuit is used to power the load, and then the first switch of the original power supply circuit is controlled to be disconnected, there is a situation where two-phase power supply circuits power the load at the same time, so that the battery with high power is charged by the battery with low power, which may cause excessive current on the power supply line, heating of the power supply line, sparking, etc. In order to avoid the situation where the battery with high power is charged by the battery with low power, optionally, a second switch and a diode are set in each power supply circuit, the second switch is connected in parallel with the diode, and the first switch is connected in series with the second switch and the diode after parallel connection, wherein the positive electrode of the diode is coupled with the positive electrode of the battery, and the second end of the diode is coupled with the positive electrode of the load. When switching the power supply circuit, the second switch in the current power supply circuit is first disconnected so that the current in the current power supply circuit can only flow in the forward direction, and then the first switch and the second switch of another power supply circuit are controlled to be closed, so that another power supply circuit is used to power the load, and finally the first switch and the second switch of the original power supply circuit are disconnected, thereby avoiding the situation where the battery with high power is powered by the battery with low power. The second switch and the diode in the power supply circuit can be connected in different ways. One optional connection method is: the first end of the second switch is connected to the second end of the first switch, the second end of the second switch is connected to the positive electrode of the load, the positive electrode of the diode is connected to the second end of the first switch, and the negative electrode of the diode is connected to the positive electrode of the load. Another optional connection method is: the first end of the second switch is connected to the positive electrode of the battery, the second end of the second switch is connected to the first end of the first switch, the positive electrode of the diode is connected to the positive electrode of the battery, and the negative electrode of the diode is connected to the first end of the first switch.
[0055] When the power supply circuit is used to supply power to the load, or when switching to a new power supply circuit and the new power supply circuit supplies power to the load, the initial current in the power supply circuit will be large due to the high initial voltage of the battery in the power supply circuit. In order to avoid excessive current in the power supply circuit and damage to the power supply circuit, the current in the power supply circuit can be limited when the power supply circuit starts to supply power to the load. Optionally, a third switch and a pre-charging resistor are set in each power supply circuit, the third switch and the pre-charging resistor are connected in parallel, and the first switch is connected in series with the third switch and the pre-charging resistor after the parallel connection, wherein the first end of the pre-charging resistor is coupled to the positive electrode of the battery, and the second end of the pre-charging resistor is coupled to the positive electrode of the load. When the power supply circuit is used to supply power to the load, or when switching to a new power supply circuit and the new power supply circuit supplies power to the load, the third switch is first disconnected to connect the pre-charging resistor to the power supply circuit to limit the current in the power supply circuit to prevent excessive current from damaging the circuit. When the power supply circuit supplies power to the load and the ratio of the voltage across the load to the voltage of the battery in the power supply circuit reaches a preset threshold, the third switch is closed to cancel the current limiting of the current in the power supply circuit.
[0056] The third switch and the pre-charging resistor in the power supply circuit can be connected in different ways. When the second switch and the diode are connected in the following way: the first end of the second switch is connected to the second end of the first switch, the second end of the second switch is connected to the positive electrode of the load, the positive electrode of the diode is connected to the second end of the first switch, and the negative electrode of the diode is connected to the positive electrode of the load. An optional connection method of the third switch and the pre-charging resistor is: the first end of the third switch is connected to the second end of the second switch, the second end of the third switch is connected to the first end of the first switch, the first end of the pre-charging resistor is connected to the second end of the second switch, and the second end of the pre-charging resistor is connected to the first end of the first switch. Another optional connection method is: the first end of the third switch is connected to the positive electrode of the battery, the second end of the third switch is connected to the first end of the second switch, the first end of the pre-charging resistor is connected to the positive electrode of the battery, and the second end of the pre-charging resistor is connected to the first end of the second switch. Another optional connection method is: the first end of the third switch is connected to the first end of the first switch, the second end of the third switch is connected to the positive electrode of the load, the first end of the pre-charging resistor is connected to the first end of the first switch, and the second end of the pre-charging resistor is connected to the positive electrode of the load. When the second switch and the diode are connected in the following manner: the first end of the second switch is connected to the positive electrode of the battery, the second end of the second switch is connected to the first end of the first switch, the positive electrode of the diode is connected to the positive electrode of the battery, and the negative electrode of the diode is connected to the first end of the first switch. An optional connection method for the third switch and the pre-charging resistor is: the first end of the third switch is connected to the second end of the first switch, the second end of the third switch is connected to the first end of the second switch, the first end of the pre-charging resistor is connected to the second end of the first switch, and the second end of the pre-charging resistor is connected to the first end of the second switch. Another optional connection method is: the first end of the third switch is connected to the positive electrode of the battery, the second end of the third switch is connected to the first end of the first switch, the first end of the pre-charging resistor is connected to the positive electrode of the battery, and the second end of the pre-charging resistor is connected to the first end of the first switch. Another optional connection method is: the first end of the third switch is connected to the second end of the second switch, the second end of the third switch is connected to the positive electrode of the load, the first end of the pre-charging resistor is connected to the second end of the second switch, and the second end of the pre-charging resistor is connected to the positive electrode of the load.
[0057] Optionally, a fourth switch may be provided between the negative electrode of the battery in the power supply circuit and the load, and when the first switch and the fourth switch are closed at the same time, the power supply circuit charges the load.
[0058] Figure 2 is a schematic diagram of an optional switching system of a power supply circuit according to an embodiment of the present invention, such as Figure 2As shown, the switching system of the power supply circuit includes: a load, a first power supply circuit and a second power supply circuit, wherein the first power supply circuit and the second power supply circuit are connected in parallel, and the first power supply circuit and the second power supply circuit are respectively connected in series with the load. The first power supply circuit includes a battery 1, a switch 1 (equivalent to the second switch), a diode D1, a switch 2 (equivalent to the third switch), a resistor R1 (equivalent to the pre-charging resistor), a switch 3 (equivalent to the first switch), and a switch 4 (equivalent to the fourth switch), and the second power supply circuit includes a battery 2, a switch 5 (equivalent to the second switch), a diode D2, a switch 6 (equivalent to the third switch), a resistor R2 (equivalent to the pre-charging resistor), a switch 7 (equivalent to the first switch), and a switch 8 (equivalent to the fourth switch), wherein the relay K1 controls the opening and closing of the switch 1, the relay K2 controls the opening and closing of the switch 2, the relay K3 controls the opening and closing of the switch and the switch 4, the relay K4 controls the opening and closing of the switch 5, the relay K5 controls the opening and closing of the switch 6, and the relay K6 controls the opening and closing of the switch 7 and the switch 8.
[0059] Figure 3 is a flow chart of a method for switching a power supply circuit according to an embodiment of the present invention, which method can be applied to Figure 2 The switching system shown in Figure 3 As shown, the method comprises the following steps:
[0060] Step S301, determining whether the voltage of the battery 1 is greater than a set value (equivalent to a preset voltage).
[0061] Step S302, if the voltage of battery 1 is greater than the set value, relays K1 and K3 are energized, and relay K2 does not operate. When the voltage of battery 1 is greater than the set value, it indicates that the battery 1 has sufficient power to supply power to the load, and relays K1 and K3 are controlled to be energized, and relay K2 does not operate. At this time, switches 1, 3, and 4 are closed, and switch 2 is opened. The first power supply circuit is used to supply power to the load, and the current in the first power supply circuit flows through resistor R1. The first power supply circuit is current-limited by resistor R1 to prevent the initial current in the first power supply circuit from being too large.
[0062] Step S303, determine whether the load voltage is greater than 95% of the voltage of battery 1. By detecting the voltage between points A and B, the load voltage is obtained, and then determine whether the ratio of the load voltage to the voltage of battery 1 reaches a preset threshold of 95%.
[0063] Step S304, if the load voltage is greater than 95% of the battery 1 voltage, the relay K2 is energized. If the ratio of the load voltage to the battery 1 voltage reaches a preset threshold of 95%, the relay K2 is controlled to be energized, at which time, the switch 2 is closed, the resistor R1 is short-circuited, and the current limiting of the first power supply circuit is cancelled.
[0064] Step S305, determining whether the voltage of battery 1 is less than or equal to the battery undervoltage value.
[0065] Step S306, if the voltage of battery 1 is less than or equal to the battery undervoltage value, determine whether the voltage of battery 2 is greater than the set value. When it is determined that the voltage of battery 1 is less than or equal to the battery undervoltage value, it indicates that the power of battery 1 is insufficient. Then determine whether the voltage of battery 2 is greater than the set value.
[0066] Step S307, if the voltage of battery 2 is greater than the set value, the relay K1 is disconnected. If the voltage of battery 2 is greater than the set value, it is ready to switch to the second power supply circuit to supply power to the load. In order to prevent the battery 2 with a large amount of power from charging the battery 1 with a small amount of power during the switching process, the relay K1 is first controlled to be disconnected. At this time, the switch 1 is disconnected, and the diode D1 is connected to the first power supply circuit. The current in the first power supply circuit can only flow out from the positive electrode of the battery 1, but cannot flow to the positive electrode of the battery 1, thereby preventing the battery 2 from charging the battery 1.
[0067] Step S308, relay K4 and relay K6 are energized. After switch 1 is disconnected, relay K4 and relay K6 are controlled to be energized. At this time, switches 5, 7 and 8 are closed, and the second power supply circuit supplies power to the load. Relay K5 does not operate, switch 6 remains disconnected, and the current in the second power supply circuit flows through resistor R2. Resistor R2 limits the current of the second power supply circuit to prevent the current in the second power supply circuit from being too large and causing damage to the power supply line.
[0068] Step S309, determining whether the load voltage is greater than 95% of the battery 2 voltage.
[0069] Step S310, if the load voltage is greater than 95% of the battery 2 voltage, the relay K5 is energized. When the ratio of the load voltage to the battery 2 voltage reaches a preset threshold, the relay K5 is controlled to be energized, at which time, the switch 6 is closed, the resistor R2 is short-circuited, and the current limiting of the second power supply circuit is cancelled.
[0070] Step S311, relay K2 and relay K3 are disconnected. Finally, relay K2 and relay K3 are controlled to be disconnected, at which time, switch 2, switch 3 and switch 4 are disconnected, and the first power supply circuit is stopped from supplying power to the load.
[0071] According to an embodiment of the present invention, an embodiment of a switching method for a power supply circuit is also provided. The switching method for a power supply circuit can be used in the switching system of the power supply circuit, such as Figure 4 As shown, the method comprises the following steps:
[0072] Step S402, controlling a first switch of a first power supply circuit and a fourth switch of the first power supply circuit to be closed, wherein the first power supply circuit is any one of at least two power supply circuits, and a voltage of a battery of the first power supply circuit is greater than a preset voltage;
[0073] Step S404, after the first switch of the first power supply circuit and the fourth switch of the first power supply circuit are closed, detecting the voltage of the battery of the first power supply circuit;
[0074] Step S406, when it is detected that the voltage of the battery of the first power supply circuit is greater than the preset voltage, keeping the first switch of the first power supply circuit and the fourth switch of the first power supply circuit closed;
[0075] Step S408, when it is detected that the voltage of the battery of the first power supply circuit is less than or equal to the preset voltage, first control the first switch of the second power supply circuit and the fourth switch of the second power supply circuit to be closed, and then control the first switch of the first power supply circuit and the fourth switch of the first power supply circuit to be opened, wherein the second power supply circuit is any one of the at least two power supply circuits that is different from the first power supply circuit, and the voltage of the battery of the second power supply circuit is greater than the preset voltage.
[0076] Optionally, the first power supply circuit is any one of the two or more power supply circuits in the embodiment of the present invention, and the second power supply circuit is any one of the two or more power supply circuits that is different from the first power supply circuit. When the voltage of the battery in the first power supply circuit is greater than the preset voltage, the first switch and the fourth switch in the first power supply circuit can be controlled to close, and the first battery is used to power the load. In the process of using the first power supply circuit to power the load, as the battery power decreases, the battery voltage will continue to decrease. The voltage of the battery in the first power supply circuit is detected in real time. When it is detected that the battery voltage is greater than the preset voltage, the first power supply circuit continues to power the load. When it is detected that the battery voltage is less than or equal to the preset voltage, the battery in the first power supply circuit is insufficient. At this time, the first switch and the fourth switch in the second power supply circuit are first controlled to close so that the second power supply circuit supplies power to the load. After the first switch and the fourth switch of the second power supply circuit are controlled to close, the first switch and the fourth switch of the first power supply circuit are controlled to be disconnected to stop the first power supply circuit from supplying power to the load, thereby realizing uninterrupted power supply to the load, that is, seamless switching of the battery.
[0077] In an embodiment of the present invention, when the battery voltage of the first power supply circuit is less than a preset voltage, the first switch of the second power supply circuit and the fourth switch of the second power supply circuit are first controlled to be closed, and then the first switch of the first power supply circuit and the fourth switch of the first power supply circuit are controlled to be disconnected, so as to achieve the purpose of continuously supplying power to the load when the battery is switched, thereby realizing the technical effect of seamlessly switching the load with multiple groups of batteries, and further solving the technical problem that the load cannot be supplied with power by seamlessly switching multiple groups of batteries.
[0078] Optionally, the power supply circuit includes a second switch and a diode, and before controlling the first switch of the first power supply circuit and the fourth switch of the first power supply circuit to close, the method also includes: controlling the second switch of the first power supply circuit to close; before controlling the first switch of the second power supply circuit and the fourth switch of the second power supply circuit to close, the method also includes: controlling the second switch of the first power supply circuit to open, so as to utilize the diode to block the first power supply circuit and the second power supply circuit.
[0079] Since, when switching the power supply circuit, the first switch of the second power supply circuit and the fourth switch of the second power supply circuit are first controlled to be closed, and then the first switch of the first power supply circuit and the fourth switch of the first power supply circuit are controlled to be disconnected, there is a situation where the first power supply circuit and the second power supply circuit supply power to the load at the same time, thereby causing the battery in the second power supply circuit to charge the battery in the first power supply circuit, which may cause excessive current on the power supply circuit, heating of the power supply circuit, sparking, etc. In order to avoid the situation where the battery in the second power supply circuit charges the battery in the first power supply circuit, optionally, a second switch and a diode are set in the power supply circuit, and the second switch is connected in parallel with the diode. When switching the power supply circuit, the second switch in the first power supply circuit is first disconnected so that the current in the current power supply circuit can only flow from the positive electrode to the negative electrode of the diode, and then the first switch of the second power supply circuit and the fourth switch of the second power supply circuit are controlled to be closed, so that the load is powered by the second power supply circuit, and finally the first switch of the first power supply circuit and the fourth switch of the first power supply circuit are disconnected, thereby avoiding the situation where the battery in the second power supply circuit charges the battery in the first power supply circuit.
[0080] Optionally, the power supply circuit includes a third switch and a pre-charging resistor. Before controlling the first switch of the first power supply circuit and the fourth switch of the first power supply circuit to close, the method also includes: controlling the third switch of the first power supply circuit to open; detecting whether the ratio of the voltage across the load to the voltage of the battery in the first power supply circuit reaches a preset threshold; when the ratio of the voltage across the load to the voltage of the battery in the first power supply circuit reaches a first threshold, controlling the third switch of the first power supply circuit to close.
[0081] When the first switch of the first power supply circuit and the fourth switch of the first power supply circuit are controlled to be closed so as to use the first power supply circuit to supply power to the load, the initial current in the power supply circuit will be relatively large due to the high initial voltage of the battery in the first power supply circuit. In order to avoid excessive current in the power supply circuit and damage to the power supply circuit, a third switch and a pre-charging resistor can be set in the power supply circuit, and the third switch is connected in parallel with the pre-charging resistor. Before the first switch of the first power supply circuit and the fourth switch of the first power supply circuit are controlled to be closed, the third switch is first controlled to be disconnected to limit the current in the first power supply circuit. When the ratio of the voltage at both ends of the load to the voltage of the battery in the first power supply circuit reaches a preset threshold, the third switch is controlled to be closed to cancel the current limiting of the current in the first power supply circuit.
[0082] Optionally, before controlling the first switch of the second power supply circuit and the fourth switch of the second power supply circuit to close, the method also includes: controlling the third switch of the second power supply circuit to open; after controlling the first switch of the second power supply circuit and the fourth switch of the second power supply circuit to close, the method also includes: detecting whether the ratio of the voltage across the load and the voltage of the battery in the second power supply circuit reaches a preset threshold; when the ratio of the voltage across the load and the voltage of the battery in the second power supply circuit reaches a preset threshold, controlling the third switch of the second power supply circuit to close; after controlling the third switch of the second power supply circuit to close, controlling the first switch of the first power supply circuit and the fourth switch of the first power supply circuit to open.
[0083] When the voltage of the battery in the first charging circuit is less than or equal to the preset voltage, when the second power supply circuit is switched to supply power to the load, the initial voltage of the battery in the second power supply circuit is relatively high and much higher than the voltage across the load, which will cause a relatively large current in the second power supply circuit when the circuit is switched. In order to avoid excessive current in the power supply circuit and damage to the power supply circuit, the third switch can be controlled to be disconnected when the power supply circuit is switched, so as to limit the current in the second power supply circuit through the pre-charging resistor, and when the ratio of the voltage across the load to the voltage of the battery in the second power supply circuit reaches a preset threshold, the third switch is controlled to be closed to cancel the current limiting of the current in the second power supply circuit.
[0084] In order to achieve the above-mentioned purpose, according to another aspect of the present invention, an embodiment of the present invention further provides a storage medium, the storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the above-mentioned battery switching method and power supply circuit switching method.
[0085] In order to achieve the above object, according to another aspect of the present invention, an embodiment of the present invention further provides a processor, and the processor is used to run a program, wherein the above-mentioned battery switching method and power supply circuit switching method are executed when the program is running.
[0086] According to an embodiment of the present invention, an embodiment of a battery switching device is also provided. Figure 5 is a schematic diagram of an optional battery switching device according to an embodiment of the present invention, such as Figure 5 As shown, the device comprises:
[0087] A first power supply unit 510, configured to supply power to a load using a first battery in a first power supply circuit, wherein the first power supply circuit is any one of a plurality of power supply circuits, each of which has the same circuit composition, and a voltage of the first battery is greater than a preset voltage;
[0088] A detection unit 520, configured to detect a voltage of the first battery when the first battery supplies power to the load;
[0089] The second power supply unit 530 is used to continue to use the first battery to supply power to the load when it is detected that the voltage of the first battery is greater than a preset voltage;
[0090] The third power supply unit 540 is used to control the second battery in the second power supply circuit to supply power to the load and then control the first battery to stop supplying power to the load when it is detected that the voltage of the first battery is less than or equal to a preset voltage, wherein the second power supply circuit is any one of the multiple power supply circuits that is different from the first power supply circuit, and the voltage of the second battery is greater than the preset voltage.
[0091] Optionally, the first battery is any one of the multiple battery groups in the embodiment of the present invention. When the voltage of the first battery is greater than a preset voltage, the first battery can be used to power the load. In the process of using the first battery to power the load, as the power of the first battery decreases, the voltage of the first battery will continue to decrease. The voltage of the first battery is detected in real time. When it is detected that the voltage of the first battery is greater than the preset voltage, the first battery continues to power the load. When it is detected that the voltage of the first battery is less than or equal to the preset voltage, the power of the first battery is insufficient. At this time, the second battery is first controlled to power the load. The second battery is any one of the other batteries whose voltage is greater than the preset voltage. After the second battery powers the load, the first battery is controlled to stop powering the load to achieve uninterrupted power supply to the load, that is, seamless switching of the battery.
[0092] In an embodiment of the present invention, the following device is used: a first power supply unit, used to use a first battery in a first power supply circuit to supply power to a load, wherein the first power supply circuit is any one of a plurality of power supply circuits, each power supply circuit has the same circuit composition, and the voltage of the first battery is greater than a preset voltage; a detection unit, used to detect the voltage of the first battery in the process of the first battery supplying power to the load; a second power supply unit, used to continue to use the first battery to supply power to the load when detecting that the voltage of the first battery is greater than the preset voltage; a third power supply unit, used to control the second battery in the second power supply circuit to supply power to the load first and then control the first battery to stop supplying power to the load when detecting that the voltage of the first battery is less than or equal to the preset voltage, wherein the second power supply circuit is any one of the plurality of power supply circuits different from the first power supply circuit, and the voltage of the second battery is greater than the preset voltage, by first controlling the second battery to supply power to the load and then controlling the first battery to supply power to the load when the voltage of the first battery is less than or equal to the preset voltage, the purpose of continuously supplying power to the load when the battery is switched is achieved, thereby achieving the technical effect of seamlessly switching to supply power to the load using multiple groups of batteries, thereby solving the technical problem that the load cannot be seamlessly switched to supply power to the load using multiple groups of batteries.
[0093] Optionally, the device further includes: a blocking unit, configured to block the second power supply circuit and the first power supply circuit before controlling the second battery in the second power supply circuit to supply power to the load, so as to prevent the second power supply circuit from supplying power to the first power supply circuit.
[0094] Since when the voltage of the first battery is less than or equal to the preset voltage, the second battery is first controlled to supply power to the load, and then the first battery is controlled to stop supplying power to the load, there is a situation where the first battery and the second battery supply power to the load at the same time, causing the second battery with high power to charge the first battery with low power, which may cause excessive current on the power supply line, heating of the power supply line, sparking, etc. In order to avoid the situation where the battery with high power charges the battery with low power, optionally, when the voltage of the first battery is less than or equal to the preset voltage and it is necessary to switch to the second battery for power supply, the second power supply circuit and the first power supply circuit are first blocked, and then the second battery is controlled to supply power to the load, thereby avoiding the situation where the second battery in the second charging circuit charges the first battery in the first charging circuit when the first battery and the second battery supply power to the load at the same time.
[0095] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0096] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0097] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may 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 mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0098] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0099] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0100] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0101] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A battery switching method, characterized in that: The battery switching is applied to electric vehicles, including: A first battery in a first power supply circuit is used to supply power to a load, wherein the first power supply circuit is any one of at least two power supply circuits, and a voltage of the first battery is greater than a preset voltage; In the process of the first battery supplying power to the load, detecting the voltage of the first battery; When it is detected that the voltage of the first battery is greater than the preset voltage, continuing to use the first battery to supply power to the load; When it is detected that the voltage of the first battery is less than or equal to the preset voltage, firstly control the second battery in the second power supply circuit to supply power to the load, and then control the first battery to stop supplying power to the load, wherein the second power supply circuit is any one of the at least two power supply circuits different from the first power supply circuit, and the voltage of the second battery is greater than the preset voltage; Limiting the power supply current in the first power supply circuit to obtain a first current; Using the first current to supply power to the load; Detecting whether a ratio of a voltage across the load to a voltage of the first battery reaches a preset threshold; When the ratio of the voltage across the load to the voltage of the first battery reaches the preset threshold, the supply current is stopped, and the load is powered by the supply current.
2. The method according to claim 1, characterized in that Before controlling the second battery in the second power supply circuit to supply power to the load, the method further includes: The second power supply circuit and the first power supply circuit are blocked to prevent the second power supply circuit from supplying power to the first power supply circuit.
3. The method according to claim 1, characterized in that Firstly controlling the second battery in the second power supply circuit to supply power to the load, and then controlling the first battery to stop supplying power to the load comprises: Limiting the power supply current in the second power supply circuit to obtain a second current; supplying power to the load using the second current; Detecting whether a ratio of a voltage across the load to a voltage of the second battery reaches a preset threshold; When the ratio of the voltage across the load to the voltage of the second battery reaches the preset threshold, the current limiting of the power supply current is stopped, and the load is powered by the power supply current; After the load is powered by the power supply current, the first battery is controlled to stop supplying power to the load.
4. The method according to claim 1, characterized in that: Before using the first battery in the first power supply circuit to power the load, the method further includes: arbitrarily selecting a target power supply circuit from the at least two power supply circuits; Detecting whether the voltage of the battery in the target power supply circuit is greater than a preset voltage; When the voltage of the battery in the target power supply circuit is greater than the preset voltage, the target power supply circuit is used as the first power supply circuit.
5. A switching system for a power supply circuit, characterized in that: include: load; at least two power supply circuits, the at least two power supply circuits are connected in parallel, and each of the power supply circuits is connected in series with the load, Wherein, the circuit composition of each of the power supply circuits is the same, and each of the power supply circuits includes a battery and a first switch, wherein the first end of the first switch is coupled to the positive electrode of the battery, and the second end of the first switch is coupled to the positive electrode of the load. When the first switch is closed, the battery in the power supply circuit supplies power to the load. When the battery voltage currently supplying power to the load is less than a preset voltage, the first switch of another power supply circuit is first controlled to be closed so that another power supply circuit is used to supply power to the load, and then the first switch of the original power supply circuit is controlled to be disconnected; A third switch and a pre-charging resistor, wherein the third switch is connected in parallel with the pre-charging resistor, and the first switch is connected in series with the third switch and the pre-charging resistor connected in parallel, wherein a first end of the pre-charging resistor is coupled to the positive electrode of the battery, and a second end of the pre-charging resistor is coupled to the positive electrode of the load.
6. The switching system according to claim 5, characterized in that: The power supply circuit further includes: A second switch and a diode, wherein the second switch is connected in parallel with the diode, and the first switch is connected in series with the second switch and the diode connected in parallel, wherein the anode of the diode is coupled with the anode of the battery, and the second end of the diode is coupled with the anode of the load.
7. The switching system according to claim 5, characterized in that: The power supply circuit also includes: a fourth switch, wherein a first end of the fourth switch is connected to the negative electrode of the battery, and a second end of the fourth switch is connected to the negative electrode of the load, and when the first switch and the fourth switch are closed, the battery in the power supply circuit supplies power to the load.
8. A switching method for a power supply circuit of a switching system according to any one of claims 5 to 7, characterized in that: include: Controlling a first switch of a first power supply circuit and a fourth switch of the first power supply circuit to be closed, wherein the first power supply circuit is any one of the at least two power supply circuits, and a voltage of a battery of the first power supply circuit is greater than a preset voltage; After the first switch of the first power supply circuit and the fourth switch of the first power supply circuit are closed, detecting the voltage of the battery of the first power supply circuit; When it is detected that the voltage of the battery of the first power supply circuit is greater than the preset voltage, keeping the first switch of the first power supply circuit and the fourth switch of the first power supply circuit closed; When it is detected that the voltage of the battery of the first power supply circuit is less than or equal to the preset voltage, firstly control the first switch of the second power supply circuit and the fourth switch of the second power supply circuit to be closed, and then control the first switch of the first power supply circuit and the fourth switch of the first power supply circuit to be opened, wherein the second power supply circuit is any one of the at least two power supply circuits different from the first power supply circuit, and the voltage of the battery of the second power supply circuit is greater than the preset voltage; The power supply circuit includes a third switch and a pre-charging resistor. Before controlling the first switch of the first power supply circuit and the fourth switch of the first power supply circuit to be closed, the method further includes: Controlling the third switch of the first power supply circuit to be disconnected; Detecting whether a ratio of a voltage across the load to a voltage of a battery in the first power supply circuit reaches a preset threshold; When the ratio of the voltage across the load to the voltage of the battery in the first power supply circuit reaches the preset threshold, the third switch of the first power supply circuit is controlled to be closed.
9. The switching method according to claim 8, characterized in that: The power supply circuit includes a second switch and a diode, Before controlling the first switch of the first power supply circuit and the fourth switch of the first power supply circuit to be closed, the method further includes: controlling the second switch of the first power supply circuit to be closed; Before controlling the first switch of the second power supply circuit and the fourth switch of the second power supply circuit to close, the method further includes: controlling the second switch of the first power supply circuit to open, so as to block the first power supply circuit and the second power supply circuit by using the diode.
10. The switching method according to claim 8, characterized in that: Before controlling the first switch of the second power supply circuit and the fourth switch of the second power supply circuit to be closed, the method further includes: controlling the third switch of the second power supply circuit to be opened; After controlling the first switch of the second power supply circuit and the fourth switch of the second power supply circuit to be closed, the method further includes: detecting whether the ratio of the voltage across the load and the voltage of the battery in the second power supply circuit reaches the preset threshold; when the ratio of the voltage across the load and the voltage of the battery in the second power supply circuit reaches the preset threshold, controlling the third switch of the second power supply circuit to be closed; after controlling the third switch of the second power supply circuit to be closed, controlling the first switch of the first power supply circuit and the fourth switch of the first power supply circuit to be opened.
11. A battery switching device, characterized in that: include: A first power supply unit, configured to supply power to a load using a first battery in a first power supply circuit, wherein the first power supply circuit is any one of at least two power supply circuits, each of the power supply circuits has the same circuit composition, and a voltage of the first battery is greater than a preset voltage; a detection unit, configured to detect a voltage of the first battery when the first battery supplies power to the load; a second power supply unit, configured to continue to use the first battery to supply power to the load when detecting that the voltage of the first battery is greater than the preset voltage; a third power supply unit, for, when it is detected that the voltage of the first battery is less than or equal to the preset voltage, first controlling the second battery in the second power supply circuit to supply power to the load, and then controlling the first battery to stop supplying power to the load, wherein the second power supply circuit is any one of the at least two power supply circuits that is different from the first power supply circuit, and the voltage of the second battery is greater than the preset voltage.
12. The device according to claim 11, characterized in that The device also includes: The blocking unit is used to block the second power supply circuit and the first power supply circuit before controlling the second battery in the second power supply circuit to supply power to the load, so as to prevent the second power supply circuit from supplying power to the first power supply circuit.
