Lesson 5 DAC
Lesson 5 DAC
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Digital-to-Analog Conversion Methods
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Digital-to-Analog Conversion Methods
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Digital-to-Analog Conversion Methods
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Digital-to-Analog Conversion Methods
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Digital-to-Analog Conversion Methods
IT = I1 + I2 + I3+……+ In
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Digital-to-Analog Conversion Methods
60 kW 10 kW
0V
30 kW
–
+3.0 V Vout
+
15 kW
+3.0 V
I out = −( I 0 + I1 + I 2 + I 3 )
3.0 V 3.0 V 3.0 V
= − +0 V+ + = −0.325 mA
120 kW 30 kW 15 kW
Vout = Iout Rf = (−0.325 mA)(10 kW) = −3.25 V
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Digital-to-Analog Conversion Methods
R-2R ladder:
The R-2R ladder requires only two values of resistors. By calculating
a Thevenin equivalent circuit for each input, you can show that the
output is proportional to the binary weight of inputs that are HIGH.
VS
Each input that is HIGH contributes to the output: Vout = − n −i
2
where VS = input HIGH level voltage
n = number of bits Inputs
i = bit number D0 D1 D2 D3
For accuracy, the resistors R1 R3 R5 R7 Rf = 2R
must be precise ratios, 2R 2R 2R 2R
R2 R4 R6 R8
which is easily done in –
integrated circuits. 2R R R R Vout
+
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Digital-to-Analog Conversion Methods
R1 R3 R5 R7 Rf = 50 kW
50 kW 50 kW 50 kW 50 kW
R2 R4 R6 R8
–
50 kW 25 kW 25 kW 25 kW Vout
+
VS
Apply Vout = − to all inputs that are HIGH, then sum the results.
2 n −i
5V 5V
Vout ( D0 ) = − 4−0 = −0.3125 V Vout ( D1 ) = − 4−1 = −0.625 V
2 2
5V
Vout ( D3 ) = − 4−3 = −2.5 V Applying superposition, Vout = −3.43 V
2
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Resolution and Accuracy of DACs
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Reconstruction Filter
Reconstruction
Filter
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Digital Signal Processing
10110 10110
01101 01101
00011 00011
11100 11100 Enhanced
Analog Anti-aliasing Sample-and- Reconstruction
signal filter hold circuit ADC DSP DAC filter analog
signal
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Digital Signal Processing
Program fetch
Control
Instruction dispatch registers
Evaluation
.L1 .S1 .M1 .D1 .D2 .M2 .S2 .L2
Interrupts
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Selected Key Terms
Nyquist frequency The highest signal frequency that can be sampled at a specified
sampling frequency; a frequency equal or less than half the
sampling frequency.
Quantization
The process whereby a binary code is assigned to each sampled
value during analog-to-digital conversion.
Analog-to-digital
converter (ADC)
DSP A circuit used to convert an analog signal to digital form.
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved