Self tracking ADC for digital power supply control systems
View Patent ↗A self-tracking analog-to-digital converter includes a digital-to-analog converter (DAC) adapted to provide a variable reference voltage, a windowed flash analog-to-digital converter (ADC) adapted to provide an error signal e k corresponding to a difference between an input voltage V i and the variable reference voltage, and digital circuitry adapted to generate suitable control signals for the DAC based on the error signal e k . More particularly, the digital circuitry includes a first digital circuit adapted to provide a first function value f(e k ) in response to the error signal e k , the first function value f(e k ) representing an amount of correction to be applied to the variable reference voltage. A second digital circuit is adapted to provide a counter that combines the first function value f(e k ) with a previous counter state N k to provide a next counter state N k+1 , the next counter state N k+1 being applied as an input to the digital-to-analog converter. A third digital circuit is adapted to scale the previous counter state N k by a factor M and combine the scaled counter state M·N k with the error signal e k to provide a digital output value D k representing the input voltage V i .
1. A switched mode power supply comprising:
at least one power switch adapted to convey power between input and output terminals of said power supply; and
a digital controller adapted to control operation of said at least one power switch responsive to an output measurement of said power supply, said digital controller comprising:
a digital-to-analog converter (DAC) adapted to provide a variable reference voltage;
a windowed flash analog-to-digital converter (ADC) adapted to provide an error signal e k corresponding to a difference between the output measurement and the variable reference voltage;
a first digital circuit adapted to generate a first function value f(e k ) in response to the error signal e k , the first function value f(e k ) representing an amount of correction to be applied to the variable reference voltage;
a second digital circuit adapted to provide a counter that combines the first function value f(e k ) with a previous counter state N k to provide a next counter state N k+1 , the next counter state N k+1 being applied as an input to the DAC; and
a third digital circuit adapted to scale the previous counter state N k by a factor M and combine the scaled counter state M·N k with the error signal e k to provide a digital output value D k representing the output measurement;
a digital filter providing a digital control output based on a difference between the digital output value D k and a reference value; and
a digital pulse width modulator providing a control signal to said at least one power switch, said control signal having a pulse width corresponding to said digital control output.
2. The switched mode power supply of claim 1 , wherein the DAC has a resolution that is lower than a corresponding mid-band resolution of the ADC by the factor M.
3. The switched mode power supply of claim 1 , wherein the first digital circuit further comprises a look-up table.
4. The switched mode power supply of claim 1 , wherein the first digital circuit is further adapted to provide a second function value g(e k ) corresponding to a difference between the error signal e k and the first function value f(e k ) scaled by M.
5. The self-tracking analog-to-digital converter of claim 4 , wherein the first digital circuit provides the second function value g(e k ) in accordance with the following expression:
g ( e k )= e k −M ·ROUND( e k /M ).
6. The switched mode power supply of claim 1 , wherein the ADC has a transfer function providing a substantially linear region at a center of a corresponding error window.
7. The switched mode power supply of claim 6 , wherein said transfer function further comprises a first step size in said center of said error window and at least one additional step size in a peripheral region of said error window, each said at least one additional step size being larger than said first step size.
8. The switched mode power supply of claim 7 , wherein said first step size and said at least one additional step size each reflect a linear relationship between said voltage difference and said corresponding digital values.
9. The switched mode power supply of claim 7 , wherein said first step size reflects a linear relationship between said voltage difference and said corresponding digital values, and said at least one additional step size reflects a non-linear relationship between said voltage difference and said corresponding digital values.
10. The switched mode power supply of claim 1 , wherein said digital filter further comprises an infinite impulse response filter.
11. The switched mode power supply of claim 10 , wherein said infinite impulse response filter provides the following transfer function G(z):
G
(
z
)
=
PWM
(
z
)
VEd
(
z
)
=
C
0
+
C
1
·
z
-
1
+
C
2
·
z
-
2
+
…
+
C
n
·
z
-
n
1
-
B
1
·
z
-
1
-
B
2
·
z
-
2
-
…
-
B
n
·
z
-
n
wherein PWM(z) is the digital control output, VEd(z) is an error signal, C 0 . . . C n are input side coefficients, and B 1 . . . B n are output side coefficients.
12. The switched mode power supply of claim 1 , further comprising a voltage divider operatively coupled to the output terminals of the power supply to provide the output measurement.