SlideShare a Scribd company logo
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.
1011
1001 1010
0111 1000
0110
0101
0100
0011
0010
0001
0000
Digital Input Signal
Analog
Output
Signal
1011
1001 1010
0111 1000
0110
0101
0100
0011
0010
0001
0000
Analog
Output
Signal
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
R
IR
V 1
-
n
n
3
2
1
f
f
out
2
4
2

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
ref
V
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)
0101
0100
0011
0010
0001
0000
Digital Input Signal
Analog
Output
Signal
0101
0100
0011
0010
0001
0000 0101
0100
0011
0010
0001
0000
Digital Input Signal
Analog
Output
Signal
0101
0100
0011
0010
0001
0000
Digital Input Signal
Analog
Output
Signal
0101
0100
0011
0010
0001
0000 0101
0100
0011
0010
0001
0000
Digital Input Signal
Analog
Output
Signal
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
dac-180418111805 (1).pdf

More Related Content

Similar to dac-180418111805 (1).pdf

adc dac converter
adc dac converteradc dac converter
adc dac converter
Gaurav Rai
 
ADC and DAC Best Ever Pers
ADC and DAC Best Ever PersADC and DAC Best Ever Pers
ADC and DAC Best Ever Pers
Eng Ahmed Salad Osman
 
Data convertors
Data convertorsData convertors
Data convertors
Priyansh Thakar
 
analog to digital converter.ppt
analog to digital converter.pptanalog to digital converter.ppt
analog to digital converter.ppt
Dreamers6
 
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
 
R-2R Ladder DAC
R-2R Ladder DACR-2R Ladder DAC
R-2R Ladder DAC
Chandul4y
 
adcanddac hai kya bhayy me know if-01.pptx
adcanddac hai kya bhayy me know if-01.pptxadcanddac hai kya bhayy me know if-01.pptx
adcanddac hai kya bhayy me know if-01.pptx
shivraj3252
 
Dsp U Lec02 Data Converters
Dsp U   Lec02 Data ConvertersDsp U   Lec02 Data Converters
Dsp U Lec02 Data Converters
taha25
 
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
AbhinavSharma374939
 
ANALOG PRESENTATION.pptx
ANALOG PRESENTATION.pptxANALOG PRESENTATION.pptx
ANALOG PRESENTATION.pptx
SakthiElango
 
DAC-digital to analog converter
DAC-digital to analog converterDAC-digital to analog converter
DAC-digital to analog converter
Shazid Reaj
 
Lec08
Lec08Lec08
ANALOG TO DIGITAL CONVERTOR
ANALOG TO DIGITAL CONVERTORANALOG TO DIGITAL CONVERTOR
ANALOG TO DIGITAL CONVERTOR
Anil Yadav
 
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
naveen088888
 
Analog-Digital-Converter.ppt
Analog-Digital-Converter.pptAnalog-Digital-Converter.ppt
Analog-Digital-Converter.ppt
AbhishekKumarRanjan9
 
Analog-Digital-Converter.ppt
Analog-Digital-Converter.pptAnalog-Digital-Converter.ppt
Analog-Digital-Converter.ppt
ssuserf2cc17
 
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
BEVARAVASUDEVAAP1813
 
Analog-Digital-Converter.ppt
Analog-Digital-Converter.pptAnalog-Digital-Converter.ppt
Analog-Digital-Converter.ppt
anilvasudev19
 

Similar to dac-180418111805 (1).pdf (20)

adc dac converter
adc dac converteradc dac converter
adc dac converter
 
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
 
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
 
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
 
R-2R Ladder DAC
R-2R Ladder DACR-2R Ladder DAC
R-2R Ladder DAC
 
adcanddac hai kya bhayy me know if-01.pptx
adcanddac hai kya bhayy me know if-01.pptxadcanddac hai kya bhayy me know if-01.pptx
adcanddac hai kya bhayy me know if-01.pptx
 
Adc f05
Adc f05Adc f05
Adc f05
 
Dsp U Lec02 Data Converters
Dsp U   Lec02 Data ConvertersDsp U   Lec02 Data Converters
Dsp U Lec02 Data Converters
 
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 PRESENTATION.pptx
ANALOG PRESENTATION.pptxANALOG PRESENTATION.pptx
ANALOG PRESENTATION.pptx
 
DAC-digital to analog converter
DAC-digital to analog converterDAC-digital to analog converter
DAC-digital to analog converter
 
Lec08
Lec08Lec08
Lec08
 
ANALOG TO DIGITAL CONVERTOR
ANALOG TO DIGITAL CONVERTORANALOG TO DIGITAL CONVERTOR
ANALOG TO DIGITAL CONVERTOR
 
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
 
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
 
