21
Digital to Analog Converters (DAC) Swapnil Jadhav M.sc-1 AKI’S Poona College 07 sept 2012

(Dac) new ppt

Embed Size (px)

Citation preview

Page 1: (Dac) new ppt

Digital to Analog Converters (DAC)

Swapnil JadhavM.sc-1

AKI’S Poona College

07 sept 2012

Page 2: (Dac) new ppt

What is a DAC?A digital to analog converter (DAC) converts

a digital signal to an analog voltage or current output.

DAC100101…

Page 3: (Dac) new ppt

Block Diagram

Page 4: (Dac) new ppt

Types of DACsMany types of DACs available.Usually switches, resistors, and op-amps used

to implement conversionTwo Types:

Binary Weighted ResistorR-2R Ladder

Page 5: (Dac) new ppt

Binary Weighted ResistorUtilizes a summing op-amp circuitWeighted 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)

Page 6: (Dac) new ppt

Binary Weighted ResistorAssume Ideal Op-

ampNo current into op-

ampVirtual ground at

inverting inputVout= -IRf

-

+

R

2R

4R

2nR

Rf

Vout

I

Vref

Page 7: (Dac) new ppt

Binary Weighted Resistor

R

V

R

V

R

V

R

VRIRV

1-nn321

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

Page 8: (Dac) new ppt

Binary Weighted Resistor Advantages

Simple Construction/Analysis Fast Conversion

Disadvantages Requires large range of resistors (2000:1 for

12-bit DAC) with necessary high precision for low resistors

Requires low switch resistances in transistors

Can be expensive. Therefore, usually limited to 8-bit resolution.

Page 9: (Dac) new ppt

R-2R Ladder

Bit: 0 0 0 0

Each bit correspondsto a switch:

If the bit is high, the correspondingswitch is connected tothe inverting input of the op-amp.

If the bit is low, the corresponding switchis connected to ground.

4-Bit ConverterVout

Vref

Page 10: (Dac) new ppt

R-2R LadderAdvantages

Only two resistor values (R and 2R)Does not require high precision resistors

DisadvantageLower conversion speed than binary weighted

DAC

Page 11: (Dac) new ppt

Specifications of DACs• Resolution• Speed• Linearity• Settling Time• Reference Voltages• Errors

Page 12: (Dac) new ppt

ResolutionSmallest analog increment corresponding to

1 LSB changeAn N-bit resolution can resolve 2N distinct

analog levelsCommon DAC has a 8-16 bit resolution

bitsofnumberN

VV

N

refLSB

where2

Resolution

Page 13: (Dac) new ppt

SpeedRate of conversion of a single digital input to

its analog equivalentConversion rate depends on

clock speed of input signalsettling time of converter

When the input changes rapidly, the DAC conversion speed must be high.

Page 14: (Dac) new ppt

LinearityThe difference between the desired analog

output and the actual output over the full range of expected values

010101000011001000010000Digital Input Signal

Ana

log

Out

put

Sig

nal

010101000011001000010000 010101000011001000010000Digital Input Signal

Ana

log

Out

put

Sig

nal

Page 15: (Dac) new ppt

Linearity

010101000011001000010000Digital Input Signal

Ana

log

Out

put

Sig

nal

010101000011001000010000 010101000011001000010000Digital Input Signal

Ana

log

Out

put

Sig

nal

010101000011001000010000Digital Input Signal

Ana

log

Out

put

Sig

nal

010101000011001000010000 010101000011001000010000Digital Input Signal

Ana

log

Out

put

Sig

nal

Ideally, a DAC should produce a linear relationship between the digital input and analog output

Linearity (Ideal) Non-Linearity

Page 16: (Dac) new ppt

Settling TimeTime required for the output signal to settle within

+/- ½ LSB of its final value after a given change in input scale

Limited by slew rate of output amplifierIdeally, an instantaneous change in analog voltage

would occur when a new binary word enters into DAC

Page 17: (Dac) new ppt

Reference VoltagesUsed to determine how each digital input will

be assigned to each voltage divisionTypes:

Non-multiplier DAC: Vref is fixedMultiplier DAC: Vref provided by external

source

Page 18: (Dac) new ppt

Types of Errors Associated with DACsGainOffsetFull ScaleResolutionNon-LinearityNon-MonotonicSettling Time and Overshoot

Page 19: (Dac) new ppt

ApplicationsDigital Motor ControlComputer PrintersSound Equipment (e.g. CD/MP3 Players, etc.)Electronic Cruise ControlDigital Thermostat

Page 20: (Dac) new ppt

References

GoogleINTERNET

wikipedia

Page 21: (Dac) new ppt

THANK YOU