The invention relates to an integrator and to an error amplifier incorporating the integrator.
Integrators are fundamental building blocks that are used in a great variety of applications. A conventional integrator basically accumulates electric charge in a capacitor and is therefore analog by nature. Some low power applications have a power save mode in which most of the normal functionality is disabled. Examples are portable telecommunication sets which are usually battery-powered. When normal operation is resumed, the application ideally continues as if it had never stopped. If the application uses an integrator, however, the value of the integral will have drifted with time, and there will be a discontinuity upon resumption of normal operation.
The invention provides an integrator that can be switched off for an indefinite period of time without any drift in the value of its integral.
In one implementation, the inventive integrator comprises a comparator, an up/down counter, a clock source connected to a count input of the counter, and a current-steering digital-to-analog converter. The output of the comparator is connected to the up/down control input of the counter; the digital output of the counter is connected to the input of the current-steering digital-to-analog converter; and the current output of the current-steering digital-to-analog converter is fed to a circuit node of defined impedance. Due to the use of a digital counter that replicates an integrating function, the current value of the “integral” is not lost when the integrator is switched off. Upon resumption of regular operation, the integrating function is resumed rapidly and accurately.
The inventive integrator is pseudo-analog: although the integrating function is based on a digital counting operation, the output is a quantized analog value. In a preferred embodiment, the current-steering digital-to-analog converter has differential outputs. Thus, the inventive integrator can be referred to as a fully differential pseudo-analog integrator with a quantized output characteristic. In certain kinds of DC-DC converters, an error amplifier is used in association with an integrator to improve the DC accuracy of the output. Thus, in a specific embodiment of the invention, and the integrator is associated with an error amplifier having a differential input stage with a pair of differential outputs. Each of the differential current outputs of the current-steering analog-to-digital converter is connected to one of the differential outputs of the error amplifier's input stage. The use of the inventive integrator in such an application improves the DC accuracy following resumption of regular operation after a power save condition.
The invention also provides an error amplifier that incorporates an integrator and has a differential input stage with a pair of differential outputs. The integrator comprises a comparator, an up/down counter, a clock source connected to a count input of the counter, and a current-steering digital-to-analog converter with differential current outputs. The output of the comparator is connected to the up/down control input of the counter, and the digital output of the counter is connected to the input of the current-steering digital-to-analog converter. Each of the differential current outputs of the current-steering analog-to-digital converter is connected to one of the differential outputs of the error amplifier's input stage. In such an error amplifier, when regular operation is resumed after a power save condition, the error output is not affected by any drift over time of the integrator's value.
Further advantages and features of the invention will become apparent from the following detailed description with reference to the appended drawings, wherein:
An embodiment of the invention is described with reference to
A comparator 11, in the form of an operational amplifier having differential input voltages IN+ and IN−, has its output connected to an up/down control input UP/DOWN of an N-bit up/down counter 12. A clock 13 is connected to the clock input CLK of the N-bit up/down counter 12. The output of the N-bit up/down counter 12 is connected to the input of a digital-to-analog converter (DAC) 14 so that the output of the N-bit up/down counter 12 is fed directly to the DAC 14.
In the illustrated example, although not required, the DAC 14 is a current-steering DAC having current sources 21 and producing two differential outputs 1+d and 1−d. The outputs of DAC 14 do not have to be differential. The outputs 1+d and 1−d are fed to a circuit node of defined impedance. This is shown in
The input stage 15 of the depicted error amplifier comprises two MOS transistors 16 and 17. The gate of MOS transistor 16 is provided with a positive input voltage IN+ and the gate of MOS transistor 17 is provided with a negative input voltage IN−. The differential inputs applied to the gates of transistors 16, 17 may be, but do not have to be, the same as the differential inputs provided to the comparator 11. A common current source 20 is connected to the sources of both transistors 16, 17. The output 1+d of DAC 14 is fed to the output of the transistor 16, which is also connected to a load resistor 18. The output 1−d of DAC 14 is fed to the output of the transistor 17 which is also connected to a load resistor 19.
Clock 13 generates a square wave pulse signal, which is fed to the clock input CLK of the N-bit up/down counter 12. Comparator 11 compares the two differential input voltages IN+ and IN− and outputs the difference between the two voltages to the up/down control input UP/DOWN of counter 12. If the difference between the two voltages IN+ and IN− is positive, then the counter 12 counts up incrementally. If the difference between the input voltages IN+ and IN− is negative, the counter 12 counts down.
When the integrator is switched off, counter 12 saves the value N to which the counter 12 has counted up or down to at the point of switching the integrator off. Thus, the current value of the integrator integral is not lost and the value of the integral will not drift over time. The counter then feeds the value N directly to the input of DAC 14, so that DAC 14 has a digital input. DAC 14 then converts the value N into the two differential current outputs 1+d and 1−d at the outputs of DAC 14, and the differential currents 1+d and 1−d are fed to the respective nodes at the drains of the transistors 16, 17, which then form the output stage of the a first input stage of error amplifier 15. The output stage of the first input stage of error amplifier 15 can then be fed to further stages in the error amplifier 15.
The value N is equivalent to the integral in an analog integrator but is in fact quantized and based on a digital counting operation. Thus, the output of DAC 14 is a pseudo-analog output, which, however, behaves in the same way as an analog output from a conventional integrator.
Although the invention has been described herein with reference to a specific embodiment, it is not limited to this embodiment and no doubt other embodiments will occur to the skilled person that lie within the scope of the claimed invention.
Number | Date | Country | Kind |
---|---|---|---|
10 2006 034 349 | Jul 2006 | DE | national |
This application claims priority under 35 U.S.C. 119 from German Application No. DE 10 2006 034 349.2 filed Jul. 25, 2006, and from U.S. Provisional Application No. 60/882,375 filed Dec. 28, 2006, the entireties of both of which are incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
4360787 | Galpin | Nov 1982 | A |
4395681 | Hornung et al. | Jul 1983 | A |
6188498 | Link et al. | Feb 2001 | B1 |
20040075462 | Kizer et al. | Apr 2004 | A1 |
20060044065 | Ishida | Mar 2006 | A1 |
Number | Date | Country |
---|---|---|
24 48 925 | Apr 1976 | DE |
05037808 | Feb 1993 | EP |
1 387 479 | Feb 2004 | EP |
2 243 222 | Oct 1991 | GB |
Number | Date | Country | |
---|---|---|---|
20080024209 A1 | Jan 2008 | US |
Number | Date | Country | |
---|---|---|---|
60882375 | Dec 2006 | US |