SlideShare ist ein Scribd-Unternehmen logo
1 von 30
Downloaden Sie, um offline zu lesen
Digital to Analog Converter 
Raghu Tumati 
May 11, 2006
Contents 
1) Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 
2) DAC types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 
3) DAC Presented . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 
3.1) Blocks of the DAC . . . . . . . . . . . . . . . . . . . . . . . . . 5 
3.2) Binary weighted ladder . . . . . . . . . . . . . . . . . . . . . . . 5 
3.3) OP-AMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 
3.4) Open Loop Gain . . . . . . . . . . . . . . . . . . . . . . . . . . 10 
3.5) Gain Bandwidth . . . . . . . . . . . . . . . . . . . . . . . . . . 10 
4) Circuit Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 
4.1) Biasing Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . .11 
4.2) First Stage . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 
4.3) Second Stage . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 
4.4) DAC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 
5) Simulation Results . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 
6) Layout Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 
7) Final simulation result . . . . . . . . . . . . . . . . . . . . . . . . . 29 
8) References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
1) INTRODUCTION 
A digital-to-analog converter (DAC or D-to-A) is a device for converting a digital 
(usually binary) code to an analog signal (current, voltage or charges). Digital-to- 
Analog Converters are the interface between the abstract digital world and the analog 
real life. Simple switches, a network of resistors, current sources or capacitors may 
implement this conversion. 
A DAC inputs a binary number and outputs an analog voltage or current signal. In 
block diagram form, it looks like this:
2) DAC types 
The most common types of electronic DAC’s are: 
• The Pulse Width Modulator the simplest DAC type. A stable current 
(electricity) or voltage is switched into a low pass analog filter with a duration 
determined by the digital input code. This technique is often used for electric 
motor speed control, and is now becoming common in high-fidelity audio. 
• Oversampling DACs such as the Delta-Sigma DAC, a pulse density 
conversion technique. The oversampling technique allows for the use of a lower 
resolution DAC internally. A simple 1-bit DAC is often chosen, as it is 
inherently linear. The DAC is driven with a pulse density modulated signal, 
created through negative feedback. The negative feedback will act as a high-pass 
filter for the quantization (signal processing) noise, thus pushing this noise 
out of the pass-band. Most very high resolution DACs (greater than 16 bits) are 
of this type due to its high linearity and low cost. Speeds of greater than 100 
thousand samples per second and resolutions of 24 bits are attainable with 
Delta-Sigma DACs. Simple first order Delta-Sigma modulators or higher order 
topologies such as MASH - 'Multi stage' noise Shaping can be used to generate 
the pulse density signal. Higher oversampling rates relax the specifications of 
the output Low-pass filter and enable further suppression of quantization noise. 
• The Binary Weighted DAC, which contains one resistor or current source for 
each bit of the DAC connected to a summing point. These precise voltages or 
currents sum to the correct output value. This is one of the fastest conversion 
methods but suffers from poor accuracy because of the high precision required 
for each individual voltage or current. Such high-precision resistors and current-sources 
are expensive, so this type of converter is usually limited to 8-bit 
resolution or less. 
• The R2R Ladder DAC, which is a binary weighted DAC that creates each 
value with a repeating structure of 2 resistor values, R and R times two. This 
improves DAC precision due to the ease of producing many equal matched 
values of resistors or current sources, but lowers conversion speed due to 
parasitic capacitance. 
• The Segmented DAC, which contains an equal resistor or current source 
segment for each possible value of DAC output. An 8-bit binary-segmented 
DAC would have 255 segments, and a 16-bit binary-segmented DAC would 
have 65,535 segments. This is perhaps the fastest and highest precision DAC 
architecture but at the expense of high cost. Conversion speeds of >1 billion 
samples per second have been reached with this type of DAC. 
• Hybrid DACs, which use a combination of the above techniques in a single 
converter. Most DAC integrated circuits are of this type due to the difficulty of 
getting low cost, high speed and high precision in one device.
3) DAC Presented 
This paper will present the 12 bit binary weighted DAC. 
The DAC operates at a maximum frequency of 25MHz using .6um technology to drive 
a load of 20pF. 
3.1) Blocks of the DACs 
The DAC consists of the following blocks 
1) Binary weighted ladder. 
2) Op-amp 
3.2) Binary Weighted Ladder 
The binary weighted ladder consists of 30K and 15K resistors placed in a configuration 
as shown in fig. The inputs to the ladder are fed from a 12 bit ROM. The input voltages 
range from 0V to 5V. 
The output of the ladder in fed to an OP-AMP. It only supplies a voltage from 3.1V to 
4.1 V as an output. Biasing for such an output range was decided by the characteristics 
of the OP-AMP. 
Biasing was implemented using a buffer placed with the ladder network as shown in 
figure to maintain linearity in the DAC output. 
So when all inputs are low, the ladder supplied a voltage of 3.1 V to the OP-AMP and 
when all the inputs are high a voltage of 4.1V was supplied. 
For a 10 bit ladder and 0-5V rails 
The accuracy needed is 5/1025 = 0.0049V,
But this is the max voltage variation in both direction of the ideal voltage. Hence the 
variation from ideal output is 0.0049/2 = 0.00245V 
Which means that for every bit from the input, an analog voltage of 0.0049 is produced 
at the output. 
From the ladder schematic the most stringent accuracy is needed when the input varies 
from 0111111111 to 1000000000 
For such a transition Vout = Vref R1/R2 = 2.497V 
R1/R2 = .1% 
Which is the matching needed in this technology for linearity to be maintained in the 
output. . 
Below is shown the schematic of the ladder in two stages. 
1) One with the binary weighted resistors 
2) One with the buffer placed for biasing the op-amp.
Figure of buffer for bias to op-amp
The complete schematic of the ladder including the biasing for the op-amp
3.3) OP-AMP 
The design of the op-amp was based on the following design parameters- 
1) 10 input bits 
2) 0-5V rail voltages 
3) 50Mhz clock frequency or 25Mhz frequency for DAC 
3.4) OPEN LOOP GAIN 
The op-amp in this DAC is used in unity feedback configuration. 
The closed loop gain for an op-amp is given by A/(A+1), where A is the open loop gain 
The error Vout/Vin is highest at the highest possible V which is Vref=5V 
Hence A was calculated to be a minimum 2082. 
3.5) GAIN BANDWITH 
For a maximum operating frequency of 25Mhz, the output needs to be settled in 40ns 
Again as in the calculation of the open-loop gain, the maximum speed is needed when 
the output voltage is the highest i.e. 5V 
4.9976=5(1-e^(-t/RC)) 
RC=5.2ns 
Or the gain bandwidth comes out to be 20Mhz
4) CIRCUIT DESIGN 
The op-amp was designed to work in 2 stages 
1) A differential first stage which works as an input for the binary ladder 
2) Final gain stage for an output load of 20pF 
4.1) BIASING CIRCUIT 
The biasing circuit for the op-amp was implemented using p-mos current mirrors and 
n-mos current sources for both the stages. 
To avoid the affect of slew rate on the op-amp the current to be delivered in the first 
stage was calculated to be 600uA 
The current in the 2nd stage was calculated from the 1st stage to be about 2.3mA. 
Schematics of the biasing stages are shown in fig
Bias circuit schematic of 1st stage of op-amp
Bias circuit schematic of 2nd stage of op-amp
4.2) FIRST STAGE 
The first stage of the op-amp as shown in the fig gives a gain of about 45-60 from a 
common mode range of 3-4V. 
Sizes of the transistors are given in fig. 
The lengths of transistors had to be increased to provide high small signal output 
impedance for a high gain.
4.3) SECOND STAGE 
The second stage of the op-amp is acts as a gain stage and to provide enough current to 
drive a load of 20pF. The compensation capacitor was placed to improve the 
bandwidth of the amplifier. 
Taking parasitic and load capacitance in to account, the maximum frequency of the 
second pole was calculated to be 
1/RC = gm2/(C1+C2) 
where C1 and C2 are given from the figure as below 
C1= Cgd1 +Cgd3 + Cdb1 + Cdb3 + Cgs5 
C2= Cc+ Cdb5 
Cl= Cc+Cgd5 
gm2= gm5 
c1+ c2 can be taken as 20pf as parasitics are negligible as compared to load capacitor 
Hence gm2 comes out to be 6.2 mA/V 
And from the formula 
gm = 2I/(Vgs-Vt) 
I= bias current in second stage is calculated to be 2.3 mA 
The 1st pole is arbitrarily chosen to lie at 16Khz 
And the 2nd pole is calculated to be 50Mhz 
A resistor is placed in series with the capacitor so that the zero does not interfere in the 
transfer function of the gain. 
The compensation capacitor is calculated to be 6.44 pF 
And the zero resistor is calculated from the formula 
Rz = (Cl+Cc)/gm5*Cc
Schematic of the 2nd stage
4.4) DAC 
The complete blocks for the DAC is shown in fig below with test circuit to see the 
DAC works with linearly increasing signal before testing it with the ROM output
5) SIMULATION RESULTS 
Schematic simulations were performed on all circuits to verify functionality. 
Simulations with parasitic capacitors extracted from the layout were performed on 
circuits whose performance was expected to be highly dependent. 
All A.C simulations were taken for a frequency range of 100Mhz 
The gain of the 1st stage
2nd stage gain
DC bias current of 1st stage
DC bias current of 2nd stage
Gain of OP-AMP
DAC output simulated for a sine wave of 25Mhz
6) LAYOUT DESIGN 
The layout for the DAC is shown in the images below in .6um AMI technology. Guard 
rings of grounded metal 1 to substrate contacts are used to isolate logic components. 
Supply decoupling capacitors are built in any space not occupied by circuitry. 
Layout of resistors was done with elec or poly layer.
Layout of ladder with buffer shown
Layout of op-amp with compensating capacitor
Complete layout of DAC, with 10 inputs fed from ROM
7) FINAL SIMULATION RESULT OF DDS WITH EXTRACTED 
PARASICTICS 
The final output simulation with all parasitics extracted and with the output of the ROM 
connected to the DAC is also shown in the fig below.
REFERENCES 
1) Design of Analog CMOS Integrated circuits by Behzad Razavi 
2) www.wikepedia.com

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