Analog-Digital-Converter.ppt
Analog-Digital-Converter.pptAnalog-Digital-Converter.ppt
Analog-Digital-Converter.ppt
 

Recently uploaded

太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】
太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】
太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】
foismail170
 
Chapters 3 Contracts.pptx Chapters 3 Contracts.pptx
Chapters 3  Contracts.pptx Chapters 3  Contracts.pptxChapters 3  Contracts.pptx Chapters 3  Contracts.pptx
Chapters 3 Contracts.pptx Chapters 3 Contracts.pptx
Sheldon Byron
 
How to Master LinkedIn for Career and Business
How to Master LinkedIn for Career and BusinessHow to Master LinkedIn for Career and Business
How to Master LinkedIn for Career and Business
ideatoipo
 
My Story of Getting into Tech By Gertrude Chilufya Westrin
My Story of Getting into Tech By Gertrude Chilufya WestrinMy Story of Getting into Tech By Gertrude Chilufya Westrin
My Story of Getting into Tech By Gertrude Chilufya Westrin
AlinaseFaith
 
How to create an effective K-POC tutorial
How to create an effective K-POC tutorialHow to create an effective K-POC tutorial
How to create an effective K-POC tutorial
vencislavkaaa
 
欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】
欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】
欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】
foismail170
 
135. Reviewer Certificate in Journal of Engineering
135. Reviewer Certificate in Journal of Engineering135. Reviewer Certificate in Journal of Engineering
135. Reviewer Certificate in Journal of Engineering
Manu Mitra
 
欧洲杯投注app-欧洲杯投注app推荐-欧洲杯投注app| 立即访问【ac123.net】
欧洲杯投注app-欧洲杯投注app推荐-欧洲杯投注app| 立即访问【ac123.net】欧洲杯投注app-欧洲杯投注app推荐-欧洲杯投注app| 立即访问【ac123.net】
欧洲杯投注app-欧洲杯投注app推荐-欧洲杯投注app| 立即访问【ac123.net】
foismail170
 
How Mentoring Elevates Your PM Career | PMI Silver Spring Chapter
How Mentoring Elevates Your PM Career | PMI Silver Spring ChapterHow Mentoring Elevates Your PM Career | PMI Silver Spring Chapter
How Mentoring Elevates Your PM Career | PMI Silver Spring Chapter
Hector Del Castillo, CPM, CPMM
 
欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】
欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】
欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】
foismail170
 
Personal Brand exploration KE.pdf for assignment
Personal Brand exploration KE.pdf for assignmentPersonal Brand exploration KE.pdf for assignment
Personal Brand exploration KE.pdf for assignment
ragingokie
 
15385-LESSON PLAN- 7TH - SS-Insian Constitution an Introduction.pdf
15385-LESSON PLAN- 7TH - SS-Insian Constitution an Introduction.pdf15385-LESSON PLAN- 7TH - SS-Insian Constitution an Introduction.pdf
15385-LESSON PLAN- 7TH - SS-Insian Constitution an Introduction.pdf
gobogo3542
 
Andrea Kate Portfolio Presentation.pdf
Andrea Kate  Portfolio  Presentation.pdfAndrea Kate  Portfolio  Presentation.pdf
Andrea Kate Portfolio Presentation.pdf
andreakaterasco
 
New Explore Careers and College Majors 2024.pdf
New Explore Careers and College Majors 2024.pdfNew Explore Careers and College Majors 2024.pdf
New Explore Careers and College Majors 2024.pdf
Dr. Mary Askew
 
133. Reviewer Certificate in Advances in Research
133. Reviewer Certificate in Advances in Research133. Reviewer Certificate in Advances in Research
133. Reviewer Certificate in Advances in Research
Manu Mitra
 
DOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdf
DOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdfDOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdf
DOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdf
Pushpendra Kumar
 
Operating system. short answes and Interview questions .pdf
Operating system. short answes and Interview questions .pdfOperating system. short answes and Interview questions .pdf
Operating system. short answes and Interview questions .pdf
harikrishnahari6276
 
Dr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdf
Dr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdfDr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdf
Dr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdf
Dr. Nazrul Islam
 
Brand Identity For A Sportscaster Project and Portfolio I
Brand Identity For A Sportscaster Project and Portfolio IBrand Identity For A Sportscaster Project and Portfolio I
Brand Identity For A Sportscaster Project and Portfolio I
thomasaolson2000
 
Midterm Contract Law and Adminstration.pptx
Midterm Contract Law and Adminstration.pptxMidterm Contract Law and Adminstration.pptx
Midterm Contract Law and Adminstration.pptx
Sheldon Byron
 

Recently uploaded (20)

太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】
太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】
太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】
 
