Content deleted Content added
Em3rgent0rdr (talk | contribs) →Charge-redistribution successive-approximation ADC: removed some unnecessary wording and added a few missing important tidbits (like that there is a duplicate of the smallest capacitor and that the positive input of the comparator is grounded). Made the list nested to make structure of the algorithm clear. |
Em3rgent0rdr (talk | contribs) →Charge-redistribution successive-approximation ADC: added citations to two application notes, named each step, clarified some steps (e.g. about what happens for subsequent iterations) and added missing step "Update Switch" which is necessary for updating the estimated voltage. |
||
Line 65:
==Charge-redistribution successive-approximation ADC==
[[File:ChargeScalingDAC.png|right|thumb|300px|Charge-scaling DAC]]
One of the most common SAR ADC implementations uses a charge-scaling [[Digital-to-analog converter|DAC]] consisting of an array of individually-switched [[capacitors]] sized in [[powers of two]]
[[File:CAPadc.png|thumb|3 bit capacitive ADC, using {{math|1=''V''<sub>ref</sub> = 5V}}. The bottom left transient simulation uses {{math|''V''<sub>in</sub> ≅ 3.5V}} or about {{math|.7}} of {{math|''V''<sub>ref</sub>}}, resulting in an answer of {{math|{{frac|5|8}}}} (101 in binary), representing {{math|3.125V}} or {{math|0.625}} of {{math|''V''<sub>ref</sub>}}. The remaining fractional voltage is left on the array.|300x300px]]
# Discharge: The capacitors are discharged.
# Sampling: The capacitors are switched to the input signal {{math|''V''<sub>in</sub>}}.
# Hold: The capacitors are then switched to ground. This provides the comparator's negative input with a voltage of {{math|−''V''<sub>in</sub>}}.
#
## Redistribution: The current test capacitor is switched to {{math|''V''<sub>ref</sub>}}. The test capacitor forms a charge divider with the remainder of the array whose ratio depends on the capacitor's relative size. In the first iteration, the ratio is {{math|1:1}}, so the comparator's negative input becomes {{math|−''V''<sub>in</sub> + {{frac|''V''<sub>ref</sub>|2}}}}. On the {{math|''i''<sup>th</sup>}} iteration, the ratio will be {{math|1:2<sup>''i''−1</sup>}}, so the {{math|''i''<sup>th</sup>}} iteration of this redistribution step effectively adds {{math|{{frac|''V''<sub>ref</sub>|2<sup>''i''</sup>}}}} to the voltage.
## Comparison: The
## Update Switch: A digital 1 results in that capacitor being switched ground for subsequent iterations, while a digital 0 results in that capacitor remaining left connected to {{math|''V''<sub>ref</sub>}}. Thus, each {{math|''i''<sup>th</sup>}} iteration may or may not add {{math|{{frac|''V''<sub>ref</sub>|2<sup>''i''</sup>}}}} to the comparator's negative input voltage. For instance, the voltage at the end of the first iteration will be {{math|−''V''<sub>in</sub> + MSB·{{frac|''V''<sub>ref</sub>|2}}}}.
# End Of Conversion: After all capacitors are tested in the same manner, the comparator's negative input voltage will have converged as close as possible (given the resolution of the DAC) to the comparator's offset voltage.
== See also ==
|