Digital double-loop output voltage regulation

Information

  • Patent Grant
  • 7554310
  • Patent Number
    7,554,310
  • Date Filed
    Tuesday, February 6, 2007
    17 years ago
  • Date Issued
    Tuesday, June 30, 2009
    15 years ago
Abstract
A switched mode voltage regulator has a digital control system that includes dual digital control loops. The voltage regulator comprises at least one power switch adapted to convey power between respective input and output terminals of the voltage regulator and a digital controller adapted to control operation of the power switches responsive to an output of the voltage regulator. The digital controller further comprises dual digital control loops in which a first control loop provides high speed with lower regulation accuracy and a second control loop has high accuracy with lower speed. Thus, the digital control system provides the advantages of both high speed and high regulation accuracy.
Description
BACKGROUND OF THE INVENTION

1. Field of the Invention


The present invention relates to voltage regulator circuits, and more particularly to digital control over a switched mode voltage regulator using dual feedback loops for improved regulation.


2. Description of Related Art


Switched mode voltage regulators are known in the art to convert an available direct current (DC) level voltage to another DC level voltage. A switched mode voltage regulator provides a regulated DC output voltage to a load by selectively storing energy in an output inductor coupled to the load by switching the flow of current into the output inductor. A buck converter is one particular type of switched mode voltage regulator that includes two power switches that are typically provided by MOSFET transistors. A filter capacitor coupled in parallel with the load reduces ripple of the output current. A pulse width modulation (PWM) control circuit is used to control the gating of the power switches in an alternating manner to control the flow of current in the output inductor. The PWM control circuit uses feedback signals reflecting the output voltage and/or current level to adjust the duty cycle applied to the power switches in response to changing load conditions.


Conventional PWM control circuits are constructed using analog circuit components, such as operational amplifiers and comparators. But, it is desirable to use digital circuitry instead of the analog circuit components since digital circuitry takes up less physical space and draws less power. A conventional digital PWM control circuit includes a subtractor that produces an error signal representing the difference between a signal to be controlled (e.g., output voltage (Vo)) and a reference voltage. An analog-to-digital converter (ADC) converts the error signal into a digital signal. The digital error signal is provided to a loop compensation filter having a transfer function H(z) that provides stability for the voltage regulator feedback loop. A digital pulse width modulator (DPWM) then produces a proportional pulse width modulated signal that is used to control the power switches of the voltage regulator.


In order to keep the complexity of the PWM control circuit low, it is desirable to hold the number of bits of the digital signal to a small number. At the same time, however, the number of bits of the digital signal needs to be sufficiently high to provide enough resolution to secure precise control of the output value. If the output voltage needs to be programmable through a large range, it is even more difficult to maintain a small DC error on the subtractor and therefore set point accuracy errors will increase. While the circuit can be made accurate over a wide range by providing adjustable gain and offset, this comes with additional cost and complexity. Moreover, the ADC needs to be very fast to respond to changing load conditions and enable fast transient response of the feedback loop. Current microprocessors exhibit supply current slew rates of up to 20 A/μs, and future microprocessors are expected to reach slew rates greater than 350 A/μs, thereby demanding extremely fast response by the voltage regulator. Very often, fast response time and DC precision are contradictory requirements. The bit size of the digital signal also affects the complexity of the digital circuitry that implements the transfer function H(z) and hence the associated cost.


Thus, it would be advantageous to provide a system and method for digitally controlling a switched mode voltage regulator that overcomes these and other drawbacks of the prior art. More specifically, it would be advantageous to provide a double-loop output voltage control circuit for controlling a switched mode voltage regulator using digital circuitry having better repeatability and accuracy.


SUMMARY OF THE INVENTION

The present invention provides a switched mode voltage regulator having a digital control system. Generally, the voltage regulator comprises at least one power switch adapted to convey power between respective input and output terminals of the voltage regulator and a digital controller adapted to control operation of the power switches responsive to an output of the voltage regulator. The digital controller further comprises dual digital control loops in which a first control loop provides high speed with lower regulation accuracy and a second control loop has high accuracy with lower speed. Thus, the invention provides the advantages of both high speed and high accuracy.


More particularly, the first digital control loop includes a first analog-to-digital converter providing a first digital error signal representing a difference between a first output measurement of the voltage regulator and a reference value, a first digital filter providing a digital control output based on the first digital error signal, and a digital pulse width modulator providing a control signal to the power switches. The control signal has a pulse width corresponding to the digital control output. The second digital control loop includes a second analog-to-digital converter providing a second output measurement of the voltage regulator. The second digital control loop provides a second digital error signal representing a difference between the second output measurement and the reference value. The second analog-to-digital converter has greater resolution than the first analog-to-digital converter. The second digital error signal is applied to the first digital control loop to thereby improve accuracy of the first output measurement.


In an embodiment of the invention, the first digital control loop further comprises a first analog-to-digital converter providing a first digital measurement of the voltage regulator output, a digital filter providing a digital control output based on a first digital error signal and a second digital error signal, and a digital pulse width modulator providing a control signal to the at least one power switch based on the digital control output. The first digital error signal comprises a difference between the first digital measurement and a digital reference value. The second digital error signal comprises a sum of the first digital error signal and a time varying portion of the digital reference value.