DAC-digital to analog converter
DAC-digital to analog converterDAC-digital to analog converter
DAC-digital to analog converter
 
Lica 7th chapter slides
Lica 7th chapter slidesLica 7th chapter slides
Lica 7th chapter slides
 
DAC , Digital to analog Converter
DAC , Digital to analog ConverterDAC , Digital to analog Converter
DAC , Digital to analog Converter
 
Digital to analog conversion
Digital to analog                    conversionDigital to analog                    conversion
Digital to analog conversion
 
Ditial to Analog Converter
Ditial to Analog ConverterDitial to Analog Converter
Ditial to Analog Converter
 
Analog to digital converter
Analog to digital converterAnalog to digital converter
Analog to digital converter
 
Analog to Digital Converters
Analog to Digital ConvertersAnalog to Digital Converters
Analog to Digital Converters
 
Adc dac converter
Adc dac converterAdc dac converter
Adc dac converter
 
Adc and dac
Adc and dacAdc and dac
Adc and dac
 
Dac, adc architecture
Dac, adc architectureDac, adc architecture
Dac, adc architecture
 
R-2R Ladder DAC
R-2R Ladder DACR-2R Ladder DAC
R-2R Ladder DAC
 
ANALOG TO DIGITAL CONVERTOR
ANALOG TO DIGITAL CONVERTORANALOG TO DIGITAL CONVERTOR
ANALOG TO DIGITAL CONVERTOR
 
Working of capacitive SAR ADC
Working of capacitive SAR ADCWorking of capacitive SAR ADC
Working of capacitive SAR ADC
 
Analog to digital converter
Analog to digital converterAnalog to digital converter
Analog to digital converter
 
ADC
ADCADC
ADC
 
Adc.pptx ashvani 151503
Adc.pptx ashvani 151503Adc.pptx ashvani 151503
Adc.pptx ashvani 151503
 
adc dac converter
adc dac converteradc dac converter
adc dac converter
 
Adc f05
Adc f05Adc f05
Adc f05
 
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
 
ADC & DAC
ADC & DAC ADC & DAC
ADC & DAC
 

Andere mochten auch

Digital to analog conversion
Digital to analog conversionDigital to analog conversion
Digital to analog conversion
WaseemKhan00
 
Embedded questions
Embedded questionsEmbedded questions
Embedded questions
carlavick20
 
Embedded SW Interview Questions
Embedded SW Interview Questions Embedded SW Interview Questions
Embedded SW Interview Questions
PiTechnologies
 
Analog to digital conversion
Analog to digital conversionAnalog to digital conversion
Analog to digital conversion
Engr Ahmad Khan
 

Andere mochten auch (16)

Digital to analog conversion
Digital to analog conversionDigital to analog conversion
Digital to analog conversion
 
