Unit1&2-NCI.pdf

Embed Size (px)

Citation preview

  • 7/26/2019 Unit1&2-NCI.pdf

    1/59

  • 7/26/2019 Unit1&2-NCI.pdf

    2/59

    2

    Applications- wide range. Performance requirements such as resolution and bandwidth

    are set by intended applications. Portable devices-push the limits of technology by requiring

    faster speed and lower power. Communications: Wireless transceivers, Modems Computing and control: Imagers,displays, Multimedia Measurement & Instrumentation: Test equipment, Industrial and

    scientific Instrumentation, Sensors & actuators. Consumer Electronics: Video/Audio, Control (Automotive,

    Appliances, etc). Embedded data Conversion

  • 7/26/2019 Unit1&2-NCI.pdf

    3/59

    3

    Types of Data Converters

    Two types:1. Analog to digital Converter(ADC)2. Digital to analog Converter(DAC)

    Analog to digital converter consists of two basic functions. Sampling: convert a continuous time input signal to a discrete

    time representation. Quantization: convert a continuous amplitude input signal to a

    discrete amplitude representation. Input signal must be bandlimited to no more than FS to

    prevent aliasing.

  • 7/26/2019 Unit1&2-NCI.pdf

    4/59

    4

    Uniform Sampling and Quantization

    Uniform Sampling and Quantization

    -Sample signal Uniformly in time-Quantize signal Uniformly in amplitude

    Issues:How fast to sample?How much noise added to quantization?How can we reconstruct signal back to analog form?

    Discrete time signals

    -Discrete time signals are simply a sequence of numbers with a set ofcorresponding discrete time indexes.-Intermediate signal values are not defined.-Mathematically convenient but non-physical:use the term sampleddata signals.

  • 7/26/2019 Unit1&2-NCI.pdf

    5/59

    5

    -Representing signals in discretetime domain determines anincrease in ambiguity in frequency domain; undesired frequencytranslation /interaction(aliasing)

    Sampling theory

    Fig. shown below illustrates the sampled signal in time and frequencydomain.

  • 7/26/2019 Unit1&2-NCI.pdf

    6/59

    6

  • 7/26/2019 Unit1&2-NCI.pdf

    7/59

    7

    Types of Sampling

    Nyquist rate Sampling: Sampling at twice the signal frequency

    Down sampling

    Up sampling

  • 7/26/2019 Unit1&2-NCI.pdf

    8/59

    8

    Over Sampling

  • 7/26/2019 Unit1&2-NCI.pdf

    9/59

    9

    Down Sampling fs

  • 7/26/2019 Unit1&2-NCI.pdf

    10/59

    10

  • 7/26/2019 Unit1&2-NCI.pdf

    11/59

    11

  • 7/26/2019 Unit1&2-NCI.pdf

    12/59

    12

    Sampling frequency is the speed at which samples are

    measured and converted-inversely related to sample time.-measured in samples per second.

    Resolution is the number of digital bits that the converter willuse.

    -determines to what granularity a data converter can identify ananalog signal.

    -12 bit converter will have 212 different voltage levels it canidentify.

    Throughput is the amount of digital data a converter uses in agiven amount of time.

    -12 bit Conveter running at 100KSPS has 1.2Mbps throughput.

    INL and DNL

    INL(Integral Nonlinearity error)

    -deviation of the values on the actual transfer function from the idealtransfer function once the gain and offset errors are nullified.

    -The summation of differential nonlinearities from the bottom up to aparticular step , determines the value of the INL at that step.

  • 7/26/2019 Unit1&2-NCI.pdf

    13/59

    13

    INL(Integral Nonlinearity error)-INL is defined as the integral of DNL.-good INL gaurantees good DNL.-INL error-how far away from the ideal transfer function value themeasured converter is.

    -Can not be corrected are calibrated.-inherent in the design and manufacuring of the converter.

    -Point used as zero occurs of LSB before the first code transition.-The full scale point is defined as level LSB beyond last codetransition.-deviation is measured from centre of each particular code to the truestraight line between these two points.

    DNL (Differential Nonlinearity error)

    -difference between the actual step width (for an ADC) or stepheight(for DAC) and the ideal value of 1 LSB.-In ADC there is also a possibility that there can be missing codes.(ifDNL> -1LSB)i.e. one or more of the possible 2 n binary codes arenever output.DNL specifies the deviation of any adjacent code in the transferfunction of DAC or ADC from an ideal code width of 1 LSB.

  • 7/26/2019 Unit1&2-NCI.pdf

    14/59

    14

    -DNL is determined by subtracting the locations of successive codetransition points after compensating for gain and offset errors.-positive DNL implies that the code is longer than the ideal codewidth.

    - negative DNL implies that the code is Shorter than the idealcode width

    - DNL is measured in the increasing code direction of the transfercurve.

    - The transition of code N is compared to that of code N+1.- For DAC, DNL error of -1LSB implies that the output did not

    increase for increasing input code.-

  • 7/26/2019 Unit1&2-NCI.pdf

    15/59

    15

    - For DAC, DNL error of greater than -1LSB implies that thedevice is non-monotonic.

    - For an ADC,DNL error of greater than -1LSB implies that atleast one code is missing, meaning that there is no analogvoltage which will generate a particular code.

    - Manufactures includeNo missing Codesspec.

    Gain and Offset error

    - Gain error has a non ideal slope.

    - Ideally, in the graphs above, as the analog input increases at acertain rate, the output codes would also increase at the samerate.

    - If the output codes increase at a different rate than the analoginput does, then it results in gain error.

    Gain error can be defined as the difference between the level thatproduces the greatest code and the smallest code, versus the ideallevels that produce these codes

    In an ideal situation, data converter would begin to notice deviationsfrom true zero voltage.

    However, because of offset error, a small constant analog voltage isalways present before the conversion begins to function linearly.

  • 7/26/2019 Unit1&2-NCI.pdf

    16/59

    16

  • 7/26/2019 Unit1&2-NCI.pdf

    17/59

    17

    Dynamic Characteristics

    1. SNR (Signal-to-Noise Ratio)

    - RMS value representing the ratio of the amplitude of thedesired signal to noise power below one half of the frequency.

    - Measure of strength of a signal to background noise.- Contributes to the overall dynamic performance of the device at

    higher frequencies and affects the linearity at thosefrequencies.

    - In audio world, a low SNR means the device has lots of hissand static high rating.

    - Key measure of Data converter.

    2. Total Hormonic Distortion- The ratio of sum of the powers of all hormonic frequencies abovethe fundamental frequency to the power of the funadamentalfrequency.(dB)-expression of distortion effect of signal harmonics on the originalsignal.

    3.ENOB(Effective Number of bits)-The number of bits achieved in a real system, discounting bitsthat are affected by noise.-Another way of specifying SNR.

    4. SFDR(Spurious dynamic range)-Distance in dB between the fundamental input and the worst spur.-headroom available in FFT plot.-difference between the signal amplitude and the first and largestharmonic spur.-measure of signal quality.-higher values are desirable.

  • 7/26/2019 Unit1&2-NCI.pdf

    18/59

    18

    Data Converters Building blocks

    Sample and Hold Circuits Operational Amplifiers,OTAs Comparators Filters Current sources Reference Circuits Logic Circuits

  • 7/26/2019 Unit1&2-NCI.pdf

    19/59

    19

    Data Converters blocks-DAC

    Digital n-bit word

  • 7/26/2019 Unit1&2-NCI.pdf

    20/59

  • 7/26/2019 Unit1&2-NCI.pdf

    21/59

    21

    Thermometer code

    Thermometer-code differs from a binary code in that athermometer-code has 2N - 1 digital inputs to represent 2Ndifferent digital values,

    Typically, in a thermometer-code the number of 1s representthe decimal value.

    Features Low DNL errors Guarnteed monotonocity Reduced glitch area Increased complexity(binary code needs only N digital inputs to

    represent 2N different digital values.)

  • 7/26/2019 Unit1&2-NCI.pdf

    22/59

    22

    The transfer function of DAC is a series of discrete points asshown in fig.

    1 LSB corresponds to the height of a step between successiveanalog outputs,

    A DAC can be thought of as a digitally controlled potentiometerwhose output is a fraction of the full scale analog voltagedetermined by the digital input data.

    Resolution: The number of bits in the digital input word. Each of the possible digital input word has its own unique

    analog output voltage.

    An N-bit digital word is mapped in to an equivalent analog voltage byscaling a reference.

  • 7/26/2019 Unit1&2-NCI.pdf

    23/59

    23

    Analog output of unipolar DAC is Vref need special care for design.

    VLSB is the voltage change when one LSB changes.

    Data Converters DAC spec-Nonlinearity

    The maximum analog voltage that can be generated is known asfull-scale voltage, VFS(does not equal to Vref, because theresolution is finite) and is defined as the difference between Vrefand VLSB or the analog output for the largest digital word(1111) and the analog output for the smallest digitalword(000..0).

  • 7/26/2019 Unit1&2-NCI.pdf

    24/59

    24

    Consider 3 bit DAC.Vref: 5VVout = F Vref F-fraction determined by n-bit wordF=D/2N Vout(max) = 7/8 Vref.Max. analog voltage generated-full scale voltage VFS

    I LSB = Vref/2NFor 3-bit DAC 1 LSB= 5/8 V = 0.625V

    MSB causes the output to change by Vref.

    Ex- Find the resolution of DAC if the output voltage is desired tochange in 1mV, Vref is 5V.Solution : DAC must resolve1mV/5V = 0.0002 =.02%Accuracy required = 1/2N =0.0002N=Log (5V/1mV)= 12.29 = 13 bits

    Comparison of 3,8 16 bit DAC with Vref=5v

    Resolution Comb 1LSB % accuracy Vfs3 8 0.625V 12.5 4.375V8 256 19.5mV 0.391 4.985V

    16 65,536 76.29uV 0.00153 4.9999V

    Increasing the resolution by 1 bit increases the accuracy by afactor of 2.

    Precision required to map the analog voltage at high resolutionis very difficult to achieve,

    Vout approaches that of Vref as N increases.

  • 7/26/2019 Unit1&2-NCI.pdf

    25/59

    25

    DAC-Nonlinearity

    Differential Nonlinearity: Ideal increments as per the ideal curve= 0.625V=1LSB Nonideal components cause the analog increments to differ

    from ideal values.The difference between actual and ideal-differential nonlinearity is

    DNLn = Actual increment height of transition n Idealincrement height

    N-number corresponding to digital input transition.

    Differential Nonlinearity:Example

    n=3, Vref=5V1LSB=1/8 of Vout/VrefDNL 1=DNL 2=DNL 7=0DNL 3=1.5 LSB-1 LSB =0.5 LSB=0.3125VDNL 4=0.5 LSB-1 LSB =-0.5 LSBDNL 5=0.25 LSB-1 LSB =-0.75 LSBDNL 6=1.75 LSB-1 LSB =0.75 LSB

  • 7/26/2019 Unit1&2-NCI.pdf

    26/59

    26

    Differential Nonlinearity:ExamplePlot DNL in LSB versus input digital code.DNL for the converter is 0.75LSB since the overall error of DAC isdefined by its worst-case DNL.Generally, DAC will have 1/2 LSB of DNL ,if it is to be n-bitaccurate.

    Differential Nonlinearity:Example5-bit DAC with .75LSBs of DNL has resolution of 4-bit DAC.If the DNL for DAC is less than -1LSBs, then DAC is said to benonmonotonic.DAC-should exhibit monotonicity if it is to function witout error.

    The DNL specification measures how well a DAC can generateuniform analog LSB multiples at its output.

  • 7/26/2019 Unit1&2-NCI.pdf

    27/59

    27

    Integral Nonlinearity: Another important Static characteristic of DAC. Difference between the data converter output values and a

    reference straight line drawn through the first and last outputvalues.

    INL defines the linearity of overall transfer curve as

    INL n = Output value for input code n output value of thereference line at that point.

    INL-other errors(gain and offset are zero)

  • 7/26/2019 Unit1&2-NCI.pdf

    28/59

    28

    Integral Nonlinearity:Converter with N-bit resolution will have less than 1/2 LSB of DNL orINL.For ex- 13 bit DAC having greater than 1/2 LSB of DNL or INLactually has the resolution of 12bit DAC.0.5LSB = Vref/2 N+1Integral Nonlinearity:Ex3-bit DAC, Vref=5V

    Integral Nonlinearity:INL2 = INL4 = INL6= INL7=0INL1 = INL3 = 0.5LSBINL5 = -0.75LSBINL for the DAC is considered to be its wirst case INL of +0.5 LSBand -0.75 LSB.

    Another method: Best-fit-minimize INL

  • 7/26/2019 Unit1&2-NCI.pdf

    29/59

    29

    Offset ERROR:Analog output should be 0V for D=0However, an offset exists.-seen as shift in the transfer curve.

  • 7/26/2019 Unit1&2-NCI.pdf

    30/59

    30

    Gain ERROR:Gain error exists if the slope of the best-fit line through the transfercurve is different from the slope of the best-fit line for the ideal case.Gain error=Ideal slope-Actual slope.

    Latency:Total time from the moment that the input digital word changes to theanalog output value has settled to within a specified tolerance.

  • 7/26/2019 Unit1&2-NCI.pdf

    31/59

    31

    Signal to Noise Ratio-SNR:-ratio of Signal power to the noise at the analog output.Dynamic Range:Largest output signal over the smallest output signal.Related to resolutionN-bit DAC can produce a maximum of 2N -1 multiples of LSBs anda minimum value of 1LSB.

    Dynamic Range:Largest output signal over the smallest output signal.Related to resolutionDR = 20log(2N - 1)/1 DB

    16 bit DR is 96.33db.

    Analog to Digital Converter

  • 7/26/2019 Unit1&2-NCI.pdf

    32/59

    32

  • 7/26/2019 Unit1&2-NCI.pdf

    33/59

    33

    Resolution of an A/D Converter is the number of output bits ithas(3-bits, in this example)

    Resolution may also be defined as the size of the LSB or onecount.

    Sample-and-hold(S/H) are critical in ADC. Characterize S/H circuit-performing data conversion. Analog signal is instantly captured and held until the next

    sampling period. However, a finite amount of time is required for sampling. During sampling period, analog signal may continue to vary-

    track-and-hold or T/H.

  • 7/26/2019 Unit1&2-NCI.pdf

    34/59

    34

    S/H circuits operate in both static(hold mode) anddynamic(sample mode)

    Sample Mode .Acquisition time: Time required for the S/H to track the analog

    signal to within a specified tolerance, once the samplingcommand has been issued.

    Worst case acquisition time would correspond to the timerequired for the output to transition from 0 to Vin(max).

    S/H circuits use amplifiers as buffers.

  • 7/26/2019 Unit1&2-NCI.pdf

    35/59

    35

    Sample Mode .Acquisition time: Output of T/H is limited by the amplifiers slew rate. If the amplifier is not compensated correctly, and the phase

    margin is too small, then a large overshoot occur whichrequires a longer settling time.

    Error tolerance at the output of S/H dependent on amplifierssoffset, gain error and linearity.

  • 7/26/2019 Unit1&2-NCI.pdf

    36/59

    36

    Hold Mode1.Pedestal error: occurs as result of charge injection and clockfeedthrough.

    Part of the charge built up in the channel of the switch isdistributed onto the capacitor,slightly changing its voltage.

    Clock couples onto the capacitor via overlap capacitancebetween the gate and the source or drain.

    Droop error:related to leakage of current from the capacitor due to parasiticimpedances and to the leakage through reverse biased diode formedby drain of the switch.Leakage current: compensated by making drain area small.Minimize droop: increase the value of the capacitor.

    Tradeoff,however increase time required to charge the capacitor tothe value of the input signal.

    Aperture ErrorTransient effect that introduces error occurs between the sample andhold modes.

  • 7/26/2019 Unit1&2-NCI.pdf

    37/59

    37

    Finite amount of time,referred to as aperture time, is required todisconnect the capacitor from the analog input source.Aperture Uncertainty or aperture jitter:creating sampling error.

    Aperture ErrorRelated to the frequency of the signal and the worst case apertureerror occurs at the zero crossing, where dV/dt is the greatest.This assumes that the S/H circuit is capable of sampling both positiveand negative voltages.The amount of error that can be tolerated is directly related to theresolution of the conversion.

    Example:Given Vin= A sin 2*pi*f*t A=2V f=100KHzAperture uncertainity is 0.5ns.Find the sampling error

  • 7/26/2019 Unit1&2-NCI.pdf

    38/59

    38

    Solution: dV/dt = 2*pi*f* A cos 2*pi*f*t Maximum slew rate occurs when cosine term is = 1, dV/dt (max) = 2*pi*f*A. Sampling error = dV(max)= 0.628mV

    For ADC, the input is an analog signal with an infinite number ofvalues, which has to be quantized into an N-bit digital word.ADC, however has to quantize the infinite-valued analog signal intomany segments so thatNumber of quantization levels=2N

    Transfer curve: stair caseMaximum output of ADC will be 111(2N -1) corresponds toVin/Vref7/8.Error caused by quantization.

  • 7/26/2019 Unit1&2-NCI.pdf

    39/59

    39

    1 LSB = Vref/2N = 0.625V for Vref=5VQuantization Error:Difference between the actual analog input and the value of theoutput(staircase) given in voltage.

    Quantization Error:Qe =Vin V staircaseV staicase =D. Vref/2N

    = D. VLSBVLSB is value of 1 LSB in volts.Qe-expressed in terms of LSBs.

    Qe-generated by subtracting the value of the staircase from thedashed line.

    Quantization Error: Sawtooth waveform is centered about LSB. Ideally magnitude of Qe will be between 0 and 1 LSB. If Qe is centered about zero so that error would be 1/2 LSB. Here entire curve is shifted to left by LSB.

  • 7/26/2019 Unit1&2-NCI.pdf

    40/59

    40

    Quantization Error:

    First code transition occurs when Vin/Vref

    1/16. .(between 0 and1/8)Therefore the range of Vin/Vref for the digital output corresponding to000 is half as wide as the ideal step.Last transition occurs when Vin/Vref 13/16.(between 6/8 and 7/8)

    DNL:Similar to that of DAC.DNL is the difference the actual code width of a nonideal converterand the ideal case.DNL=Actual step width-Ideal step width.

  • 7/26/2019 Unit1&2-NCI.pdf

    41/59

    41

    Since the step widths can be converted to either volts for LSBs, DNLcan be defined in either units.

    DNL:Ideal step width=1/8Videalstepwidth=1/8 Vref= 0.625V=1LSBExample: 3-bit ADC, Vref=5V, find Qe in units of LSBs.

    DNL0=DNL4 =DNL5=0

    DNL2 = 1.5 LSB-1LSB = 0.5LSBDNL3= 0.5 LSB-1LSB = -0.5LSBDNL5 = -0.5LSBDNL6 = -0.5LSBOverall DNL for the curve is 0.5LSBAs DNL increases in either direction, Qe worsens.

  • 7/26/2019 Unit1&2-NCI.pdf

    42/59

    42

    DNL:

    ADC with -1LSB DNL is guarnteed to have a missing code.DNL5 = -1LSB- missing code.

    ADC with -1LSB DNL is not guarnteed to have a missing code

  • 7/26/2019 Unit1&2-NCI.pdf

    43/59

    43

    INL0=INL1 =INL4 =INL5 =INL7 =0INL3 = 3/8 -5/16 = 1/16=0.5LSBINL6 =-0.5LSBOverall INL for the curve is 0.5LSBINL determined by inspecting value of Qe.INL=magnitude of Qe outside LSB band of Qe.

  • 7/26/2019 Unit1&2-NCI.pdf

    44/59

    44

    Offset and Gain Errors:Identical to DAC.Offset errors occur when there is a difference begtween the value of

    first code transition and the ideal value of LSB.Offset error is a constant value.Qe becomes ideal after initial offset is overcome.Gain or Scale factor error-difference

    Gain or Scale factor error-difference in the slope of a straight line drawn through the transfercharacteristic and the slope of an ideal ADC.

    Aliasing.Dynamic aspects of converter.

    Falias = Factual - Fsample

  • 7/26/2019 Unit1&2-NCI.pdf

    45/59

    45

  • 7/26/2019 Unit1&2-NCI.pdf

    46/59

    46

  • 7/26/2019 Unit1&2-NCI.pdf

    47/59

    47

    Signal to Noise Ratio(SNR)-ratio of largest RMS input signal into the converter over the RMSvalue of the noise.SNR=20 log (Vin(max)/VnoiseVin(max) = Vref/2*21/2

    = 2NVLSB/2*21/2Qe,RMS = VLSB/121/2

    SNR=20N log (2) + 20 log (121/2) - 20 log (2*21/2)= 6.02N+1.76

    Signal to Noise Ratio(SNR)Example:16-bit ADC, SNRD=88db Resolution=?SNR= 6.02N+1.76N= 88-1.76/6.02 = 14.32 bits

    Mixed Signal layout Issues Analog ICs are more sensitive to noise than digital iCs. Sensitive analog nodes must be protected and shielded from

    any potential noise sources. Grounding and power supply routing must also be considered. Most of the ADCs use switches controlled by digital signals.

    Techniques for mixed-signal designs vary in complexity andpriority.

    Successful design will always minimize the effect of the digitalswitching on the analog circuits.

    Mixed Signal layout StrategySystem level- Device level-Interconnect level

    Interconnect considerations Shielding

  • 7/26/2019 Unit1&2-NCI.pdf

    48/59

    48

    Guard rings Fully differential/Matching design Power supply and Grounding Issues Floorplanning

    Types of DAC

    Resistor String R-2R ladder Network Current Steering

    Charge scaling DAC Cyclic DAC Pipeline DAC

    Resistor String DAC Most basic DAC. Simple resistor string of 2Nidentical resistors and switches, Analog output voltage is voltage division of resistors at the

    selected output tap.

  • 7/26/2019 Unit1&2-NCI.pdf

    49/59

    49

    Resistor String DAC Arch: typically results in good accuracy, provided that no output

    current is required and the values of resistors are within thespecified error tolerance .

    Ouput is monotonic

    Drawbacks Converter output is always connected to 2N -1 switches that

    are off and one switch is ON. For larger resolution, a large parasitic capacitance appears at

    the output node, resulting in slower conversion speeds.

    Alternative to Resistor String DAC

    Input to the switch array is binary word since the decodingis inherent in binary tree arrangement of the switch.

    Another drawback in resistor string is Balance between area and power dissipation.

  • 7/26/2019 Unit1&2-NCI.pdf

    50/59

    50

    IC version of DAC larger area because of large primecomponents for higher resolution

    For low resolution use active resistors such as nwell resistors. As resolution increases , relative accuracy of resistors becomes

    important factor. R can be made small to rteduce area, power dissipation would

    then be critical issue as current flows through the resistor stringat all times.

    Resistor String

    Problem 3bit resistor string DAC using binary switches, VrefV, PD=

    5mW, Compute the analog output for each input digital data.Imax= 5mW/5V =1mAR= 1/8 * 5V/1mA = 625 ohms.

  • 7/26/2019 Unit1&2-NCI.pdf

    51/59

    51

    Data Converters DAC-Nonlinearity

    Mismatch errors relate to Resistor String DAC

    Accuracy of resistor string is related to matching between theresistors, which determine DNL and INL.

    Let resistor Ri has mismatch error, so thatRi= R + Ri

    ideal + mismatch

    Suppose mismatches were symmetrical about the string, sothat sum of all the mismatch terms were zero or

    Value of voltage at the top ri isVi, ideal= (i) Vref/ 2Nfor i=1,2 .2N-1

    02

    1

    ==

    N

    i

    Ri

  • 7/26/2019 Unit1&2-NCI.pdf

    52/59

    52

    Actual value of ith voltage will be the sum of all resistors up toand including resistor i, divided by the sum of all resistors in thestring

    INL of Resistor String DACINL= Vi-Vi,idealWorst case INL when i=2N and Rk mismatch.

    INL of Resistor String DACIf resistors mismatch by 2%, then-.02RRk+.02R

    VrefR

    RkR

    Vref

    Rk

    Rk

    ViN

    i

    k

    k

    i

    kN

    +

    ==

    =

    =

    =

    21

    1

    1

    2

    =

    +

    =

    i

    kNN Rk

    R

    VrefiVrefVi

    122

    =

    +=

    i

    kN

    R

    RkVrefidealViVi

    12,

    RRkVref

    INLi

    kN

    /12

    =

    =

    RRkVref

    INLi

    kN

    /1

    2

    =

    =

  • 7/26/2019 Unit1&2-NCI.pdf

    53/59

    53

    INL max = Vref/2N* 2N-1 *.02R/R =.01Vref

    Ex:Find n if limited by INLIf resistors mismatch by 1%, then-.01RRk+.01R

    INL max = Vref/2N * 2N-1 *.01R/R =.005Vref=.025V

    INL max = LSB1/2LSB = .025V = 5/2N+1

    DNL of worst case Resistor string DAC

    DNL= actual step height-ideal step height

    DNL=Vactual Videal= Vref/2N* Ri/R

    RRkVref

    INL

    N

    kN

    /2

    1

    1

    2

    =

    =

    =

    +=

    i

    kNN

    R

    RkVrefVrefiViVi

    122

    )(1

    +=R

    RiVrefVactualN

    1

    2

  • 7/26/2019 Unit1&2-NCI.pdf

    54/59

    54

    Ex: let R = 2%DNL max= .02R/R * Vref/2N = .02LSB

    DNL max 1/2 LSB

    R-2R Ladder Network Fewer resistors Starting at the right end of network, resistance looking to right

    of any node to groun is 2R.

    Vout= -itot*Rf

    Dk kth bit of input word

    Switch resistance is negligible.voltage drop leading to errorTotal resistance of any horizontal branch R

    R = R + R/2Resistance of any vertical; branch is 2R + R

    R

    VrefDkitot

    N

    kN

    2

    11

    0 2=

    =

  • 7/26/2019 Unit1&2-NCI.pdf

    55/59

    55

    R-2R Ladder NetworkR-2R relationship to be maintained,Dummy switch size of a 2R switch will have to be placed in serieswith the terminating resistor as well.

    Problem3-bit DAC R=1k, Rf = 2k, Vref=5VSwitch resistances negligible.

  • 7/26/2019 Unit1&2-NCI.pdf

    56/59

    56

    Integral Nonlinearity

  • 7/26/2019 Unit1&2-NCI.pdf

    57/59

    57

    Current SteeringUses current throughout conversion.Requires precision current source.Set of current sources

  • 7/26/2019 Unit1&2-NCI.pdf

    58/59

    58

  • 7/26/2019 Unit1&2-NCI.pdf

    59/59