The second digital control loop includes a second analog-to-digital converter providing a second digital measurement of the voltage regulator output. The second analog-to-digital converter has greater resolution than the first analog-to-digital converter. The second digital control loop provides the digital reference value based on a desired output voltage setpoint. The second digital control loop provides the time varying portion of the digital reference value based on a difference between the second digital measurement and the output voltage setpoint.


More particularly, the digital filter comprises proportional, integral and derivative arithmetic units. The first digital error signal is provided to the proportional and derivative arithmetic units. The second digital error signal is provided to the integral arithmetic unit.


A more complete understanding of the system and method for digitally controlling a switched mode voltage regulator will be afforded to those skilled in the art, as well as a realization of additional advantages and objects thereof, by a consideration of the following detailed description of the preferred embodiment. Reference will be made to the appended sheets of drawings, which will first be described briefly.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 depicts a switched mode voltage regulator having a conventional digital control circuit;



FIG. 2 depicts a switched mode voltage regulator having a digital control circuit with a second analog control loop;



FIG. 3 depicts a switched mode voltage regulator having a digital double-loop control circuit in accordance with a first embodiment of the invention;



FIG. 4 depicts an exemplary digital filter for use in the digital double-loop control circuit of FIG. 3;



FIG. 5 depicts a switched mode voltage regulator having a digital double-loop control circuit in accordance with a second embodiment of the invention;



FIG. 6 depicts an exemplary digital filter for use in the digital double-loop control circuit of FIG. 5;



FIG. 7 depicts a switched mode voltage regulator having a digital double-loop control circuit in accordance with a third embodiment of the invention; and



FIG. 8 depicts an exemplary digital controller with setpoint modulation for use with respect to the digital double-loop control circuit of FIG. 7.





DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

The present invention provides a digital double-loop output voltage control circuit for controlling a switched mode voltage regulator. In the detailed description that follows, like element numerals are used to describe like elements illustrated in one or more figures.



FIG. 1 depicts a switched mode voltage regulator 10 having a conventional digital control circuit. The voltage regulator 10 comprises a buck converter topology to convert an input DC voltage Vin to an output DC voltage Vo applied to a resistive load 20 (Rload). The voltage regulator 10 includes a pair of power switches 12, 14 provided by MOSFET devices. The drain terminal of the high side power switch 12 is coupled to the input voltage Vin, the source terminal of the low side power switch 14 is connected to ground, and the source terminal of power switch 12 and the drain terminal of power switch 14 are coupled together to define a phase node. An output inductor 16 is coupled in series between the phase node and the terminal providing the output voltage Vo, and a capacitor 18 is coupled in parallel with the resistive load Rload. Respective drivers 22, 24 alternatingly drive the gate terminals of the power switches 12, 14. In turn, digital control circuit 30 (described below) controls operation of the drivers 22, 24. The opening and closing of the power switches 12, 14 provides an intermediate voltage having a generally rectangular waveform at the phase node, and the filter formed by the output inductor 16 and capacitor 18 converts the rectangular waveform into a substantially DC output voltage Vo.


The digital control circuit 30 receives a feedback signal from the output portion of the voltage regulator 10. As shown in FIG. 1, the feedback signal corresponds to the output voltage Vo, though it should be appreciated that the feedback signal could alternatively (or additionally) correspond to the output current drawn by the resistive load Rload or a combination thereof. The feedback path may further include a voltage divider provided by resistors 26, 28 to reduce the detected output voltage Vo to a representative voltage level. The digital control circuit 30 provides a pulse width modulated waveform having a duty cycle controlled to regulate the output voltage Vo (or output current) at a desired level. Even though the exemplary voltage regulator 10 is illustrated as having a buck converter topology, it should be understood that the use of feedback loop control of the voltage regulator 10 using the digital control circuit 30 is equally applicable to other known voltage regulator topologies, such as boost and buck-boost converters in isolated or non-isolated configurations.


More particularly, the digital control circuit 30 includes subtractor 32, analog-to-digital converter (ADC) 34, digital filter 36, and digital pulse width modulator (DPWM) 38. The subtractor 32 receives as inputs the feedback signal (i.e., output voltage Vo) and a voltage reference (Ref) and provides an analog voltage error signal (Ref-Vo). The ADC 34 produces a digital representation of the voltage error signal. The digital filter 36 has a transfer function H(z) that transforms the voltage error signal to a digital output provided to the DPWM 38, which converts the digital output into a waveform having a proportional pulse width. As discussed above, the pulse-modulated waveform produced by the DPWM 38 is coupled to the gate terminals of the power switches 12, 14 through respective drivers 22, 24. The digital filter 36 may further comprise an infinite impulse response (IIR) filter having filter coefficients that may be selectively modified through a suitable input to thereby alter the performance characteristics of the digital filter. As discussed above, a drawback of the conventional digital control circuit 30 is that the subtractor 32 has limited static accuracy.


To improve the output voltage set point accuracy of the digital control circuit 30, a second analog control loop 40 may be added, as shown in FIG. 2. The second control loop includes an amplifier 46 and an integrator 48. As with the first control loop, the second control loop 40 receives a feedback signal from the output portion of the voltage regulator 10 that corresponds to the output voltage Vo. The feedback path may further include a voltage divider provided by resistors 42, 44 to reduce the detected output voltage Vo to a representative voltage level. The feedback signal is provided to the inverting input terminal of the amplifier 46, and the non-inverting input terminal of the amplifier is coupled to a reference voltage. The amplifier 46 is selected to have lower bandwidth than the subtractor 32, thereby allowing greater accuracy with lower speed. The output of the amplifier 46 is provided to the integrator 48, which in turn provides an adjusting voltage to the subtractor 32 of the first loop through a suitable resistor. The integrator 48 assures that the error signal of the second control loop remains at zero during steady state operation. The first control loop provides fast transient response, while the second control loop provides high DC accuracy under steady state conditions.


Referring now to FIG. 3, a switched mode voltage regulator having a digital double-loop control circuit is illustrated in accordance with a first embodiment of the invention. The digital control circuit includes a serial interface 52 that permits bidirectional data communication with a host system to receive data to control operation of the digital control circuit, and hence the voltage regulator, and to send status information back to the host system. A digital-to-analog converter 56 is coupled to the serial interface 52. A digital reference value provided from the host system via the serial interface 52 (or retained in memory within the serial interface 52) is converted by the digital-to-analog converter 56 to a reference voltage, that is in turn provided to the subtractor 32 for comparison to the representation of the output voltage VO. This way, the host system can define the reference voltage, and thereby control the output voltage VO. The serial interface 52 also communicates filter coefficient values to the digital filter 36 from the host system to thereby control the characteristics of the digital filter 36. In these respects, the digital control circuit includes a first control loop that is substantially the same as the circuit described above with respect to FIG. 1.


A second digital control loop is provided by analog-to-digital converter 58 and a digital filter circuit 70. The analog-to-digital converter 58 receives a feedback signal corresponding to the output voltage Vo, reduced to a representative voltage level by voltage divider provided by resistors 62, 66. The analog-to-digital converter 58 is coupled to the serial interface 52 through a monitoring circuit 54. This way, the analog-to-digital converter 58 provides an accurate digital measurement of the output voltage, and this information may be communicated back to the host system through the monitoring circuit and the serial interface 52. In a preferred embodiment of the invention, the digital-to-analog converter 56 has a much lower resolution than the monitoring analog-to-digital converter 58. The resolution of the digital-to-analog converter 56 is selected to correspond to the specific supply voltage requirements of different loads Rload. The analog-to-digital converter 34 has a small conversion range, but needs to be fast. Since there is always some residual ripple voltage present at the output of the regulator and the analog-to-digital converter 34 needs to have a fast response time, the ripple voltage cannot be filtered out since this would slow down the conversion process. The ripple therefore yields to an additional error signal in the first loop. The monitoring analog-to-digital converter 58 can run with a rather low sampling rate, but it should be accurate. To increase accuracy, the monitoring analog-to-digital converter 58 will include an anti-aliasing filter on its input which also will reduce the ripple voltage seen on the output of the regulator. This analog-to-digital converter 58 will therefore measure the true average value of the output and therefore has inherently better accuracy than the analog-to-digital converter 34.


The digital filter circuit 70 further includes a digital comparator 76, a digital filter 74, and a variable resistor 72. The digital comparator 76 receives at a first input the digital reference value provided by the host system and at a second input the digital measurement of the output voltage VO, and produces a digital error value. The digital error value passes through the digital filter 74 and controls the setting of the variable resistor 72. The variable resistor 72 is part of the voltage divider defined by resistors 28 and 64. Accordingly, the representation of the output voltage VO provided to the subtractor 32 may be adjusted by controlling the setting of the variable resistor 72.



FIG. 4 illustrates an embodiment of the digital filter circuit 70 in greater detail. As discussed above, the digital reference value will usually have less resolution than the monitoring output of the analog-to-digital converter 58. In the embodiment of the FIG. 4, the reference signal has nine-bit resolution and the monitoring output has twelve-bit resolution. A digital comparator 82 is shown as having two twelve-bit inputs. The reference signal is multiplied by eight (i.e., by adding three trailing 0 bits) to scale it to the same width as the monitoring output. The digital comparator 82 compares the values and generates two outputs (i.e., A>B, and A<B). The two signals control an up/down counter 84 that acts as an integrator. Thus, the counter is incremented when the reference signal exceeds the monitoring output (A>B), and the counter is decremented when the monitoring output exceeds the reference signal (A<B). The counter 84 is selected such that it does not over-roll (i.e., the count does not go below zero and stops when it has reached its maximum). As shown in FIG. 4, the counter 84 has four-bit resolution with a range from zero to fifteen.


A variable resistor is formed from field effect transistors 861-864, each having a source terminal coupled to ground and respective drain terminals coupled to resistors 882-885. Resistors 881 and 921-924 are coupled together in series and between successive ones of the transistors 861-864. The gate terminals of the transistors 861-864 are coupled to respective bits of the four-bit output of the counter 84. By activating individual ones of the field effect transistors 861-864, and thereby coupling associated ones of the resistors in parallel, the effective resistance of the variable resistor is changed. The values of the resistors may be selected such that the output voltage changes (e.g., from −2% to +2%) when the counter changes from zero to fifteen.


The counter 84 is clocked by a signal having a frequency that is substantially lower than the PWM frequency of the first digital control loop. In an embodiment of the invention, the counter 84 is clocked by a signal having a frequency ranging from 100 to 1000 times lower than the PWM frequency. Accordingly, the second digital control loop is substantially slower than the first digital control loop, yet provides higher accuracy in view of the larger resolution of the monitoring analog-to-digital converter 58.


