SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Was ist angesagt?

Bjt oscillators
Bjt oscillatorsBjt oscillators
Bjt oscillatorsCvSudhakar
 
Coherent and Non-coherent detection of ASK, FSK AND QASK
Coherent and Non-coherent detection of ASK, FSK AND QASKCoherent and Non-coherent detection of ASK, FSK AND QASK
Coherent and Non-coherent detection of ASK, FSK AND QASKnaimish12
 
Analog to Digital Converters
Analog to Digital ConvertersAnalog to Digital Converters
Analog to Digital ConvertersAnas Smarty
 
Sensor and transducers lect 1
Sensor and transducers lect 1Sensor and transducers lect 1
Sensor and transducers lect 1prashant tripathi
 
R-2R Ladder DAC
R-2R Ladder DACR-2R Ladder DAC
R-2R Ladder DACChandul4y
 
Rs232 485 fundamental
Rs232 485 fundamentalRs232 485 fundamental
Rs232 485 fundamentalrounak077
 
Solved problems in waveguides
Solved problems in waveguidesSolved problems in waveguides
Solved problems in waveguidessubhashinivec
 
Analog to Digital , Digital to Analog Conversion
Analog to Digital , Digital to Analog ConversionAnalog to Digital , Digital to Analog Conversion
Analog to Digital , Digital to Analog ConversionKunj Patel
 
Correlative level coding
Correlative level codingCorrelative level coding
Correlative level codingsrkrishna341
 
Lecture notes microwaves
Lecture notes   microwavesLecture notes   microwaves
Lecture notes microwavesSarah Krystelle
 
ANALOG TO DIGITAL AND DIGITAL TO ANALOG CONVERTER
ANALOG TO DIGITAL AND DIGITAL TO ANALOG CONVERTERANALOG TO DIGITAL AND DIGITAL TO ANALOG CONVERTER
ANALOG TO DIGITAL AND DIGITAL TO ANALOG CONVERTERSripati Mahapatra
 
Analog to Digital Converter
Analog to Digital ConverterAnalog to Digital Converter
Analog to Digital ConverterRonak Machhi
 
Second order systems
Second order systemsSecond order systems
Second order systemsAditee Apurvaa
 
Transfer function, determination of transfer function in mechanical and elect...
Transfer function, determination of transfer function in mechanical and elect...Transfer function, determination of transfer function in mechanical and elect...
Transfer function, determination of transfer function in mechanical and elect...Saad Mohammad Araf
 

Was ist angesagt? (20)

Bjt oscillators
Bjt oscillatorsBjt oscillators
Bjt oscillators
 
Coherent and Non-coherent detection of ASK, FSK AND QASK
Coherent and Non-coherent detection of ASK, FSK AND QASKCoherent and Non-coherent detection of ASK, FSK AND QASK
Coherent and Non-coherent detection of ASK, FSK AND QASK
 
Analog to Digital Converters
Analog to Digital ConvertersAnalog to Digital Converters
Analog to Digital Converters
 
Sensor and transducers lect 1
Sensor and transducers lect 1Sensor and transducers lect 1
Sensor and transducers lect 1
 
R-2R Ladder DAC
R-2R Ladder DACR-2R Ladder DAC
R-2R Ladder DAC
 
Rs232 485 fundamental
Rs232 485 fundamentalRs232 485 fundamental
Rs232 485 fundamental
 
Solved problems in waveguides
Solved problems in waveguidesSolved problems in waveguides
Solved problems in waveguides
 
Mosfet
MosfetMosfet
Mosfet
 
Pulse modulation
Pulse modulationPulse modulation
Pulse modulation
 
Analog to Digital , Digital to Analog Conversion
Analog to Digital , Digital to Analog ConversionAnalog to Digital , Digital to Analog Conversion
Analog to Digital , Digital to Analog Conversion
 
Correlative level coding
Correlative level codingCorrelative level coding
Correlative level coding
 
Power
PowerPower
Power
 
Lecture notes microwaves
Lecture notes   microwavesLecture notes   microwaves
Lecture notes microwaves
 
ANALOG TO DIGITAL AND DIGITAL TO ANALOG CONVERTER
ANALOG TO DIGITAL AND DIGITAL TO ANALOG CONVERTERANALOG TO DIGITAL AND DIGITAL TO ANALOG CONVERTER
ANALOG TO DIGITAL AND DIGITAL TO ANALOG CONVERTER
 
Analog to digital converter
Analog to digital converterAnalog to digital converter
Analog to digital converter
 
Analog to Digital Converter
Analog to Digital ConverterAnalog to Digital Converter
Analog to Digital Converter
 
Second order systems
Second order systemsSecond order systems
Second order systems
 
Unit4.tms320c54x
Unit4.tms320c54xUnit4.tms320c54x
Unit4.tms320c54x
 
Transfer function, determination of transfer function in mechanical and elect...
Transfer function, determination of transfer function in mechanical and elect...Transfer function, determination of transfer function in mechanical and elect...
Transfer function, determination of transfer function in mechanical and elect...
 
Compensators
CompensatorsCompensators
Compensators
 

Andere mochten auch

Analog mixed vlsi notes
Analog mixed vlsi notesAnalog mixed vlsi notes
Analog mixed vlsi notesathiulla
 
Digital to analog conversion
Digital to analog conversionDigital to analog conversion
Digital to analog conversionWaseemKhan00
 
Analog to digital converter
Analog to digital converterAnalog to digital converter
Analog to digital converterAshutosh Jaiswal
 
ADC & DAC
ADC & DACADC & DAC
ADC & DACwewe mahir
 
Analog to digital conversion
Analog to digital conversionAnalog to digital conversion
Analog to digital conversionEngr Ahmad Khan
 

Andere mochten auch (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
 
Analog to digital converter
Analog to digital converterAnalog to digital converter
Analog to digital converter
 
ADC & DAC
ADC & DACADC & DAC
ADC & DAC
 
ADC and DAC Best Ever Pers
ADC and DAC Best Ever PersADC and DAC Best Ever Pers
ADC and DAC Best Ever Pers
 
Analog to digital conversion
Analog to digital conversionAnalog to digital conversion
Analog to digital conversion
 

Ähnlich wie Dac

ADDA_Lecture_P1.ppt
ADDA_Lecture_P1.pptADDA_Lecture_P1.ppt
ADDA_Lecture_P1.pptssuserf2cc17
 
ADDA_Lecture_P1. digital techniques lecture
ADDA_Lecture_P1. digital techniques lectureADDA_Lecture_P1. digital techniques lecture
ADDA_Lecture_P1. digital techniques lectureSindhu Mani
 
Group1 141018102550-conversion-gate01
Group1 141018102550-conversion-gate01Group1 141018102550-conversion-gate01
Group1 141018102550-conversion-gate01DayyanAskari
 
ADC Interfacing with pic Microcontrollert
ADC Interfacing with pic MicrocontrollertADC Interfacing with pic Microcontrollert
ADC Interfacing with pic Microcontrollertleapshare007
 
analog to digital converter.ppt
analog to digital converter.pptanalog to digital converter.ppt
analog to digital converter.pptDreamers6
 
dac-180418111805 (1).pdf
dac-180418111805 (1).pdfdac-180418111805 (1).pdf
dac-180418111805 (1).pdfJawadaliMirjat
 
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 .pptAbdullahOmar64
 
Experiment no 2 setb118
Experiment no 2    setb118Experiment no 2    setb118
Experiment no 2 setb118Omkar Rane
 
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 Designerijsrd.com
 
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 threeYemaneBayray
 
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...VLSICS Design
 
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 ApplicationsBlaise Mouttet
 
Topic 4 Digital Technique Data conversion
Topic 4  Digital Technique Data conversionTopic 4  Digital Technique Data conversion
Topic 4 Digital Technique Data conversionBai Haqi
 
Adc dac converter
Adc dac converterAdc dac converter
Adc dac converterparmarurvashi
 
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.pptxnaveen088888
 

Ähnlich wie 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
 
ADC Interfacing with pic Microcontrollert
ADC Interfacing with pic MicrocontrollertADC Interfacing with pic Microcontrollert
ADC Interfacing with pic Microcontrollert
 
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
 

KĂźrzlich hochgeladen

Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesDipal Arora
 
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒anilsa9823
 
Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...Roland Driesen
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMRavindra Nath Shukla
 
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...anilsa9823
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communicationskarancommunications
 
Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Roland Driesen
 
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature SetCreating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature SetDenis GagnĂŠ
 
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 GIRLSeo
 
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-/-3876dlhescort
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...amitlee9823
 
Call Girls in Gomti Nagar - 7388211116 - With room Service
Call Girls in Gomti Nagar - 7388211116  - With room ServiceCall Girls in Gomti Nagar - 7388211116  - With room Service
Call Girls in Gomti Nagar - 7388211116 - With room Servicediscovermytutordmt
 
Value Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsValue Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsP&CO
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...lizamodels9
 
HONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael HawkinsHONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael HawkinsMichael W. Hawkins
 
M.C Lodges -- Guest House in Jhang.
M.C Lodges --  Guest House in Jhang.M.C Lodges --  Guest House in Jhang.
M.C Lodges -- Guest House in Jhang.Aaiza Hassan
 
Grateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfGrateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfPaul Menig
 
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service AvailableDipal Arora
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Dave Litwiller
 

KĂźrzlich hochgeladen (20)

Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
 
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
 
Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSM
 
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communications
 
Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...Ensure the security of your HCL environment by applying the Zero Trust princi...
Ensure the security of your HCL environment by applying the Zero Trust princi...
 
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature SetCreating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
 
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
 
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
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
 
Call Girls in Gomti Nagar - 7388211116 - With room Service
Call Girls in Gomti Nagar - 7388211116  - With room ServiceCall Girls in Gomti Nagar - 7388211116  - With room Service
Call Girls in Gomti Nagar - 7388211116 - With room Service
 
Value Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsValue Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and pains
 
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...
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
 
HONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael HawkinsHONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael Hawkins
 
M.C Lodges -- Guest House in Jhang.
M.C Lodges --  Guest House in Jhang.M.C Lodges --  Guest House in Jhang.
M.C Lodges -- Guest House in Jhang.
 
Grateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfGrateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdf
 
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Pune Just Call 9907093804 Top Class Call Girl Service Available
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
 

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