This application claims priority to German Patent Application No. DE 10 2023 212 026.7 filed Nov. 30, 2023, which application is hereby incorporated by reference as if set forth in its entirety herein.
The present invention relates to a DC-DC converter, in particular a DC-DC converter which is designed as a buck-boost converter, and to a method for driving such a DC-DC converter.
Buck-boost converters can convert an input DC voltage both into a lower output voltage (step-down mode, buck mode) and into a higher output voltage (step-up mode, boost mode).
In prior art, buck-boost converters are known which contain an inductor and a plurality of switching elements which realize the step-up or step-down of the input voltage by alternating switching.
For driving such buck-boost converters, two methods are known in particular from prior art. In the case of pulse width modulation (PWM), the switches are driven with switching signals which have a predetermined duty cycle, that is to say a predetermined ratio between the switch-on time of a switching element and the period duration of a switching cycle. In the case of peak current control, the current coil current is compared with a threshold value and the switching takes place when the coil current reaches the threshold value. In this case, therefore, the duty cycle can change as a function of the coil current.
In both cases, the drive circuit of the switching elements must in each case distinguish whether the converter is currently in step-up mode or in step-down mode. Depending on the current operating state, the switching transistors contained in the buck-boost converter must be driven differently.
In addition, the transition zone between step-down mode and step-up mode (buck-boost) is difficult to regulate. In this case, the drive circuit must switch cyclically between the two operating modes. Driving the switching transistors, for example by software, is therefore complex and time-consuming, but also time-critical.
U.S. Pat. No. 2,023,223,852 A1 describes such a DC-DC converter, its driving in different operating modes and the switching between these operating modes.
It is an object of the present invention to provide a DC-DC converter and a method for driving it, which are improved over the prior art.
The object is achieved by the subject matter of the independent claims. Further embodiments of the invention are each specified in the dependent claims. In this case, the subject matter of an independent claim can also be embodied by features of the dependent claims of another independent claim.
The method according to the invention serves for operating a DC-DC converter which contains a buck-boost converter with an inductor and a plurality of switching elements, wherein a step-up operation is achieved by alternating switching of the switching elements between a first switching state BOOST ON and a second switching state BOOST OFF, BUCK ON and a step-down operation is achieved by alternating switching between the second switching state BOOST OFF, BUCK ON and a third switching state BUCK OFF, wherein the switching between the switching states takes place periodically in switching cycles with a predetermined period duration. The method comprises measuring a current flowing through the inductor and carrying out the following method steps:
In an advantageous further embodiment, the buck-boost converter is set into the first switching state before step a) or b).
In an advantageous further embodiment, the buck-boost converter is set into a fourth switching state at the end of the switching cycle before expiry of the predetermined period duration, which fourth switching state is designed for regenerating internal supply voltages of driver circuits for the switching elements (S1, S3) connected to an input terminal or an output terminal of the buck-boost converter.
In an advantageous further embodiment, the first threshold current value and/or the second threshold current value and/or the predetermined period duration are obtained from operating data of a device in which the DC-DC converter is used.
In an advantageous further embodiment, the operating data of the device comprises maximum power point tracking data of a current generator and/or the maximum current for charging a current storage and/or the maximum voltage for charging the current storage.
The DC-DC converter according to the invention contains a buck-boost converter with an inductor and a plurality of switching elements, wherein a step-up operation is achieved by alternating switching of the switching elements between a first switching state BOOST ON and a second switching state BOOST OFF, BUCK ON and a step-down operation is achieved by alternating switching between the second switching state BOOST OFF, BUCK ON and a third switching state BUCK OFF, and a control device for controlling the DC-DC converter. The control device is configured or programmed to operate the DC-DC converter by means of the method according to the invention.
In an advantageous further embodiment, the buck-boost converter contains an input terminal for applying an input voltage, an output terminal for outputting an output voltage and a common ground, wherein a first end of the inductor is connected via a first switching element to the input terminal and via a second switching element to the ground, and a second end of the inductor is connected via a third switching element to the output terminal OUT and via a fourth switching element to the ground GND.
In an advantageous further embodiment, the second and the third switching element are opened and the first and the fourth switching element are closed in the first switching state and/or the second and the fourth switching element are opened and the first and the third switching element are closed in the second switching state and/or the first and the fourth switching element are opened and the second and the third switching element are closed in the third switching state and/or the first and the third switching element are opened and the second and the fourth switching element are closed in the fourth switching state.
In an advantageous further embodiment, the control device contains a microcontroller.
In an advantageous further embodiment, the comparison of the current with the first threshold current value and/or with the second threshold current value is carried out by means of comparators integrated in the hardware of the microcontroller.
The current generating device according to the invention contains a current generator for generating electrical energy at a first voltage, a current storage for storing the electrical energy generated by the current generator at a second voltage and a DC-DC converter according to the invention.
The computer program according to the invention contains instructions which cause a control unit to generate control signals for carrying out a method according to the invention when the computer program is executed in the control unit.
Further features and expedients of the invention result from the description of an exemplary embodiment with reference to the attached drawings.
An embodiment of the present invention is described below with reference to the attached drawings.
An example of a buck-boost converter on which the present invention is based is shown in
The buck-boost converter 10 has an input terminal IN, an output terminal OUT and a common ground GND. An input voltage U1 is applied between the input terminal IN and ground GND, and an output voltage U2 is output between the output terminal OUT and ground GND. A first capacitor C1 (input capacitor) is connected between the input terminal IN and ground GND, and a second capacitor C2 (output capacitor) is connected between the output terminal OUT and ground GND.
As a current storage element, the buck-boost converter 10 contains an inductor L. A first end of the inductor L is connected via a first transistor T1 and a first diode D1 to the input terminal IN and via a second transistor T2 and a second diode D2 to the ground GND. A second end of the inductor L is connected via a third transistor T3 and a third diode D3 to the output terminal OUT and via a fourth transistor T4 and a fourth diode D4 to the ground GND. The transistors T1-T4 serve as switching elements of the buck-boost converter 10 and the diodes D1-4 serve as freewheeling diodes for the switching transistors.
The different operating modes of the buck-boost converter 10 are explained below with reference to
A step-up operation (boost mode) of the buck-boost converter 10 is achieved by alternating switching between a BOOST-ON mode and a BOOST-OFF mode.
In step-up operation or boost mode, the switching element S1 is permanently closed (switched on, on) and the switching element S2 is permanently opened (switched off, off). The step-up of the input voltage takes place by alternating opening and closing of the switching elements S3 and S4.
In the BOOST-ON mode, the switching element S3 is opened and the switching element S4 is closed. In the BOOST-OFF mode, the switching element S3 is closed and the switching element S4 is opened.
A step-down operation (buck mode) of the buck-boost converter 10 is achieved by alternating switching between a BUCK-ON mode and a BUCK-OFF mode.
In step-down operation or buck mode, the switching element S3 is permanently closed and the switching element S4 is permanently opened. The step-down of the input voltage takes place by alternating opening and closing of the switching elements S1 and S2.
In the BUCK-ON mode, the switching element S1 is closed and the switching element S2 is opened. From the switching states of the individual switching elements S1-S4, the BUCK-ON mode thus corresponds to the BOOST-OFF mode. In the BUCK-OFF mode, the switching element S1 is opened and the switching element S2 is closed.
Since the switching states of the switching elements S1-S4 in the BUCK-ON mode correspond to those in the BOOST-OFF mode, only three of the four possible switching states are covered by the four modes described above.
In this case, the switching elements S1 and S3 are opened and the switching elements S2 and S4 are closed. As a result, both ends of the inductor L are connected to ground.
This state may be used to enable the driver circuits for the high-side switching elements S1 and S3 to regenerate their internal supply voltage by means of an internal boost circuit. It is therefore referred to as REFRESH mode and may be additionally used at the end of a switching cycle before the beginning of the next switching cycle.
In step-up mode, the switching element S3 is opened and the switching element S4 is closed at the beginning of a switching cycle, as a result of which the buck-boost converter 10 is set into the BOOST-ON mode. A current I, which increases continuously, flows from the input terminal IN through the inductor L to ground GND. This current I is measured and compared with a first threshold current value Ival.
As soon as the current I reaches the first threshold current value Ival, the switching element S3 is closed and the switching element S4 is opened, as a result of which the buck-boost converter 10 is set into the BOOST-OFF mode. The current I flowing from the input terminal IN through the inductor L flows into the capacitor and charges it. In the process, the current I decreases continuously.
In step-down mode, the switching element S1 is closed and the switching element S2 is opened at the beginning of a switching cycle, as a result of which the buck-boost converter 10 is set into the BUCK-ON mode. A current I flows from the input terminal IN through the inductor L into the capacitor and charges it. In the process, the current I increases continuously. This current I is measured and compared with a second threshold current value Ipk which is greater than the first threshold current value Ival.
Even if the BUCK-ON mode corresponds to the BOOST-OFF mode from the switching states of the switching elements S1-S4, it differs from the latter in that the current I flowing through the inductor L increases in the BUCK-ON mode because the input voltage U1 in step-down mode is greater than the output voltage U2, while it decreases in the BOOST-OFF mode because the input voltage U1 in step-up mode is less than the output voltage U2.
As soon as the current I reaches the second threshold current value Ipk, the switching element S1 is opened and the switching element S2 is closed, as a result of which the buck-boost converter 10 is set into the BUCK-OFF mode. The current I flowing from the input terminal IN through the inductor L continues to flow into the capacitor and charges it further. In the process, the current I decreases continuously.
In prior art, it is decided on the basis of information received externally about the ratio between the input voltage U1 and the output voltage U2 whether the buck-boost converter 10 is to be driven in step-up mode or in step-down mode, and the driving is adapted accordingly.
In order to eliminate this disadvantage of the prior art, driving is realized according to the present invention with a time profile as illustrated in
In the case of the current profile illustrated in
As soon as the current I reaches the first threshold current value Ival, the buck-boost converter 10 is set into a second switching state which corresponds to the BOOST-OFF mode (switching elements S1 and S3 closed, switching elements S2 and S4 opened). The current I flowing through the inductor L flows into the capacitor and charges it. This current I is measured and compared with the second threshold current value Ipk.
Depending on whether the input voltage U1 is less than or greater than the output volt-age U2, the current I decreases again or it increases further. In the case of the current profile illustrated in
As soon as the current I reaches the second threshold current value Ipk, the buck-boost converter 10 is set into a third switching state which corresponds to the BUCK-OFF mode (switching elements S2 and S3 closed, switching elements S1 and S4 opened). The current I flowing from the input terminal IN through the inductor L continues to flow into the capacitor and charges it further, but decreases continuously in the process.
After expiry of the predetermined period duration Tc, the next switching cycle begins, and the buck-boost converter 10 is set back into the first switching state.
Owing to the fact that the switching state in the BOOST-OFF mode corresponds to that in the BUCK-ON mode, the switching cycle contains the sequence BUCK ON/BUCK OFF, as a result of which a step-down of the input voltage U1 is realized. The preceding BOOST-ON mode merely supports the following BUCK-ON mode during the charging of the inductor L.
If, in the case of an alternative time profile, the current I flowing through the inductor L decreases again after the switching into the second switching state or at least does not increase up to the second threshold current value Ipk, the second switching state is maintained until expiry of the predetermined period duration Tc. The switching cycle therefore contains the sequence BOOST ON/BOOST OFF, as a result of which a step-up of the input voltage U1 is realized.
If the current I flowing through the inductor L has already exceeded the first threshold current value Ival at the beginning of the switching cycle, the buck-boost converter 10 is set immediately into the second switching state according to the actuation described above after the setting into the first switching state. Alternatively, the buck-boost converter 10 can also be set directly into the second switching state without first being set into the first switching state.
As a result of the sequence of the switching states described above, the drive circuit of the switching elements no longer has to distinguish whether the converter is currently in step-down mode or in step-up mode, and it also no longer needs to carry out the sequence of the switching states accordingly differently. Depending on how the current I flowing through the inductor L changes after the switching into the second state, the correct operating mode is automatically selected: the step-up mode is selected by the sequence BOOST ON/BOOST OFF and the step-down mode is selected by the sequence BOOST ON/BUCK ON/BUCK OFF or merely BUCK ON/BUCK OFF.
In the first two switching cycles 1, 2, the input voltage U1 is lower than the output voltage U2, and the buck-boost converter 10 operates with the sequence BOOST ON/BOOST OFF in step-up operation or boost mode. In the switching cycle 3, the input voltage U1 has increased above the output voltage U2, and the buck-boost converter 10 transitions into the step-down operation or buck mode with the sequence BOOST ON/BUCK ON/BUCK OFF. In the switching cycles 4, 5, the buck-boost converter 10 continues to be operated with the sequence BUCK ON/BUCK OFF in step-down operation or buck mode, wherein the current I in the switching cycle 5 falls to a value below the first current threshold value Ival as a result of the drop in the input voltage U1 below the output voltage U2. In the switching cycles 6, 7, the buck-boost converter 10 again operates with the sequence BOOST ON/BOOST OFF in step-up operation or boost mode.
The actuation of the buck-boost converter is greatly simplified by the method described above. The switching states are activated in a sequence which takes place as a function of the measured coil current I. As a result of the initialization of the converter in boost-on operation, safe and suitable operation is achieved without a comparison between the input voltage U1 and the output voltage U2 being necessary. Information from outside as to whether the input voltage U1 is greater than the output voltage U2 or vice versa and a change in the driving of the switching states as a reaction to this information is thus not necessary. A flexible and rapid changeover between the two operating modes is therefore possible precisely in a transition region between step-up operation (boost mode) and step-down operation (buck mode).
The parameters which are necessary for the method, such as, for example, the first threshold current value Ival, the second threshold current value Ipk or the period duration Tc, can be obtained, for example, with the aid of an external controller (not illustrated) from the operating data of a device in which the DC-DC converter is used, for example of a current generating device. This may include, for example, MPPT data (maximum power point tracking) of a solar power system or the maximum current or the maximum voltage for charging a battery.
The current generator 200 supplies electrical energy at a variable DC voltage U1. It may be formed, for example, as a solar panel in which the DC voltage U1 depends on the momentary solar radiation and is therefore subject to great fluctuations.
The current storage 400 serves for storing the electrical energy supplied by the current generator 200. It may be formed, for example, as a chargeable battery. The charging voltages suitable for charging the battery are generally in a relatively narrow voltage range.
The DC-DC converter 300 serves for converting the DC voltage U1 supplied by the current generator 200 into a charging voltage U2 suitable for charging the battery. Depending on the magnitude of the DC voltage U1 momentarily supplied by the current generator 200, it must operate in step-up operation (boost mode) or in step-down operation (buck mode).
The DC-DC converter 300 contains a buck-boost converter 10, as described above, and a control device 20 which is configured or programmed to control the DC-DC converter 300 by means of the method described above with reference to
The control device may be designed, for example, as a microcontroller. It contains a first digital/analog converter 31 for generating an analog value of the first threshold current value Ival and a second digital/analog converter 32 for generating an analog value of the second threshold current value Ipk. As described above, these values can be obtained, for example, via a digital controller from the operating data of the current generating device 100 and subsequently provided for the analog comparators by means of the digital/analog converters 31, 32.
The control device further contains a first comparator 41 for comparing a measured value of the measured coil current I with the first threshold current value Ival and a second comparator 42 for comparing a measured value of the measured coil current I with the second threshold current value Ipk. Depending on the comparison results, the central processing unit (CPU) 50 of the microcontroller generates the control signals for switching the switching elements S1-S4 with the time courses described above.
Hardware comparators of the microcontroller 20 are preferably used as comparators 41, 42, and the digital values of the threshold currents are written into the registers of these comparators 41, 42. Compared with a comparison by software, the speed is substantially increased, which is of particular importance for the time-critical switching of the switching elements.
The circuit is short-circuit-resistant on the output side because the coil current I is kept at a set value by the hardware. Since the hardware keeps the coil current I at the set value until the software specifies new reference values, the time requirement and the speed of the controller are not critical. The external controller can therefore run substantially more slowly and operate with a frequency which is lower than that which results from the period duration Tc of the switching cycles.
| Number | Date | Country | Kind |
|---|---|---|---|
| 10 2023 212 026.7 | Nov 2023 | DE | national |