Professional Documents
Culture Documents
Data Converters
Data Converters
1
A/D and D/A conversions in sensor systems
Learning Objectives:
Here, you should develop an understanding of:
2
Data Acquisition System
Analog Digital
Transducer
Post
Processing
Signal
Conditioning
Gain Decimation
and and
Filtering Digital filtering
A/D
3
A. Sampling Concepts
Analog and discrete representations of a dynamic signal: Fig. 7.1
Fig. 7.1
The two signals look quite different, BUT the important info.: amplitude and
frequency can be conveyed by the discrete series providing certain
conditioning on the sampling process.
Need to sample → store less data → save memory and processing time.
The Discrete Fourier Transform (DFT) allows to reconstruct the dynamic
signal from its discrete series via the Inverse Fourier Transform (out of scope).
4
Sampling Concepts
Fig. 7.2
5
Sampling Concepts
6
Sampling Concepts
Alias Frequencies
If fs < 2fm , the higher frequency content of the analog signal will
appear in the place of a lower frequency in the resulting discrete
series. This is shown in Fig. 7. 2. (d): the 10-Hz signal is observed to
take on the false identity of a 2-Hz signal, called an alias frequency
8
Sampling Concepts
Alias Frequencies…
fs 1
For a given sampling frequency fs, the Nyquist frequency f N = =
2 2t
represents a folding point for the aliasing phenomenon as shown in Fig. 7.3
The Nyquist frequency: the maximum frequency that can be represented in
a resulting discrete series, i.e. sampled correctly.
Assume fm > fN → aliases →
EXAMPLE 7.1
A 10-Hz sine wave is sampled at 12 Hz. Compute the maximum
frequency that can be represented in the resulting discrete signal.
Compute the alias frequency.
KNOWN: f = fm = 10 Hz, fs = 12 Hz
9
Sampling Concepts
EXAMPLE 7.2
A complex periodic signal has the form
y (t ) = A1 sin 2 (25)t + A2 sin 2 (75)t + A3 sin 2 (125)t
SOLUTION
fa1 = fa2 = 25 Hz → the 75- and 125-Hz components:
completely indistinguishable from the 25-Hz signal.
Example 7.2 → the potential of signal misinterpretation via
improper sampling.
10
Sampling Concepts
11
Sampling Concepts
12
Sampling Concepts
Amplitude Ambiguity
The first eq. sets the minimum sampling rate fs and the second
eq. sets the total sampling time, Nδt from which the data
number, N is estimated.
14
Sampling Concepts
EXAMPLE
We want to sample a signal whose frequency is in the range 2 – 200 Hz. Determine
appropriate sampling frequency and the number of samples to be taken in order to
reconstruct the signal faithfully using the DFT-IFT.
15
B. Transmitting Digital Numbers: High & Low Signals
Binary numbers: formed
via a combination of HIGH
and LOW voltages through
a parallel grouping of
switches → Fig. 7.5
17
Digital-to-Analog Converter (D/A)
2
cm
I = E ref m −1
cm=1
m =1 R or 0
E0 = IRr
Fig. 7.6
X It’s like the D/A
E0 = M compares the magnitude
2 of the actual binary nbre
X in the register to the
largest possible nbre 2M
18
Digital-to-Analog Converter (D/A)
19
Digital-to-Analog Converter (D/A)
1. Analog specifications:
• EFSR: Full-scale analog voltage range.
Typical values: 0-10 V, ±5 V
2. Digital specifications:
• M: Number of bits in the D/A register.
Typical values: 8 (DAC830), 12, 16, 18 bits
20
Analog-to-Digital Converter (A/D)
An A/D → converts an analog voltage into a binary number →
through: quantization
21
Analog-to-Digital Converter (A/D)
An A/D has specifications
• EFSR: = 10V → unipolar: 0-10V, bipolar: ±5 V
• M: it can output a 2M different binary numbers
M=8 → 256 binary numbers.
A/D selection criteria:
• Resolution
• Voltage range
• Conversion speed
22
Analog-to-Digital Converter (A/D)
Resolution
Is the smallest voltage increment that causes a bit change
at the output:
EFSR EFSR
Q= M or Q= M
2 2 −1
23
Analog-to-Digital Converter (A/D)
Quantization Error
Fig. 7.7: 0-4V, 2-bit A/D
Resolution = 1 V → limited → errors:
0.0 & 0.9 V → 00
Fig. 7.7
→ Yet: 1.1 V → 01
→ These errors, eQ: like a
noise on the digital signal
Two schemes of eQ :
1. eQ = Q, above input voltage Ei
2. eQ = ±0.5Q, around Ei
In both cases: error span = 1 LSB = Q
24
Analog-to-Digital Converter (A/D)
25
Analog-to-Digital Converter (A/D)
Saturation Error
Conversion Error
As for any device, the A/D conversion error can be delineated into
errors such as:
➢ Hysteresis
➢ Linearity
➢ Sensitivity
➢ Zero
➢ Repeatability
➢ Thermal drift
Sample Rate
Each A/D converter has a maximum sample rate typically from
1kHz – 100 MHz → Effect of sampling rate on the accuracy of
recorded signal has been discussed…
28
Signal Conditioning for A/D Conversion
29
Analog-to-Digital Converter (A/D)
EXAMPLE 7.4
30
Analog-to-Digital Converter (A/D)
SOLUTION
E 10 E FSR 10
Q8 = FSR = = 39mV Q12 = 12 = = 2.4mV
2 8
256 2 4096
32
Analog-to-Digital Converter (A/D)
SOLUTION
The instrument (A/D) uncertainty, uC, → a combination of
uncertainty caused by quantization, eQ, and by conversion, eC:
(u c )E = eQ2 + eC2
33
Analog-to-Digital Converter (A/D)
An estimate of ec
34
Analog-to-Digital Converter (A/D)
A/D realization: Successive Approximation Converters
The successive
approximation (most
common) → uses trial-
and-error approach →
Fig. 7.8
35
Analog-to-Digital Converter (A/D)
A/D realization: Successive Approximation Converters
The conversion sequence is as depicted in Fig. 7.9 for Ei = 10.1V,
and using an 0-15 V, 4-bit successive approx. A/D
Fig. 7.9
Tradeoff: increasing the nbre of bits to lower the quantization error and the
resulting increase in conversion time.
39
Analog-to-Digital Converter (A/D)
40
Analog-to-Digital Converter (A/D)
A/D realization: Parallel Converters
The fastest → flash converter
Common in digital oscilloscopes and
spectral analyzers
M-bit A/D → uses 2M-1 comparators
Uses resistor ladder
There are 2M combinations→ table
A 2-bit A/D
41
Analog-to-Digital Converter (A/D)
Digital Voltmeters
EXAMPLE 7.6
A 0-10 V, 3-digit digital voltmeter is built around a 10-bit, single-ramp
A/D converter. A 100 kHz clock is used. An input voltage of 6.372 V is
applied. What should be the digital voltmeter output value? How long
will the conversion process take?
SOLUTION
E 10
Q10 = FSR
10
= = 9.77 mV ➔ 9.77 mV/step
2 1024
Nbre of steps required = Ei/ 9.77 mV/step=6.372/0.00977=653 steps ➔
Eo = 9.77mV/step x 653 steps = 6.3769 V = 6.38 V(3 digit A/D)
Measurement System
43
E. Data-Acquisition System Components
Data Acquisition System
Analog Digital
Transducer
Post
Processing
Signal
Conditioning
Gain Decimation
and and
Filtering Digital filtering
A/D
44