Analog To Digital Converters
Analog To Digital Converters
Analog To Digital Converters
Fourth Level
Lecture Twenty-One
ADC can be classified into two general groups based on the accuracy and speed:
The second group includes integrator converters and voltage to frequency converters.
The tradeoff between two groups is based on accuracy VS speed. The successive-
approximation and flash-type converters are faster but generally less accurate than the
integrator and voltage to frequency type converters. Furthermore, the flash-type is
expensive and difficult to design for high accuracy.
The most commonly used ADC: The successive-approximation and the integrator.
The successive-approximation is used in applications such as data loggers, and
instrumentation, where conversion speed is important. The integrator types are used in
applications such as digital meter, and monitoring system where the conversion accuracy
is critical.
ADC process:
There are two steps process as shown in figure below:
1. Sampling and Holding (S/H).
2. Quantizing and Encoding (Q/E).
Encoding - assigning a digital word or number to each state and matching it to the input
signal.
The number of possible states that the converter can output is:
N=2n
Where n is the number of bits in the ADC.
Example: if you have 0-10V signals. What is the Discrete Voltage Ranges and Output
Binary Equivalent by using 3 bit A/D converter?
Solution:
N=2n
For a 3 bit A/D converter, N=23=8. (Number of possible states)
Analog quantization size:
Q = (Vmax – Vmin) / N = (10V – 0V) / 8 = 1.25V
Step 1: Quantizing:
Step 2: Encoding:
Here we assign the digital value (binary number) to each state for the computer to read.
Resolution:
Resolution is the number of bits used for conversion (8 bits, 12 bits, …)
Resolution (number of discrete values the converter can produce) = Analog
Quantization size (Q)
(Q) = Vrange / 2^n, where Vrange is the range of analog voltages which can be
represented
In our previous example: Q = 1.25V, this is a high resolution. A lower resolution
would be if we used a 2-bit converter, then the resolution would be 10/2^2 =
2.50V.
Overall Better Accuracy: Increasing both the sampling rate and the resolution
you can obtain better accuracy in your AD signals.
ADC Specifications:
Conversion time
Resolution
Accuracy
Linearity
Missing code
Fundamental Components
Resistors use the resistors to form a ladder voltage divider, which divides the reference
voltage into equal intervals.
Comparators Consists of a series of comparators, which comparing the input signal to a
unique reference voltage.
Priority encoder the comparator outputs connect to the inputs of a priority encoder
circuit, which produces a binary output.
How does it work?
Uses the comparators to determine in which the input voltage Vin is exceed or not
the Vref.
When the analog input voltage exceeds the reference voltage at each comparator,
the comparator outputs will sequentially saturate to a high state.
The priority encoder generates a binary number based on the highest-order active
input, ignoring all other active inputs.
Main Components
Resistors
Integrator
Capacitor
Comparators
Control Logic
Fundamental components
Integrator
Electronically Controlled Switches
Counter
Clock
Control Logic
Comparator
The Dual Slope ADC functions in this manner:
When an analog value is applied, the capacitor begins to charge in a linear manner
and the oscillator passes to the counter.
The counter continues to count until it reaches a predetermined value. Once this
value is reached the count stops and the counter is reset. The control logic
switches the input to the first comparator to a reference voltage, providing a
discharge path for the capacitor.
As the capacitor discharges the counter counts.
When the capacitor voltage reaches the reference voltage the count stops and the
value is stored in the register.
Advantages and Disadvantages
Conversion result is insensitive to errors in the component values, High Accuracy.
Slow, Accuracy is dependent on the use of precision external components, Cost.
ADC Specifications:
Conversion time
Resolution
Accuracy
Linearity
Missing code