Since the digital comparator 82 and the counter 84 are simple digital circuits, it is relatively easy to implement these circuits within a single digital control circuit containing both digital control loops. A drawback of this embodiment is that the digital filter 74 still acts on an analog circuit, i.e., the variable resistor 72. Thus, the digital correction value is converted back into an analog signal before acting upon the first digital control loop. It would therefore be further advantageous to have a control circuit that can be implemented using entirely digital circuitry.


Referring now to FIG. 5, a switched mode voltage regulator having a digital double-loop control circuit is illustrated in accordance with a second embodiment of the invention. This embodiment differs from the preceding embodiment by including a digital filter circuit 100 having a digital comparator 102, a digital filter 104, and adder 106. As in the preceding embodiment, the digital comparator 102 compares the digital reference value provided by the host system (or retained in memory) with the digital measurement of the output voltage VO, and produces a digital error value. The digital error value passes through the digital filter 104 and provides a digital value to the adder 106. The adder combines the digital reference value with the filtered digital value to produce an adjusted digital reference value. The adjusted digital reference value is provided to digital-to-analog converter 56, which converts the digital reference value to a reference voltage that is in turn provided to the subtractor 32 for comparison to the representation of the output voltage VO. Thus, the digital filter 104 modifies the reference value directly instead of using the resistor divider of the first control loop.


Since the reference digital-to-analog converter 56 has lower resolution than the monitoring analog-to-digital converter 58, the adjusted digital reference value may fall between discrete points of the digital-to-analog converter, which is exacerbated by the fact that the second digital control loop runs at a much lower frequency. Accordingly, in an embodiment of the invention, the digital filter circuit 100 is adapted to virtually increase the resolution of the reference digital-to-analog converter 56. Moreover, the digital filter circuit 100 takes advantage of the fact that the first digital control loop has a low pass filter characteristic. In particular, if the digital reference value can be switched up and down by one count fast enough, then the first digital control loop will average the switching reference value and present an average reference value at the output of the reference digital-to-analog converter 56.


More specifically, FIG. 6 shows the digital filter circuit 100 of FIG. 5 in greater detail. The digital filter circuit includes a phase accumulator that provides dithering of the digital reference value. The digital filter circuit is further illustrated as including counter 112, adders 114, 116, 120, and phase converter 118. As in the embodiment of FIG. 4, digital comparator 102 compares the monitored and referenced values and generates two outputs (i.e., A>B, and A<B). The two signals control an up/down counter 112 that acts as an integrator. Thus, the counter is incremented when the reference signal exceeds the monitoring output (A>B), and the counter is decremented when the monitoring output exceeds the reference signal (A<B). The counter 112 generates a six-bit digital error value that is divided such that the most significant two bits are provided to the adder 114 and the least significant four bits are provided to the adder 120. These least significant bits are considered to be the fractional part of the correction signal and are dithered over time by the phase register 118, which stores a continuous sum of the four-bit error values. The adder 120, which combined with the phase register 118 provides a phase accumulator in which the lower four bits of the error value are added to the phase value, is in turn fed back to the phase register. Whenever the adder 120 overflows, it produces a carry bit that is provided to adder 116. By adding the carry from the digital error value produced by adder 114, the adder 116 results in dithering of the fractional part of the digital error value E(5:0).


By way of example, the average value of the dithered reference can be set in increments ranging from 0, 1/16, 2/16. . . . 15/16, . . . 3 14/16, 3 15/16, etc. Thus, the resolution of the digital-to-analog converter 56 resolution can be programmed in fractional amounts to permit controlling of the output voltage of the first loop in a more accurate way without requiring a digital-to-analog converter having high resolution.


Referring now to FIG. 7, a switched mode voltage regulator having a digital double-loop control circuit is illustrated in accordance with a third embodiment of the invention. This embodiment differs from the preceding embodiments by converting the output voltage VO directly into a digital value, instead of the error of the output voltage VO. The output voltage VO is applied directly to the analog-to-digital converter 34, which provides a digital value to a subtractor 132. As in the preceding embodiment, the digital comparator 102 receives at a first input the digital reference value provided by the host system and at a second input the digital measurement of the output voltage VO, and produces a digital error value. The digital error value passes through the digital filter 104 and provides a digital value to the adder 106. The adder 106 combines the digital reference value with the filtered digital value to produce an adjusted digital reference value. The adjusted digital reference value is provided to the subtractor 132, which subtracts the digital value of the output voltage VO from the adjusted digital reference value.


As with the preceding embodiment, the digital filter 104 modifies the reference value directly instead of using a resistor divider in the first control loop. But, a drawback with this arrangement is that a time varying reference value as generated by the second feedback phase accumulator adds noise into the main feedback loop. This negatively affects the output voltage ripple and noise of the switched mode voltage regulator.



FIG. 8 illustrates a digital controller for use in a switched mode voltage regulator that minimizes the noise in the main feedback loop. Both the main loop and secondary loop are split so that the reference value includes a time invariant portion (i.e., that changes slowly) and a time varying portion that contains modulation to provide fractional least significant bit (LSB) set point accuracies. In the main loop, the digital filter is implemented as a classical PID filter with distinct proportional 144, integral 146, and derivative 142 arithmetic units having outputs combined by adder 148. As in FIG. 7, the adjusted digital reference value is provided to the subtractor 132, which subtracts the digital value of the output voltage VO from the adjusted digital reference value to yield a first error signal (VERR1[7:0]). The first error signal is provided directly to the derivative and proportional arithmetic units 142, 144, and is added to the time varying portion of the reference value (Carry) by adder 152 to yield a second error signal (VERR2[7:0]). The second error signal is provided to the integral arithmetic unit 146. The combined outputs of the proportional, integral, and derivative arithmetic units 144, 146, 144 are provided to the digital pulse width modulator (DPWM) 38.


As in FIG. 7, the secondary loop includes a digital filter that includes a phase accumulator that provides dithering of the digital reference value. The digital filter includes a counter 162, adder 174, and phase converter 172. The counter 162 and phase converter 172 are driven by a common clock. The digital comparator 102 compares the monitored and referenced voltage values and generates two outputs (i.e., A>B, and A<B). The two signals control the up/down counter 162 that acts as an integrator. Thus, the counter 162 is incremented when the reference signal exceeds the monitoring output (A>B), and the counter is decremented when the monitoring output exceeds the reference signal (A<B). The counter 162 generates a six-bit digital error value (E[5:0]) that is divided such that the most significant two bits (E[5:4]) are provided to the adder 106 and the least significant four bits (E[3:0]) are provided to the adder 174. These least significant bits are considered to be the fractional part of the correction signal and are dithered over time by the phase register 172, which stores a continuous sum of the four-bit error values. The adder 174, which combined with the phase register 172 provides a phase accumulator 170 in which the lower four bits of the error value are added to the phase value, is in turn fed back to the phase register. Whenever the adder 174 overflows, it produces a carry bit that is provided to adder 152. By adding the carry from the digital error value produced by adder 174, the adder 152 results in dithering of the fractional part of the digital error value E(5:0).


The integral arithmetic unit 146 of the filter sets the output voltage VO average value. The proportional and derivative arithmetic units 144, 142 assure good transient response. By providing the time varying error value only to the integral part of the digital filter, the invention achieves two objectives. First, the measurement of the output voltage VO in the main loop will settle to the average of the time varying reference value, which is a fractional part of the least significant bit (LSB) of the output of the analog-to-digital converter 34 (VO[7:0]). This allows the average output voltage VO to be set with smaller steps than the analog-to-digital converter 34 would normally allow. Second, the time varying portion of the reference value is only presented to the integral arithmetic unit 146 of the digital filter. Since an integrator provides a low pass filter, the variation of the reference value is highly attenuated by the integral arithmetic unit 146. This keeps the added noise of the control loop to a minimum.


Having thus described a preferred embodiment of a system and method for digitally controlling a switched mode voltage regulator, it should be apparent to those skilled in the art that certain advantages of the system have been achieved. It should also be appreciated that various modifications, adaptations, and alternative embodiments thereof may be made within the scope and spirit of the present invention. The invention is further defined by the following claims.

Claims
  • 1. A voltage regulator comprising: at least one power switch adapted to convey power between respective input and output terminals of said voltage regulator; anda digital controller adapted to control operation of said at least one power switch responsive to an output of said voltage regulator, said digital controller comprising: a first digital control loop including a first analog-to-digital converter providing a first digital measurement of said voltage regulator output, a digital filter providing a digital control output based on a first digital error signal and a second digital error signal, and a digital pulse width modulator providing a control signal to said at least one power switch based on said digital control output, the first digital error signal comprising a difference between the first digital measurement and a digital reference value, the second digital error signal comprising a sum of the first digital error signal and a time varying portion of the digital reference value; anda second digital control loop including a second analog-to-digital converter providing a second digital measurement of said voltage regulator output, said second analog-to-digital converter having greater resolution than said first analog-to-digital converter, said second digital control loop providing the digital reference value based on a desired output voltage setpoint, said second digital control loop providing said time varying portion of the digital reference value based on a difference between said second digital measurement and said output voltage setpoint.
  • 2. The voltage regulator of claim 1, further comprising a serial interface operatively coupled to said second digital control loop and adapted to receive said output voltage setpoint.
  • 3. The voltage regulator of claim 2, wherein said serial interface is further adapted to transmit said second digital measurement to a host.
  • 4. The voltage regulator of claim 1, wherein said digital filter comprises proportional, integral and derivative arithmetic units.
  • 5. The voltage regulator of claim 4, wherein said first digital error signal is provided to said proportional and derivative arithmetic units.
  • 6. The voltage regulator of claim 4, wherein said second digital error signal is provided to said integral arithmetic unit.
  • 7. The voltage regulator of claim 1, wherein said second digital control loop further comprises a digital comparator receiving said second digital measurement and said output voltage setpoint, and a counter operatively coupled to said digital comparator, said counter counting in a first direction if said second digital measurement is less than said output voltage setpoint and counting in an opposite direction if said second digital measurement is more than said output voltage setpoint.
  • 8. The voltage regulator of claim 7, wherein said second digital control loop further comprises a phase accumulator operatively coupled to the counter that provides said time varying portion of the digital reference value.
  • 9. The voltage regulator of claim 1, wherein said second digital control loop adjusts said digital reference value relatively slowly in correspondence with said second digital measurement.
  • 10. The voltage regulator of claim 1, wherein said first analog-to-digital converter has a sampling rate substantially higher rate than a corresponding sampling rate of said second analog-to-digital converter.
  • 11. A method of controlling a voltage regulator comprising at least one power switch adapted to convey power between input and output terminals of said voltage regulator, said method comprising: receiving first and second output measurements of said voltage regulator;sampling said first output measurement to provide a first digital error signal representing a difference between said output measurement and a reference value;sampling said second output measurement to provide a time varying portion of a difference between said second output measurement and a reference value;combining the time varying portion with the first digital error signal to provide a second digital error signal;filtering said first and second digital error signals to provide a digital control output; andproviding a control signal to said at least one power switch, said control signal having a pulse width corresponding to said digital control output;wherein, said first sampling step is performed at substantially higher speed and lower resolution than said second sampling step.
  • 12. The method of claim 11, further comprising receiving reference data defining said reference value.
  • 13. The method of claim 11, further comprising sending monitor data corresponding to said second output measurement.
  • 14. The method of claim 11, wherein said filtering step further comprises derivative and proportional filtering the first digital error signal and integral filtering the second digital error signal.
  • 15. The method of claim 11, further comprising adjusting said reference value using said second output measurement.
  • 16. The method of claim 11, wherein the time varying portion further comprises at least one least significant bit of the difference between said second output measurement and a reference value.
  • 17. A digital controller for a voltage regulator having at least one power switch adapted to convey power between respective input and output terminals of said voltage regulator, said digital controller being adapted to control operation of said at least one power switch responsive to an output of said voltage regulator, said digital controller comprising: a first digital control loop including a first analog-to-digital converter providing a first digital measurement of said voltage regulator output, a digital filter providing a digital control output based on a first digital error signal and a second digital error signal, and a digital pulse width modulator providing a control signal to said at least one power switch based on said digital control output, the first digital error signal comprising a difference between the first digital measurement and a digital reference value, the second digital error signal comprising a sum of the first digital error signal and a time varying portion of the digital reference value; anda second digital control loop including a second analog-to-digital converter providing a second digital measurement of said voltage regulator output, said second analog-to-digital converter having greater resolution than said first analog-to-digital converter, said second digital control loop providing the digital reference value based on a desired output voltage setpoint, said second digital control loop providing said time varying portion of the digital reference value based on a difference between said second digital measurement and said output voltage setpoint.
  • 18. The digital controller of claim 17, further comprising a serial interface operatively coupled to said second digital control loop and adapted to receive said output voltage setpoint.
  • 19. The digital controller of claim 18, wherein said serial interface is further adapted to transmit said second digital measurement to a host.
  • 20. The digital controller of claim 17, wherein said digital filter comprises proportional, integral and derivative arithmetic units.
  • 21. The digital controller of claim 20, wherein said first digital error signal is provided to said proportional and derivative arithmetic units.
  • 22. The digital controller of claim 20, wherein said second digital error signal is provided to said integral arithmetic unit.
  • 23. The digital controller of claim 17, wherein said second digital control loop further comprises a digital comparator receiving said second digital measurement and said output voltage setpoint, and a counter operatively coupled to said digital comparator, said counter counting in a first direction if said second digital measurement is less than said output voltage setpoint and counting in an opposite direction if said second digital measurement is more than said output voltage setpoint.
  • 24. The digital controller of claim 23, wherein said second digital control loop further comprises a phase accumulator operatively coupled to the counter that provides said time varying portion of the digital reference value.
  • 25. The digital controller of claim 17, wherein said second digital control loop adjusts said digital reference value relatively slowly in correspondence with said second digital measurement.
  • 26. The digital controller of claim 17, wherein said first analog-to-digital converter has a sampling rate substantially higher rate than a corresponding sampling rate of said second analog-to-digital converter.
RELATED APPLICATION DATA

This patent application is a continuation-in-part (CIP) of application Ser. No. 11/605,045, filed Nov. 27, 2006, now U.S. Pat. No. 7,394,236 which was a continuation of application Ser. No. 11/084,766, filed Mar. 18, 2005, now issued as U.S. Pat. No. 7,141,956 on Nov. 28, 2006.