Chapters 3 Contracts.pptx Chapters 3 Contracts.pptx
Chapters 3  Contracts.pptx Chapters 3  Contracts.pptxChapters 3  Contracts.pptx Chapters 3  Contracts.pptx
Chapters 3 Contracts.pptx Chapters 3 Contracts.pptx
 
How to Master LinkedIn for Career and Business
How to Master LinkedIn for Career and BusinessHow to Master LinkedIn for Career and Business
How to Master LinkedIn for Career and Business
 
My Story of Getting into Tech By Gertrude Chilufya Westrin
My Story of Getting into Tech By Gertrude Chilufya WestrinMy Story of Getting into Tech By Gertrude Chilufya Westrin
My Story of Getting into Tech By Gertrude Chilufya Westrin
 
How to create an effective K-POC tutorial
How to create an effective K-POC tutorialHow to create an effective K-POC tutorial
How to create an effective K-POC tutorial
 
欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】
欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】
欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】
 
135. Reviewer Certificate in Journal of Engineering
135. Reviewer Certificate in Journal of Engineering135. Reviewer Certificate in Journal of Engineering
135. Reviewer Certificate in Journal of Engineering
 
欧洲杯投注app-欧洲杯投注app推荐-欧洲杯投注app| 立即访问【ac123.net】
欧洲杯投注app-欧洲杯投注app推荐-欧洲杯投注app| 立即访问【ac123.net】欧洲杯投注app-欧洲杯投注app推荐-欧洲杯投注app| 立即访问【ac123.net】
欧洲杯投注app-欧洲杯投注app推荐-欧洲杯投注app| 立即访问【ac123.net】
 
How Mentoring Elevates Your PM Career | PMI Silver Spring Chapter
How Mentoring Elevates Your PM Career | PMI Silver Spring ChapterHow Mentoring Elevates Your PM Career | PMI Silver Spring Chapter
How Mentoring Elevates Your PM Career | PMI Silver Spring Chapter
 
欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】
欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】
欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】
 
Personal Brand exploration KE.pdf for assignment
Personal Brand exploration KE.pdf for assignmentPersonal Brand exploration KE.pdf for assignment
Personal Brand exploration KE.pdf for assignment
 
15385-LESSON PLAN- 7TH - SS-Insian Constitution an Introduction.pdf
15385-LESSON PLAN- 7TH - SS-Insian Constitution an Introduction.pdf15385-LESSON PLAN- 7TH - SS-Insian Constitution an Introduction.pdf
15385-LESSON PLAN- 7TH - SS-Insian Constitution an Introduction.pdf
 
Andrea Kate Portfolio Presentation.pdf
Andrea Kate  Portfolio  Presentation.pdfAndrea Kate  Portfolio  Presentation.pdf
Andrea Kate Portfolio Presentation.pdf
 
New Explore Careers and College Majors 2024.pdf
New Explore Careers and College Majors 2024.pdfNew Explore Careers and College Majors 2024.pdf
New Explore Careers and College Majors 2024.pdf
 
133. Reviewer Certificate in Advances in Research
133. Reviewer Certificate in Advances in Research133. Reviewer Certificate in Advances in Research
133. Reviewer Certificate in Advances in Research
 
DOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdf
DOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdfDOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdf
DOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdf
 
Operating system. short answes and Interview questions .pdf
Operating system. short answes and Interview questions .pdfOperating system. short answes and Interview questions .pdf
Operating system. short answes and Interview questions .pdf
 
Dr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdf
Dr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdfDr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdf
Dr. Nazrul Islam, Northern University Bangladesh - CV (29.5.2024).pdf
 
Brand Identity For A Sportscaster Project and Portfolio I
Brand Identity For A Sportscaster Project and Portfolio IBrand Identity For A Sportscaster Project and Portfolio I
Brand Identity For A Sportscaster Project and Portfolio I
 
Midterm Contract Law and Adminstration.pptx
Midterm Contract Law and Adminstration.pptxMidterm Contract Law and Adminstration.pptx
Midterm Contract Law and Adminstration.pptx
 

dac-180418111805 (1).pdf

  • 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. 1011 1001 1010 0111 1000 0110 0101 0100 0011 0010 0001 0000 Digital Input Signal Analog Output Signal 1011 1001 1010 0111 1000 0110 0101 0100 0011 0010 0001 0000 Analog Output Signal 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 R IR V 1 - n n 3 2 1 f f out 2 4 2  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 ref V 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) 0101 0100 0011 0010 0001 0000 Digital Input Signal Analog Output Signal 0101 0100 0011 0010 0001 0000 0101 0100 0011 0010 0001 0000 Digital Input Signal Analog Output Signal 0101 0100 0011 0010 0001 0000 Digital Input Signal Analog Output Signal 0101 0100 0011 0010 0001 0000 0101 0100 0011 0010 0001 0000 Digital Input Signal Analog Output Signal 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