Battery circuit, control method, vehicle and computer-readable storage medium
By introducing the first and second batteries of different voltages into the battery circuit, and switching the on-off state of the switching unit with the control unit, automatic switching and charging of batteries of different voltages is achieved, which solves the problem of high circuit complexity in the prior art and simplifies the battery charging circuit.
Patent Information
- Application Number
- CN202411514679.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-28
- Publication Date
- 2025-03-11
- Estimated Expiration
- 2044-10-28
AI Technical Summary
In the prior art, when charging batteries of different voltage levels, different power change modules need to be installed, resulting in higher circuit complexity.
By introducing the first battery and the second battery into the battery circuit, having different voltages, and configuring the first power conversion unit and the switching unit, the control unit is used to switch the on-off state of the switching unit to switch the input port and the output port of the power conversion unit, and automatically switch charging of batteries of different voltages is realized.
There is no need to set up a power change module for each battery, which simplifies the battery charging circuit, reduces the circuit complexity, and improves the utilization rate of hardware circuits.
Smart Images

Figure CN119030108B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of battery technology, and more specifically, to a battery circuit, a control method for a battery circuit, a vehicle, and a computer-readable storage medium. Background Art
[0002] Batteries with different voltages can realize different functions and can supply power to loads with different voltage requirements. In the related art, when charging batteries with different voltage levels, different power change modules need to be set to realize the conversion of different voltages, and the circuit is relatively complicated. Summary of the invention
[0003] Embodiments of the present application provide a battery circuit, a method for controlling a battery circuit, a vehicle, and a computer-readable storage medium.
[0004] The present application provides a battery circuit, the battery circuit comprising:
[0005] a first battery and a second battery, wherein the first battery and the second battery have different voltages;
[0006] a first power conversion unit, the first power conversion unit being configured to convert an input voltage of an input source into a preset voltage to charge the first battery or the second battery;
[0007] a switch unit, the switch unit being configured to electrically connect the first battery to an input source through the first power conversion unit, and to electrically connect the second battery to an input source through the first power conversion unit;
[0008] A control unit, wherein the control unit is configured to switch the on-off state of the switch unit to switch the input port and the output port of the first power conversion unit, when the first power conversion unit is in the first state, the input source charges the first battery through the first power conversion unit, when the first power conversion unit is in the second state, the input source charges the second battery through the first power conversion unit, when the first port of the first power conversion unit is the output port and the second port is the input port, the first power conversion unit is in the first state, and when the first port of the first power conversion unit is the input port and the second port is the output port, the first power conversion unit is in the second state.
[0009] In this way, in the battery circuit, control method, vehicle and computer-readable storage medium of the embodiments of the present application, the on-off state of the switching unit is changed to switch the input port and the output port of the power conversion unit, thereby realizing the switching of the target battery connected and charged by the input source, without providing a set of power change modules for each battery, thereby reducing the circuit complexity.
[0010] In some embodiments, the switch unit includes a first battery switch, a second battery switch, a first input switch, and a second input switch, wherein the first input switch connects the first port of the first power conversion unit and the input source, the second input switch connects the second port of the first power conversion unit and the input source, the first battery switch connects the first battery and the first port, and the second battery switch connects the second battery and the second port;
[0011] When there is voltage at the input source, the control unit is configured to switch the on and off states of the first battery switch, the second battery switch, the first input switch and the second input switch to switch the input port and the output port of the first power conversion unit.
[0012] In certain embodiments, when the second input switch and the first battery switch are closed, and the first input switch and the second battery switch are opened, the input port of the first power conversion unit is the second port, the output port of the first power conversion unit is the first port, and the input source charges the first battery by supplying power through the first power conversion unit.
[0013] In some embodiments, if the state of charge of the first battery is less than a first set threshold, the control unit is configured to control the second input switch and the first battery switch to be closed, and control the first input switch and the second battery switch to be opened.
[0014] In certain embodiments, when the first input switch and the second battery switch are closed, and the second input switch and the first battery switch are opened, the input port of the first power conversion unit is the first port, the output port of the first power conversion unit is the second port, and the input source charges the second battery through the first power conversion unit.
[0015] In some embodiments, if the state of charge of the second battery is less than a second set threshold, the control unit is configured to control the first input switch and the second battery switch to be closed, and the second input switch and the first battery switch to be opened.
[0016] In certain embodiments, when the first battery is preferentially charged, if the state of charge of the first battery is less than a first set threshold, the control unit is configured to switch the on-off state of the switch unit so that the input source charges the first battery through the first power conversion unit; when the state of charge of the first battery after charging is greater than a third set threshold, if the state of charge of the second battery is less than a second set threshold, the control unit is configured to switch the on-off state of the switch unit so that the input source charges the second battery through the first power conversion unit.
[0017] In some embodiments, when there is no voltage at the input source, the control unit is configured to control the switch unit to be disconnected so as to disconnect the input source from the first battery and the second battery.
[0018] In some embodiments, the voltage of the first battery is a first preset voltage, the voltage of the second battery is a second preset voltage, and the battery circuit further includes:
[0019] A second power conversion unit, wherein a first end of the second power conversion unit is connected to the first battery, and a second end of the second power conversion unit is connected to the second battery, and the control unit is configured to control the second power conversion unit to switch an operating mode according to the charge states of the first battery and the second battery; the operating modes of the second power conversion unit include a first operating mode and a second operating mode, and when in the first operating mode, the second power conversion unit is used to convert the voltage of the first battery into the second preset voltage, and when in the second operating mode, the second power conversion unit is used to convert the voltage of the second battery into the first preset voltage.
[0020] In some embodiments, the first battery is connected to a first load and supplies power to the first load. When the first load is powered preferentially and the state of charge of the first battery is less than a first threshold, the second power conversion unit operates in the first operating mode to control the second battery to supply power to the first load.
[0021] In some embodiments, the second battery is connected to the first load and supplies power to the second load. When the second load is powered preferentially and the state of charge of the second battery is less than a second threshold, the second power conversion unit operates in the second operating mode to control the first battery to supply power to the second load.
[0022] In some embodiments, the first preset voltage is greater than the second preset voltage, and when the second load is preferentially powered and the state of charge of the second battery is less than a second threshold, if the state of charge of the first battery is greater than a third threshold, the second power conversion unit operates in the second operating mode, and the first battery supplies power to the second load; if the state of charge of the first battery is less than the third threshold, the second power conversion unit does not operate, and the first battery does not supply power to the second load.
[0023] An embodiment of the present application provides a control method for a battery circuit, wherein the battery circuit includes a first battery and a second battery with different voltages, wherein the first battery and the second battery have different voltages, and the control method includes:
[0024] Switching the on / off state of the switch unit to switch the input port and the output port of the first power conversion unit;
[0025] Wherein, the switch unit is configured to electrically connect the first battery to the input source through the first power conversion unit, and to electrically connect the second battery to the input source through the first power conversion unit, respectively; the first power conversion unit is configured to convert the input voltage of the input source into a preset voltage to charge the first battery or the second battery; when the first power conversion unit is in a first state, the input source charges the first battery through the first power conversion unit; when the first power conversion unit is in a second state, the input source charges the second battery through the first power conversion unit; when the first port of the first power conversion unit is the output port and the second port is the input port, the first power conversion unit is in the first state; when the second port of the first power conversion unit is the output port and the first port is the input port, the first power conversion unit is in the second state.
[0026] In some embodiments, the switching of the on-off state of the switch unit to switch the input port and the output port of the first power conversion unit includes:
[0027] When there is voltage at the input source and the state of charge of the first battery is less than a first set threshold, controlling the second input switch and the first battery switch to close, and controlling the first input switch and the second battery switch to open;
[0028] When there is voltage at the input source and the state of charge of the second battery is less than a second set threshold, the first input switch and the second battery switch are controlled to be closed, and the second input switch and the first battery switch are controlled to be disconnected, wherein the first input switch connects the first port of the first power conversion unit and the input source, the second input switch connects the second port of the first power conversion unit and the input source, the first battery switch connects the first battery and the first port, and the second battery switch connects the second battery and the second port.
[0029] In some embodiments, the control method further comprises:
[0030] When there is no voltage at the input source, the switch unit is controlled to be turned off.
[0031] In some embodiments, the control method further comprises:
[0032] The second power conversion unit is controlled to switch its operating mode according to the charge state of the first battery and the second battery, wherein the first end of the second power conversion unit is connected to the first battery, and the second end of the second power conversion unit is connected to the second battery; the operating modes of the second power conversion unit include a first operating mode and a second operating mode, and when in the first operating mode, the second power conversion unit is used to convert the voltage of the first battery into a second preset voltage, and when in the second operating mode, the second power conversion unit is used to convert the voltage of the second battery into the first preset voltage.
[0033] An embodiment of the present application provides a vehicle, which includes one or more processors and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the steps of the control method as described in any of the above embodiments are implemented.
[0034] An embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the steps of the control method as described in any of the above embodiments are implemented.
[0035] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0037] Figure 1is a schematic diagram of a battery circuit of certain embodiments of the present application;
[0038] Figure 2 is a schematic diagram of a controller of certain embodiments of the present application;
[0039] Figure 3 It is one of the flow charts of the control method of certain embodiments of the present application;
[0040] Figure 4 This is the second flow chart of the control method of certain embodiments of the present application;
[0041] Figure 5 This is the third flow chart of the control method of certain embodiments of the present application;
[0042] Figure 6 This is the fourth flow chart of the control method of certain embodiments of the present application;
[0043] Figure 7 This is the fifth flow chart of the control method of certain embodiments of the present application. DETAILED DESCRIPTION
[0044] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be understood as limiting the present application.
[0045] The continuous development of new semiconductor power devices, the continuous progress of new energy technologies, and the continuous innovation of power electronic circuit topology and control technology have provided a strong guarantee for the high efficiency, high density, and high reliability of power converters. With the widespread application of new energy and battery technologies, the input and output of power converters have gradually become multi-port and diverse. For power converters, the input side can be power grids, photovoltaic cells, wind power generation, fuel cells, and various batteries, and the load types on the output side are even more diverse. In actual applications, the demand for multi-functional, multi-port power conversion and corresponding control strategies for multiple energy types is increasing, and the types and types of power converters vary for different application fields and scenarios.
[0046] Batteries with different voltages can realize different functions and can supply power to loads with different voltage requirements. In the related art, when charging batteries with different voltage levels, different power conversion modules need to be set to realize the conversion of different voltages, and the circuit is relatively complicated.
[0047] Based on the above unresolved issues, please refer to Figure 1 and Figure 2 The present application embodiment provides a battery circuit 100, and the battery circuit 100 includes:
[0048] A first battery 10 and a second battery 30, wherein the first battery 10 and the second battery 30 have different voltages;
[0049] A first power conversion unit 50, the first power conversion unit 50 is configured to convert an input voltage of the input source 300 into a preset voltage to charge the first battery 10 or the second battery 30;
[0050] A switch unit 70, the switch unit 70 is configured to electrically connect the first battery 10 to the input source 300 through the first power conversion unit 50, and to electrically connect the second battery 30 to the input source 300 through the first power conversion unit 50;
[0051] The control unit 90 is configured to switch the on-off state of the switch unit 70 to switch the input port and the output port of the first power conversion unit 50. When the first power conversion unit 50 is in the first state, the input source 300 charges the first battery 10 through the first power conversion unit 50. When the first power conversion unit 50 is in the second state, the input source 300 charges the second battery 30 through the first power conversion unit 50. When the first port 51 of the first power conversion unit 50 is the output port and the second port 53 is the input port, the first power conversion unit 50 is in the first state. When the first port 51 of the first power conversion unit 50 is the input port and the second port 53 is the output port, the first power conversion unit 50 is in the second state.
[0052] See also Figure 3 The present application embodiment provides a control method for a battery circuit 100, wherein the battery circuit 100 includes a first battery 10 and a second battery 30 having different voltages, wherein the first battery 10 and the second battery 30 have different voltages, and the control method includes:
[0053] 01: Switching the on / off state of the switch unit 70 to switch the input port and the output port of the first power conversion unit 50 .
[0054] The switch unit 70 is configured to electrically connect the first battery 10 to the input source 300 through the first power conversion unit 50, and to electrically connect the second battery 30 to the input source 300 through the first power conversion unit 50, respectively. The first power conversion unit 50 is configured to convert the input voltage of the input source 300 into a preset voltage to charge the first battery 10 or the second battery 30. When the first power conversion unit 50 is in a first state, the input source 300 charges the first battery 10 through the first power conversion unit 50. When the first power conversion unit 50 is in a second state, the input source 300 charges the second battery 30 through the first power conversion unit 50. When the second port 53 of the first power conversion unit 50 is an input port and the first port 51 is an output port, the first power conversion unit 50 is in the first state. When the first port 51 of the first power conversion unit 50 is an input port and the second port 53 is an output port, the first power conversion unit 50 is in the second state.
[0055] The embodiment of the present application provides a vehicle, the vehicle includes one or more processors and a memory, the memory stores a computer program, and the computer program can be executed by the processor. The processor can be used to switch the on and off state of the switch unit 70 to switch the input port and the output port of the first power conversion unit 50.
[0056] The embodiment of the present application provides a control device, which includes a first switching module. The first switching module can be used to switch the on-off state of the switch unit 70 to switch the input port and the output port of the first power conversion unit 50.
[0057] Specifically, the first battery 10 and the second battery 30 may respectively include multiple batteries in the battery circuit 100, or the first battery 10 may be a battery in the battery circuit 100, and the second battery 30 includes multiple batteries in the battery circuit 100, or the battery circuit 100 includes two batteries, one is the first battery 10, and the other is the second battery 30, and the voltage of the battery belonging to the first battery 10 is different from that of the battery belonging to the second battery 30. The embodiment of the present application is described as the battery circuit 100 including two batteries, one of which is the first battery 10 and the other is the second battery 30. The battery circuit 100 also includes a battery voltage sampling unit and a battery current sampling unit to sample the voltage and current of the first battery 10 and the second battery 30.
[0058] The input source 300 may be a direct current source such as a photovoltaic cell (PV) for charging the first battery 10 or the second battery 30. The voltage range of the photovoltaic cell may be determined according to the voltage of the first battery 10 and the voltage of the second battery 30. For example, when the voltage of the first battery 10 is greater than the voltage of the second battery 30, the voltage of the photovoltaic cell needs to be less than the voltage of the first battery 10 and greater than the voltage of the second battery 30. An input voltage sampling unit and an input current sampling unit are provided between the input source 300 and the switch unit 70 to sample the input voltage and input current of the input source 300.
[0059] See also Figure 2 The control unit 90 may be a controller such as a microcontroller unit (MCU). The MCU may control the switch unit 70, control the operation of the first power conversion unit 50, sample the voltage and current of the input source 300, sample the current and voltage of the first battery 10 and the second battery 30, perform closed-loop regulation of the power loop, control the solar MPPT (maximum power point tracking) charging of the photovoltaic cell, calculate the state of charge (SOC) of the battery, control the charge and discharge logic, control the load working mode, and control related protection mechanisms.
[0060] When the on-off state of the switch unit 70 is switched, the input port and the output port of the first power conversion unit 50 are switched. For example, when the switch unit 70 is in the first switch state, the first power conversion unit 50 is in the first state, at which time the first port 51 of the first power conversion unit 50 is the output port, the second port 53 is the input port, and the photovoltaic cell charges the first battery 10 through the first power conversion unit 50; when the switch unit 70 is in the second switch state, the first power conversion unit 50 is in the second state, at which time the second port 53 of the first power conversion unit 50 is the output port, the first port 51 is the input port, and the photovoltaic cell charges the second battery 30 through the first power conversion unit 50.
[0061] The first power conversion unit 50 may be a power conversion circuit such as a buck-boost circuit, a Cuk circuit, or a Sepic-Zeta circuit. In this embodiment, the first power conversion unit 50 is a buck-boost circuit, the first battery 10 is a high-voltage battery, and the second battery 30 is a low-voltage battery. The first state may be a boost working mode of the buck-boost circuit, and the second state may be a buck working mode of the buck-boost circuit.
[0062] In one embodiment, the first port 51 of the Buck-Boost circuit is an output port, and the second port 53 is an input port. At this time, the MCU controls the Buck-Boost circuit to be in the Boost working mode, and the voltage of the photovoltaic cell is boosted by the Buck-Boost circuit to charge the high-voltage battery.
[0063] In another embodiment, the second port 53 of the Buck-Boost circuit is an output port, and the first port 51 is an input port. At this time, the Buck-Boost circuit is in Buck working mode, and the voltage of the photovoltaic cell is stepped down by the Buck-Boost circuit to charge the low-voltage battery.
[0064] The battery circuit 100 also includes an auxiliary power supply unit, which is used to receive power from the photovoltaic cell, the first battery 10 and / or the second battery 30, and convert it into a preset voltage value and provide it to the MCU, sampling circuit and other units to power them.
[0065] The first power conversion unit 50 of the embodiment of the present application has dual ports, and a controller is used to realize input and output switching between the dual ports, so that the same first power conversion unit 50 can be used to charge two batteries with different voltages, which simplifies the battery charging circuit and improves the utilization rate of the hardware circuit.
[0066] In this way, in the battery circuit 100, control method, vehicle and computer-readable storage medium of the embodiments of the present application, by changing the on-off state of the switch unit 70 to switch the input port and the output port of the first power conversion unit 50, the switching of the target battery connected and charged by the input source 300 is achieved, so that batteries of different voltages can be charged using the same power conversion unit, without the need to set up a set of power change units for each battery, thereby reducing the circuit complexity.
[0067] See also Figure 1 In some embodiments, the switch unit 70 includes a first battery switch 75, a second battery switch 77, a first input switch 71 and a second input switch 73, wherein the first input switch 71 connects the first port 51 of the first power conversion unit 50 and the input source 300, the second input switch 73 connects the second port 53 of the first power conversion unit 50 and the input source 300, the first battery switch 75 connects the first battery 10 and the first port 51, and the second battery switch 77 connects the second battery 30 and the second port 53; when there is a voltage in the input source 300, the control unit 90 is configured to switch the on and off states of the first battery switch 75, the second battery switch 77, the first input switch 71 and the second input switch 73 to switch the input port and the output port of the first power conversion unit 50.
[0068] Specifically, the first end of the first input switch 71 is connected to the photovoltaic cell, and the second end is connected to the first port 51 of the Buck-Boost circuit. When the first input switch 71 is closed, the photovoltaic cell and the first port 51 of the Buck-Boost circuit are electrically connected, and the first port 51 is the input port. The first end of the second input switch 73 is connected to the photovoltaic cell, and the second end is connected to the second port 53 of the Buck-Boost circuit. When the second input switch 73 is closed, the photovoltaic cell and the second port 53 of the Buck-Boost circuit are electrically connected, and the second port 53 is the input port. By controlling the on-off state switching of the first input switch 71 and the second input switch 73, the input port of the first power conversion unit 50 can be switched.
[0069] The first end of the first battery switch 75 is connected to the first port 51 of the Buck-Boost circuit, and the second end is connected to the first battery 10. When the first battery switch 75 is closed, the first port 51 of the Buck-Boost circuit is connected to the first battery 10, and the first port 51 is an output port. The first end of the second battery switch 77 is connected to the second port 53 of the Buck-Boost circuit, and the second end is connected to the second battery 30. When the second battery switch 77 is closed, the second port 53 of the Buck-Boost circuit is connected to the second battery 30, and the second port 53 is an output port. By controlling the on-off state switching of the first battery switch 75 and the second battery switch 77, the output port of the first power conversion unit 50 can be switched.
[0070] In one embodiment, the first input switch 71 and the second input switch 73 each include two relays. The first input switch 71 includes a relay K2 and a relay K3, and the second input switch 73 includes a relay K1 and a relay K4. The first end of the relay K2 is connected to the positive electrode of the photovoltaic cell, and the second end is connected to the first end of the first port 51 of the Buck-Boost circuit; the first end of the relay K3 is connected to the negative electrode of the photovoltaic cell, and the second end is connected to the second end of the first port 51 of the Buck-Boost circuit. The first end of the relay K1 is connected to the positive electrode of the photovoltaic cell, and the second end is connected to the first end of the second port 53 of the Buck-Boost circuit; the first end of the relay K4 is connected to the negative electrode of the photovoltaic cell, and the second end is connected to the second end of the second port 53 of the Buck-Boost circuit. The first battery switch 75 includes a relay K6, and the second battery switch 77 includes a relay K5. The first end of the relay K5 is connected to the second port 53 of the Buck-Boost circuit, and the second end is connected to the first battery 10; the first end of the relay K6 is connected to the first port 51 of the Buck-Boost circuit, and the second end is connected to the second battery 30.
[0071] In this way, by controlling the on / off states of the first battery switch 75 , the second battery switch 77 , the first input switch 71 , and the second input switch 73 , the input port and the output port of the first power conversion unit 50 can be switched.
[0072] In some embodiments, when the second input switch 73 and the first battery switch 75 are closed, and the first input switch 71 and the second battery switch 77 are opened, the input port of the first power conversion unit 50 is the second port 53, the output port of the first power conversion unit 50 is the first port 51, and the input source 300 supplies power through the first power conversion unit 50 to charge the first battery 10.
[0073] Specifically, when the control unit 90 controls the second input switch 73 and the first battery switch 75 to be closed, and the first input switch 71 and the second battery switch 77 to be opened, the photovoltaic cell is electrically connected to the second port 53 of the Buck-Boost circuit, and the first battery 10 is electrically connected to the first port 51 of the Buck-Boost circuit. At this time, the second port 53 is an input port, and the first port 51 is an output port. The photovoltaic cell can charge the first battery 10 after being boosted by the Buck-Boost circuit, and the Buck-Boost circuit is in the Boost mode.
[0074] In one embodiment, relays K1, K4 and K6 are closed, and relays K2, K3 and K5 are opened. At this time, the voltage of the photovoltaic cell is boosted by the Buck-Boost circuit to charge the high-voltage battery, and the low-voltage battery is not charged.
[0075] In this way, by controlling the second input switch 73 and the first battery switch 75 to be closed, and the first input switch 71 and the second battery switch 77 to be open, the input source 300 can be controlled to charge the first battery 10 through the first power conversion unit 50 .
[0076] In some embodiments, if the state of charge of the first battery 10 is less than the first set threshold, the control unit 90 is configured to control the second input switch 73 and the first battery switch 75 to be closed, and control the first input switch 71 and the second battery switch 77 to be opened.
[0077] See also Figure 4 In some embodiments, step 01 (switching the on / off state of the switch unit 70 to switch the input port and the output port of the first power conversion unit 50) includes:
[0078] 011: When there is voltage at the input source 300 and the state of charge of the first battery 10 is less than the first set threshold, the second input switch 73 and the first battery switch 75 are controlled to be closed, and the first input switch 71 and the second battery switch 77 are controlled to be opened.
[0079] In some embodiments, the processor may be configured to control the second input switch 73 and the first battery switch 75 to be closed, and control the first input switch 71 and the second battery switch 77 to be opened, when there is voltage at the input source 300 and the state of charge of the first battery 10 is less than a first set threshold;
[0080] In some embodiments, the first switching module includes a first control submodule, wherein the first control submodule can be used to control the second input switch 73 and the first battery switch 75 to be closed, and control the first input switch 71 and the second battery switch 77 to be opened when there is voltage in the input source 300 and the state of charge of the first battery 10 is less than a first set threshold.
[0081] Specifically, the first set threshold value may be a pre-set state of charge value, which may be set according to actual needs. When the state of charge of the first battery 10 is lower than the first set threshold value, the power of the first battery 10 is low and needs to be charged.
[0082] The input source 300 may be a photovoltaic cell. When there is voltage in the photovoltaic cell and the ambient light is good, solar charging can be used. The photovoltaic cell can be controlled to charge the first battery 10 or the second battery 30 .
[0083] In one embodiment, the first set threshold value may be 20%. The Buck-Boost circuit includes a switch tube Q1 and a switch tube Q2. When the state of charge of the high-voltage battery is less than 20%, the control unit 90 controls the relays K1, K4 and K6 to close, and the relays K2, K3 and K5 to disconnect, and controls the switch tubes Q1 and Q2 to switch on and off states by outputting a driving signal, so that the Buck-Boost circuit works, and the voltage of the photovoltaic cell is boosted to charge the high-voltage battery.
[0084] In this way, when the charge state of the first battery 10 is less than the first set threshold, the second input switch 73 and the first battery switch 75 can be controlled to close, and the first input switch 71 and the second battery switch 77 can be controlled to open, so that the input source 300 can charge the first battery 10 through the first power conversion unit 50, thereby replenishing the power of the first battery 10.
[0085] In certain embodiments, when the first input switch 71 and the second battery switch 77 are closed, and the second input switch 73 and the first battery switch 75 are opened, the photovoltaic cell is electrically connected to the first port 51 of the Buck-Boost circuit, and the second battery 30 is electrically connected to the second port 53 of the Buck-Boost circuit. At this time, the input port of the Buck-Boost circuit is the first port 51, and the output port of the Buck-Boost circuit is the second port 53. The voltage of the photovoltaic cell is stepped down by the Buck-Boost circuit to charge the second battery 30.
[0086] Specifically, when the control unit 90 controls the first input switch 71 and the second battery switch 77 to be closed, and the second input switch 73 and the first battery switch 75 to be opened, the photovoltaic cell is electrically connected to the first port 51 of the Buck-Boost circuit, and the second battery 30 is electrically connected to the second port 53 of the Buck-Boost circuit. At this time, the first port 51 is an input port, and the second port 53 is an output port. The voltage of the photovoltaic cell can be stepped down by the Buck-Boost circuit to charge the second battery 30, and the Buck-Boost circuit is in Buck mode.
[0087] In one embodiment, the control unit 90 controls relays K2, K3 and K5 to close, and relays K1, K4 and K6 to open. At this time, the voltage of the photovoltaic cell is stepped down by the Buck-Boost circuit to charge the low-voltage battery, and the high-voltage battery is not charged.
[0088] In this way, by controlling the first input switch 71 and the second battery switch 77 to be closed, and the second input switch 73 and the first battery switch 75 to be open, the input source 300 can be controlled to charge the second battery 30 through the first power conversion unit 50 .
[0089] In some embodiments, if the state of charge of the second battery 30 is less than the second set threshold, the control unit 90 is configured to control the first input switch 71 and the second battery switch 77 to be closed, and the second input switch 73 and the first battery switch 75 to be opened.
[0090] See also Figure 5 In some embodiments, step 01 (switching the on / off state of the switch unit 70 to switch the input port and the output port of the first power conversion unit 50) includes:
[0091] 012: When there is voltage on the input source 300 and the state of charge of the second battery 30 is less than the second set threshold, the first input switch 71 and the second battery switch 77 are controlled to be closed, and the second input switch 73 and the first battery switch 75 are controlled to be disconnected, wherein the first input switch 71 connects the first port 51 of the first power conversion unit 50 and the input source 300, the second input switch 73 connects the second port 53 of the first power conversion unit 50 and the input source 300, the first battery switch 75 connects the first battery 10 and the first port 51, and the second battery switch 77 connects the second battery 30 and the second port 53.
[0092] In some embodiments, the processor can be used to control the first input switch 71 and the second battery switch 77 to close, and control the second input switch 73 and the first battery switch 75 to open when there is voltage at the input source 300 and the state of charge of the second battery 30 is less than a second set threshold.
[0093] In some embodiments, the first switching module further includes a second control submodule, wherein the second control submodule can be used to control the first input switch 71 and the second battery switch 77 to close, and control the second input switch 73 and the first battery switch 75 to open, when there is voltage at the input source 300 and the state of charge of the second battery 30 is less than a second set threshold.
[0094] Specifically, the second set threshold value may be a pre-set state of charge value, which may be set according to actual needs, for example, 90%, 93%, 95%, 98%, 100%, etc. When the state of charge of the second battery 30 is lower than the second set threshold value, the second battery 30 may be charged.
[0095] In one embodiment, the first set threshold value may be 100%. The Buck-Boost circuit includes a switch tube Q1 and a switch tube Q2. When the state of charge of the low-voltage battery is less than 100%, the control unit 90 controls the relays K1, K4 and K6 to be disconnected, and the relays K2, K3 and K5 to be closed, and controls the switch tubes Q1 and Q2 to switch on and off states by outputting a driving signal, so that the Buck-Boost circuit works, and the voltage of the photovoltaic cell is stepped down to charge the low-voltage battery.
[0096] In this way, when the charge state of the first battery 10 is less than the first set threshold, the second input switch 73 and the first battery switch 75 can be controlled to close, and the first input switch 71 and the second battery switch 77 can be controlled to open, so that the input source 300 can charge the first battery 10 through the first power conversion unit 50, thereby replenishing the power of the first battery 10.
[0097] In certain embodiments, when the first battery 10 is charged preferentially, if the state of charge of the first battery 10 is less than a first set threshold, the control unit 90 is configured to switch the on-off state of the switch unit 70 so that the input source 300 charges the first battery 10 through the first power conversion unit 50; when the state of charge of the first battery 10 after charging is greater than a third set threshold, if the state of charge of the second battery 30 is less than a second set threshold, the control unit 90 is configured to switch the on-off state of the switch unit 70 so that the input source 300 charges the second battery 30 through the first power conversion unit 50.
[0098] Specifically, the user can set the charging priority for the first battery 10 and the second battery 30 according to the needs, for example, the first battery 10 can be charged first, or the second battery 30 can be charged first. In the case where the first battery 10 is charged first, it is determined whether the first battery 10 needs to be charged. If it is determined that the first battery 10 needs to be charged, the first battery 10 is charged. If the first battery 10 does not need to be charged, it is determined whether the second battery 30 needs to be charged. When the second battery 30 needs to be charged, the second battery 30 is charged. Among them, whether the first battery 10 and the second battery 30 need to be charged can be determined according to the state of charge of the first battery 10 and the state of charge of the second battery 30.
[0099] If the state of charge of the first battery 10 is less than the first set threshold, the first battery 10 needs to be charged. At this time, the control unit 90 controls the first battery switch 75 and the second input switch 73 to be closed, and the second battery switch 77 and the first input switch 71 to be disconnected, so as to control the photovoltaic cell to charge the first battery 10 through the first power converter.
[0100] If the state of charge of the first battery 10 is greater than or equal to the first set threshold, the first battery 10 does not need to be charged. If the state of charge of the first battery 10 after charging is greater than the third set threshold, the first battery 10 has been completely charged. In the case where the first battery 10 does not need to be charged or has been completely charged, if the state of charge of the second battery 30 is less than the second set threshold, the control unit 90 controls the first battery switch 75 and the second input switch 73 to be disconnected, and the second battery switch 77 and the first input switch 71 to be closed, so as to control the photovoltaic cell to charge the second battery 30 through the first power converter.
[0101] The third set threshold is a pre-set state of charge value. When the state of charge of the first battery 10 is greater than the third set threshold, it can be determined that the first battery 10 has been fully charged. The third set threshold can be set according to actual needs, for example, it can be 90%, 95%, 98% or a percentage value close to 100%.
[0102] In one embodiment, there is voltage on the photovoltaic cell, and the state of charge of the high-voltage battery is less than 20%, then the control unit 90 controls relays K2, K3, and K5 to be disconnected, and relays K1, K4, and K6 to be closed, so as to control the photovoltaic cell to charge the high-voltage battery. When the state of charge of the high-voltage battery reaches 100% after charging, the state of charge of the high-voltage battery is greater than the third set threshold, and the high-voltage battery is fully charged. At this time, if the state of charge of the low-voltage battery is less than 100%, the control unit 90 controls relays K2, K3, and K5 to be closed, and relays K1, K4, and K6 to be disconnected, so as to control the photovoltaic cell to charge the low-voltage battery.
[0103] In this way, according to the charge state of the first battery 10 and the charge state of the second battery 30, the control unit 90 can switch the on and off state of the switch unit 70 to switch the first battery 10 and the second battery 30 charged by the input source 300 through the first power conversion unit 50.
[0104] See also Figure 6 In some embodiments, when there is no voltage at the input source 300 , the control unit 90 is configured to control the switch unit 70 to be disconnected so as to disconnect the input source 300 from the first battery 10 and the second battery 30 .
[0105] In some embodiments, the control method further comprises:
[0106] 02: When there is no voltage at the input source 300, the switch unit 70 is controlled to be turned off.
[0107] In some embodiments, the processor can be configured to control the switch unit 70 to be disconnected when there is no voltage at the input source 300 .
[0108] In some embodiments, the control device further comprises a control module, which can be used to control the switch unit 70 to be disconnected when there is no voltage at the input source 300 .
[0109] Specifically, when there is no voltage in the input source 300, the input source 300 has no input and cannot charge the first battery 10 or the second battery 30. At this time, the control unit 90 controls all the switch units 70 to be disconnected, so that the first battery 10 and the second battery 30 can be isolated from the input source 300, so as to avoid the input source 300 causing abnormal effects on the first battery 10 and the second battery 30.
[0110] In some embodiments, the control unit 90 is configured to control all the switch units 70 to be disconnected when the first battery 10 and the second battery 30 are fully charged. After the first battery 10 and the second battery 30 are fully charged, it is not necessary to connect the input source 300 to the first battery 10 or the second battery 30, so the switch unit 70 can be disconnected to prevent the input source 300 from causing adverse effects on the first battery 10 and the second battery 30.
[0111] In one embodiment, when there is no voltage at the input source 300 , the control unit 90 controls the relays K1 to K6 to be disconnected to isolate the photovoltaic cell and the first battery 10 from the second battery 30 .
[0112] In this way, the control unit 90 controls all the switch units 70 to disconnect, so as to achieve the isolation of the first battery 10 and the second battery 30 from the input source 300, so as to avoid the input source 300 causing abnormal influence on the first battery 10 and the second battery 30, thereby enhancing the reliability, emergency response and convenience of the battery circuit 100.
[0113] See also Figure 1 In some embodiments, the voltage of the first battery 10 is a first preset voltage, the voltage of the second battery 30 is a second preset voltage, and the battery circuit 100 further includes:
[0114] A second power conversion unit 110, wherein a first end of the second power conversion unit 110 is connected to the first battery 10, and a second end of the second power conversion unit 110 is connected to the second battery 30, and a control unit 90 is configured to control the second power conversion unit 110 to switch an operating mode according to the charge state of the first battery 10 and the second battery 30; the operating mode of the second power conversion unit 110 includes a first operating mode and a second operating mode, and when in the first operating mode, the second power conversion unit 110 is used to convert the voltage of the first battery 10 into a second preset voltage, and when in the second operating mode, the second power conversion unit 110 is used to convert the voltage of the second battery 30 into the first preset voltage.
[0115] See also Figure 7 In some embodiments, the control method further comprises:
[0116] 03: The second power conversion unit 110 is controlled to switch the working mode according to the charge state of the first battery 10 and the second battery 30, the first end of the second power conversion unit 110 is connected to the first battery 10, and the second end of the second power conversion unit 110 is connected to the second battery 30; the working mode of the second power conversion unit 110 includes a first working mode and a second working mode. When in the first working mode, the second power conversion unit 110 is used to convert the voltage of the first battery 10 into a second preset voltage. When in the second working mode, the second power conversion unit 110 is used to convert the voltage of the second battery 30 into the first preset voltage.
[0117] In some embodiments, the processor may be configured to control the second power conversion unit 110 to switch operating modes according to the charge states of the first battery 10 and the second battery 30 .
[0118] In some embodiments, the control device further includes a second switching module. The second switching module can be used to control the second power conversion unit 110 to switch the working mode according to the charge state of the first battery 10 and the second battery 30 .
[0119] Specifically, the first power conversion unit 50 may be a power conversion circuit such as a buck-boost circuit, a Cuk circuit, or a Sepic-Zeta circuit. In this embodiment, the first power conversion unit 50 is a Sepic-Zeta circuit, the first battery 10 is a high-voltage battery, and the second battery 30 is a low-voltage battery, that is, the first preset voltage is greater than the second preset voltage. Among them, the first working mode may be a Sepic working mode of the Sepic-Zeta circuit, and the second working mode may be a Zeta working mode of the Sepic-Zeta circuit. When the Sepic-Zeta unit is in the Sepic working mode, the Sepic-Zeta unit is configured to convert the first preset voltage into the second preset voltage, and when the Sepic-Zeta unit is in the Zeta working mode, the Sepic-Zeta unit is configured to convert the second preset voltage into the first preset voltage.
[0120] The Sepic-Zeta circuit includes capacitor C2, capacitor C3, capacitor C4, inductor L2, inductor L3, control switch tube Q3 and control switch tube Q4. The control unit 90 can change the working mode of the Sepic-Zeta circuit by outputting a driving control signal to control the on and off of the control switch tube Q3 and the control switch tube Q4. The control switch tube Q3 is arranged close to the second battery 30, the control switch tube Q4 is arranged close to the first battery 10, and the on time of the control switch tube Q4 is complementary to the control switch tube Q3. The control unit 90 can control the control switch tube Q3 as the main control switch tube so that the Sepic-Zeta circuit is in the Zeta working mode; or the control switch tube Q4 can be controlled as the main control switch tube so that the Sepic-Zeta circuit is in the Sepic working mode.
[0121] By setting up the Sepic-Zeta circuit, the voltage conversion between the first battery 10 and the second battery 30 can be realized, so that when the power of one battery is too low to power the load, the voltage of the other battery can be converted to power the load at the same time.
[0122] In this way, by setting up the second power conversion unit 110, the voltage conversion between the first battery 10 and the second battery 30 can be realized, so that the energy of the first battery 10 and the second battery 30 can complement each other, making the charging and discharging and power consumption of the battery circuit 100 more reasonable, and enhancing the power utilization rate.
[0123] In some embodiments, the first battery 10 is connected to the first load 500 and supplies power to the first load 500. When the first load 500 is powered preferentially and the state of charge of the first battery 10 is less than a first threshold, the second power conversion unit 110 operates in the first operating mode to control the second battery 30 to supply power to the first load 500.
[0124] Specifically, the first battery 10 may be a high voltage battery, and the first load 500 may be a high voltage load. The high voltage load requires a higher power supply voltage, and the electric energy of the first preset voltage can support the demand of the high voltage load.
[0125] The first threshold may be a pre-set state of charge value, which may be set according to actual needs, for example, 18%, 20%, 22%, 25%, etc. This embodiment is described with the first threshold being 20%.
[0126] In the case where the high-voltage battery is given priority to supply power, if the state of charge of the high-voltage battery is less than 20%, the power of the high-voltage battery is insufficient to support the needs of the high-voltage load. At this time, power dispatching is required from the low-voltage battery to jointly support the power supply needs of the high-voltage load. The control unit 90 controls the Sepic-Zeta circuit to be in the Zeta working mode to convert the low voltage of the low-voltage battery into high voltage, and then supply power to the high-voltage load together with the high-voltage battery. In addition, if high-voltage power supply is not required at this time, but the state of charge of the high-voltage battery is less than 20%, the low voltage of the low-voltage battery can also be converted into high voltage through the Sepic-Zeta circuit to charge the high-voltage battery to ensure the power of the high-voltage battery.
[0127] If the state of charge of the high-voltage battery is greater than or equal to 20%, then the power of the high-voltage battery is sufficient to support the needs of the high-voltage load. The control unit 90 controls the Sepic-Zeta circuit to not work, and only the high-voltage battery is powered at this time.
[0128] In one embodiment, the high-voltage load is charged first, and the state of charge of the high-voltage battery is less than 20%. The MCU controls relays K1 to K6 to disconnect, and controls the Sepic-Zeta circuit to be in Zeta working mode by controlling switch tubes Q3 and Q4. The MCU controls the Sepic-Zeta circuit through feedback to achieve voltage boost, outputs a constant current, and makes the low-voltage battery high-voltage after being boosted by the Sepic-Zeta circuit. At this time, the high-voltage battery and the low-voltage battery provide energy for the high-voltage load at the same time.
[0129] In this way, when the first load 500 is powered preferentially and the charge state of the first battery 10 is relatively low, the second power conversion unit 110 operates in the first operating mode to convert the voltage of the second battery 30 into a first preset voltage and then power the first load 500, thereby realizing the voltage conversion of the second battery 30.
[0130] In some embodiments, the second battery 30 is connected to the first load 500 and supplies power to the second load 700. When the second load 700 is powered preferentially and the state of charge of the second battery 30 is less than a second threshold, the second power conversion unit 110 operates in a second operating mode to control the first battery 10 to supply power to the second load 700.
[0131] Specifically, the second battery 30 may be a low-voltage battery, and the second load 700 may be a low-voltage load. The low-voltage load requires a higher power supply voltage, and the electric energy of the second preset voltage can support the demand of the low-voltage load.
[0132] The second threshold may be a pre-set state of charge value, which may be set according to actual needs, for example, 18%, 20%, 22%, 25%, etc. This embodiment is described with the second threshold being 20%.
[0133] When the low-voltage battery is given priority to supply power, if the state of charge of the low-voltage battery is less than 20%, the power of the low-voltage battery is insufficient to support the demand of the low-voltage load. At this time, power dispatching from the high-voltage battery is required to jointly support the power supply demand of the low-voltage load. When the state of charge of the high-voltage battery is greater than 20%, the control unit 90 controls the Sepic-Zeta circuit to be in the Sepic working mode, so as to convert the high voltage of the high-voltage battery into a low voltage, and then supply power to the low-voltage load together with the low-voltage battery. In addition, if low-voltage power supply is not required at this time, but the state of charge of the low-voltage battery is less than 20%, the high voltage of the high-voltage battery can also be converted into a low voltage through the Sepic-Zeta circuit, and then the low-voltage battery can be charged to ensure the power of the low-voltage battery.
[0134] If the state of charge of the low-voltage battery is greater than or equal to 20%, then the power of the low-voltage battery is sufficient to support the needs of the high-voltage load. The control unit 90 controls the Sepic-Zeta circuit to not work, and only the low-voltage battery is powered at this time.
[0135] In one embodiment, the low-voltage load is charged first, and the state of charge of the low-voltage battery is less than 20%. The MCU controls relays K1 to K6 to disconnect, and controls the Sepic-Zeta circuit to be in Sepic working mode by controlling switch tubes Q3 and Q4. The MCU controls the Sepic-Zeta circuit through feedback to achieve voltage reduction, so that the high-voltage battery is low-voltage after being boosted by the Sepic-Zeta circuit. At this time, the high-voltage battery and the low-voltage battery provide energy for the low-voltage load at the same time.
[0136] In this way, when the first load 500 is powered preferentially and the charge state of the first battery 10 is relatively low, the second power conversion unit 110 operates in the first operating mode to convert the voltage of the second battery 30 into a first preset voltage and then power the first load 500, thereby realizing the voltage conversion of the second battery 30.
[0137] In some embodiments, the first preset voltage is greater than the second preset voltage, and when the second load 700 is powered preferentially, and the state of charge of the second battery 30 is less than the second threshold, if the state of charge of the first battery 10 is greater than the third threshold, the second power conversion unit 110 operates in the second operating mode, and the first battery 10 supplies power to the second load 700; if the state of charge of the first battery 10 is less than the third threshold, the second power conversion unit 110 does not operate, and the first battery 10 does not supply power to the second load 700.
[0138] Specifically, the third threshold value may be a preset state of charge value, which may be set according to actual needs, for example, 18%, 20%, 22%, 25%, etc. This embodiment is described with the third threshold value being 20%.
[0139] In application scenarios such as vehicles, the high-voltage battery can be a power battery. Since the power battery needs to support the normal operation of the vehicle, it is necessary to avoid the power battery being too low.
[0140] When the low-voltage battery is given priority and the state of charge of the low-voltage battery is less than 20%, if the state of charge of the high-voltage battery is greater than or equal to 20%, then the power of the high-voltage battery is sufficient to be dispatched to the low-voltage battery to power the low-voltage load. The control unit 90 can put the Sepic-Zeta circuit in the Sepic working mode to step down the voltage of the high-voltage battery, so that the high-voltage battery can power the low-voltage load together with the low-voltage battery.
[0141] If the state of charge of the high-voltage battery is less than 20%, the power of the high-voltage battery is low at this time, and it is necessary to reserve power for the high-voltage load. The power of the high-voltage battery cannot be dispatched to the low-voltage battery to power the low-voltage load. Therefore, at this time, the control unit 90 controls the Sepic-Zeta circuit not to work, and the low-voltage battery supplies power to the low-voltage load alone. If the power of the low-voltage battery is too low to meet the needs of the low-voltage load, the low-voltage load can be appropriately reduced, or the low-voltage battery can be charged in time.
[0142] In this way, when the second load 700 takes priority and the power of the second battery 30 is low, if the power of the first battery 10 is also low, the first battery 10 needs to save power to reserve power for the first load 500. Therefore, the second power conversion unit 110 does not work, and the first battery 10 does not supply power to the second load 700 to reserve the power of the first battery 10.
[0143] The above explanation of the battery circuit 100 of the embodiment of the present application is also applicable to the control method of the embodiment of the present application, and will not be repeated here.
[0144] An embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the steps of the control method as described in any of the above embodiments are implemented.
[0145] It is understood that a computer program includes computer program code. The computer program code may be in source code form, object code form, executable file or some intermediate form. Computer readable storage media may include: any entity or device capable of carrying computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), and software distribution medium.
[0146] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples" or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification and the features of different embodiments or examples without contradiction.
[0147] In addition, the term "connection" should be understood in a broad sense, for example, it can include fixed connection, detachable connection, or integral connection; it can include direct connection, indirect connection through an intermediate medium, and internal communication between two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0148] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0149] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0150] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A battery circuit, characterized in that: The battery circuit comprises: a first battery and a second battery, wherein the first battery and the second battery have different voltages; a first power conversion unit, the first power conversion unit being configured to convert an input voltage of an input source into a preset voltage to charge the first battery or the second battery; a switch unit, the switch unit being configured to electrically connect the first battery to an input source through the first power conversion unit, and to electrically connect the second battery to an input source through the first power conversion unit; A control unit, wherein the control unit is configured to switch the on-off state of the switch unit to switch the input port and the output port of the first power conversion unit, when the first power conversion unit is in the first state, the input source charges the first battery through the first power conversion unit, when the first power conversion unit is in the second state, the input source charges the second battery through the first power conversion unit, when the first port of the first power conversion unit is the output port and the second port is the input port, the first power conversion unit is in the first state, and when the first port of the first power conversion unit is the input port and the second port is the output port, the first power conversion unit is in the second state.
2. The battery circuit according to claim 1, characterized in that: The switch unit includes a first battery switch, a second battery switch, a first input switch, and a second input switch, wherein the first input switch connects the first port of the first power conversion unit and the input source, the second input switch connects the second port of the first power conversion unit and the input source, the first battery switch connects the first battery and the first port, and the second battery switch connects the second battery and the second port; When there is voltage at the input source, the control unit is configured to switch the on and off states of the first battery switch, the second battery switch, the first input switch and the second input switch to switch the input port and the output port of the first power conversion unit.
3. The battery circuit according to claim 2, characterized in that: When the second input switch and the first battery switch are closed, and the first input switch and the second battery switch are opened, the input port of the first power conversion unit is the second port, the output port of the first power conversion unit is the first port, and the input source charges the first battery through the first power conversion unit.
4. The battery circuit according to claim 3, characterized in that: If the state of charge of the first battery is less than a first set threshold, the control unit is configured to control the second input switch and the first battery switch to be closed, and control the first input switch and the second battery switch to be opened.
5. The battery circuit according to claim 2, characterized in that: When the first input switch and the second battery switch are closed, and the second input switch and the first battery switch are opened, the input port of the first power conversion unit is the first port, the output port of the first power conversion unit is the second port, and the input source charges the second battery through the first power conversion unit.
6. The battery circuit according to claim 5, characterized in that: If the state of charge of the second battery is less than a second set threshold, the control unit is configured to control the first input switch and the second battery switch to be closed, and the second input switch and the first battery switch to be opened.
7. The battery circuit according to claim 1, characterized in that: In the case where the first battery is preferentially charged, if the state of charge of the first battery is less than a first set threshold, the control unit is configured to switch the on-off state of the switch unit so that the input source charges the first battery through the first power conversion unit; in the case where the state of charge of the first battery after charging is greater than a third set threshold, if the state of charge of the second battery is less than a second set threshold, the control unit is configured to switch the on-off state of the switch unit so that the input source charges the second battery through the first power conversion unit.
8. The battery circuit according to claim 1, characterized in that: In the case that there is no voltage at the input source, the control unit is configured to control the switch unit to be disconnected so as to disconnect the input source from the first battery and the second battery.
9. The battery circuit according to claim 1, characterized in that: The voltage of the first battery is a first preset voltage, the voltage of the second battery is a second preset voltage, and the battery circuit further includes: A second power conversion unit, wherein a first end of the second power conversion unit is connected to the first battery, and a second end of the second power conversion unit is connected to the second battery, and the control unit is configured to control the second power conversion unit to switch an operating mode according to the charge states of the first battery and the second battery; the operating modes of the second power conversion unit include a first operating mode and a second operating mode, and when in the first operating mode, the second power conversion unit is used to convert the voltage of the first battery into the second preset voltage, and when in the second operating mode, the second power conversion unit is used to convert the voltage of the second battery into the first preset voltage.
10. The battery circuit according to claim 9, characterized in that: The first battery is connected to a first load and supplies power to the first load. When the first load is supplied with power preferentially and the state of charge of the first battery is less than a first threshold, the second power conversion unit operates in the first operating mode to control the second battery to supply power to the first load.
11. The battery circuit according to claim 9, characterized in that: The second battery is connected to the first load and supplies power to the second load. When the second load is supplied with power preferentially and the state of charge of the second battery is less than a second threshold, the second power conversion unit operates in the second operating mode to control the first battery to supply power to the second load.
12. The battery circuit according to claim 11, characterized in that: The first preset voltage is greater than the second preset voltage. When the second load is preferentially powered and the state of charge of the second battery is less than a second threshold, if the state of charge of the first battery is greater than a third threshold, the second power conversion unit operates in the second operating mode, and the first battery supplies power to the second load; if the state of charge of the first battery is less than the third threshold, the second power conversion unit does not operate, and the first battery does not supply power to the second load.
13. A method for controlling a battery circuit, characterized in that: The battery circuit includes a first battery and a second battery with different voltages, wherein the first battery and the second battery have different voltages, and the control method includes: Switching the on / off state of the switch unit to switch the input port and the output port of the first power conversion unit; Wherein, the switch unit is configured to electrically connect the first battery to the input source through the first power conversion unit, and to electrically connect the second battery to the input source through the first power conversion unit, respectively; the first power conversion unit is configured to convert the input voltage of the input source into a preset voltage to charge the first battery or the second battery; when the first power conversion unit is in a first state, the input source charges the first battery through the first power conversion unit; when the first power conversion unit is in a second state, the input source charges the second battery through the first power conversion unit; when the first port of the first power conversion unit is the output port and the second port is the input port, the first power conversion unit is in the first state; when the second port of the first power conversion unit is the output port and the first port is the input port, the first power conversion unit is in the second state.
14. The control method according to claim 13, characterized in that: The switching unit switches the on / off state to switch the input port and the output port of the first power conversion unit, including: When there is voltage at the input source and the state of charge of the first battery is less than a first set threshold, controlling the second input switch and the first battery switch to close, and controlling the first input switch and the second battery switch to open; When there is voltage at the input source and the state of charge of the second battery is less than a second set threshold, the first input switch and the second battery switch are controlled to be closed, and the second input switch and the first battery switch are disconnected, wherein the first input switch connects the first port of the first power conversion unit and the input source, the second input switch connects the second port of the first power conversion unit and the input source, the first battery switch connects the first battery and the first port, and the second battery switch connects the second battery and the second port.
15. The control method according to claim 13, characterized in that: The control method further comprises: When there is no voltage at the input source, the switch unit is controlled to be turned off.
16. The control method according to claim 13, characterized in that: The control method further comprises: The second power conversion unit is controlled to switch its operating mode according to the charge state of the first battery and the second battery, wherein the first end of the second power conversion unit is connected to the first battery, and the second end of the second power conversion unit is connected to the second battery; the operating modes of the second power conversion unit include a first operating mode and a second operating mode, and when in the first operating mode, the second power conversion unit is used to convert the voltage of the first battery into a second preset voltage, and when in the second operating mode, the second power conversion unit is used to convert the voltage of the second battery into the first preset voltage.
17. A vehicle, characterized in that: The vehicle includes one or more processors and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the steps of the control method described in any one of claims 13 to 16 are implemented.
18. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the control method described in any one of claims 13 to 16 are implemented.
Citation Information
Patent Citations
DC-DC converter and control method thereof
CN115566900A
Charging system and method
CN117856378A