US Referenced Citations (216)
Number Name Date Kind
429581 Tan Jun 1890 A
3660672 Berger et al. May 1972 A
4194147 Payne et al. Mar 1980 A
4204249 Dye et al. May 1980 A
4328429 Kublick et al. May 1982 A
4335445 Nercessian Jun 1982 A
4451773 Papathomas et al. May 1984 A
4538073 Freige et al. Aug 1985 A
4538101 Shimpo et al. Aug 1985 A
4607330 McMurray et al. Aug 1986 A
4616142 Upadhyay et al. Oct 1986 A
4622627 Rodriguez et al. Nov 1986 A
4630187 Henze Dec 1986 A
4654769 Middlebrook Mar 1987 A
4677566 Whittaker et al. Jun 1987 A
4761725 Henze Aug 1988 A
4940930 Detweiler Jul 1990 A
4988942 Ekstrand Jan 1991 A
5004972 Roth Apr 1991 A
5053920 Staffiere et al. Oct 1991 A
5073848 Steigerwald et al. Dec 1991 A
5079498 Cleasby et al. Jan 1992 A
5117430 Berglund May 1992 A
5168208 Schultz et al. Dec 1992 A
5229699 Chu et al. Jul 1993 A
5270904 Gulczynski Dec 1993 A
5272614 Brunk et al. Dec 1993 A
5287055 Cini et al. Feb 1994 A
5349523 Inou et al. Sep 1994 A
5377090 Steigerwald Dec 1994 A
5398029 Toyama et al. Mar 1995 A
5426425 Conrad et al. Jun 1995 A
5481140 Maruyama et al. Jan 1996 A
5489904 Hadidi Feb 1996 A
5508606 Ryczek Apr 1996 A
5532577 Doluca Jul 1996 A
5610826 Whetsel Mar 1997 A
5627460 Bazinet et al. May 1997 A
5631550 Castro et al. May 1997 A
5646509 Berglund et al. Jul 1997 A
5675480 Stanford Oct 1997 A
5684686 Reddy Nov 1997 A
5727208 Brown Mar 1998 A
5752047 Darty et al. May 1998 A
5815018 Soborski Sep 1998 A
5847950 Bhagwat Dec 1998 A
5870296 Schaffer Feb 1999 A
5872984 Berglund et al. Feb 1999 A
5874912 Hasegawa Feb 1999 A
5883797 Amaro et al. Mar 1999 A
5889392 Moore et al. Mar 1999 A
5892933 Voltz Apr 1999 A
5905370 Bryson May 1999 A
5917719 Hoffman et al. Jun 1999 A
5929618 Boylan et al. Jul 1999 A
5929620 Dobkin et al. Jul 1999 A
5935252 Berglund et al. Aug 1999 A
5943227 Bryson et al. Aug 1999 A
5946495 Scholhamer et al. Aug 1999 A
5990669 Brown Nov 1999 A
5994885 Wilcox et al. Nov 1999 A
6005377 Chen et al. Dec 1999 A
6021059 Kennedy Feb 2000 A
6055163 Wagner et al. Apr 2000 A
6057607 Rader, III et al. May 2000 A
6079026 Berglund et al. Jun 2000 A
6100676 Burstein et al. Aug 2000 A
6111396 Line et al. Aug 2000 A
6115441 Douglass et al. Sep 2000 A
6121760 Marshall et al. Sep 2000 A
6136143 Winter et al. Oct 2000 A
6137280 Ackermann Oct 2000 A
6150803 Varga Nov 2000 A
6157093 Giannopoulos et al. Dec 2000 A
6157182 Tanaka et al. Dec 2000 A
6160697 Edel Dec 2000 A
6163143 Shimamori Dec 2000 A
6163178 Stark et al. Dec 2000 A
6170062 Henrie Jan 2001 B1
6177787 Hobrecht Jan 2001 B1
6181029 Berglund et al. Jan 2001 B1
6191566 Petricek et al. Feb 2001 B1
6194856 Kobayashi et al. Feb 2001 B1
6194883 Shimamori Feb 2001 B1
6198261 Schultz et al. Mar 2001 B1
6199130 Berglund et al. Mar 2001 B1
6208127 Doluca Mar 2001 B1
6211579 Blair Apr 2001 B1
6246219 Lynch et al. Jun 2001 B1
6249111 Nguyen Jun 2001 B1
6262900 Suntio Jul 2001 B1
6288595 Hirakata et al. Sep 2001 B1
6291975 Snodgrass Sep 2001 B1
6294954 Melanson Sep 2001 B1
6304066 Wilcox et al. Oct 2001 B1
6304823 Smit et al. Oct 2001 B1
6320768 Pham et al. Nov 2001 B1
6351108 Burstein et al. Feb 2002 B1
6355990 Mitchell Mar 2002 B1
6366069 Nguyen et al. Apr 2002 B1
6373334 Melanson Apr 2002 B1
6385024 Olson May 2002 B1
6392577 Swanson et al. May 2002 B1
6396169 Voegli et al. May 2002 B1
6396250 Bridge May 2002 B1
6400127 Giannopoulos Jun 2002 B1
6411071 Schultz Jun 2002 B1
6411072 Feldman Jun 2002 B1
6421259 Brooks et al. Jul 2002 B1
6429630 Pohlman et al. Aug 2002 B2
6448745 Killat Sep 2002 B1
6448746 Carlson Sep 2002 B1
6456044 Darmawaskita Sep 2002 B1
6465909 Soo et al. Oct 2002 B1
6465993 Clarkin et al. Oct 2002 B1
6469478 Curtin Oct 2002 B1
6469484 L'Hermite et al. Oct 2002 B2
6476589 Umminger et al. Nov 2002 B2
6556158 Steensgaard-Madsen Apr 2003 B2
6563294 Duffy et al. May 2003 B2
6583608 Zafarana et al. Jun 2003 B2
6590369 Burstein et al. Jul 2003 B2
6608402 Soo et al. Aug 2003 B2
6614612 Menegoli et al. Sep 2003 B1
6621259 Jones et al. Sep 2003 B2
6665525 Dent et al. Dec 2003 B2
6683494 Stanley Jan 2004 B2
6686831 Cook Feb 2004 B2
6693811 Bowman et al. Feb 2004 B1
6717389 Johnson Apr 2004 B1
6731023 Rothleitner et al. May 2004 B2
6744243 Daniels et al. Jun 2004 B2
6771052 Ostojic Aug 2004 B2
6778414 Chang et al. Aug 2004 B2
6788033 Vinciarelli Sep 2004 B2
6788035 Bassett et al. Sep 2004 B2
6791298 Shenai et al. Sep 2004 B2
6791302 Tang et al. Sep 2004 B2
6791368 Tzeng et al. Sep 2004 B2
6795009 Duffy et al. Sep 2004 B2
6801027 Hann et al. Oct 2004 B2
6807070 Ribarich Oct 2004 B2
6816758 Maxwell, Jr. et al. Nov 2004 B2
6819537 Pohlman et al. Nov 2004 B2
6828765 Schultz et al. Dec 2004 B1
6829547 Law et al. Dec 2004 B2
6833691 Chapuis Dec 2004 B2
6850046 Chapuis Feb 2005 B2
6850049 Kono Feb 2005 B2
6850426 Kojori et al. Feb 2005 B2
6853169 Burstein et al. Feb 2005 B2
6853174 Inn Feb 2005 B1
6888339 Travaglini et al. May 2005 B1
6903949 Ribarich Jun 2005 B2
6911808 Shimamori Jun 2005 B1
6915440 Berglund et al. Jul 2005 B2
6917186 Klippel et al. Jul 2005 B2
6928560 Fell, III et al. Aug 2005 B1
6933709 Chapuis Aug 2005 B2
6933711 Sutardja et al. Aug 2005 B2
6936999 Chapuis Aug 2005 B2
6947273 Bassett et al. Sep 2005 B2
6963190 Asanuma et al. Nov 2005 B2
6965220 Kernahan et al. Nov 2005 B2
6965502 Duffy et al. Nov 2005 B2
6975494 Tang et al. Dec 2005 B2
6977492 Sutardja et al. Dec 2005 B2
7000315 Chua et al. Feb 2006 B2
7007176 Goodfellow et al. Feb 2006 B2
7023672 Goodfellow et al. Apr 2006 B2
7068021 Chapuis Jun 2006 B2
7080265 Thaker et al. Jul 2006 B2
7141956 Chapuis Nov 2006 B2
7266709 Chapuis et al. Sep 2007 B2
7315157 Chapuis Jan 2008 B2
7315160 Fosler Jan 2008 B2
7394445 Chapuis et al. Jul 2008 B2
20010033152 Pohlman et al. Oct 2001 A1
20010052862 Roelofs Dec 2001 A1
20020070718 Rose Jun 2002 A1
20020073347 Zafarana et al. Jun 2002 A1
20020075710 Lin Jun 2002 A1
20020104031 Tomlinson et al. Aug 2002 A1
20020105227 Nerone et al. Aug 2002 A1
20020144163 Goodfellow et al. Oct 2002 A1
20030006650 Tang et al. Jan 2003 A1
20030067404 Ruha et al. Apr 2003 A1
20030122429 Zhang et al. Jul 2003 A1
20030137912 Ogura Jul 2003 A1
20030142513 Vinciarelli Jul 2003 A1
20030201761 Harris Oct 2003 A1
20040027101 Vinciarelli Feb 2004 A1
20040080044 Moriyama et al. Apr 2004 A1
20040090219 Chapuis May 2004 A1
20040093533 Chapuis et al. May 2004 A1
20040123164 Chapuis et al. Jun 2004 A1
20040123167 Chapuis Jun 2004 A1
20040135560 Kernahan et al. Jul 2004 A1
20040155640 Sutardja et al. Aug 2004 A1
20040174147 Vinciarelli Sep 2004 A1
20040178780 Chapuis Sep 2004 A1
20040189271 Hansson et al. Sep 2004 A1
20040201279 Templeton Oct 2004 A1
20040225811 Fosler Nov 2004 A1
20040246754 Chapuis Dec 2004 A1
20050093594 Kim et al. May 2005 A1
20050117376 Wilson Jun 2005 A1
20050146312 Kenny et al. Jul 2005 A1
20050200344 Chapuis Sep 2005 A1
20050289373 Chapuis et al. Dec 2005 A1
20060022656 Leung et al. Feb 2006 A1
20060149396 Templeton Jul 2006 A1
20060174145 Chapuis et al. Aug 2006 A1
20060244570 Leung et al. Nov 2006 A1
20060250120 King Nov 2006 A1
20070114985 Latham et al. May 2007 A1
Foreign Referenced Citations (21)
Number Date Country
2521825 Nov 2002 CN
0255258 Feb 1988 EP
315366 May 1989 EP
0401562 Dec 1990 EP
0660487 Jun 1995 EP
0875994 Nov 1998 EP
0877468 Nov 1998 EP
0997825 May 2000 EP
2377094 Dec 2002 GB
60-244111 Dec 1985 JP
1185329 Mar 1999 JP
200284495 Aug 2002 KR
1814177 May 1993 RU
1359874 Dec 1985 SU
WO9319415 Sep 1993 WO
WO 0122585 Mar 2001 WO
WO0231943 Apr 2002 WO
WO0231951 Apr 2002 WO
WO0250690 Jun 2002 WO
WO02063688 Aug 2002 WO
WO 03030369 Apr 2003 WO
Related Publications (1)
Number Date Country
20070182391 A1 Aug 2007 US
Continuations (1)
Number Date Country
Parent 11084766 Mar 2005 US
Child 11605045 US
Continuation in Parts (1)
Number Date Country
Parent 11605045 Nov 2006 US
Child 11671889 US