Multiplexar
MultiplexarMultiplexar
Multiplexar
 
multiplexer 4 input
multiplexer 4 inputmultiplexer 4 input
multiplexer 4 input
 
MULTIPLEXER
MULTIPLEXERMULTIPLEXER
MULTIPLEXER
 
Embedded systems ___vlsi_design
Embedded systems ___vlsi_designEmbedded systems ___vlsi_design
Embedded systems ___vlsi_design
 
Embedded questions
Embedded questionsEmbedded questions
Embedded questions
 
OFDM based baseband Receiver
OFDM based baseband ReceiverOFDM based baseband Receiver
OFDM based baseband Receiver
 
Multiplexer
Multiplexer Multiplexer
Multiplexer
 
Adc &dac ppt
Adc &dac pptAdc &dac ppt
Adc &dac ppt
 
Embedded questions
Embedded questionsEmbedded questions
Embedded questions
 
Embedded SW Interview Questions
Embedded SW Interview Questions Embedded SW Interview Questions
Embedded SW Interview Questions
 
Analog to digital converter
Analog to digital converterAnalog to digital converter
Analog to digital converter
 
Introduction To Embedded Systems
Introduction To Embedded SystemsIntroduction To Embedded Systems
Introduction To Embedded Systems
 
Analog to digital conversion
Analog to digital conversionAnalog to digital conversion
Analog to digital conversion
 
Embedded Systems : introduction
Embedded Systems : introductionEmbedded Systems : introduction
Embedded Systems : introduction
 
QUADRATURE AMPLITUDE MODULATION
QUADRATURE AMPLITUDE MODULATIONQUADRATURE AMPLITUDE MODULATION
QUADRATURE AMPLITUDE MODULATION
 

Ähnlich wie Digital to analog convertor

Project_Kaveh & Mohammad
Project_Kaveh & MohammadProject_Kaveh & Mohammad
Project_Kaveh & Mohammad
Kaveh Dehno
 
4_INFRARED REMOTE USED FOR 8
4_INFRARED REMOTE USED FOR 84_INFRARED REMOTE USED FOR 8
4_INFRARED REMOTE USED FOR 8
SURAJ MAHAPATRA
 

Ähnlich wie Digital to analog convertor (20)

Design of CMOS operational Amplifiers using CADENCE
Design of CMOS operational Amplifiers using CADENCEDesign of CMOS operational Amplifiers using CADENCE
Design of CMOS operational Amplifiers using CADENCE
 
Design of Two CMOS Differential Amplifiers
Design of Two CMOS Differential AmplifiersDesign of Two CMOS Differential Amplifiers
Design of Two CMOS Differential Amplifiers
 
Project_Kaveh & Mohammad
Project_Kaveh & MohammadProject_Kaveh & Mohammad
Project_Kaveh & Mohammad
 
Physical designing of low power operational amplifier
Physical designing of low power operational amplifierPhysical designing of low power operational amplifier
Physical designing of low power operational amplifier
 
Testing
TestingTesting
Testing
 
Opampless sigma delta_2019
Opampless sigma delta_2019Opampless sigma delta_2019
Opampless sigma delta_2019
 
Ece 523 project – fully differential two stage telescopic op amp
Ece 523 project – fully differential two stage telescopic op ampEce 523 project – fully differential two stage telescopic op amp
Ece 523 project – fully differential two stage telescopic op amp
 
ADC LAB MANUAL.docx
ADC LAB MANUAL.docxADC LAB MANUAL.docx
ADC LAB MANUAL.docx
 
Design of Counter Using SRAM
Design of Counter Using SRAMDesign of Counter Using SRAM
Design of Counter Using SRAM
 
SAR_ADC__Resumo
SAR_ADC__ResumoSAR_ADC__Resumo
SAR_ADC__Resumo
 
