Integrating ADC
An integrating ADC is a type of analog-to-digital converter that converts an unknown input voltage into a digital representation through the use of an integrator. In its basic implementation, the dual-slope converter, the unknown input voltage is applied to the input of the integrator and allowed to ramp for a fixed time period (the run-up period). Then a known reference voltage of opposite polarity is applied to the integrator and is allowed to ramp until the integrator output returns to zero (the run-down period). The input voltage is computed as a function of the reference voltage, the constant run-up time period, and the measured run-down time period. The run-down time measurement is... Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.
An integrating ADC is a type of analog-to-digital converter that converts an unknown input voltage into a digital representation through the use of an integrator. In its basic implementation, the dual-slope converter, the unknown input voltage is applied to the input of the integrator and allowed to ramp for a fixed time period (the run-up period). Then a known reference voltage of opposite polarity is applied to the integrator and is allowed to ramp until the integrator output returns to zero (the run-down period). The input voltage is computed as a function of the reference voltage, the constant run-up time period, and the measured run-down time period. The run-down time measurement is usually made in units of the converter's clock, so longer integration times allow for higher resolutions. Likewise, the speed of the converter can be improved by sacrificing resolution. Converters of this type can achieve high resolution, but often do so at the expense of speed. For this reason, these converters are not found in audio or signal processing applications. Their use is typically limited to digital voltmeters and other instruments requiring highly accurate measurements. V_\text{out} = -\frac{V_\text{in}}{RC} t_\text{int} + V_\text{initial} Assuming that the initial integrator voltage at the start of each conversion is zero and that the integrator voltage at the end of the run down period will be zero, we have the following two equations that cover the integrator's output during the two phases of the conversion: V_\text{out-up} = -\frac{V_\text{in}}{RC} t_{u} V_\text{out-down} = -\frac{V_\text{ref}}{RC} t_{d} V_\text{out-up} + V_\text{out-down} = 0 The two equations can be combined and solved for V_{in} , the unknown input voltage: V_\text{in} = -V_\text{ref}\frac{t_{d}}{t_{u}} From the equation, one of the benefits of the dual-slope integrating ADC becomes apparent: the measurement is independent of the values of the circuit elements (R and C). This does not mean, however, that the values of R and C are unimportant in the design of a dual-slope integrating ADC (as will be explained below). Note that in the graph, the voltage is shown as going up during the run-up phase and down during the run-down phase. In reality, because the integrator uses the op-amp in a negative feedback configuration, applying a positive V_\text{in} will cause the output of the integrator to go down. The up and down more accurately refer to the process of adding charge to the integrator capacitor during the run-up phase and removing charge during the run-down phase. The resolution of the dual-slope integrating ADC is determined primarily by the length of the run-down period and by the time measurement resolution (i.e., the frequency of the controller's clock). The required resolution (in number of bits) dictates the minimum length of the run-down period for a full-scale input (e.g. V_\text{in} = -V_\text{ref} ): t_{d} = \frac{2^r}{f_\text{clk}} During the measurement of a full-scale input, the slope of the integrator's output will be the same during the run-up and run-down phases. This also implies that the time of the run-up period and run-down period will be equal ( t_{u} = t_{d} ) and that the total measurement time will be 2t_{d} . Therefore, the total measurement time for a full-scale input will be based on the desired resolution and the frequency of the controller's clock: t_{m} = 2\frac{2^r}{f_\text{clk}} Typically the run-up time is chosen to be a multiple of the period of the mains frequency, to suppress mains hum. ===Limitations=== There are limits to the maximum resolution of the dual-slope integrating ADC. It is not possible to increase the resolution of the basic dual-slope ADC to arbitrarily high values by using longer measurement times or faster clocks. Resolution is limited by: The range of the integrating amplifier. The voltage rails on an op-amp limit the output voltage of the integrator. An input left connected to the integrator for too long will eventually cause the op amp to limit its output to some maximum value, making any calculation based on the run-down time meaningless. The integrator's resistor and capacitor are therefore chosen carefully based on the voltage rails of the op-amp, the reference voltage and expected full-scale input, and the longest run-up time needed to achieve the desired resolution. The accuracy of the comparator used as the null detector. Wideband circuit noise limits the ability of the comparator to identify exactly when the output of the integrator has reached zero. Goeke suggests a typical limit is a comparator resolution of 1 millivolt. The quality of the integrator's capacitor. Although the integrating capacitor need not be perfectly linear, it does need to be time-invariant. Dielectric absorption causes linearity errors. V_\text{in} = -V_\text{ref}\frac{R_{a}}{R_{b}} \frac{t_{d}}{t_{u}} Note that this equation, unlike the equation for the basic dual-slope converter, has a dependence on the values of the integrator resistors. Or, more importantly, it has a dependence on the ratio of the two resistance values. This modification does nothing to improve the resolution of the converter (since it doesn't address either of the resolution limitations noted above). V_\text{out} = -\frac{1}{C} \left(\frac{N V_\text{in} t_\Delta}{R_{i}} + \frac{N_{p} V_\text{ref} t_\Delta}{R_{p}} - \frac{N_{n} V_\text{ref} t_\Delta}{R_{n}}\right) where t_\Delta is the sampling period, N_{p} is the number of periods in which the positive reference is switched in, N_{n} is the number of periods in which the negative reference is switched in, and N is the total number of periods in the run-up phase. The resolution obtained during the run-up is given by the number of periods of the run-up algorithm. The multi-slope run-up comes with multiple advantages: As the analog stored charge is much smaller, the integration capacitor can be smaller and thus a higher voltage is present at the integrator output for the same charge. This make the comparator noise less critical and smaller charges can be resolved. With less charge stored in the capacitor the dielectric absorption has less effect. This reduces a major source of linearity error for the dual-slope ADC. With less charge the run-down can be quite fast. Part of the result is already obtained during the run-up. The length of the run-up phase can be varied with no problem, just by changing the number of cycles in the run-up algorithm. So the same hardware can be used for fast conversion with reduced resolution or slow conversions with high resolution. The dual slope ADC is less flexible, with ideally an integration capacitor proportional to the integration time to make full use of the integrator's output swing. While it is possible to continue the multi-slope run-up indefinitely, it is not possible to increase the resolution of the converter to arbitrarily high levels just by using a longer run-up time. Error is introduced into the multi-slope run-up through the action of the switches controlling the references, cross-coupling between the switches, unintended switch charge injection, mismatches in the references, and timing errors. Some of this error can be reduced by careful operation of the switches. In particular, during the run-up period, each switch should be activated a constant number of times. The algorithm explained above does not do this and just toggles switches as needed to keep the integrator output within the limits. Activating each switch a constant number of times makes the error related to switching approximately constant. Any output offset that is a result of the switching error can be measured and then numerically subtracted from the result. V_\Delta = \frac{V_\text{ref}}{RC} \frac{1}{f_\text{clk}} To overcome this overshoot, the next slope would require no more than B clock cycles, which helps to place a bound on the total time of the run-down. The time for the first-run down (using the steepest slope) is dependent on the unknown input (i.e., the amount of charge placed on the integrator capacitor during the run-up phase). At most, this will be: T_\text{first} = \left\lceil \frac{V_\text{max} CR_{s1} f_\text{clk}}{V_\text{ref}} \right\rceil where T_\text{first} is the maximum number of clock periods for the first slope, V_\text{max} is the maximum integrator voltage at the start of the run-down phase, and R_{s1} is the resistor used for the first slope. The remainder of the slopes have a limited duration based on the selected base, so the remaining time of the conversion (in converter clock periods) is: T_{d} \le B(N - 1) where N is the number of slopes. Converting the measured time intervals during the multi-slope run-down into a measured voltage is similar to the charge-balancing method used in the multi-slope run-up enhancement. Each slope adds or subtracts known amounts of charge to/from the integrator capacitor. The run-up will have added some unknown amount of charge to the integrator. Then, during the run-down, the first slope subtracts a large amount of charge, the second slope adds a smaller amount of charge, etc. with each subsequent slope moving a smaller amount in the opposite direction of the previous slope with the goal of reaching closer and closer to zero. Each slope adds or subtracts a quantity of charge Q_\text{slope} proportional to the slope's resistor and the duration of the slope: Q_\text{slope} = \pm \frac{V_\text{ref} T_\text{slope}}{R_\text{slope} f_\text{clk}} T_\text{slope} is necessarily an integer and will ideally be less than or equal to B for the second and subsequent slopes. Using the circuit above as an example, the second slope, R_{d}/100 , can contribute the following charge, Q_{slope2} , to the integrator: \frac{100 V_\text{ref}}{R_{d} f_\text{clk}} \le Q_\text{slope2} \le \frac{1000 V_\text{ref}}{R_{d} f_\text{clk}} in steps of \frac{100 V_\text{ref}}{R_{d} f_\text{clk}} That is, B possible values with the largest equal to the first slope's smallest step, or one (base 10) digit of resolution per slope. Generalizing this, we can represent the number of slopes, N , in terms of the base and the required resolution, M : N = \log_B M Substituting this back into the equation representing the run-down time required for the second and subsequent slopes gives us this: T_{d} \le B(\log_B(M) - 1) Which, when evaluated, shows that the minimum run-down time can be achieved using a base of e. This base may be difficult to use both in terms of complexity in the calculation of the result and of finding an appropriate resistor network, so a base of 2 or 4 would be more common. V_\text{in} = \frac{1}{N t_\Delta} R_{i} \left(-\dfrac{N_{p} V_\text{ref} t_\Delta}{R_{p}} + \dfrac{N_{n} V_\text{ref} t_\Delta}{R_{n}} - C V_\text{out} \right) This equation represents the theoretical calculation of the input voltage assuming ideal components. Since the equation depends on nearly all of the circuit's parameters, any variances in reference currents, the integrator capacitor, or other values will introduce errors in the result. A calibration factor is typically included in the C V_{out} term to account for measured errors (or, as described in the referenced patent, to convert the residue ADC's output into the units of the run-up counters). Instead of being used to eliminate the run-down phase completely, the residue ADC can also be used to make the run-down phase more accurate than would otherwise be possible. With a traditional run-down phase, the run-down time measurement period ends with the integrator output crossing through zero volts. There is a certain amount of error involved in detecting the zero crossing using a comparator (one of the short-comings of the basic dual-slope design as explained above). By using the residue ADC to rapidly sample the integrator output (synchronized with the converter controller's clock, for example), a voltage reading can be taken both immediately before and immediately after the zero crossing (as measured with a comparator). As the slope of the integrator voltage is constant during the run-down phase, the two voltage measurements can be used as inputs to an interpolation function that more accurately determines the time of the zero-crossing (i.e., with a much higher resolution than the controller's clock alone would allow). V_\text{in} = \frac{1}{N t_\Delta} R_i \left (-\frac{N_p V_\text{ref} t_\Delta}{R_p} + \frac{N_n V_\text{ref} t_\Delta}{R_n} - C \left( V_\text{out2} - V_\text{out1} \right)\right) Such a continuously-integrating converter is very similar to a delta-sigma analog-to-digital converter. ==See also== Analog-to-digital converter Voltmeter
Cite this
"Integrating ADC". 1759434718. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1314714044 JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy