This application is based upon and claims the benefit of priority from the prior Japanese Patent Application No. 2012-64482, filed on Mar. 21, 2012, the entire contents of which are incorporated herein by reference.
Embodiments of the present invention relate to a digitally-controlled DC-DC converter and a control circuit thereof.
A digitally-controlled DC-DC converter has been widely used for the purpose of low power consumption, semiconductor integration, etc. In the digitally-controlled DC-DC converter, a pulse-width modulated signal having a duty ratio depending on the voltage difference between an output voltage and a reference voltage is generated by a DPWM circuit, a square wave voltage is generated by switching an input voltage based on this pulse-width modulated signal, and the output voltage is generated by smoothing the generated square wave voltage by a lowpass filter.
It is not easy to broaden the signal band of the digitally-controlled DC-DC converter. This is because the signal band must be limited to a low-frequency range which is less influenced by the delay occurring in ADC, DPWM circuit, etc. arranged in the digitally-controlled DC-DC converter.
Since the DPWM circuit generates a pulse-width modulated signal based on a result obtained by comparing a digital ramp wave signal with a duty signal, a delay time is generated between the input and output of the DPWM circuit, depending on the sampling frequency of the digital ramp wave signal and the duty ratio of the duty signal. When a load variation occurs while a delay is caused in the DPWM circuit, the output voltage cannot be controlled quickly and the output voltage greatly varies.
As a technique to prevent such a defect, it is suggested to switch to TOC (Time-Optimal Control) control when a load variation occurs, in order to recover the output voltage quickly. However, it is required to correctly grasp the element values of inductor, capacitor, etc. in the DC-DC converter to realize highly-accurate control. Since the element values change depending on environmental conditions such as temperature, it is difficult to perform highly-accurate control.
a) and 2(b) show waveform diagrams of a PWM signal outputted from a DPWM 15 of
a) to 4(d) show timing waveform diagrams of the DC-DC converter 1 of
According to one embodiments, a control circuit of a DC-DC converter is provided. The DC-DC converter generates a square wave voltage by periodically switching an input voltage based on a duty ratio depending on a pulse-width modulated signal, and converting this square wave voltage into a direct-current output voltage by a lowpass filter. The control circuit has
a voltage difference signal generator configured to generate a digital voltage difference signal depending on a voltage difference between the output voltage and a reference voltage;
a PID controller configured to generate a digital PID signal for determining the duty ratio of the pulse-width modulated signal, based on the digital voltage difference signal;
a phase controller configured to generate a digital phase control signal for determining a phase of the pulse-width modulated signal, based on the digital voltage difference signal; and
a PWM generator configured to generate the pulse-width modulated signal, based on the digital PID signal and the digital phase control signal.
Embodiments will now be explained with reference to the accompanying drawings.
A pulse-width modulated signal (hereinafter referred to as a PWM signal) outputted from the control circuit 3 is inputted to the gate of the High-side switch 4. A signal obtained by inverting the PWM signal by an inverter 8 is inputted to the gate of the Low-side switch 5.
The drain of the High-side switch 4 is applied with the input voltage, and the source thereof is connected to the input terminal of the lowpass filter 6 and to the drain of the Low-side switch 5. The source of the Low-side switch 5 is grounded.
The lowpass filter 6 has an inductor L connected between the drain of the High-side switch 4 and the output terminal of the power stage circuit 2, and a capacitor C connected between this output terminal and a ground line.
The control circuit 3 has an A/D converter (hereinafter referred to as an ADC) 11, a comparator (voltage difference signal generator) 12, a PID controller 13, a phase controller 14, and a PWM generator (hereinafter referred to as a DPWM) 15.
The ADC 11 converts the output voltage outputted from the power stage circuit 2 into a digital output voltage signal. The comparator 12 generates a digital voltage difference signal corresponding to a voltage difference between the output voltage and a reference voltage, based on the digital output voltage signal.
The PID controller 13 generates a digital PID signal for determining the duty ratio of the PWM signal, based on the digital voltage difference signal. More specifically, the PID controller 13 performs a proportional control calculation, an integral control calculation, and a differential control calculation, based on the digital voltage difference signal, and generates a digital PID signal by synthesizing the results obtained through the calculations.
The phase controller 14 generates a digital phase control signal for determining a phase of the PWM signal, based on the digital voltage difference signal.
As stated above, in the present embodiment, the phase of the PWM signal is determined by the phase controller 14, and the duty of the PWM signal is determined by the PID controller 13.
a) and 2(b) show waveform diagrams of the PWM signal outputted from the DPWM 15 of
Each of
When a load variation occurs, the output voltage correspondingly changes and the magnitude of the digital PID signal also changes. Then, pulse width of the PWM signal is adjusted so that the output voltage returns to the original voltage level. For example, in the case of
As will be explained in detail later, which one of the falling edge timing and the rising edge timing should be changed depending on load variation is determined based on the digital PID signal. In the present specification, changing the falling edge timing of the PWM signal is referred to as trailing edge modulation, and changing the rising edge timing of the PWM signal is referred to as leading edge modulation.
As stated above, in the present embodiment, any one of the trailing edge modulation and the leading edge modulation is selected based on the digital PID signal in order to shorten the delay time from the rising edge of the clock signal to the falling edge or rising edge of the PWM signal, which makes it possible to quickly restrain a change in the output voltage due to a load variation while improving responsiveness to load variation.
The delay time from the rising edge of the clock signal to the falling edge or rising edge of the PWM signal is controlled by the digital phase control signal generated by the phase controller 14. The phase controller 14 controls the delay time of the PWM signal in view of the magnitude of the digital voltage difference signal.
The phase controller 14 sets the delay time shown in
As stated above, in the first embodiment, the phase controller 14 controls the delay time from the rising edge of the clock signal to the rising edge of the PWM signal in order to shorten the delay time as much as possible, which makes it possible to make the output voltage quickly return to the original voltage when a load variation occurs, while improving responsiveness to load variation.
In particular, control in the present embodiment is performed using only the information about load variation, without using element values of the inductor, capacitor, etc. in the DC-DC converter 1, which makes it possible to improve responsiveness to load variation without depending on environmental conditions such as temperature.
A second embodiment explained below is characterized in generating the PWM signal by using two kinds of sawtooth wave signals.
In
In the DC-DC converter 1 of
The trailing edge DPWM 21 generates a first PWM candidate signal by comparing signal levels of the digital PID signal and a first sawtooth wave signal having trailing edges. The leading edge DPWM 22 generates a second PWM candidate signal by comparing signal levels of the digital PID signal and a second sawtooth wave signal having leading edges.
The PWM selector 23 selects any one of the first PWM candidate signal and the second PWM candidate signal, based on the digital phase control signal, and the selected signal becomes the PWM signal.
Since the PWM signal outputted from the PWM selector 23 is a digital signal, the PWM signal is converted into an analog PWM signal by an A/D converter (hereinafter referred to as an ADC) 16 and supplied to the power stage circuit 2.
a) and 4(b) show timing waveform diagrams of the DC-DC converter 1 of
As shown in
b) shows an example of trailing edge modulation performed when load current increases. When load current increases, the output voltage decreases and the digital PID signal also becomes small. In this case, the trailing edge DPWM 21 adjusts the phase of the first sawtooth wave signal so that the signal level of the first sawtooth wave signal is slightly below that of the digital PID signal in vicinity of the rising edge of the clock signal CLK. As shown in
c) shows an example of leading edge modulation performed when load current decreases. When load current decreases, the output voltage rises and the digital PID signal also becomes large. In this case, the leading edge DPWM 22 adjusts the phase of the second sawtooth wave signal so that the signal level of the second sawtooth wave signal is slightly above that of the digital PID signal in vicinity of the rising edge of the clock signal CLK. As shown in
d) shows an example of leading edge modulation performed when load current increases. When load current increases, the output voltage falls and the digital PID signal also becomes small. In this case, the leading edge DPWM 22 adjusts the phase of the second sawtooth wave signal so that the signal level of the second sawtooth wave signal is slightly above that of the digital PID signal in vicinity of the rising edge of the clock signal CLK. As shown in
In short, the trailing edge modulation is effective when load current decreases, while the leading edge modulation is effective when load current increases. Therefore, the phase controller 14 detects the increase or decrease in load current based on the digital voltage difference signal, and instructs the PWM selector 23 to select the trailing edge modulation in the case of increase, and to select the leading edge modulation in the case of decrease.
As stated above, in the second embodiment, the trailing edge modulation and the leading edge modulation can be selectively used depending on whether load current increases or decreases, by providing the trailing edge DPWM 21 for performing the trailing edge modulation by utilizing the first sawtooth wave signal having trailing edges, the leading edge DPWM 22 for performing the leading edge modulation by utilizing the second sawtooth wave signal having leading edges, and the PWM selector 23 for selecting any one of the outputs from the DPWMs 21 and 22. Accordingly, delay time when generating the PWM signal can be shortened, and responsiveness to load variation can be improved.
A third embodiment explained below is characterized in configurating the DPWM 15 using a digital counter.
The digital ramp wave generator 24 is configured by using, e.g., a digital counter, and its count value is cleared by the digital phase control signal from the phase controller 14 to return to the initial value.
In the example shown in
The DPWM 15 of
As stated above, in the third embodiment, since the DPWM 15 is configured using a digital counter, the DPWM 15 can be made with a simple digital circuit using a gate and a flip-flop, and can be easily mounted on a chip.
A fourth embodiment explained below is characterized in generating the PWM signal using a delay unit, instead of using the sawtooth wave signals.
The pulse generator 26 generates a pulse signal having a phase depending on the digital phase control signal. The delay unit 27 sequentially delays the pulse signal by a plurality of delay circuits connected in series, and a plurality of pulse delay signals each having a different amount of delay are outputted from the delay circuits. The selector 28 selects one of the pulse delay signals, based on the digital PID signal.
The S-R latch 29 generates the PWM signal by utilizing edges of the pulse signal and edges of the pulse delay signal selected by the pulse selector. More specifically, the pulse signal is inputted at the set terminal of the S-R latch 29, and the pulse delay signal selected by the pulse selector is inputted at the reset terminal of the S-R latch 29. Therefore, the S-R latch 29 sets the PWM signal to High at the time point when the pulse signal becomes High, and sets the PWM signal to Low at the time point when the pulse delay signal selected by the pulse selector becomes High. In this way, the timing to set the PWM signal to Low is controlled by the digital phase control signal.
The DPWM 15 of
As stated above, in the fourth embodiment, since the DPWM 15 is configured by the pulse generator 26, the delay unit 27, the selector 28, and the S-R latch 29, the DPWM 15 can be easily made with a simple digital circuit and can be easily mounted on a chip, similarly to the third embodiment.
A fifth embodiment explained below is characterized in the internal configuration of the DPWM 15 and the phase controller 14.
The DPWM 15 in the DC-DC converter 1 of
The phase controller 14 has a first threshold value comparator 35 for generating a first threshold value comparative signal showing whether the digital PID signal is a first threshold value or greater, a second threshold value comparator 36 for generating a second threshold value comparative signal showing whether the digital PID signal is a second threshold value or less, the second threshold value being smaller than the first threshold value, and an S-R latch (phase control signal generator) 37.
The first threshold value comparative signal is inputted at the set terminal of the S-R latch 37, and the second threshold value comparative signal is inputted at the reset terminal of the S-R latch 37.
When the digital PID signal is the first threshold value or greater, the phase controller 14 instructs the sawtooth wave selector 33 to select the first sawtooth wave signal, and then the first sawtooth wave signal is continuously selected until the digital PID signal becomes the second threshold value or less. When the digital PID signal becomes the second threshold value or less, the phase controller 14 instructs the sawtooth wave selector 33 to select the second sawtooth wave signal, and then the second sawtooth wave signal is continuously selected until the digital PID signal becomes the first threshold value or greater.
As stated above, in the fifth embodiment, the digital PID signal is compared to two kinds of threshold values arranged in the phase controller 14 to select any one of the first sawtooth wave signal and the second sawtooth wave signal. Accordingly, when a load variation occurs, the PWM signal can be generated by selecting an optimum sawtooth wave signal having excellent responsiveness to load variation from the first sawtooth wave signal and the second sawtooth wave signal.
Note that the phase controller 14 of
A sixth embodiment explained below is characterized in adjusting the amount of delay of the first sawtooth wave signal and the second sawtooth wave signal, based on the digital PID signal.
The internal configuration of the phase controller 14 in the DC-DC converter 1 of
The DPWM 15 adjusts the phases of the first sawtooth wave signal and the second sawtooth wave signal by setting the first delay time and the second delay time depending on the magnitude of the digital PID signal. Accordingly, it is possible to control the first sawtooth wave signal so as to become slightly smaller than the digital PID signal in vicinity of the rising edge of the clock signal as shown in
The digital PID signal changes depending on the output voltage. From Time t2 to t7, during which load current decreases, the digital PID signal has the maximum value from Time t2 to t3, and then gradually falls (Time t3 to t7). Further, from Time t7 to t11, during which load current increases, the digital PID signal has the minimum value from Time t7 to t8, and then gradually rises (Time t8 to t11).
When load current decreases at Time t2, the first threshold value comparator 35 in the phase controller 14 outputs the first threshold value comparative signal indicating that the digital PID signal has become the first threshold value or greater. Accordingly, the phase controller 14 instructs the sawtooth wave selector 33 to select the first sawtooth wave signal generated by the first sawtooth wave generator 31 in the DPWM 15. Once the first sawtooth wave signal is selected, the first sawtooth wave signal is continuously selected until the digital PID signal becomes the second threshold value or less. Thus, from Time t2 to t7 in
In
After that, when load current increases at Time t7, the second threshold value comparator 36 in the phase controller 14 outputs the second threshold value comparative signal indicating that the digital PID signal has become the second threshold value or less. Accordingly, the phase controller 14 instructs the sawtooth wave selector 33 to select the second sawtooth wave signal generated by the second sawtooth wave generator 32 in the DPWM 15. Once the second sawtooth wave signal is selected, the second sawtooth wave signal is continuously selected until the digital PID signal becomes the first threshold value or greater. Thus, from Time t7 to t11 in
In
In
When load current increases and the digital PID signal suddenly decreases at Time t6, the phase controller 14 selects the second sawtooth wave signal having leading edges. The second sawtooth wave signal is continuously selected until Time t11, at which load current decreases again. At the time point of Time t6, the delay time from the rising edge of the clock signal CLK to the rising edge position of the PWM signal (Time ta6) is a little long, but after that, the delay time gradually decreases.
When load current decreases again and the digital PID signal suddenly increases at Time t11, the phase controller 14 selects the first sawtooth wave signal having trailing edges again, and the first sawtooth wave signal is continuously selected until Time t15. From Time t11 to t15, the delay time from the rising edge of the clock signal to the falling edge of the PWM signal gradually becomes short.
As stated above, in the sixth embodiment, the first delay unit 41 and the second delay unit 42 are arranged in the DPWM 15 to adjust the phases of the first sawtooth wave signal and the second sawtooth wave signal, which makes it possible to set the phases of the first and second sawtooth wave signals so that the delay time of the PWM signal becomes short.
A seventh embodiment explained below is different from the first embodiment in the input signal into the phase controller 14.
As stated above, the input signal into the phase controller 14 may be any one selected from the digital output voltage signal outputted from the ADC 11, the digital voltage difference signal outputted from the comparator 12, and the digital PID signal outputted from the PID controller 13. Therefore, the input signal into the phase controller 14 shown in
The proportional calculation unit 13a generates a proportional signal in proportion to the digital voltage difference signal. The integral calculation unit 13b generates an integral signal by integrating the digital voltage difference signal. The differential calculation unit 13c generates a differential signal of the digital voltage difference signal. The synthesizer generates the digital PID signal by synthesizing the proportional signal, integral signal, and differential signal.
Since load variation can be detected only by the differential signal, the phase controller 14 is inputted not with the digital PID signal but with the differential signal. The phase controller 14 controls the phase of the PWM signal by detecting whether load current has increased or decreased based on the differential signal.
As stated above, in the seventh embodiment, the phase controller 14 can control the phase of the PWM signal with high accuracy by using any one of the digital output voltage signal, the digital voltage difference signal, and the digital PID signal.
The DC-DC converter 1 shown in
In the DC-DC converter 1 shown in
While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the inventions. Indeed, the novel methods and systems described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the methods and systems described herein may be made without departing from the spirit of the inventions. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the inventions.
Number | Date | Country | Kind |
---|---|---|---|
2012-64482 | Mar 2012 | JP | national |