SlideShare a Scribd company logo
1 of 25
DIGITAL TO ANALOG
CONVERTER
Name : Gauravsinh Parmar
Enrollment no : 170410117023
What is a DAC?
 A digital to analog converter (DAC) is a device
that converts digital numbers (binary) into an
analog voltage or current output.
Principal components of DAC
What is a DAC?
 Digital  Analog
 Each binary number sampled by the DAC
corresponds to a different output level.
10111001 10100111 10000110010101000011001000010000
Digital Input Signal
AnalogOutputSignal
10111001 10100111 10000110010101000011001000010000
AnalogOutputSignal
Digital Input Signal
Types of DACs
 Many types of DACs available.
 Usually switches, resistors, and op-
amps used to implement conversion
 Two Types:
◦ Binary Weighted Resistor
◦ R-2R Ladder
Binary Weighted Resistor
 Utilizes a summing op-amp circuit
 Weighted resistors are used to
distinguish each bit from the most
significant to the least significant
 Transistors are used to switch
between Vref and ground (bit high or
low)
Binary Weighted Resistor
 Assume Ideal Op-
amp
 No current into op-
amp
 Virtual ground at
inverting input
 Vout= -IRf
-
+
R
2R
4R
2nR
Rf
Vout
I
Vref
Binary Weighted Resistor







R
V
R
V
R
V
R
V
RIRV 1-n
n321
ffout
242

MSB
LSB
Voltages V1 through Vn are either
Vref if corresponding bit is high or
ground if corresponding bit is low
V1 is most significant bit
Vn is least significant bit
I
-
+
R
2R
4R
2n-1R
Rf
Vout
Vref
V1
V2
V3
Vn
Binary Weighted Resistor
 Advantages
◦ Simple
◦ Fast
 Disadvantages
◦ Need large range of resistor values
(2048:1 for 12-bit) with high precision in
low resistor values
◦ Need very small switch resistances
◦ Op-amp may have trouble producing low
currents at the low range of a high
precision DAC
R-2R Ladder
 Each bit
corresponds to a
switch:
◦ If the bit is high, the
corresponding
switch is connected
to the inverting input
of the op-amp.
◦ If the bit is low, the
corresponding
switch is connected
to ground.
R-2R Ladder
B2
B1
B0
R-2R Ladder
 Circuit may be
analyzed using
Thevenin’s
theorem (replace
network with
equivalent
voltage source
and resistance)
 Final result is: 1
out ref
0 2
n
f i
n i
i
R B
V V
R



  
B2
B1
B0
Rf
Compare to binary weighted circuit:
1
out ref ( 1)
0 2
n
f i
n i
i
R B
V V
R

 

  
R-2R Ladder
 Advantages:
◦ Only 2 resistor values
◦ Lower precision resistors acceptable
 Disadvantages
◦ Slower conversion rate
DAC Specifications:
 Reference Voltages
 Resolution
 Speed
 Settling Time
 Linearity
Reference Voltage
 Internal vs. External Vref?
Internal External
•Non-Multiplier DAC
•Vref fixed by manufacturer
•Qualified for specified
temperature range
•Multiplying DAC
•Vary Vref
•Consider current required
•Consider Voltage range
•Consider dynamic effects
of inner structure
Resolution
 1 LSB (digital)=1 step size for DAC output (analog)
 Increasing the number of bits results in a finer resolution
 Most DAC - 8 to 16-bits (256 to 65,536 steps)
e.g. 5Vref DAC
1LSB=5/28 =0.0195V resolution (8-bit)
1LSB=5/23 =0.625V resolution (3-bit)
n
refV
2
Resolution 
0
0.5
1
1.5
2
2.5
3
3.5
4
4.5
5
8-bit Resolution
0
0.5
1
1.5
2
2.5
3
3.5
4
4.5
5
3-bit Resolution
1 LSB
Speed (Max. Sampling Frequency)
 The maximum rate at which DAC is reproducing usable
analog output from digital input register
 Digital input signal that fluctuates at/ has high frequency
require high conversion speed
 Speed is limited by the clock speed of the microcontroller
(input clock speed) and the settling time of the DAC
 E.g. To reproduce audio signal up to 20kHz, standard CD
samples audio at 44.1kHz with DAC ≥40kHz
 Typical computer sound cards 48kHz sampling freq
 >1MHz for High Speed DACs
Settling Time
 The interval between a command to update (change) its
output value and the instant it reaches its final value,
within a specified percentage (± ½ LSB)
 Ideal DAC output would be sequence of impulses 
Instantaneous update
 Causes:
◦ Slew rate of output amplifier
◦ Amount of amplifier ringing and signal overshoot
 Faster DACs have shorter settling time
 Electronic switching  fast
 Amplifier settling time  dominant effect
Settling Time
tsettle
DAC Linearity
 The difference between the desired analog output and the actual
