The present invention relates to a method and apparatus for generating PWM signals having an improved positive load transient response. The present invention specifically relates to an apparatus and a method for generating PWM signals by means of oversampling with PWM restart in switching regulators or power converters.
A switching regulator is a circuit that uses a power switch, an inductor, and a diode to transfer energy from input to output. In contrast to linear regulators that use a resistive voltage drop to regulate the voltage and lose power in the form of heat a switching regulator does not have a voltage drop and an associated current but instead the current is 90 degree out of phase with the voltage. Due to this, the energy is stored and can be recovered in the discharge phase of the switching cycle. In the art several types of switching regulators exist dependent on how the switching circuit is arranged, for example step-down (buck), step-up (boost) or inverter (flyback). The switch can be controlled by a PWM signal with duty ratio D that represents the on state during a PWM period. The output voltage is dependent on the duty ratio D and, hence, can be controlled by a controller which consists of an analog-to-digital converter (ADC), a discrete-time control law, and a digital PWM (DPWM) module. The ADC samples and quantizes the regulated signal, the output voltage error that is the difference between the output voltage and an output voltage reference. The control law computes the digital duty ratio command D based on the quantized output voltage error. The control law is a given by a PID control law which is configured by a set of PID coefficients, the set comprising the proportional gain Kp, the integral gain Ki and the differential gain Kd and the time delay Td. The digital PWM modulator takes D as input, and outputs a PWM waveform with the commanded duty ratio D at a switching frequency. The PWM waveform has finite time resolution. The sensing and the quantization of other signals such as the load can be added depending on the application and the specific control law used.
In the state of the art one error signal and one duty ratio is computed during one PWM period. In case a large load transient occurs the response of the PID controller may be slow.
It is therefore an objective of the present invention to provide a method and an apparatus for generating PWM signals that lead to a superior response to load transients over the prior art.
The objective is achieved with the feature of the independent claims. The dependent claims relate to further aspects of the invention.
The present invention relates to a control method for a power converter wherein an output voltage is generated according to a pulse width modulation signal and an input voltage. An error signal is generated by sampling the output voltage and differencing the sampled output voltage and an output voltage reference. A duty ratio that defines a duty cycle of pulse width modulation signal is determined by means of PID controlling algorithm generating a pulse width modulation signal by providing the duty ratio to a pulse width modulator. The duty ratio is monitored and compared to its predecessor by computing a duty ratio difference. The duty ratio is continuously monitored by computing and comparing a plurality of duty ratios within one PWM period. In case during an off-time of the pulse width modulation signal the duty ratio difference exceeds a threshold the pulse width modulator is triggered to start a new pulse width modulation period.
Preferably, the duty ratio is monitored in case a load transient is detected. The load transient may be detected by continuously monitoring the error signal.
The output voltage signal and/or the error signal may be oversampled by sampling a plurality of error signals within one PWM period. The oversampling is necessary for the load transient detection since a plurality of duty ratio are compared to its predecessors respectively within on PWM period.
Further, a moving average of the sampled error signal is computed by a moving average filter. This leads to an interpolated error signal with support in between the samples provided by the ADC. Moreover, by applying a moving average filter the ripple of the error signal is suppressed.
One aspect of the present invention relates to employing two different sets of PID coefficients. A first set of PID coefficients is selected in case a steady state is detected and a second set of PID coefficients is selected in case a load transient is detected. The switching between the two sets of coefficients in case of a change from steady state to load transient takes place before a restart of the PWM is triggered. A load transient leads to a quick rise of the duty ratio and in case the difference of two consecutive duty ratios exceeds a threshold a new PWM period is started.
A nonlinear gain KP may be selected in case of load transient detection. Adapted nonlinear gains KP have the advantage that a steady is reached more quickly compared to linear gains.
One aspect of the present invention relates to a pulse width modulation power converter, comprising an output stage that generates an output voltage according to a pulse width modulation signal and an input voltage by means of a switching element. The PWM modulator further comprises means for providing an output voltage reference and an analog digital converter connected to the output stage and the means for providing an output voltage reference. The ADC samples and amplifies a difference between the output voltage and the output voltage reference to generate an error signal. A PID controller connected to the ADC and the switching element wherein the PID controller is configured by a set of PID coefficients determines a duty ratio for a pulse width modulator that generates the PWM signal. The pulse width modulation power converter further comprises means for monitoring the duty ratio. These means comprise means for comparing each value of the duty ratio to its predecessor by generating a duty ratio difference. In case the duty ratio difference exceeds a threshold during the off-time of the PWM signal the PWM modulator is triggered to start a new PWM period.
The pulse width modulation power converter may comprise means for detecting a load transient or a steady state, preferably means for monitoring the error signal.
One aspect of the present invention relates to oversampling. The pulse width modulation power converter comprises means for providing the analog-to-digital converter with a first clock frequency and the pulse width modulator with a second clock frequency, wherein the first clock frequency is higher than the second clock frequency.
One further aspect of the present invention relates to oversampling. The PWM power converter comprises a moving average filter for computing a moving average of the error.
Two different sets of PID coefficients may be provided to the PID controller, a first set for the steady state and a second set in case a load transient is detected. The two sets are stored in a memory and one of them is selected by selector means.
One further aspect of the present invention relates to the second set of PID coefficients for the transient mode. For the proportional gain Kp a plurality of nonlinear gain coefficients are provided in a storage means. A nonlinear gain coefficient is adaptively selected dependent on the load transient.
One further advantage of the present invention is that due to a superior response to load transients the size of the capacitors on a printed circuit board may be reduced.
The apparatus and method according to the invention are described in more detail herein below by way of exemplary embodiments and with reference to the attached drawings, in which:
According to one embodiment of the present invention
While the present invention has been illustrated and described in detail in the drawings and foregoing description, such illustration and description are to be considered illustrative or exemplary and not restrictive. It will be understood that changes and modifications may be made by those of ordinary skill within the scope and spirit of the following claims
Number | Date | Country | Kind |
---|---|---|---|
10190437.3 | Nov 2010 | EP | regional |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP11/69736 | 11/9/2011 | WO | 00 | 9/16/2013 |