Professional Documents
Culture Documents
Logic
Course name: andmeasurement
Electrical Computer Design
& instrumentation
Course code: ECEg4155 Fundamentals
Chapter
Course instructor: Fekadu G.
1 – Digital
ContactComputers
information: and Information
Email: fekianew@gmail.com
2/4/2019
Introduction to ADC
Conversion Process
ECEg:4155
Examples of ADC applications
Types of ADC
DAC
2
INTRODUCTION TO ADC
SIGNAL TYPES
2/4/2019
Analog Signals
Any continuous signal that
a time varying variable of
ECEg:4155
the signal is a
representation of some
other time varying
quantity
Measures one quantity in
terms of some other t
quantity
Examples
Speedometer needle as
function of speed
Radio volume as function of 3
knob movement
SIGNAL TYPES
2/4/2019
Digital Signals
Consist of only two states
ECEg:4155
Binary States
On and off
1
Computers can only
perform processing on
digitized signals
0
4
ANALOG-DIGITAL CONVERTER (ADC)
2/4/2019
An electronic integrated circuit which converts a
signal from analog (continuous) to digital
(discrete) form
ECEg:4155
Provides a link between the analog world of
transducers and the digital world of signal
processing and data handling
5
t
ADC CONVERSION PROCESS
2/4/2019
Two main steps of process
1. Sampling and Holding
ECEg:4155
2. Quantization and Encoding
Analog-to-Digital Converter
Quantizing
and
Encoding
Sampling and
Hold
t
Input: Analog t
Signal 6
ADC PROCESS
Sampling & Hold
2/4/2019
Measuring analog signals at
uniform time intervals
ECEg:4155
Ideally twice as fast as what
we are sampling
2/4/2019
Measuring analog signals at
uniform time intervals
ECEg:4155
Ideally twice as fast as what
we are sampling
2/4/2019
Separating the input Assigning a unique
signal into a discrete digital code to each state
ECEg:4155
states with K increments for input into the
K=2N microprocessor
N is the number of bits of
the ADC
Analog quantization size
Q=(Vmax-Vmin)/2N
Q is the Resolution
9
ADC PROCESS
Quantization & Coding
2/4/2019
Use original analog signal
ECEg:4155
Apply 2 bit coding 1
1
1
0
0
1
0
0 K=22 00
01
10
11
10
ADC PROCESS
Quantization & Coding
2/4/2019
Use original analog signal
ECEg:4155
Apply 3 bit coding
K=23 000
001
010
011
100
101 11
110
111
ADC PROCESS-ACCURACY
The accuracy of an ADC can be improved by increasing:
2/4/2019
ECEg:4155
t t
Sampling Rate, Ts Resolution (bit depth), Q
Based on number of steps Improves accuracy in
required in the conversion measuring amplitude of
process analog signal
Increases the maximum 12
frequency that can be
measured
ADC-ERROR POSSIBILITIES
2/4/2019
Aliasing (sampling)
Occurs when the input signal is changing much
faster than the sample rate
ECEg:4155
Should follow the Nyquist Rule when sampling
Answers question of what sample rate is required
Use a sampling frequency at least twice as high as the
13
ADC APPLICATIONS
2/4/2019
ADC are used virtually everywhere where an
analog signal has to be processed, stored, or
transported in digital form
ECEg:4155
Microphones
Strain Gages
Thermocouple
Digital Multimeters
14
TYPES OF ADC
2/4/2019
Successive Approximation A/D Converter
Flash A/D Converter
ECEg:4155
Dual Slope A/D Converter
15
SUCCESSIVE APPROXIMATION ADC
2/4/2019
Elements
• DAC = Digital to Analog Converter
ECEg:4155
• EOC = End of Conversion
• SAR = Successive Approximation Register
• S/H = Sample and Hold Circuit
• Vin = Input Voltage
• Comparator
• Vref = Reference Voltage
16
SUCCESSIVE APPROXIMATION ADC
2/4/2019
Advantages Disadvantages
Capable of high speed and
ECEg:4155
Higher resolution
reliable
successive approximation
Medium accuracy compared to
other ADC types ADC’s will be slower
Good tradeoff between speed Speed limited to ~5Msps
and cost
Capable of outputting the
binary number in serial (one
bit at a time) format.
17
FLASH ADC
2/4/2019
Also known as parallel ADC
Elements
ECEg:4155
• Encoder – Converts output of
comparators to binary
• Comparators
18
FLASH ADC
2/4/2019
Advantages Disadvantages
Simplest in terms of
ECEg:4155
operational theory Lower resolution
Expensive
Most efficient in terms For each additional
of speed, very fast output bit, the number
limited only in terms of of comparators is
comparator and gate
propagation delays
doubled
i.e. for 8 bits, 256
comparators needed
19
DUAL SLOPE A/D CONVERTER
Also known as an Integrating ADC
2/4/2019
ECEg:4155
+
_
Control
Logic
Start Stop
Clock Counter 20
DUAL SLOPE A/D CONVERTER
2/4/2019
Advantages Disadvantages
Input signal is Slow
ECEg:4155
averaged High precision
Greater noise external components
immunity than other required to achieve
ADC types accuracy
High accuracy
21
DELTA-SIGMA A/D CONVERTER
2/4/2019
Analog Delta-Sigma Low-Pass Digital
Input Modulator Filter Outpu
ECEg:4155
t
22
DELTA-SIGMA ADC – HOW IT WORKS
Input over sampled, goes to integrator
2/4/2019
Integration compared with ground
ECEg:4155
Output is a stream of serial bits
23
DELTA-SIGMA A/D CONVERTER
2/4/2019
Advantages Disadvantages
ECEg:4155
High resolution Slowdue to
oversampling
Noprecision external
components needed
24
COMPARISON OF ADC’S
2/4/2019
Speed Cost Resolution
Type
(relative) (relative) (bits)
ECEg:4155
Dual Slope Slow Med 12-16
Flash Very Fast High 4-12
Successive Medium –
Low 8-16
Approx Fast
Sigma –
Slow Low 12-24
Delta
25
DIGITAL-TO-ANALOG CONVERSION
2/4/2019
Digital to Analog conversion involves
transforming the computer’s binary output in 0’s
and 1’s (1’s typically = 5.0 volts) into an analog
ECEg:4155
representation of the binary data
When data is in binary form, the 0's and 1's may
be of several forms such as the TTL form where
the logic zero may be a value up to 0.8 volts and
the 1 may be a voltage from 2 to 5 volts.
The data can be converted to clean digital form
using gates which are designed to be on or off
depending on the value of the incoming signal.
26
DIGITAL-TO-ANALOG CONVERSION
2/4/2019
Data in clean binary digital form can be
converted to an analog form by using a summing
amplifier.
ECEg:4155
For example, a simple 4-bit D/A converter can be
made with a four-input summing amplifier.
27
DIGITAL-TO-ANALOG CONVERSION
2/4/2019
2 Basic Approaches
ECEg:4155
WeightedSumming Amplifier
R-2R Network Approach
28
WEIGHTED SUM DAC
One way to achieve D/A conversion is to use a
summing amplifier.
2/4/2019
Consider the following 8-bit DAC
ECEg:4155
29
WEIGHTED SUM DAC
E.g: consider the following 4-bit WSDAC
2/4/2019
ECEg:4155
30
WEIGHTED SUM DAC
2/4/2019
This approach is not satisfactory for a large
number of bits because it requires too much
precision in the summing resistors.
ECEg:4155
This problem is overcome in the R-2R network
DAC.
31
R-2R LADDER DAC
2/4/2019
ECEg:4155
32
R-2R LADDER DAC
2/4/2019
ECEg:4155
33
R-2R LADDER DAC
The summing amplifier with the R-2R ladder
2/4/2019
of resistances shown produces the output
where the D's take the value 0 or 1.
ECEg:4155
The digital inputs could be TTL voltages
which close the switches on a logical 1 and
leave it grounded for a logical 0.
This is illustrated for 4 bits, but can be
extended to any number with just the
resistance values R and 2R.
34
2/4/2019 ECEg:4155
35
2/4/2019 ECEg:4155
36