output over the full range of expected values
 Does the DAC analog output vary linearly with digital input signal?
 Can the DAC behavior follow a constant Transfer Function
relationship?
 Ideally, proportionality constant – linear slope
 Increase in input  increase in output  monotonic
 Integral non-linearity (INL) & Differential non-linearity (DNL)
010101000011001000010000
Digital Input Signal
AnalogOutputSignal
010101000011001000010000 010101000011001000010000
Digital Input Signal
AnalogOutputSignal
010101000011001000010000
Digital Input Signal
AnalogOutputSignal
010101000011001000010000 010101000011001000010000
Digital Input Signal
AnalogOutputSignal
Linear Non-Linear
Common Applications:
Function Generators
 Digital
Oscilloscopes
◦ Digital Input
◦ Analog Ouput
 Signal Generators
◦ Triangle wave generation
◦ Sine wave generation
◦ Square wave generation
◦ Random noise generation
1
2
Common Applications
 Used when a continuous analog signal is
required.
 Signal from DAC can be smoothed by a
Low pass filter
0 bit
nth bit
n bit DAC
011010010101010100101
101010101011111100101
000010101010111110011
010101010101010101010
111010101011110011000
100101010101010001111
Digital Input
Filter
Piece-wise
Continuous Output
Analog
Continuous Output
Applications – Video
Video signals from digital sources, such as a
computer or DVD must be converted to analog
signals before being displayed on an analog
monitor. Beginning on February 18th, 2009 all
television broadcasts in the United States will
be in a digital format, requiring ATSC tuners
(either internal or set-top box) to convert the
signal to analog.
Common Applications
Motor Controllers
 Cruise Control
 Valve Control
 Motor Control
1 2 3
Ditial to Analog Converter

More Related Content

What's hot

Differentiator OP Amp
Differentiator OP AmpDifferentiator OP Amp
Differentiator OP AmpDr.Raja R
 
2.Opamp parameters
2.Opamp parameters2.Opamp parameters
2.Opamp parametersINDIAN NAVY
 
Analog to Digital Converters
Analog to Digital ConvertersAnalog to Digital Converters
Analog to Digital ConvertersAnas Smarty
 
Integrator OP Amp
Integrator OP AmpIntegrator OP Amp
Integrator OP AmpDr.Raja R
 
Operational Amplifier Part 1
Operational Amplifier Part 1Operational Amplifier Part 1
Operational Amplifier Part 1Mukesh Tekwani
 
Schmitt trigger circuit
Schmitt trigger circuitSchmitt trigger circuit
Schmitt trigger circuittaranjeet10
 
Op amp(operational amplifier)
Op amp(operational amplifier)Op amp(operational amplifier)
Op amp(operational amplifier)Kausik das
 
Analog to digital conversion
Analog to digital conversionAnalog to digital conversion
Analog to digital conversionEngr Ahmad Khan
 
Differential amplifier
Differential amplifierDifferential amplifier
Differential amplifiersarunkutti
 
Analog to Digital Conversion
Analog to Digital ConversionAnalog to Digital Conversion
Analog to Digital ConversionSyed Umair
 
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
 
Introduction to Counters
Introduction to CountersIntroduction to Counters
Introduction to CountersISMT College
 

What's hot (20)

Differentiator OP Amp
Differentiator OP AmpDifferentiator OP Amp
Differentiator OP Amp
 
Analog to digital converters, adc
Analog to digital converters, adcAnalog to digital converters, adc
Analog to digital converters, adc
 
2.Opamp parameters
2.Opamp parameters2.Opamp parameters
2.Opamp parameters
 
ADC & DAC
ADC & DACADC & DAC
ADC & DAC
 
Tuned amplifire
Tuned amplifireTuned amplifire
Tuned amplifire
 
Active filters
Active filtersActive filters
Active filters
 
Analog to Digital Converters
Analog to Digital ConvertersAnalog to Digital Converters
Analog to Digital Converters
 
Integrator OP Amp
Integrator OP AmpIntegrator OP Amp
Integrator OP Amp
 
Operational Amplifier Part 1
Operational Amplifier Part 1Operational Amplifier Part 1
Operational Amplifier Part 1
 
Schmitt trigger circuit
Schmitt trigger circuitSchmitt trigger circuit
Schmitt trigger circuit
 
Op amp(operational amplifier)
Op amp(operational amplifier)Op amp(operational amplifier)
Op amp(operational amplifier)
 
Analog to digital conversion
Analog to digital conversionAnalog to digital conversion
Analog to digital conversion
 
Differential amplifier
Differential amplifierDifferential amplifier
Differential amplifier
 
Counters
CountersCounters
Counters
 
Filters
FiltersFilters
Filters
 
Analog to Digital Conversion
Analog to Digital ConversionAnalog to Digital Conversion
Analog to Digital Conversion
 
