Beruflich Dokumente
Kultur Dokumente
PRESENTATION
ON
13 February 2014 1
CONTENTS
INTRODUCTION
CHARACTERIZATION OF DAC
(a) STATIC CHARACTERISTICS
(b) DYNAMIC CHARACTERISTICS
TESTING OF DACs
CLASSIFICATION OF DACs
(a)PARALLEL DACs
(b)SERIAL DAC
APPLICATIONS
13 February 2014 2
INTRODUCTION
The most important functions in signal processing is the conversion of Analog and Digital
signals.
It is necessary to convert back and forth between the two types of signals.
13 February 2014 3
The DAC is presented first because it is generally part of an ADC.
- Digital Circuitry
- Switches
- Integrators
- Operational Amplifiers
- Voltage Reference
13 February 2014 4
13 February 2014 5
13 February 2014 6
b0 is the most significant bit (MSB)
The MSB is the bit that has the most (largest) influence on the analog output
Vout = KVref.D
K is the Scaling factor,
D is the digital word given as:
13 February 2014 8
STATIC CHARACTERISTICS
13 February 2014 9
RESOLUTION : Resolution of the DAC is equal to the number of bits in the applied
digital input word.
Each of the eight possible digital words has its own analog output voltage which are
separated by an LSB.
With an increase in digital word by 1-bit, output of DAC should jump by 1 LSB.
13 February 2014 10
Poor Resolution(1 bit) Better Resolution(3 bit)
Vout Vout
111
110
110
1
2 Volt. Levels
101 101
8 Volt. Levels
100 100
011 011
010 010
001 001
0 0 000
000
Digital Input
Approximate output Approximate output Digital Input
13 February 2014 11
FULL SCALE (FS): Because the resolution of DAC is finite (3 in case of Fig.), the
maximum analog output voltage does not equal to Vref. This is characterized by the Full
Scale value of DAC.
Full Scale value is the difference between the analog output for the largest digital word
(1111….) and the analog output for the smallest digital word (000….).
13 February 2014 12
QUANTIZATION NOISE : It is the inherent uncertainty in digitizing an analog value with
a finite resolution converter.
13 February 2014 13
Quantization Noise is equal to the analog output of infinite bit DAC minus the analog
output of the finite bit DAC.
It is the fundamental property of DACs and represents the limit of accuracy of converters.
DYNAMIC RANGE (DR) : Dynamic Range of a DAC is the ratio of the FSR to the
smallest difference that can be resolved (i.e. an LSB).
or in terms of decibels
13 February 2014 14
The DR is the amplitude range necessary to resolve N bits regardless of the amplitude of
the output voltage.
When referenced to a given output analog signal amplitude, the DR required must
include 1.76 dB more to account for the presence of quantization noise.
For a 10-bit DAC, the DR is 60.2 dB and for a full-scale, rms output voltage, the
signal must be approximately 62 dB above whatever noise floor is present in the output
of the DAC.
13 February 2014 15
SIGNAL-TO-NOISE RATIO (SNR) : SNR for the DAC is the ratio of the full scale
value to the rms value of the quantization noise.
13 February 2014 16
Effective number of bits (ENOB) can be defined from the above as:
For each digital word , there should be a unique analog output signal. Any deviation that
occurs falls in the category of static- conversion errors.
13 February 2014 17
STATIC CONVERSION ERRORS
Static Conversion Errors include: (a) OFFSET ERRORS
(e) MONOTONICITY
13 February 2014 18
OFFSET ERROR:
An offset error is a constant difference between the actual finite resolution characteristic and
the ideal finite resolution characteristic measured at any vertical jump.
13 February 2014 19
GAIN ERROR :
A gain error is the difference between the slope of the actual finite resolution and the ideal
finite resolution characteristic measured at the right-most vertical jump.
13 February 2014 20
INTEGRAL NONLINEARITY:
Integral Nonlinearity (INL) is the maximum difference between the actual finite resolution
characteristic and the ideal finite resolution characteristic measured vertically (% or LSB).
DIFFERENTIAL NONLINEARITY:
where Vcx is the actual voltage change on a bit-to-bit basis and Vs is the ideal LSB change
of 13(VFSR/2N).
February 2014 21
MONOTONOCITY : In DAC it means that as the digital input to the converter increases
over its FSR , the analog output never exhibits a decrease between one conversion step and
the next.
13 February 2014 22
DYNAMIC CHARACTERISTICS
Dynamic characteristics include the influence of time.
CONVERSION SPEED : It is the time it takes for the DAC to provide an analog output
when the digital input word is changed.
- Parasitic Capacitors
- Op-amp Gain Bandwidth
- Op-amp Slew Rate
13 February 2014 23
GAIN ERROR : Gain error of an op-amp is the difference between the desired and actual
output voltage of the op-amp.
13 February 2014 24
TESTING OF DACs
INPUT-OUTPUT TEST:
13 February 2014 25
Sweep the digital input word from 000...0 to 111...1.
The ADC should have more resolution by at least 2 bits and be more accurate than the
errors of the DAC.
INL will show up in the output as the presence of 1’s in any bit. If there is a 1 in the Nth
bit, the INL is greater than ±0.5LSB
DNL will show up as a change between each successive digital error output. The bits
which are greater than N in the digital error output can be used to resolve the errors to less
than ±0.5LSB.
13 February 2014 26
SPECTRAL TEST :
Digital input pattern is selected to have a fundamental frequency which has a magnitude
of at least 6N dB above its harmonics.
13 February 2014 27
Length of the digital sequence determines the spectral purity of the fundamental frequency.
All nonlinearities of the DAC (i.e. INL and DNL) will cause harmonics of the fundamental
frequency.
Decrease in the period of digital pattern causes an increase in the effective signal frequency.
The noise floor of the spectral output will increase due to frequency dependence of the
DAC.
SNR determines from this measurement gives the Effective no. of Bits (ENOB).
13 February 2014 28
CLASSIFICATION OF DIGITAL–ANALOG CONVERTERS
13 February 2014 29
13 February 2014 30
PARALLEL DIGITAL – ANALOG CONVERTERS
CURRENT SCALING DIGITAL-ANALOG CONVERTERS:
13 February 2014 31
The output voltage can be expressed as :
where the currents I0, I1, I2, ... are binary weighted currents and Rf is the feedback
resistance.
Rf can be used to scale the gain of the DAC. If Rf = KR/2, then,
Attributes:
Nonmonotonic.
13 February 2014 33
Component Spread Value =
The R-2R Ladder concept is used to avoid large element spread values.
13 February 2014 34
Attributes:
Small element spread. Resistors made from same unit (2R consist of two in series or R
consists of two in parallel).
Not monotonic.
The resistance seen to the right of any of the vertical 2R resistors is 2R.
This reduces the current by a factor of 2 as it flows from leftmost vertical 2R to rightmost
vertical 2R.
13 February 2014 35
CURRENT SCALING USING BINARY WEIGHTED MOSFET CURRENT SINKS:
Attributes:
Accuracy
13 February 2014is as good as resistors, if not better. 36
If , then,
13 February 2014 37
VOLTAGE SCALING DIGITAL-ANALOG CONVERTERS:
Creates all possible values of the analog output then uses a decoding network to
determine which voltage to select based on the digital input word.
13 February 2014 38
3-BIT VOLTAGE SCALING DIGITAL-ANALOG CONVERTER:
13 February 2014 39
The voltage at any tap can be expressed as:
Attributes:
• Guaranteed monotonic
• Compatible with CMOS technology
• Large area if “ n ” is large
• Sensitive to parasitic
• Requires a buffer
• Large current can flow through the resistor string.
13 February 2014 40
Alternate Realization of the 3-Bit Voltage Scaling DAC:
13 February 2014 41
CHARGE SCALING DACs:
13 February 2014
43
Calculated as if the capacitors were resistors. For example,
which gives,
13 February 2014 44
Attributes:
• Accurate.
• Sensitive to parasitic.
• Not monotonic.
• Charge feed through occurs at turn on of switches.
A common problem in the parallel DAC implementation is the area required as the
resolution of the DAC becomes large.
Considering the area required, the ratio of the value of the MSB component to the
value of the LSB component becomes large.
The second approach combines the various scaling approaches in an attempt to get the
best characteristics of each scaling approach.
13 February 2014 46
Technique:
Divide the total resolution “N” into “k” smaller sub - DACs each with a resolution of
“N/k”.
Result:
Smaller total area.
More resolution because of reduced largest to smallest component spread.
Approaches:
Combination of similarly scaled DACs.
Divider approach (scale the analog output of the sub DACs)
Sub-ranging approach (scale the reference voltage of the sub DACs)
Combination of differently scaled DACs.
13 February 2014 47
COMBINATION OF SIMILARLY SCALED DACs:
Example of combining m - bit and k - bit sub DAC to form a (m+k) bit DAC.
Fig:- Combining an m-bit & k-bit subDAC to form an (m + k) bit DAC by dividing
the output of the k-LSB DAC.
13 February 2014 48
Here, we will consider that two subDACs use the same scaling method. One subDAC
converts the M-MSB bits & the other DAC converts the K-LSB bits.
13 February 2014 49
REFERENCE SCALING - SUBRANGING APPROACH:
Here instead of scaling the output of the sub DACs, the voltage to each subDAC
is scaled.
13 February 2014 50
Fig:- Combining an m-bit & k-bit subDAC to form an (m + k) bit DAC by dividing the VREF to
the k-LSB DAC (subranging).
13 February 2014 51
COMBINATION OF DIFFERENTLY SCALED DACs:
The second approach to extending the resolution of parallel DACs uses subDACs
having different scaling methods.
Fig:- (m + k) bit DAC using an m-bit voltage scaling subDAC for the MSBs and a
k-bit charge scaling subDAC for the LSB.
13 February 2014 52
Operation:
Advantages:
13 February 2014 53
SERIAL DIGITAL-ANALOG CONVERTERS
SERIAL DACS:
13 February 2014 54
Operation:
Switch S1 is the redistribution switch that parallels C1 and C2 sharing their charge.
Switch S2 recharges C1 to VREF if the bit, bi is a 1.
Switch S3 discharges C1 to zero if the bit, bi, is a 0.
Switch S4 is used at the beginning of the conversion process to initially discharge C2.
Conversion always begins with the LSB bit and goes to the MSB bit.
Note:
Serial charge redistribution in DAC is simple and requires minimum area but is slow and
requires complex external circuitry.
13 February 2014 55
COMMON APPLICATIONS
Generic use.
Circuit Components.
Digital Audio.
Motor Controllers.
13 February 2014 56
GENERIC:
011010010101010100101
101010101011111100101
000010101010111110011
010101010101010101010
n bit DAC Filter
111010101011110011000
100101010101010001111
nth bit
13 February 2014 57
CIRCUIT COMPONENTS:
Programmable Filters.
– Digitally controlled cutoff frequencies.
13 February 2014 58
DIGITAL AUDIO
CD Players.
MP3 Players.
Digital Telephone / Answering Machines.
1 2 3
13 February 2014 59
FUNCTION GENERATORS
13 February 2014 60
MOTOR CONTROLLERS
1
Cruise Control
Valve Control
Motor Control
3
2
13 February 2014 61
13 February 2014 62