Disclosure of Invention
The present disclosure aims to solve, at least to some extent, one of the technical problems in the related art. Therefore, a first object of the present disclosure is to provide a power supply circuit, which performs phase-shifting control on a double bridge arm of a full bridge circuit through a control module, so as to reduce control difficulty, enable a second battery pack to continuously and stably supply power, improve power supply reliability, reduce current ripple, and avoid shortening of service life of a battery caused by frequent charging of the battery.
A second object of the present disclosure is to propose a power supply control method.
A third object of the present disclosure is to propose a computer readable storage medium.
A fourth object of the present disclosure is to propose a vehicle.
To achieve the above object, an embodiment of a first aspect of the present disclosure provides a power supply circuit, including: the full-bridge circuit comprises a first bridge arm and a second bridge arm, and the first bridge arm and the second bridge arm are connected in parallel and then connected between the positive electrode of the first battery pack and the negative electrode of the second battery pack in a bridging manner; one end of the first inductor is connected with the middle point of the first bridge arm, and the other end of the first inductor is respectively connected with the negative electrode of the first battery pack and the positive electrode of the second battery pack; one end of the second inductor is connected with the middle point of the second bridge arm, and the other end of the second inductor is respectively connected with the negative electrode of the first battery pack and the positive electrode of the second battery pack; and the controller is connected with the full-bridge circuit and is used for controlling the full-bridge circuit so as to discharge the first battery pack and/or the second battery pack.
According to the power supply circuit disclosed by the embodiment of the disclosure, the first battery pack and the second battery pack are connected in series to supply power for a load, the controller is used for carrying out phase-dislocation control on the double bridge arms of the full-bridge circuit, so that the first inductor and the second inductor can respectively store energy to boost the second battery pack, and the second battery pack can stably supply power for the load. Therefore, the circuit carries out phase-shifting control on the double bridge arms of the full-bridge circuit through the controller, so that the control difficulty can be reduced, the second battery pack can continuously and stably supply power, the power supply reliability is improved, the current ripple is reduced, and the shortening of the service life of the battery caused by frequent charging of the battery is avoided.
In addition, the power supply circuit according to the above embodiment of the present disclosure may further have the following additional technical features:
According to one embodiment of the present disclosure, the controller is specifically configured to: controlling the full-bridge circuit to be in a stop working state so as to enable the first battery pack and the second battery pack to be powered in series; or the full-bridge circuit is controlled to be in an operating state so as to enable the first battery pack and/or the second battery pack to supply power.
According to one embodiment of the present disclosure, the power supply circuit further includes: the current sampling circuit is used for acquiring the current of the first battery pack and/or the current of the second battery pack and the currents of the first inductor and the second inductor; and the controller is used for controlling the full-bridge circuit based on the acquired current so as to enable the first battery pack and/or the second battery pack to supply power.
According to one embodiment of the present disclosure, a controller includes: a first signal generating unit for generating a first control signal and a second control signal which are complementary according to a first current difference value between a preset reference current and a current of the first battery pack and/or a current of the second battery pack; a second signal generating unit for generating complementary third and fourth control signals according to a second current difference between the current of the first inductor and the current of the second inductor; and the control unit is used for controlling the full-bridge circuit according to the first control signal, the second control signal, the third control signal and the fourth control signal.
According to one embodiment of the present disclosure, the first signal generating unit includes: the device comprises a first subtracter, a first regulator, a first signal generator and a first inverter, wherein the first subtracter is used for acquiring a first current difference value between a preset reference current and the current of a first battery pack or the current of a second battery pack; the first regulator is used for carrying out proportional integral regulation on the first current difference value to obtain a first given value; the first signal generator is used for generating a first control signal according to a first given value and a first preset signal; the first inverter is used for inverting the first control signal to obtain a second control signal; the second signal generation unit includes: the second subtracter is used for acquiring a second current difference value between the current of the first inductor and the current of the second inductor; the second regulator is used for carrying out proportional integral regulation on the second current difference value to obtain a second given value; the second signal generator is used for generating a third control signal according to the second given value and a second preset signal; the second inverter is used for inverting the third control signal to obtain a fourth control signal; wherein the first preset signal and the second preset signal are misphased by half a period.
According to one embodiment of the present disclosure, a current sampling circuit obtains a current of a second battery pack while discharging a first battery pack; the current sampling circuit acquires a current of the first battery pack when discharging the second battery pack.
According to one embodiment of the disclosure, the first bridge arm includes a first upper bridge switching tube and a first lower bridge switching tube, one end of the first upper bridge switching tube is connected with the positive electrode of the first battery pack, the other end of the first upper bridge switching tube is connected with one end of the first lower bridge switching tube and is provided with a first connection point, the other end of the first lower bridge switching tube is connected with the negative electrode of the second battery pack, and the first connection point is connected with one end of the first inductor; the second bridge arm comprises a second upper bridge switching tube and a second lower bridge switching tube, one end of the second upper bridge switching tube is connected with the positive electrode of the first battery pack, the other end of the second upper bridge switching tube is connected with one end of the second lower bridge switching tube and is provided with a second connection point, the other end of the second lower bridge switching tube is connected with the negative electrode of the second battery pack, and the second connection point is connected with one end of the second inductor.
According to one embodiment of the present disclosure, the first upper bridge switching tube, the first lower bridge switching tube, the second upper bridge switching tube, and the second lower bridge switching tube are each provided with an anti-parallel diode.
According to one embodiment of the present disclosure, the control unit: the first upper bridge switching tube of the first bridge arm is controlled according to the first control signal, and the first lower bridge switching tube of the first bridge arm is controlled according to the second control signal; and controlling a second upper bridge switching tube of the second bridge arm according to the third control signal, and controlling a second lower bridge switching tube of the second bridge arm according to the fourth control signal.
According to one embodiment of the present disclosure, the control unit: and under the condition that the first bridge arm fails, controlling a second upper bridge switching tube of the second bridge arm according to the first control signal, and controlling a second lower bridge switching tube of the second bridge arm according to the second control signal.
According to one embodiment of the present disclosure, the power supply circuit further includes: the filter inductor is connected in series between the positive electrode of the first battery pack and the full-bridge circuit, and the filter capacitor is connected in parallel with the first battery pack.
According to one embodiment of the present disclosure, the power supply circuit further includes: and the bus capacitor is connected with the first bridge arm and the second bridge arm in parallel.
According to one embodiment of the present disclosure, the first battery pack is a power type battery pack, and the second battery pack is an energy type battery pack; or the first battery pack is an energy type battery pack, and the second battery pack is a power type battery pack.
To achieve the above object, an embodiment of a second aspect of the present disclosure provides a power supply control method, which is applied to the above power supply circuit, and the method includes: acquiring current of a first battery pack and/or a second battery pack and current of a first inductor and a second inductor; the full bridge circuit is controlled based on the obtained current to power the first battery pack and/or the second battery pack.
According to the power supply control method of the embodiment of the disclosure, the current of the first battery pack and/or the second battery pack and the current of the first inductor and the second inductor are obtained, and a control signal is generated based on the obtained current so as to perform phase-dislocation control on the full-bridge circuit. Therefore, the method can carry out phase-shifting control on the double bridge arms of the full-bridge circuit, can reduce control difficulty, enables the second battery pack to continuously and stably supply power, improves power supply reliability, reduces current ripple, and avoids shortening of service life of the battery caused by frequent charging of the battery.
In addition, the power supply control method according to the above embodiment of the present disclosure may further have the following additional technical features:
According to one embodiment of the present disclosure, controlling a full bridge circuit based on a current drawn to power a first battery pack and/or a second battery pack includes: acquiring a first current difference value between a preset reference current and the current of the first battery pack or the current of the second battery pack, and generating a first control signal and a second control signal which are complementary according to the first current difference value; acquiring a second current difference value between the current of the first inductor and the current of the second inductor, and generating a third control signal and a fourth control signal which are complementary according to the second current difference value; and controlling the full-bridge circuit according to the first control signal, the second control signal, the third control signal and the fourth control signal.
According to one embodiment of the present disclosure, generating complementary first and second control signals from a first current difference value includes: proportional integral adjustment is carried out on the first current difference value to obtain a first given value, a first control signal is generated according to the first given value and a first preset signal, and the first control signal is inverted to obtain a second control signal; and carrying out proportional integral regulation on the second current difference value to obtain a second given value, generating a third control signal according to the second given value and a second preset signal, and inverting the third control signal to obtain a fourth control signal, wherein the first preset signal and the second preset signal are out of phase by half period.
According to one embodiment of the present disclosure, controlling a full bridge circuit according to a first control signal, a second control signal, a third control signal, and a fourth control signal includes: the first upper bridge switching tube of the first bridge arm is controlled according to the first control signal, and the first lower bridge switching tube of the first bridge arm is controlled according to the second control signal; under the condition that the first bridge arm is normal, controlling a second upper bridge switching tube of the second bridge arm according to a third control signal, and controlling a second lower bridge switching tube of the second bridge arm according to a fourth control signal; and under the condition that the first bridge arm fails, controlling a second upper bridge switching tube of the second bridge arm according to the first control signal, and controlling a second lower bridge switching tube of the second bridge arm according to the second control signal.
To achieve the above object, a third aspect of the present disclosure provides a computer-readable storage medium having stored thereon a power supply control program which, when executed by a processor, implements the power supply control method described above.
According to the computer readable storage medium disclosed by the embodiment of the disclosure, by executing the power supply control method, the double bridge arms of the full-bridge circuit can be subjected to phase-misplacement control, so that the control difficulty can be reduced, the second battery pack continuously and stably supplies power, the power supply reliability is improved, the current ripple is reduced, and the shortening of the service life of the battery caused by frequent battery charging is avoided.
To achieve the above object, a fourth aspect of the present disclosure provides a vehicle, including: the power supply circuit is used for supplying power to the vehicle.
According to the vehicle disclosed by the embodiment of the disclosure, through the power supply circuit, the second battery pack can continuously and stably supply power, so that the power supply reliability is improved, the current ripple can be reduced, and the shortening of the service life of the battery caused by frequent charging of the battery is avoided.
Additional aspects and advantages of the disclosure will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the disclosure.
Detailed Description
Embodiments of the present disclosure are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are exemplary and intended for the purpose of explaining the present disclosure and are not to be construed as limiting the present disclosure.
The power supply circuit, the power supply control method, the computer-readable storage medium, and the vehicle proposed by the embodiments of the present disclosure are described below with reference to the accompanying drawings.
Fig. 1 is a circuit topology diagram of a power supply circuit according to an embodiment of the present disclosure.
As shown in fig. 1, a power supply circuit 100 of an embodiment of the present disclosure may include: the full bridge circuit 131, the first inductor L1, the second inductor L2 and the controller 132.
The full-bridge circuit 131 includes a first bridge arm 1311 and a second bridge arm 1312, where the first bridge arm 1311 and the second bridge arm 1312 are connected in parallel and then connected across between the positive electrode of the first battery pack 110 and the negative electrode of the second battery pack 120. One end of the first inductor L1 is connected to a midpoint of the first bridge arm 1311, and the other end of the first inductor L1 is connected to the negative electrode of the first battery pack 110 and the positive electrode of the second battery pack 120, respectively. One end of the second inductor L2 is connected to a midpoint of the second bridge arm 1312, and the other end of the second inductor L2 is connected to the negative electrode of the first battery pack 110 and the positive electrode of the second battery pack 120, respectively. The controller 132 is connected to the full-bridge circuit 131, and the controller 131 is configured to control the full-bridge circuit 131 to discharge the first battery pack 110 and/or the second battery pack 120.
According to one embodiment of the present disclosure, the controller 132 is specifically configured to: the full-bridge circuit 131 is controlled to be in a stop working state, so that the first battery pack 110 and the second battery pack 120 are powered in series; or controls the full-bridge circuit 131 to be in an operating state so that the first battery pack 110 and/or the second battery pack 120 is powered.
Specifically, as shown in fig. 1, when the controller 132 controls the full-bridge circuit 131 to be in a stopped state, the first battery pack 110 and the second battery pack 120 are discharged in series to supply power to the load. When the controller 132 controls the full-bridge circuit 131 to be in an operating state, the first bridge arm 1311 and the second bridge arm 1312 of the full-bridge circuit 131 are alternately in an operating state. When the first bridge arm 1311 is in a working state, the upper bridge arm and the lower bridge arm of the first bridge arm 1311 are alternately conducted, the controller 132 controls the upper bridge arm of the first bridge arm 1311 to be turned off and the lower bridge arm to be turned on in a first preset time, the second battery pack 120 charges the first inductor L1, and controls the upper bridge arm of the first bridge arm 1311 to be turned on and the lower bridge arm to be turned off in a second preset time, the first inductor L1 releases stored electric energy to supply power to a load, so that the first inductor L1 realizes a boosting function, at this time, the electric energy provided by the first battery pack 110 for the load is reduced, and the output current is reduced. In the same principle, when the second bridge arm 1312 is in the working state, the controller 132 controls the upper bridge arm of the second bridge arm 1312 to be turned off and the lower bridge arm to be turned on, the second battery pack 120 charges the second inductor L2, and when the upper bridge arm of the second bridge arm 1312 is controlled to be turned on and the lower bridge arm of the second bridge arm 1312 is controlled to be turned off, the second inductor L2 releases stored electric energy to supply power for the load, so that the second inductor L2 realizes the boosting function. During the process of charging the first inductor L1 or the second inductor L2 by the second battery pack 120, the power supply circuit 100 supplies power to the load only by the first battery pack 110. The process is repeated, when the voltage of the output end (the end connected to the first bridge arm 1311) of the first inductor L1 or the output end (the end connected to the second bridge arm 1312) of the second inductor L2 rises to be the same as the bus voltage, the first battery pack 110 is opened, the output current of the first battery pack 110 becomes zero, at this time, the power supply circuit 100 only supplies power to the load by the second battery pack 120, and the output power when the second battery pack 120 discharges is higher than the power that the second battery pack 120 can output by itself. Thus, the load can be stably supplied with power and the second battery pack 120 is in a continuously discharged state, so that current ripple can be reduced.
When one of the bridge arms of the full-bridge circuit 131 fails, for example, the first bridge arm 1311 fails, energy can be stored through the second inductor L2 and the second bridge arm 1312, and the second battery pack 120 is boosted to supply power to the load, thereby improving the reliability of the power supply circuit 100.
Therefore, the power supply circuit disclosed by the embodiment of the disclosure performs phase-dislocation control on the double bridge arms of the full-bridge circuit through the controller, so that the control difficulty can be reduced, the second battery pack can continuously and stably supply power, the power supply reliability is improved, the current ripple can be reduced, and the shortening of the service life of the battery caused by frequent charging of the battery is avoided.
According to one embodiment of the present disclosure, as shown in fig. 2, the power supply circuit 100 further includes: the current sampling circuit 140, the current sampling circuit 140 is configured to obtain a current of the first battery pack 110 and/or a current of the second battery pack 120, and a current of the first inductor L1 and the second inductor L2; the controller 132 controls the full-bridge circuit 131 based on the acquired current to supply power to the first battery pack 110 and/or the second battery pack 120. The current sampling circuit 140 may be composed of a current sensor disposed in the circuit, and the current sensor may collect the current of each branch, such as the first battery pack 110, the second battery pack 120, the first inductor L1, and the second inductor L2.
According to one embodiment of the present disclosure, the current sampling circuit 140 obtains the current of the second battery pack 120 while discharging the first battery pack 110; when discharging the second battery pack 120, the current sampling circuit 140 acquires the current of the first battery pack 110.
That is, the current sampling circuit 140 collects the current of the second battery pack 120 while discharging the first battery pack 110; the current sampling circuit collects the current of the first battery pack 110 when discharging the second battery pack 120. After obtaining the current of the first battery pack 110 and/or the current of the second battery pack 120 and the currents of the first inductor L1 and the second inductor L2, the current sampling circuit 140 transmits these current values to the controller 132, the controller 132 generates a control signal according to the current of the first battery pack 110 and/or the current of the second battery pack 120 and the currents of the first inductor L1 and the second inductor L2, and the controller 132 controls the first bridge arm 1311 and the second bridge arm 1312 of the full bridge circuit 131 to be in an alternate working state according to the control signal, so that the first inductor L1 and the second inductor L2 are alternately charged and discharged, thereby realizing continuous boost of the second battery pack 120.
According to one embodiment of the present disclosure, as shown in fig. 3, the controller 132 includes: a first signal generation unit 1321, a second signal generation unit 1322, and a control unit 1323. Wherein the first signal generating unit 1321 is configured to generate a first control signal and a second control signal that are complementary according to a first current difference between a preset reference current and a current of the first battery pack 110 and/or a current of the second battery pack 120; the second signal generating unit 1322 is configured to generate a third control signal and a fourth control signal according to a second current difference between the current of the first inductor L1 and the current of the second inductor L2; the control unit 1323 is configured to control the full-bridge circuit 131 according to the first control signal, the second control signal, the third control signal, and the fourth control signal.
According to one embodiment of the present disclosure, as shown in fig. 4, the first signal generating unit 1321 includes: a first subtractor A1, a first regulator B1, a first signal generator P1, and a first inverter N1, where the first subtractor A1 is configured to obtain a first current difference between a preset reference current and a current of the first battery pack 110 or a current of the second battery pack 120; the first regulator B1 is used for performing Proportional Integral (PI) regulation on the first current difference value to obtain a first given value; the first signal generator P1 is configured to generate a first control signal according to a first given value and a first preset signal; the first inverter N1 is used for inverting the first control signal to obtain a second control signal; the second signal generating unit 1322 includes: a second subtractor A2, a second regulator B2, a second signal generator P2, and a second inverter N2, where the second subtractor A2 is configured to obtain a second current difference between the current of the first inductor L1 and the current of the second inductor L2; the second regulator B2 is used for performing Proportional Integral (PI) regulation on the second current difference value to obtain a second given value; the second signal generator P2 is configured to generate a third control signal according to the second given value and a second preset signal; the second inverter N2 is used for inverting the third control signal to obtain a fourth control signal; wherein the first preset signal and the second preset signal are misphased by half a period. The first preset signal and the second preset signal may be saw-tooth wave signals, where the minimum value of the saw-tooth wave signals is 0 and the maximum value of the saw-tooth wave signals is 1.
Specifically, as shown in fig. 4, the current sampling circuit 140 respectively collects the current of the first battery pack 110 and/or the current of the second battery pack 120, the current L1 of the first inductor L1 and the current L2 of the second inductor L2 in real time, so as to obtain the current I of the first battery pack 110 or the current I1 of the first inductor L1 and the current I2 of the second inductor L2, input the preset reference current Iref and the current I of the first battery pack 110 or the current I of the second battery pack 120 into the first subtractor A1 to perform difference, obtain a first current difference Δi1, and perform PI adjustment on the first current difference Δi1 by taking the first current difference Δi1 as the input of the first adjuster B1, so as to obtain a first given value, wherein the first given value is a fluctuating value between 0 and 1. The first set value and the value of the first preset signal STW1 are input into the first signal generator P1 for size comparison, if the first set value is larger than the value of the first preset signal STW1, the first signal generator P1 outputs 1, otherwise, outputs 0, and thus the first control signal PWM1 with the waveform of a square wave is obtained. The first control signal PWM1 is inverted by the first inverter N1, and the second control signal PWM2 can be obtained.
And inputting the current I1 of the first inductor and the current I2 of the second inductor into a second subtracter A2 for difference to obtain a second difference value delta I2, and taking the second difference value delta I2 as the input of a second regulator B2 for PI regulation to obtain a second given value, wherein the second given value is a fluctuating value between 0 and 1. The second set value is input into the second signal generator P2 to be compared with the value of the second preset signal STW2, if the second set value is larger than the value of the second preset signal STW2, the second signal generator P2 outputs 1, otherwise, outputs 0, so that a third control signal PWM3 with a square wave waveform is obtained. The third control signal PWM3 is inverted by the second inverter N2, and the fourth control signal PWM4 can be obtained. Because the first preset signal STW1 and the second preset signal STW2 are phase-shifted by half a period, the first control signal PWM1 and the second control signal PWM2 are phase-shifted by half a period with the third control signal PWM3 and the fourth control signal PWM4, thereby realizing the alternating control of the first arm 1311 and the second arm 1312 of the full bridge circuit 131.
According to one embodiment of the present disclosure, as shown in fig. 5, the first bridge arm 1311 includes a first upper bridge switching tube M1 and a first lower bridge switching tube M2, one end of the first upper bridge switching tube M1 is connected to the positive electrode of the first battery pack 110, the other end of the first upper bridge switching tube M1 is connected to one end of the first lower bridge switching tube M2 and forms a first connection point J1, the other end of the first lower bridge switching tube M2 is connected to the negative electrode of the second battery pack 120, and the first connection point J1 is connected to one end of the first inductor L1; the second bridge arm 1312 includes a second upper bridge switching tube M3 and a second lower bridge switching tube M4, one end of the second upper bridge switching tube M3 is connected with the positive electrode of the first battery pack 110, the other end of the second upper bridge switching tube M3 is connected with one end of the second lower bridge switching tube M4 and is formed with a second connection point J2, the other end of the second lower bridge switching tube M4 is connected with the negative electrode of the second battery pack 120, and the second connection point J2 is connected with one end of the second inductor L2.
According to one embodiment of the present disclosure, the control unit 1323: the first upper bridge switching tube M1 of the first bridge arm 1311 is controlled according to the first control signal, and the first lower bridge switching tube M2 of the first bridge arm 1311 is controlled according to the second control signal; the second upper bridge switching tube M3 of the second bridge arm 1312 is controlled according to the third control signal, and the second lower bridge switching tube M4 of the second bridge arm 1312 is controlled according to the fourth control signal.
Specifically, as shown in fig. 5, the current sampling circuit 140 may collect the current of the first battery pack 110 and/or the current of the second battery pack 120, the current of the first inductor L1 and the current of the second inductor L2, and the controller 132 may generate PWM control signals corresponding to the first upper bridge switching tube M1, the first lower bridge switching tube M2, the second upper bridge switching tube M3 and the second lower bridge switching tube M4 according to the current of the first battery pack 10 or the current of the second battery pack 120, and the current of the first inductor L1 and the current of the second inductor L2, respectively. The controller 132 outputs a pair of control signals corresponding to each switching tube to the control end of each switching tube, so as to control each switching tube to be turned on or turned off. It should be understood that if two switching tubes on the same bridge arm are simultaneously turned on, and the bridge arm is in a through state, the power supply circuit 100 will be in a short-circuit state, and the first battery pack 110 and the second battery pack 120 will be damaged, so that the first upper bridge switching tube M1 and the first lower bridge switching tube M2 cannot be simultaneously turned on, and the second upper bridge switching tube M3 and the second lower bridge switching tube M4 cannot be simultaneously turned on, so that the first control signal corresponding to the first upper bridge switching tube M1 and the second control signal corresponding to the first lower bridge switching tube M2 are opposite, the third control signal corresponding to the second upper bridge switching tube M3 and the fourth control signal corresponding to the second lower bridge switching tube M4 are opposite, and the first control signal corresponding to the first upper bridge switching tube M1 and the third control signal corresponding to the second upper bridge switching tube M3 are wrong by half a period.
When the controller 132 controls the full-bridge circuit 131 to be in an operating state, the first bridge arm 1311 and the second bridge arm 1312 of the full-bridge circuit 131 are alternately in an operating state. The control unit 1323 controls the first upper bridge switching tube M1 to be turned on according to the first control signal, and controls the first lower bridge switching tube M2 to be turned off according to the second control signal, so that the electric energy stored in the first inductor L1 is released, and the second battery pack 120 is boosted to supply power to the load; after a half period, the control unit 1323 controls the first upper bridge switching tube M1 to be turned off according to the first control signal, controls the first lower bridge switching tube M2 to be turned on according to the second control signal, and the second battery pack 120, the first inductor L1 and the first lower bridge switching tube M2 form a loop to charge the first inductor L1, meanwhile, the third control signal controls the second upper bridge switching tube M3 to be turned on, and the fourth control signal controls the second lower bridge switching tube M4 to be turned off, so that the electric energy stored by the second inductor L2 is released, and the second battery pack 120 is boosted to supply power to the load; after the half period is continued, the third control signal controls the second upper bridge switching tube M3 to be turned off, the fourth control signal controls the second lower bridge switching tube M4 to be turned on, the second battery pack 120, the second inductor L2 and the second lower bridge switching tube M4 form a loop so as to charge the second inductor L2, meanwhile, the first control signal controls the first upper bridge switching tube M1 to be turned on, and the second control signal controls the first lower bridge switching tube M2 to be turned off, so that the first inductor L1 supplies power to a load, and the loop is formed.
According to one embodiment of the present disclosure, the control unit 1323: when the first bridge arm 1311 fails, the second upper bridge switching tube M3 of the second bridge arm 1312 is controlled according to the first control signal, and the second lower bridge switching tube M4 of the second bridge arm 1312 is controlled according to the second control signal.
Specifically, when the first bridge arm 1311 fails, the first inductor L1 cannot supply power to the load, and at this time, the current I1 of the first inductor L1 is zero, so that the third control signal and the fourth control signal cannot be accurately and reasonably obtained, and the control unit 1323 may control the second upper bridge switching tube M3 of the second bridge arm 1312 according to the first control signal, and control the second lower bridge switching tube M4 of the second bridge arm 1312 according to the second control signal, which specifically includes: the control unit 1323 controls the second upper bridge switching tube M3 to be turned on according to the first control signal PWM1, and simultaneously controls the second lower bridge switching tube to be turned off according to the second control signal PWM2, so that the electric energy stored in the second inductor L2 is released, and the second battery pack 120 is boosted to supply power to the load; after a half period, the control unit 1323 controls the second upper bridge switching tube M3 to be turned off according to the first control signal PWM1, and controls the second lower bridge switching tube M4 to be turned on according to the second control signal PWM2, and the second battery pack 120, the second inductor L2, and the second lower bridge switching tube M4 form a loop to charge the second inductor L2; after a half period, the control unit 1323 controls the second upper bridge switching tube M3 to be turned on according to the first control signal PWM1, and simultaneously controls the second lower bridge switching tube M4 to be turned off according to the second control signal PWM2, so that the electric energy stored in the second inductor L2 is released, and the second battery pack 120 is boosted to supply power to the load, so that the cycle is circulated.
According to one embodiment of the present disclosure, as shown in fig. 5, the first upper bridge switching tube M1, the first lower bridge switching tube M2, the second upper bridge switching tube M3, and the second lower bridge switching tube M4 are all provided with anti-parallel diodes.
Specifically, during the normal power supply process of the power supply circuit 100 for the load, the first upper bridge switching tube M1 and the first lower bridge switching tube M2 are turned on and off in sequence, and the second upper bridge switching tube M3 and the second lower bridge switching tube M4 are turned on and off in sequence. If two switching tubes on the same leg are simultaneously conducting, which leg is in a pass-through state, the supply circuit 100 will be in a short-circuit state, and thus this state should be avoided. However, the switching tubes in the bridge arm are not ideal devices, the on time and the off time of the switching tubes are not strictly consistent, in order to avoid the bridge arm direct connection, the dead time is usually set, one switching tube in the bridge arm is controlled to be turned off first, and then the other switching tube is turned on when the dead time is finished, so that the phenomenon of the bridge arm direct connection can be avoided. Because the switching tubes of the same bridge arm are in the off state in the dead time, the electric energy stored in the inductor can cause high-voltage impact on the switching tubes, and the switching tubes are damaged. The diodes which are reversely connected in parallel in each switching tube in the bridge arm carry out follow current in dead time, so that the damage of the switching tubes can be avoided.
For example, as shown in fig. 5, when the controller 132 controls the first upper bridge switching tube M1 to change from the off state to the on state, the first lower bridge switching tube M2 is controlled to change from the on state to the off state, the first upper bridge switching tube M1 and the first lower bridge switching tube M2 are both in the off state during the dead time, the electric energy stored in the first inductor L1 is freewheeled through the anti-parallel diode D1 of the first upper bridge switching tube M1 to supply power to the load, after the dead time is over, the first upper bridge switching tube M1 is changed from the off state to the on state, and the first inductor L1 supplies power to the load through the first upper bridge switching tube M1. During the process of controlling the second upper bridge switching tube M3 to be changed from the off state to the on state, the electric energy stored in the second inductor L2 is subjected to follow current through the anti-parallel diode D3 of the second upper bridge switching tube M3. Based on the same principle, when the first battery pack 110 and the second battery pack 120 are charged, the anti-parallel diode D3 of the first lower bridge switching tube M2 and the anti-parallel diode D4 of the second lower bridge switching tube M4 are used for freewheeling, so that the impact of high voltage on the first lower bridge switching tube M2 and the second lower bridge switching tube M4 can be avoided. The specific principle is the same as that of supplying power to the load, and will not be described again here.
It should be noted that, for ease of understanding, the switching transistors in fig. 1, 2 and 5 are all illustrated as MOSFETs (Metal Oxide Semiconductor FIELD EFFECT transistors), and not to be construed as limiting the disclosure, and in the embodiments of the disclosure, the switching transistors may be power switching transistors, MOSFETs, IGBTs (Insulated Gate Bipolar Transistor, insulated gate bipolar transistors), siC (silicon carbide) or other components having on-off functions.
According to one embodiment of the present disclosure, as shown in fig. 5, the power supply circuit 100 further includes: the filter inductor L3 and the filter capacitor C1, the filter inductor L3 is connected in series between the positive electrode of the first battery pack 110 and the full bridge circuit 131, and the filter capacitor C1 is connected in parallel with the first battery pack 110. The high-frequency component in the power supply current can be filtered through the filter inductor L3, so that the power supply quality of a load is improved; through the filter capacitor C1, the output voltage of the first battery pack 110 can be filtered, so that the output voltage of the first battery pack 110 is smooth and stable, the current ripple of the first battery pack 110 can be restrained, the fluctuation of the output current of the first battery pack 110 near zero is avoided, the rapid charging and discharging of the first battery pack 110 at high frequency can be avoided, the problem of the reduction of the service life of the first battery pack 110 is avoided, and the purpose of prolonging the service life of the battery pack is achieved.
According to one embodiment of the present disclosure, as shown in fig. 5, the power supply circuit 100 further includes: bus capacitor C2, bus capacitor C2 is connected in parallel with first arm 1311 and second arm 1312.
Specifically, after the first bridge arm 1311 and the second bridge arm 1312 boost or buck, on one hand, the fluctuation of the power supply voltage of the power supply circuit 100 can be filtered through the bus capacitor C2, so that the voltage provided by the power supply circuit 100 to the load is stable, and the power supply quality of the load is ensured; on the other hand, the negative influence of the voltage fluctuation generated by the first battery pack 110, the first inductor L1 and the second inductor L2 on the second battery pack 120 can be reduced.
In one embodiment of the present disclosure, the first battery pack 110 is a power type battery pack and the second battery pack 120 is an energy type battery pack; or the first battery pack 110 is an energy type battery pack and the second battery pack 120 is a power type battery pack. In the embodiments of the present disclosure, the power type battery pack is designated as a battery pack having high power density. Wherein the power density designation is: maximum power per unit weight or volume of battery for energy transfer during charge and discharge. In the embodiment of the disclosure, the voltage value of the power battery pack can be set in the range of 100-1000V. The energy type battery pack is a battery pack having a high energy density. Wherein the energy density designation is: the energy stored by the battery per unit weight or volume. In the embodiment of the disclosure, the voltage value of the energy type battery pack can be set in the range of 100-1000V. Since the power pack is generally used in a case where peak power is generated during traveling of an electric vehicle or a hybrid vehicle (e.g., discharge peak power generated during traction, charge peak power generated during braking), it is not used in other cases. Therefore, in other cases, the output current of the power type battery pack is desirably 0.
It should be noted that, in the embodiment of the present disclosure, specific types of the first battery pack 110 and the second battery pack 120 are not limited, and compatibility of the battery circuit 100 provided in the embodiment of the present disclosure may be improved.
In summary, according to the power supply circuit of the embodiment of the disclosure, the first battery pack and the second battery pack are connected in series to supply power to the load, and the controller is used for performing phase-dislocation control on the double bridge arms of the full-bridge circuit, so that the control difficulty can be reduced, the first inductor and the second inductor can be respectively used for storing energy, so as to boost the second battery pack, and the second battery pack can be used for stably supplying power to the load. Therefore, the circuit can enable the second battery pack to continuously and stably supply power through the control of the controller to the full-bridge circuit, improve the power supply reliability, reduce current ripple and avoid the shortening of the service life of the battery caused by frequent charging of the battery.
Corresponding to the above embodiment, the present disclosure further provides a power supply control method.
Fig. 6 is a flowchart of a power supply control method according to an embodiment of the present disclosure.
As shown in fig. 6, a power supply control method according to an embodiment of the present disclosure is applied to the above power supply circuit, and the method includes the following steps:
S1, acquiring current of a first battery pack and/or a second battery pack and current of a first inductor and a second inductor.
And S2, controlling the full-bridge circuit based on the acquired current so as to enable the first battery pack and/or the second battery pack to supply power.
According to one embodiment of the present disclosure, controlling a full bridge circuit based on a current drawn to power a first battery pack and/or a second battery pack includes: acquiring a first current difference value between a preset reference current and the current of the first battery pack or the current of the second battery pack, and generating a first control signal and a second control signal which are complementary according to the first current difference value; obtaining a second current difference value between the current of the first inductor and the current of the second inductor, and generating a third control signal and a fourth control signal which are complementary according to the second current difference value; and controlling the full-bridge circuit according to the first control signal, the second control signal, the third control signal and the fourth control signal. The preset reference current can be calibrated according to specific parameters of the first battery pack and the second battery pack.
According to one embodiment of the present disclosure, generating complementary first and second control signals from a first current difference value includes: proportional integral adjustment is carried out on the first current difference value to obtain a first given value, a first control signal is generated according to the first given value and a first preset signal, and the first control signal is inverted to obtain a second control signal; and carrying out proportional integral regulation on the second current difference value to obtain a second given value, generating a third control signal according to the second given value and a second preset signal, and inverting the third control signal to obtain a fourth control signal, wherein the first preset signal and the second preset signal are out of phase by half period. The first preset signal and the second preset signal may be saw-tooth wave signals, where the minimum value of the saw-tooth wave signals is 0 and the maximum value of the saw-tooth wave signals is 1.
According to one embodiment of the present disclosure, controlling a full bridge circuit according to a first control signal, a second control signal, a third control signal, and a fourth control signal includes: the first upper bridge switching tube of the first bridge arm is controlled according to the first control signal, and the first lower bridge switching tube of the first bridge arm is controlled according to the second control signal; under the condition that the first bridge arm is normal, controlling a second upper bridge switching tube of the second bridge arm according to a third control signal, and controlling a second lower bridge switching tube of the second bridge arm according to a fourth control signal; and under the condition that the first bridge arm fails, controlling a second upper bridge switching tube of the second bridge arm according to the first control signal, and controlling a second lower bridge switching tube of the second bridge arm according to the second control signal.
It should be noted that, for details not disclosed in the power supply control method in the embodiment of the present disclosure, please refer to details disclosed in the power supply circuit in the embodiment of the present disclosure, and detailed descriptions thereof are omitted herein.
In summary, according to the power supply control method of the embodiment of the present disclosure, the current of the first battery pack and/or the second battery pack, the current of the first inductor and the current of the second inductor are obtained, and the control signal is generated based on the obtained current to perform phase-dislocation control on the full-bridge circuit. Therefore, the method can carry out phase-shifting control on the double bridge arms of the full-bridge circuit, can reduce control difficulty, enable the second battery pack to continuously and stably supply power, improve power supply reliability, reduce current ripple and avoid shortening of the service life of the battery caused by frequent charging of the battery.
Corresponding to the above embodiments, the present disclosure also proposes a computer-readable storage medium.
The computer-readable storage medium of the embodiment of the present disclosure has stored thereon a power supply control program that, when executed by a processor, implements the power supply control method described above.
According to the computer readable storage medium disclosed by the embodiment of the disclosure, by executing the power supply control method, the double bridge arms of the full-bridge circuit can be subjected to phase-dislocation control, so that the control difficulty can be reduced, the second battery pack can continuously and stably supply power, the power supply reliability is improved, the current ripple can be reduced, and the shortening of the service life of the battery caused by frequent charging of the battery is avoided.
Corresponding to the above embodiment, the present disclosure also proposes a vehicle.
Fig. 7 is a block schematic diagram of a vehicle according to an embodiment of the disclosure.
As shown in fig. 7, a vehicle 200 of an embodiment of the present disclosure includes: the power supply circuit 100 of the above embodiment. Wherein the power supply circuit 100 is used to supply power to the vehicle 200.
According to the vehicle disclosed by the embodiment of the disclosure, through the power supply circuit, the second battery pack can continuously and stably supply power, so that the power supply reliability is improved, the current ripple can be reduced, and the shortening of the service life of the battery caused by frequent charging of the battery is avoided.
It should be noted that the logic and/or steps represented in the flowcharts or otherwise described herein, for example, may be considered as a ordered listing of executable instructions for implementing logical functions, and may be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). In addition, the computer readable medium may even be paper or other suitable medium on which the program is printed, as the program may be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present disclosure. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present disclosure, the meaning of "a plurality" is at least two, such as two, three, etc., unless explicitly specified otherwise.
In the present disclosure, unless explicitly specified and limited otherwise, the terms "mounted," "connected," "secured," and the like are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; either directly or indirectly, through intermediaries, or both, may be in communication with each other or in interaction with each other, unless expressly defined otherwise. The specific meaning of the terms in this disclosure will be understood by those of ordinary skill in the art as the case may be.
Although embodiments of the present disclosure have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the present disclosure, and that variations, modifications, alternatives, and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the present disclosure.