Presentation on JFET
Presentation on JFETPresentation on JFET
Presentation on JFET
 
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
 
Introduction to Counters
Introduction to CountersIntroduction to Counters
Introduction to Counters
 
Bias compensation
Bias compensationBias compensation
Bias compensation
 

Similar to Ditial to Analog Converter

Similar to Ditial to Analog Converter (20)

dac-180418111805 (1).pdf
dac-180418111805 (1).pdfdac-180418111805 (1).pdf
dac-180418111805 (1).pdf
 
5942709.ppt
5942709.ppt5942709.ppt
5942709.ppt
 
Unit 6.pptx
Unit 6.pptxUnit 6.pptx
Unit 6.pptx
 
dsd.pptx
dsd.pptxdsd.pptx
dsd.pptx
 
DAC_S06.pptx
DAC_S06.pptxDAC_S06.pptx
DAC_S06.pptx
 
adc-dac.pptx
adc-dac.pptxadc-dac.pptx
adc-dac.pptx
 
Vlsi dac
Vlsi dacVlsi dac
Vlsi dac
 
adc dac converter
adc dac converteradc dac converter
adc dac converter
 
analog to digital adn digital to analog .ppt
analog to digital adn digital to analog .pptanalog to digital adn digital to analog .ppt
analog to digital adn digital to analog .ppt
 
Adc dac converter
Adc dac converterAdc dac converter
Adc dac converter
 
ADC and DAC Best Ever Pers
ADC and DAC Best Ever PersADC and DAC Best Ever Pers
ADC and DAC Best Ever Pers
 
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
 
Data convertors
Data convertorsData convertors
Data convertors
 
analog to digital converter.ppt
analog to digital converter.pptanalog to digital converter.ppt
analog to digital converter.ppt
 
Adc f05
Adc f05Adc f05
Adc f05
 
Lec08
Lec08Lec08
Lec08
 
Converter specification
Converter specificationConverter specification
Converter specification
 
Analog-Digital-Converter.ppt
Analog-Digital-Converter.pptAnalog-Digital-Converter.ppt
Analog-Digital-Converter.ppt
 
Analog-Digital-Converter.ppt
Analog-Digital-Converter.pptAnalog-Digital-Converter.ppt
Analog-Digital-Converter.ppt
 
Analog-Digital-Converter for nyquiest model.ppt
Analog-Digital-Converter for nyquiest model.pptAnalog-Digital-Converter for nyquiest model.ppt
Analog-Digital-Converter for nyquiest model.ppt
 

More from Gauravsinh Parmar

More from Gauravsinh Parmar (8)

Data serializing
Data serializingData serializing
Data serializing
 
Necessity for dryers
Necessity for dryersNecessity for dryers
Necessity for dryers
 
Floating mode controller
Floating mode controllerFloating mode controller
Floating mode controller
 
Class b amplifier
Class b amplifierClass b amplifier
Class b amplifier
 
Block Diagram Reduction
Block Diagram ReductionBlock Diagram Reduction
Block Diagram Reduction
 
3 phase x'mer windings
3 phase x'mer windings3 phase x'mer windings
3 phase x'mer windings
 
Sweep Frequency Generator
Sweep Frequency GeneratorSweep Frequency Generator
Sweep Frequency Generator
 
Cycloidal curves
Cycloidal curvesCycloidal curves
Cycloidal curves
 

Recently uploaded

Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .Satyam Kumar
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2RajaP95
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)dollysharma2066
 

Recently uploaded (20)

Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
 