A High Speed Successive Approximation Pipelined ADC.pdf
A High Speed Successive Approximation Pipelined ADC.pdfA High Speed Successive Approximation Pipelined ADC.pdf
A High Speed Successive Approximation Pipelined ADC.pdf
 
Design and Simulation of First Order Sigma-Delta Modulator Using LT spice Tool
Design and Simulation of First Order Sigma-Delta Modulator Using LT spice ToolDesign and Simulation of First Order Sigma-Delta Modulator Using LT spice Tool
Design and Simulation of First Order Sigma-Delta Modulator Using LT spice Tool
 
A Low Power, 8-Bit, 5MS/s Digital to Analog Converter for Successive Approxim...
A Low Power, 8-Bit, 5MS/s Digital to Analog Converter for Successive Approxim...A Low Power, 8-Bit, 5MS/s Digital to Analog Converter for Successive Approxim...
A Low Power, 8-Bit, 5MS/s Digital to Analog Converter for Successive Approxim...
 
3BITFLASHADC
3BITFLASHADC3BITFLASHADC
3BITFLASHADC
 
Unit 6.pptx
Unit 6.pptxUnit 6.pptx
Unit 6.pptx
 
4_INFRARED REMOTE USED FOR 8
4_INFRARED REMOTE USED FOR 84_INFRARED REMOTE USED FOR 8
4_INFRARED REMOTE USED FOR 8
 
ECE 626 project report Switched Capacitor
ECE 626 project report Switched CapacitorECE 626 project report Switched Capacitor
ECE 626 project report Switched Capacitor
 
Seminar302
Seminar302Seminar302
Seminar302
 
Design of oscillators using cmos ota
Design of oscillators using cmos otaDesign of oscillators using cmos ota
Design of oscillators using cmos ota
 
Design of oscillators using cmos ota
Design of oscillators using cmos otaDesign of oscillators using cmos ota
Design of oscillators using cmos ota
 

Mehr von sartaj ahmed (6)

Low voltage low power vlsi subsystems by kiat seng yeo kaushik roy
Low voltage low power vlsi subsystems by kiat seng yeo kaushik royLow voltage low power vlsi subsystems by kiat seng yeo kaushik roy
Low voltage low power vlsi subsystems by kiat seng yeo kaushik roy
 
Dsp book
Dsp bookDsp book
Dsp book
 
Nyquist adc
Nyquist adcNyquist adc
Nyquist adc
 
Embedded concepts
Embedded conceptsEmbedded concepts
Embedded concepts
 
Introduction to pll
Introduction to pllIntroduction to pll
Introduction to pll
 
Sartaj witricity
Sartaj witricitySartaj witricity
Sartaj witricity
 

Kürzlich hochgeladen

Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Christo Ananth
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 

Kürzlich hochgeladen (20)

Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 

