SlideShare uma empresa Scribd logo
1 de 32
ME 4447: Introduction to Mechatronics1
Digital to Analog Converters (DAC)
Jesse Barton
Hyun Gyu Kim
Christopher Neel
ME 4447: Introduction to Mechatronics2
What is a DAC?
A digital-to-analog converter (DAC) is a circuit
that produces an analog current or voltage that
is proportional to an analog reference (voltage or
current) and an N-bit binary word.
Vout = k x Vref x (Binary Word)
ME 4447: Introduction to Mechatronics3
In English
• DACs generate piecewise continuous signals
from digital code.
OR
• DAC converters are devices that receive a
binary word from the microprocessor and
convert it to a scaled analog voltage (or current).
ME 4447: Introduction to Mechatronics4
DAC Configuration
ME 4447: Introduction to Mechatronics5
DAC Types
Multiplying DAC
- reference source is external to the DAC
package
Nonmultiplying DAC
- reference source is inside the DAC package
ME 4447: Introduction to Mechatronics6
Multiplying DAC advantages
• External ref. can be time-varying analog voltage that
multiplies binary function 
fixed programmable byte scales continuous
output instead of using time-varying bytes w/ fixed VR
to produce discrete output
• External reference can be fixed 
less likely to produce error from reference voltage
drift with temperature than internal reference
ME 4447: Introduction to Mechatronics7
DAC Circuit Types
Two types of DAC Circuits:
1. Binary weighted
2. R-2R ladder
ME 4447: Introduction to Mechatronics8
N-Bit Binary Weighted DAC
ME 4447: Introduction to Mechatronics9
Binary Weighted Principles
( )
MSBb
bitsinputofnumberN
MSBtoingcorrespondresistanceR
junctionleavingcurrentsofsumI
2
1
0
1
10
=
=
=
=
= ∑=
−
N
i
i
i
R
R
b
VI
ME 4447: Introduction to Mechatronics10
Principles Cont’d
V0 = -RfI0
V0 = voltage output from amplifier
Rf = feedback resistance
Resolution= VR/2N
Note: For a gain of 1, R = 2Rf
ME 4447: Introduction to Mechatronics11
Example
Find output voltage and current for a binary
weighted resistor DAC of 4 bits where :
R = 10 k Ohms, Rf = 5 k Ohms and VR = 10 Volts.
Applied binary word is 1001.
ME 4447: Introduction to Mechatronics12
Solution
Rf = (R/2)
R2R4R8R
Vo
VR
1-bit
MSB
2-bit3-bit4-bit
∑ iI
ME 4447: Introduction to Mechatronics13
Solution Cont’d
V625.5)A001125.0)(5(
IR-V
A0.001125-
10*2
1
10*2
0
10*2
0
10*2
1V10
3
0
0f0
0
43424140
=−Ω−=
=
=




+++
Ω
−=
V
I
Io
ME 4447: Introduction to Mechatronics14
Solution Cont’d
Binary input = 1001 = 9
From example, V0 = 5.625V
V0/VR= 5.625V/10V = 9/16
ME 4447: Introduction to Mechatronics15
Limitations of the Binary Weighted
DAC
Has problems if bit length is longer than 8 bits
For example, if R = 10 k Ohms
R8 = 28-1
(10 k Ohms) = 1280 k Ohms
If VR = 10 Volts,
I8 = 10V/1280 k Ohms = 7.8 µA
Op-amps to handle those currents are expensive
because this is usually below the current noise
threshold.
ME 4447: Introduction to Mechatronics16
Limitations Cont’d
If R = 10 Ohms and Vref= 10 V
I = VR/R = 10V/10 Ohms = 1 A
This current is more than a typical op-amp
can handle.
ME 4447: Introduction to Mechatronics17
Limitations Cont’d
Intuitively, the resistance values must be
accurate to less than one part in 2N
for the RN
input to be meaningful. This is difficult to do,
especially in IC’s.
ME 4447: Introduction to Mechatronics18
R/2R ladder DAC
• Most popular single
package DAC
• Resolves BWL problems
• Only two resistor values
ME 4447: Introduction to Mechatronics19
Equations governing R/2R
bitsofnumberisNwhere;
2
Resolution N
RV
=
MSBisbwhere;
2
1
1
∑=
−=
N
i
i
i
Ro
b
VV
( ) bitsofnumberisNwhere;
2
1
1 





−−= NRfso VV
( ) MSBisbwhere;
22
1
1
1∑∑ =
−
=
N
i
i
iR
i
b
R
V
I
ME 4447: Introduction to Mechatronics20
Principles of Operation
• Binary Switch  true
ground w/ LOW input
• Binary Switch  op-
amp virtual ground w/ HI
input
• Splits current at each bit
• After multiplication of
binary word  Io
• Inverting Op-amp used
to generate analog
output voltage
• Performed many times
per second  semi-
continuous DAC
ME 4447: Introduction to Mechatronics21
Specifications of DAC’s
• Resolution
– Increases (improves) as number of bits increases
– Most microcontrollers use 8 bit DAC
– Some 12 bit DAC used in high end applications
• Linearity
– Max deviation over full range of output @ room temp.
• Settling Time
– Time for DAC to come w/in 0.5 LSB {Vo± 0.5*(VR /2N
)} of new voltage after
binary change
– Typ. current output DAC’s conversion times (10 ns to 1 μs)
• Reference Voltage
– Internal / external
ME 4447: Introduction to Mechatronics22
DAC Errors
• Resolution:
 more bits = more precise
• Overshoot & Settling Time:
 String of amplifiers w/ feedback loops = very rapid response or
very slow response depending on system properties
• Absolute Accuracy Error:
 Difference between theoretical and actual output
• Conversion Speed:
 Rapidly fluctuating inputs require high conversion speed to be
interpreted accurately
ME 4447: Introduction to Mechatronics23
DAC Errors Cont’d
• Non-Monotonicity:
 Certain conditions where increased input results in decrease Vo
• Differential Non-Linearity:
 Deviation of actual converter step size from the ideal predicted wave
step
• Gain Error:
 Gain too low = same analog output; gain too high = too large an
output
• Offset Error:
 Constant error of DAC
ME 4447: Introduction to Mechatronics24
DAC Errors Cont’d
• Resistance Error:
 Pertains mainly to BWR DAC since large variety of resistors used 
error varies greatly disturbing DAC performance
• Saturation:
 Use of op-amps requires that input voltage and scaling voltages be
bounded to the specifications of the op-amp.
ME 4447: Introduction to Mechatronics25
ME 4447: Introduction to Mechatronics26
ME 4447: Introduction to Mechatronics27
ME 4447: Introduction to Mechatronics28
ME 4447: Introduction to Mechatronics29
ME 4447: Introduction to Mechatronics30
ME 4447: Introduction to Mechatronics31
Applications of DAC
• Control Systems
• Digital Audio
• Digital Telephones
• Cruise Control
• Waveform Generation
ME 4447: Introduction to Mechatronics32
Discussion

Mais conteúdo relacionado

Mais procurados

Voltage controlled oscillators
Voltage controlled oscillatorsVoltage controlled oscillators
Voltage controlled oscillators
ZunAib Ali
 

Mais procurados (20)

Microwave Coupler
Microwave CouplerMicrowave Coupler
Microwave Coupler
 
Low noise amplifier
Low noise amplifierLow noise amplifier
Low noise amplifier
 
Differential amplifier
Differential amplifierDifferential amplifier
Differential amplifier
 
Unit iii mirowave passive components
Unit iii mirowave passive componentsUnit iii mirowave passive components
Unit iii mirowave passive components
 
Power semiconductor devices
Power semiconductor devicesPower semiconductor devices
Power semiconductor devices
 
Digital to analog conversion
Digital to analog                    conversionDigital to analog                    conversion
Digital to analog conversion
 
module1:Introduction to digital electronics
module1:Introduction to digital electronicsmodule1:Introduction to digital electronics
module1:Introduction to digital electronics
 
Voltage controlled oscillators
Voltage controlled oscillatorsVoltage controlled oscillators
Voltage controlled oscillators
 
Power amplifier ppt
Power amplifier pptPower amplifier ppt
Power amplifier ppt
 
MOSFET....complete PPT
MOSFET....complete PPTMOSFET....complete PPT
MOSFET....complete PPT
 
Frequency Response.pptx
Frequency Response.pptxFrequency Response.pptx
Frequency Response.pptx
 
Interrupts in pic
Interrupts in picInterrupts in pic
Interrupts in pic
 
Chebyshev filter
Chebyshev filterChebyshev filter
Chebyshev filter
 
R2 r dac
R2 r dacR2 r dac
R2 r dac
 
Transmission lines and RF systems
Transmission lines and RF systemsTransmission lines and RF systems
Transmission lines and RF systems
 
Directional couplers ppt for microwave engineering
Directional couplers  ppt for microwave engineeringDirectional couplers  ppt for microwave engineering
Directional couplers ppt for microwave engineering
 
(D/A) and (A/D)conversion
(D/A) and (A/D)conversion(D/A) and (A/D)conversion
(D/A) and (A/D)conversion
 
FM-Foster - Seeley Discriminator.pptx
FM-Foster - Seeley Discriminator.pptxFM-Foster - Seeley Discriminator.pptx
FM-Foster - Seeley Discriminator.pptx
 
Transistor, its working and Applications
Transistor, its working and ApplicationsTransistor, its working and Applications
Transistor, its working and Applications
 
Comparator
ComparatorComparator
Comparator
 

Destaque (9)

45
4545
45
 
Analog mixed vlsi notes
Analog mixed vlsi notesAnalog mixed vlsi notes
Analog mixed vlsi notes
 
DAC
DACDAC
DAC
 
Adc dac
Adc dacAdc dac
Adc dac
 
Digital to analog conversion
Digital to analog conversionDigital to analog conversion
Digital to analog conversion
 
DAC , Digital to analog Converter
DAC , Digital to analog ConverterDAC , Digital to analog Converter
DAC , Digital to analog Converter
 
Analog to digital converter
Analog to digital converterAnalog to digital converter
Analog to digital converter
 
ADC & DAC
ADC & DACADC & DAC
ADC & DAC
 
Analog to digital conversion
Analog to digital conversionAnalog to digital conversion
Analog to digital conversion
 

Semelhante a Dac

ADDA_Lecture_P1. digital techniques lecture
ADDA_Lecture_P1. digital techniques lectureADDA_Lecture_P1. digital techniques lecture
ADDA_Lecture_P1. digital techniques lecture
Sindhu Mani
 
Group1 141018102550-conversion-gate01
Group1 141018102550-conversion-gate01Group1 141018102550-conversion-gate01
Group1 141018102550-conversion-gate01
DayyanAskari
 
digital anlage c converter for digital .ppt
digital anlage c converter for digital .pptdigital anlage c converter for digital .ppt
digital anlage c converter for digital .ppt
AbdullahOmar64
 
Chap 3. signal processing elemnt part three
Chap 3. signal processing elemnt part threeChap 3. signal processing elemnt part three
Chap 3. signal processing elemnt part three
YemaneBayray
 

Semelhante a Dac (20)

Unit 6.pptx
Unit 6.pptxUnit 6.pptx
Unit 6.pptx
 
ADDA_Lecture_P1.ppt
ADDA_Lecture_P1.pptADDA_Lecture_P1.ppt
ADDA_Lecture_P1.ppt
 
ADDA_Lecture_P1. digital techniques lecture
ADDA_Lecture_P1. digital techniques lectureADDA_Lecture_P1. digital techniques lecture
ADDA_Lecture_P1. digital techniques lecture
 
dsd.pptx
dsd.pptxdsd.pptx
dsd.pptx
 
Group1 141018102550-conversion-gate01
Group1 141018102550-conversion-gate01Group1 141018102550-conversion-gate01
Group1 141018102550-conversion-gate01
 
analog to digital converter.ppt
analog to digital converter.pptanalog to digital converter.ppt
analog to digital converter.ppt
 
adc-dac.pptx
adc-dac.pptxadc-dac.pptx
adc-dac.pptx
 
Er34881886
Er34881886Er34881886
Er34881886
 
dac-180418111805 (1).pdf
dac-180418111805 (1).pdfdac-180418111805 (1).pdf
dac-180418111805 (1).pdf
 
ADC & DAC
ADC & DAC ADC & DAC
ADC & DAC
 
digital anlage c converter for digital .ppt
digital anlage c converter for digital .pptdigital anlage c converter for digital .ppt
digital anlage c converter for digital .ppt
 
Experiment no 2 setb118
Experiment no 2    setb118Experiment no 2    setb118
Experiment no 2 setb118
 
Design and Simulation of 4-bit DAC Decoder Using Custom Designer
Design and Simulation of 4-bit DAC Decoder Using Custom DesignerDesign and Simulation of 4-bit DAC Decoder Using Custom Designer
Design and Simulation of 4-bit DAC Decoder Using Custom Designer
 
Chap 3. signal processing elemnt part three
Chap 3. signal processing elemnt part threeChap 3. signal processing elemnt part three
Chap 3. signal processing elemnt part three
 
An approach to design Flash Analog to Digital Converter for High Speed and Lo...
An approach to design Flash Analog to Digital Converter for High Speed and Lo...An approach to design Flash Analog to Digital Converter for High Speed and Lo...
An approach to design Flash Analog to Digital Converter for High Speed and Lo...
 
Proposals for Memristor Crossbar Design and Applications
Proposals for Memristor Crossbar Design and ApplicationsProposals for Memristor Crossbar Design and Applications
Proposals for Memristor Crossbar Design and Applications
 
Topic 4 Digital Technique Data conversion
Topic 4  Digital Technique Data conversionTopic 4  Digital Technique Data conversion
Topic 4 Digital Technique Data conversion
 
Adc dac converter
Adc dac converterAdc dac converter
Adc dac converter
 
UNIT 4 & 5 - I nterfacing_Lecture7.pptx
UNIT 4 & 5 - I         nterfacing_Lecture7.pptxUNIT 4 & 5 - I         nterfacing_Lecture7.pptx
UNIT 4 & 5 - I nterfacing_Lecture7.pptx
 
adc dac converter
adc dac converteradc dac converter
adc dac converter
 

Último

Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
dlhescort
 
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
amitlee9823
 
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabiunwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
Abortion pills in Kuwait Cytotec pills in Kuwait
 
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
amitlee9823
 
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
lizamodels9
 
Call Girls In Noida 959961⊹3876 Independent Escort Service Noida
Call Girls In Noida 959961⊹3876 Independent Escort Service NoidaCall Girls In Noida 959961⊹3876 Independent Escort Service Noida
Call Girls In Noida 959961⊹3876 Independent Escort Service Noida
dlhescort
 

Último (20)

MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRLMONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
 
Falcon Invoice Discounting: The best investment platform in india for investors
Falcon Invoice Discounting: The best investment platform in india for investorsFalcon Invoice Discounting: The best investment platform in india for investors
Falcon Invoice Discounting: The best investment platform in india for investors
 
Business Model Canvas (BMC)- A new venture concept
Business Model Canvas (BMC)-  A new venture conceptBusiness Model Canvas (BMC)-  A new venture concept
Business Model Canvas (BMC)- A new venture concept
 
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
 
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Nelamangala Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabiunwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
 
Famous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st CenturyFamous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st Century
 
Call Girls Zirakpur👧 Book Now📱7837612180 📞👉Call Girl Service In Zirakpur No A...
Call Girls Zirakpur👧 Book Now📱7837612180 📞👉Call Girl Service In Zirakpur No A...Call Girls Zirakpur👧 Book Now📱7837612180 📞👉Call Girl Service In Zirakpur No A...
Call Girls Zirakpur👧 Book Now📱7837612180 📞👉Call Girl Service In Zirakpur No A...
 
Falcon Invoice Discounting platform in india
Falcon Invoice Discounting platform in indiaFalcon Invoice Discounting platform in india
Falcon Invoice Discounting platform in india
 
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hebbal Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptxB.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
B.COM Unit – 4 ( CORPORATE SOCIAL RESPONSIBILITY ( CSR ).pptx
 
It will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayIt will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 May
 
Monthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxMonthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptx
 
Organizational Transformation Lead with Culture
Organizational Transformation Lead with CultureOrganizational Transformation Lead with Culture
Organizational Transformation Lead with Culture
 
Eluru Call Girls Service ☎ ️93326-06886 ❤️‍🔥 Enjoy 24/7 Escort Service
Eluru Call Girls Service ☎ ️93326-06886 ❤️‍🔥 Enjoy 24/7 Escort ServiceEluru Call Girls Service ☎ ️93326-06886 ❤️‍🔥 Enjoy 24/7 Escort Service
Eluru Call Girls Service ☎ ️93326-06886 ❤️‍🔥 Enjoy 24/7 Escort Service
 
VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In Greater Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
 
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
 
Phases of Negotiation .pptx
 Phases of Negotiation .pptx Phases of Negotiation .pptx
Phases of Negotiation .pptx
 
Call Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine ServiceCall Girls In Panjim North Goa 9971646499 Genuine Service
Call Girls In Panjim North Goa 9971646499 Genuine Service
 
Call Girls In Noida 959961⊹3876 Independent Escort Service Noida
Call Girls In Noida 959961⊹3876 Independent Escort Service NoidaCall Girls In Noida 959961⊹3876 Independent Escort Service Noida
Call Girls In Noida 959961⊹3876 Independent Escort Service Noida
 

Dac

  • 1. ME 4447: Introduction to Mechatronics1 Digital to Analog Converters (DAC) Jesse Barton Hyun Gyu Kim Christopher Neel
  • 2. ME 4447: Introduction to Mechatronics2 What is a DAC? A digital-to-analog converter (DAC) is a circuit that produces an analog current or voltage that is proportional to an analog reference (voltage or current) and an N-bit binary word. Vout = k x Vref x (Binary Word)
  • 3. ME 4447: Introduction to Mechatronics3 In English • DACs generate piecewise continuous signals from digital code. OR • DAC converters are devices that receive a binary word from the microprocessor and convert it to a scaled analog voltage (or current).
  • 4. ME 4447: Introduction to Mechatronics4 DAC Configuration
  • 5. ME 4447: Introduction to Mechatronics5 DAC Types Multiplying DAC - reference source is external to the DAC package Nonmultiplying DAC - reference source is inside the DAC package
  • 6. ME 4447: Introduction to Mechatronics6 Multiplying DAC advantages • External ref. can be time-varying analog voltage that multiplies binary function  fixed programmable byte scales continuous output instead of using time-varying bytes w/ fixed VR to produce discrete output • External reference can be fixed  less likely to produce error from reference voltage drift with temperature than internal reference
  • 7. ME 4447: Introduction to Mechatronics7 DAC Circuit Types Two types of DAC Circuits: 1. Binary weighted 2. R-2R ladder
  • 8. ME 4447: Introduction to Mechatronics8 N-Bit Binary Weighted DAC
  • 9. ME 4447: Introduction to Mechatronics9 Binary Weighted Principles ( ) MSBb bitsinputofnumberN MSBtoingcorrespondresistanceR junctionleavingcurrentsofsumI 2 1 0 1 10 = = = = = ∑= − N i i i R R b VI
  • 10. ME 4447: Introduction to Mechatronics10 Principles Cont’d V0 = -RfI0 V0 = voltage output from amplifier Rf = feedback resistance Resolution= VR/2N Note: For a gain of 1, R = 2Rf
  • 11. ME 4447: Introduction to Mechatronics11 Example Find output voltage and current for a binary weighted resistor DAC of 4 bits where : R = 10 k Ohms, Rf = 5 k Ohms and VR = 10 Volts. Applied binary word is 1001.
  • 12. ME 4447: Introduction to Mechatronics12 Solution Rf = (R/2) R2R4R8R Vo VR 1-bit MSB 2-bit3-bit4-bit ∑ iI
  • 13. ME 4447: Introduction to Mechatronics13 Solution Cont’d V625.5)A001125.0)(5( IR-V A0.001125- 10*2 1 10*2 0 10*2 0 10*2 1V10 3 0 0f0 0 43424140 =−Ω−= = =     +++ Ω −= V I Io
  • 14. ME 4447: Introduction to Mechatronics14 Solution Cont’d Binary input = 1001 = 9 From example, V0 = 5.625V V0/VR= 5.625V/10V = 9/16
  • 15. ME 4447: Introduction to Mechatronics15 Limitations of the Binary Weighted DAC Has problems if bit length is longer than 8 bits For example, if R = 10 k Ohms R8 = 28-1 (10 k Ohms) = 1280 k Ohms If VR = 10 Volts, I8 = 10V/1280 k Ohms = 7.8 µA Op-amps to handle those currents are expensive because this is usually below the current noise threshold.
  • 16. ME 4447: Introduction to Mechatronics16 Limitations Cont’d If R = 10 Ohms and Vref= 10 V I = VR/R = 10V/10 Ohms = 1 A This current is more than a typical op-amp can handle.
  • 17. ME 4447: Introduction to Mechatronics17 Limitations Cont’d Intuitively, the resistance values must be accurate to less than one part in 2N for the RN input to be meaningful. This is difficult to do, especially in IC’s.
  • 18. ME 4447: Introduction to Mechatronics18 R/2R ladder DAC • Most popular single package DAC • Resolves BWL problems • Only two resistor values
  • 19. ME 4447: Introduction to Mechatronics19 Equations governing R/2R bitsofnumberisNwhere; 2 Resolution N RV = MSBisbwhere; 2 1 1 ∑= −= N i i i Ro b VV ( ) bitsofnumberisNwhere; 2 1 1       −−= NRfso VV ( ) MSBisbwhere; 22 1 1 1∑∑ = − = N i i iR i b R V I
  • 20. ME 4447: Introduction to Mechatronics20 Principles of Operation • Binary Switch  true ground w/ LOW input • Binary Switch  op- amp virtual ground w/ HI input • Splits current at each bit • After multiplication of binary word  Io • Inverting Op-amp used to generate analog output voltage • Performed many times per second  semi- continuous DAC
  • 21. ME 4447: Introduction to Mechatronics21 Specifications of DAC’s • Resolution – Increases (improves) as number of bits increases – Most microcontrollers use 8 bit DAC – Some 12 bit DAC used in high end applications • Linearity – Max deviation over full range of output @ room temp. • Settling Time – Time for DAC to come w/in 0.5 LSB {Vo± 0.5*(VR /2N )} of new voltage after binary change – Typ. current output DAC’s conversion times (10 ns to 1 μs) • Reference Voltage – Internal / external
  • 22. ME 4447: Introduction to Mechatronics22 DAC Errors • Resolution:  more bits = more precise • Overshoot & Settling Time:  String of amplifiers w/ feedback loops = very rapid response or very slow response depending on system properties • Absolute Accuracy Error:  Difference between theoretical and actual output • Conversion Speed:  Rapidly fluctuating inputs require high conversion speed to be interpreted accurately
  • 23. ME 4447: Introduction to Mechatronics23 DAC Errors Cont’d • Non-Monotonicity:  Certain conditions where increased input results in decrease Vo • Differential Non-Linearity:  Deviation of actual converter step size from the ideal predicted wave step • Gain Error:  Gain too low = same analog output; gain too high = too large an output • Offset Error:  Constant error of DAC
  • 24. ME 4447: Introduction to Mechatronics24 DAC Errors Cont’d • Resistance Error:  Pertains mainly to BWR DAC since large variety of resistors used  error varies greatly disturbing DAC performance • Saturation:  Use of op-amps requires that input voltage and scaling voltages be bounded to the specifications of the op-amp.
  • 25. ME 4447: Introduction to Mechatronics25
  • 26. ME 4447: Introduction to Mechatronics26
  • 27. ME 4447: Introduction to Mechatronics27
  • 28. ME 4447: Introduction to Mechatronics28
  • 29. ME 4447: Introduction to Mechatronics29
  • 30. ME 4447: Introduction to Mechatronics30
  • 31. ME 4447: Introduction to Mechatronics31 Applications of DAC • Control Systems • Digital Audio • Digital Telephones • Cruise Control • Waveform Generation
  • 32. ME 4447: Introduction to Mechatronics32 Discussion