Ditial to Analog Converter

  • 1. DIGITAL TO ANALOG CONVERTER Name : Gauravsinh Parmar Enrollment no : 170410117023
  • 2. What is a DAC?  A digital to analog converter (DAC) is a device that converts digital numbers (binary) into an analog voltage or current output.
  • 4. What is a DAC?  Digital  Analog  Each binary number sampled by the DAC corresponds to a different output level. 10111001 10100111 10000110010101000011001000010000 Digital Input Signal AnalogOutputSignal 10111001 10100111 10000110010101000011001000010000 AnalogOutputSignal Digital Input Signal
  • 5. Types of DACs  Many types of DACs available.  Usually switches, resistors, and op- amps used to implement conversion  Two Types: ◦ Binary Weighted Resistor ◦ R-2R Ladder
  • 6. Binary Weighted Resistor  Utilizes a summing op-amp circuit  Weighted resistors are used to distinguish each bit from the most significant to the least significant  Transistors are used to switch between Vref and ground (bit high or low)
  • 7. Binary Weighted Resistor  Assume Ideal Op- amp  No current into op- amp  Virtual ground at inverting input  Vout= -IRf - + R 2R 4R 2nR Rf Vout I Vref
  • 8. Binary Weighted Resistor        R V R V R V R V RIRV 1-n n321 ffout 242  MSB LSB Voltages V1 through Vn are either Vref if corresponding bit is high or ground if corresponding bit is low V1 is most significant bit Vn is least significant bit I - + R 2R 4R 2n-1R Rf Vout Vref V1 V2 V3 Vn
  • 9. Binary Weighted Resistor  Advantages ◦ Simple ◦ Fast  Disadvantages ◦ Need large range of resistor values (2048:1 for 12-bit) with high precision in low resistor values ◦ Need very small switch resistances ◦ Op-amp may have trouble producing low currents at the low range of a high precision DAC
  • 10. R-2R Ladder  Each bit corresponds to a switch: ◦ If the bit is high, the corresponding switch is connected to the inverting input of the op-amp. ◦ If the bit is low, the corresponding switch is connected to ground.
  • 12. R-2R Ladder  Circuit may be analyzed using Thevenin’s theorem (replace network with equivalent voltage source and resistance)  Final result is: 1 out ref 0 2 n f i n i i R B V V R       B2 B1 B0 Rf Compare to binary weighted circuit: 1 out ref ( 1) 0 2 n f i n i i R B V V R       
  • 13. R-2R Ladder  Advantages: ◦ Only 2 resistor values ◦ Lower precision resistors acceptable  Disadvantages ◦ Slower conversion rate
  • 14. DAC Specifications:  Reference Voltages  Resolution  Speed  Settling Time  Linearity
  • 15. Reference Voltage  Internal vs. External Vref? Internal External •Non-Multiplier DAC •Vref fixed by manufacturer •Qualified for specified temperature range •Multiplying DAC •Vary Vref •Consider current required •Consider Voltage range •Consider dynamic effects of inner structure
  • 16. Resolution  1 LSB (digital)=1 step size for DAC output (analog)  Increasing the number of bits results in a finer resolution  Most DAC - 8 to 16-bits (256 to 65,536 steps) e.g. 5Vref DAC 1LSB=5/28 =0.0195V resolution (8-bit) 1LSB=5/23 =0.625V resolution (3-bit) n refV 2 Resolution  0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 8-bit Resolution 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 3-bit Resolution 1 LSB
  • 17. Speed (Max. Sampling Frequency)  The maximum rate at which DAC is reproducing usable analog output from digital input register  Digital input signal that fluctuates at/ has high frequency require high conversion speed  Speed is limited by the clock speed of the microcontroller (input clock speed) and the settling time of the DAC  E.g. To reproduce audio signal up to 20kHz, standard CD samples audio at 44.1kHz with DAC ≥40kHz  Typical computer sound cards 48kHz sampling freq  >1MHz for High Speed DACs
  • 18. Settling Time  The interval between a command to update (change) its output value and the instant it reaches its final value, within a specified percentage (± ½ LSB)  Ideal DAC output would be sequence of impulses  Instantaneous update  Causes: ◦ Slew rate of output amplifier ◦ Amount of amplifier ringing and signal overshoot  Faster DACs have shorter settling time  Electronic switching  fast  Amplifier settling time  dominant effect
  • 20. DAC Linearity  The difference between the desired analog output and the actual output over the full range of expected values  Does the DAC analog output vary linearly with digital input signal?  Can the DAC behavior follow a constant Transfer Function relationship?  Ideally, proportionality constant – linear slope  Increase in input  increase in output  monotonic  Integral non-linearity (INL) & Differential non-linearity (DNL) 010101000011001000010000 Digital Input Signal AnalogOutputSignal 010101000011001000010000 010101000011001000010000 Digital Input Signal AnalogOutputSignal 010101000011001000010000 Digital Input Signal AnalogOutputSignal 010101000011001000010000 010101000011001000010000 Digital Input Signal AnalogOutputSignal Linear Non-Linear
  • 21. Common Applications: Function Generators  Digital Oscilloscopes ◦ Digital Input ◦ Analog Ouput  Signal Generators ◦ Triangle wave generation ◦ Sine wave generation ◦ Square wave generation ◦ Random noise generation 1 2
  • 22. Common Applications  Used when a continuous analog signal is required.  Signal from DAC can be smoothed by a Low pass filter 0 bit nth bit n bit DAC 011010010101010100101 101010101011111100101 000010101010111110011 010101010101010101010 111010101011110011000 100101010101010001111 Digital Input Filter Piece-wise Continuous Output Analog Continuous Output
  • 23. Applications – Video Video signals from digital sources, such as a computer or DVD must be converted to analog signals before being displayed on an analog monitor. Beginning on February 18th, 2009 all television broadcasts in the United States will be in a digital format, requiring ATSC tuners (either internal or set-top box) to convert the signal to analog.
  • 24. Common Applications Motor Controllers  Cruise Control  Valve Control  Motor Control 1 2 3