Digital to analog convertor

  • 1. Digital to Analog Converter Raghu Tumati May 11, 2006
  • 2. Contents 1) Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2) DAC types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 3) DAC Presented . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 3.1) Blocks of the DAC . . . . . . . . . . . . . . . . . . . . . . . . . 5 3.2) Binary weighted ladder . . . . . . . . . . . . . . . . . . . . . . . 5 3.3) OP-AMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 3.4) Open Loop Gain . . . . . . . . . . . . . . . . . . . . . . . . . . 10 3.5) Gain Bandwidth . . . . . . . . . . . . . . . . . . . . . . . . . . 10 4) Circuit Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 4.1) Biasing Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . .11 4.2) First Stage . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 4.3) Second Stage . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 4.4) DAC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 5) Simulation Results . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 6) Layout Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 7) Final simulation result . . . . . . . . . . . . . . . . . . . . . . . . . 29 8) References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
  • 3. 1) INTRODUCTION A digital-to-analog converter (DAC or D-to-A) is a device for converting a digital (usually binary) code to an analog signal (current, voltage or charges). Digital-to- Analog Converters are the interface between the abstract digital world and the analog real life. Simple switches, a network of resistors, current sources or capacitors may implement this conversion. A DAC inputs a binary number and outputs an analog voltage or current signal. In block diagram form, it looks like this:
  • 4. 2) DAC types The most common types of electronic DAC’s are: • The Pulse Width Modulator the simplest DAC type. A stable current (electricity) or voltage is switched into a low pass analog filter with a duration determined by the digital input code. This technique is often used for electric motor speed control, and is now becoming common in high-fidelity audio. • Oversampling DACs such as the Delta-Sigma DAC, a pulse density conversion technique. The oversampling technique allows for the use of a lower resolution DAC internally. A simple 1-bit DAC is often chosen, as it is inherently linear. The DAC is driven with a pulse density modulated signal, created through negative feedback. The negative feedback will act as a high-pass filter for the quantization (signal processing) noise, thus pushing this noise out of the pass-band. Most very high resolution DACs (greater than 16 bits) are of this type due to its high linearity and low cost. Speeds of greater than 100 thousand samples per second and resolutions of 24 bits are attainable with Delta-Sigma DACs. Simple first order Delta-Sigma modulators or higher order topologies such as MASH - 'Multi stage' noise Shaping can be used to generate the pulse density signal. Higher oversampling rates relax the specifications of the output Low-pass filter and enable further suppression of quantization noise. • The Binary Weighted DAC, which contains one resistor or current source for each bit of the DAC connected to a summing point. These precise voltages or currents sum to the correct output value. This is one of the fastest conversion methods but suffers from poor accuracy because of the high precision required for each individual voltage or current. Such high-precision resistors and current-sources are expensive, so this type of converter is usually limited to 8-bit resolution or less. • The R2R Ladder DAC, which is a binary weighted DAC that creates each value with a repeating structure of 2 resistor values, R and R times two. This improves DAC precision due to the ease of producing many equal matched values of resistors or current sources, but lowers conversion speed due to parasitic capacitance. • The Segmented DAC, which contains an equal resistor or current source segment for each possible value of DAC output. An 8-bit binary-segmented DAC would have 255 segments, and a 16-bit binary-segmented DAC would have 65,535 segments. This is perhaps the fastest and highest precision DAC architecture but at the expense of high cost. Conversion speeds of >1 billion samples per second have been reached with this type of DAC. • Hybrid DACs, which use a combination of the above techniques in a single converter. Most DAC integrated circuits are of this type due to the difficulty of getting low cost, high speed and high precision in one device.
  • 5. 3) DAC Presented This paper will present the 12 bit binary weighted DAC. The DAC operates at a maximum frequency of 25MHz using .6um technology to drive a load of 20pF. 3.1) Blocks of the DACs The DAC consists of the following blocks 1) Binary weighted ladder. 2) Op-amp 3.2) Binary Weighted Ladder The binary weighted ladder consists of 30K and 15K resistors placed in a configuration as shown in fig. The inputs to the ladder are fed from a 12 bit ROM. The input voltages range from 0V to 5V. The output of the ladder in fed to an OP-AMP. It only supplies a voltage from 3.1V to 4.1 V as an output. Biasing for such an output range was decided by the characteristics of the OP-AMP. Biasing was implemented using a buffer placed with the ladder network as shown in figure to maintain linearity in the DAC output. So when all inputs are low, the ladder supplied a voltage of 3.1 V to the OP-AMP and when all the inputs are high a voltage of 4.1V was supplied. For a 10 bit ladder and 0-5V rails The accuracy needed is 5/1025 = 0.0049V,
  • 6. But this is the max voltage variation in both direction of the ideal voltage. Hence the variation from ideal output is 0.0049/2 = 0.00245V Which means that for every bit from the input, an analog voltage of 0.0049 is produced at the output. From the ladder schematic the most stringent accuracy is needed when the input varies from 0111111111 to 1000000000 For such a transition Vout = Vref R1/R2 = 2.497V R1/R2 = .1% Which is the matching needed in this technology for linearity to be maintained in the output. . Below is shown the schematic of the ladder in two stages. 1) One with the binary weighted resistors 2) One with the buffer placed for biasing the op-amp.
  • 7.
  • 8. Figure of buffer for bias to op-amp
  • 9. The complete schematic of the ladder including the biasing for the op-amp
  • 10. 3.3) OP-AMP The design of the op-amp was based on the following design parameters- 1) 10 input bits 2) 0-5V rail voltages 3) 50Mhz clock frequency or 25Mhz frequency for DAC 3.4) OPEN LOOP GAIN The op-amp in this DAC is used in unity feedback configuration. The closed loop gain for an op-amp is given by A/(A+1), where A is the open loop gain The error Vout/Vin is highest at the highest possible V which is Vref=5V Hence A was calculated to be a minimum 2082. 3.5) GAIN BANDWITH For a maximum operating frequency of 25Mhz, the output needs to be settled in 40ns Again as in the calculation of the open-loop gain, the maximum speed is needed when the output voltage is the highest i.e. 5V 4.9976=5(1-e^(-t/RC)) RC=5.2ns Or the gain bandwidth comes out to be 20Mhz
  • 11. 4) CIRCUIT DESIGN The op-amp was designed to work in 2 stages 1) A differential first stage which works as an input for the binary ladder 2) Final gain stage for an output load of 20pF 4.1) BIASING CIRCUIT The biasing circuit for the op-amp was implemented using p-mos current mirrors and n-mos current sources for both the stages. To avoid the affect of slew rate on the op-amp the current to be delivered in the first stage was calculated to be 600uA The current in the 2nd stage was calculated from the 1st stage to be about 2.3mA. Schematics of the biasing stages are shown in fig
  • 12. Bias circuit schematic of 1st stage of op-amp
  • 13. Bias circuit schematic of 2nd stage of op-amp
  • 14. 4.2) FIRST STAGE The first stage of the op-amp as shown in the fig gives a gain of about 45-60 from a common mode range of 3-4V. Sizes of the transistors are given in fig. The lengths of transistors had to be increased to provide high small signal output impedance for a high gain.
  • 15. 4.3) SECOND STAGE The second stage of the op-amp is acts as a gain stage and to provide enough current to drive a load of 20pF. The compensation capacitor was placed to improve the bandwidth of the amplifier. Taking parasitic and load capacitance in to account, the maximum frequency of the second pole was calculated to be 1/RC = gm2/(C1+C2) where C1 and C2 are given from the figure as below C1= Cgd1 +Cgd3 + Cdb1 + Cdb3 + Cgs5 C2= Cc+ Cdb5 Cl= Cc+Cgd5 gm2= gm5 c1+ c2 can be taken as 20pf as parasitics are negligible as compared to load capacitor Hence gm2 comes out to be 6.2 mA/V And from the formula gm = 2I/(Vgs-Vt) I= bias current in second stage is calculated to be 2.3 mA The 1st pole is arbitrarily chosen to lie at 16Khz And the 2nd pole is calculated to be 50Mhz A resistor is placed in series with the capacitor so that the zero does not interfere in the transfer function of the gain. The compensation capacitor is calculated to be 6.44 pF And the zero resistor is calculated from the formula Rz = (Cl+Cc)/gm5*Cc
  • 16. Schematic of the 2nd stage
  • 17.
  • 18. 4.4) DAC The complete blocks for the DAC is shown in fig below with test circuit to see the DAC works with linearly increasing signal before testing it with the ROM output
  • 19. 5) SIMULATION RESULTS Schematic simulations were performed on all circuits to verify functionality. Simulations with parasitic capacitors extracted from the layout were performed on circuits whose performance was expected to be highly dependent. All A.C simulations were taken for a frequency range of 100Mhz The gain of the 1st stage
  • 21. DC bias current of 1st stage
  • 22. DC bias current of 2nd stage
  • 24. DAC output simulated for a sine wave of 25Mhz
  • 25. 6) LAYOUT DESIGN The layout for the DAC is shown in the images below in .6um AMI technology. Guard rings of grounded metal 1 to substrate contacts are used to isolate logic components. Supply decoupling capacitors are built in any space not occupied by circuitry. Layout of resistors was done with elec or poly layer.
  • 26. Layout of ladder with buffer shown
  • 27. Layout of op-amp with compensating capacitor
  • 28. Complete layout of DAC, with 10 inputs fed from ROM
  • 29. 7) FINAL SIMULATION RESULT OF DDS WITH EXTRACTED PARASICTICS The final output simulation with all parasitics extracted and with the output of the ROM connected to the DAC is also shown in the fig below.
  • 30. REFERENCES 1) Design of Analog CMOS Integrated circuits by Behzad Razavi 2) www.wikepedia.com