Data Converters
Data Converters
Chapter
                                                                                      9
                                                    Data Converters
           Syllabus
  Digital to analog data converter (DAC) : Circuit diagram and working of weighted resistor DAC and
  R-2Rladder DAC, DAC specifications / selection factors. Analog to digital data converter (ADC) : Biock
 diagram, Types and working of dual slope ADC, Successive approximation, Flash type ADC, ADC
 selection factors / specifications.
                                          Chapter Contents
o4- Need of Data Converters
                                                   9.7 Analog to DigitalConverters (ADC)
      DAC Fundamentals                             9.8   Types of A to D Converters
9.2
9.3 Binary Weighted Resistor DACc 9.9 The Parallel Comparator or Flash ADC
                                                                                     output
9.1.1        Types of DataConverters:                                                Analog
                                                                                                                           Output value for
      The data converters are basically of two types:                                                                             1LSB input
      1.     Digitalto Analog Converters (DACS).                                                                                           + Digital input
      2. Analog to Digital Converters (ADCS).
      The classification of data converters is shown in
      Fig. 9.1.1.                                                           (C-3162) Fig. 9.2.1(b) :Plot of an analog output voltage versus
                                                                                              digital input code for a 3-bit DAC
                                                                                                                                                    TechKaewledgi
                                                                                                                                                    PublcationS
  Techniques
                                                                        93                                                        Data Coverters
       Input-Output Equation :
                                                                                                                                              Hthe
                                                                              Ex.  9.2.1: Calculate the analog Output of          a 4-bit DAC
      inputoutput equation of a DAC can be
                                                  used to                     digtal input is 1011 Assume Ves =5V
  The     the analog output voltage
  calculate
      given digital input
                          word.                   corresponding
                                                           to                Soln.:
                                                                                    The 4-bt digital word is d, dd, d, d, m1011 with Vg 5
 the
RE
               VR     VR                  VR
                             +   ......                   ..(9.3.1)
                                                                                                                      --VR
     Note that d,, d,...., can have a value of either "0"                             od,= 0     Ïd, =0          o d, =1
     or "1".
                                                                                      t-Digital input 100
                                                                            (K-583) Fig. 9.3.2 : Equivalent circuit of DAC for digital
                V
               R d, 2+ d,2+...+ d, 2"]                    ..(9.3.2)                             input d, d, d, = 100
                                                                                                                                       Tech Knouledge
                                                                                                                                       PubIcations
DgitalTechniques
                  Switches corresponding                95
      Thetwo                         to the
            the resistors 2'R and
      connect
                                  2'Rto inputs d, and d, 9.3.3                                                                Data Converters
                                          ground
       As
               Ais at virtual
            point
              will be equal to zero      groundas potential, the                          DiThe saccuracy
                                                                                          DAC:   advantaandges stabity
                                                                                                                of Woighted Resistor
      ,
        andl,
      Howeverthe       switch
                                                 shown in currents
                                                             Fig 932                                                   of ths tpe of DAC
      the
          resistor   2R to - V¡ andcorrespondidue ntog   to d, wil
                                                                   connect          2
                                                                                          depends on the accuracy of the resstors ued
                                                                                           This type of DAC              a wide range of resistor
       between A and       - Va
                                   Current l, will flow.potential difference                                  requires
                                                                                           values. If the number  of digts "n per bunary word
                                                                                          is 8then the
      Substitutingthe values of d,,                                                                      snallest resistor is 2 R R2 while
                                    d,               and d, into                         the largest one is 2 Rie 128 R2 Thus the largest
      (9.35) we can obtain the
                                         analog output voltage Equation
                                                               V, as:                    resistor is 128 times, the smallest one. This
      V, =    Va[1 x2* +0x2-2,                                                            proportion will be worse for still higher values of
                                                                                         n (say n = 12).
      Similarly,    we can obtain                                                   3    For n = 12, if the smallest resistance is 25 k2, then
                                         the
                                      output voltage for all the
       possible input digital words
                                    from 000 to 111, as                                  ne largest one wallbe 2 x 25 kn = 5.12 M2 The
      in Table 9.3.1
                                                                     shown               fabrication of such   alarge resistance in an IC
                                                                                                                                          formn
                                                                                                                                 Tech Kaowledge
                                                                                                                                 PubIcatons
Digital Techniques                                                                                                      pata Convertany
                                                                 9-6
Ex. 9.3.2 : Draw the
                         circuit diagram of 4-bit binary                       V, for 10001 :
or vanable
            resistor type of DAC ADply                   weigntea 2.                       2)+0+0+0+(1 x21
obtain the equation for                     Millman's theorem to               V, = 10[(1 x
For this drcuit if '0' =   output  analog voltage
                           0Vand'1'   = + 10 V                                  V, = 5.3125
                                                                                            Volts                                    Ans.
Find                                                                               R-2R Ladder Network:
1
     The full scale                                                      9.4
                    output
2
     The output voltage voltage                                                  This is the second type of resistive network used for the
                          change due to
3
     The analog output voltage for a LSB                                        D to A conversion.
 Soln.:                               digital input 1011.                                                        ladder
                                                                                                 the basic R-2R                 network         It
     Refer section 9.3 for 4-bit                                                 Fig. 94.1 shows
                                 weighted resistor DAC.                                                 two values, Rand 2R
                                                                                                              only
Given : V =       10 V, n = 4.                                                  consists of resistors of
1.         Full scale output                                                                                                    (Analog
                              voltage:                                                                                               voltaga)
             V = Ve ld, 2+ d, 2'+ d,                                                                2R
                                         2+ d, 2                                                                        MSB
            Vo = Vs if d, d, d, d, =                                             LSB
                                     1111
                                                                                                     4 bit digital
        :. Vs = 10 [(1 x25 + (1× 25+
                                          (1x2)+     (1x21                                              Input
                                                                                                             R-2R ladder   network
          Vs = 10 x 0.9375 = 9.375 Volts                                            (K-585) Fig. 9.4.1: 4bit
                                                            -Ans.
                                                                                                       construction and analysis
2
           Output voltage change due to LSB:                                    This will simplify the
                                                                                                                              componente
            Let d, d, d, d, = 0001                                               network and also the selection of network
                                                                                                                    R-2R ladder type Dac
        .:. V = 10 [0 + 0 + 0+ (1x 21                                            The R-2R network is the heart of
                                                                                                                    a 4 bit R-2R networ
                  10                                                             and the one shown in Fig. 9.4.1 is
                  16 = 0.625 Volts                                                                                 bit, 5 bit orn bit R-D
                                                            ..Ans.               It is possible to have a 2 bit, 3
    3     V, for digital input =1011:                                            ladder.
                                                                                                                           with d, as the
          Vo = 10 (1lx2h+0+ (1 x2)+ (x2)                                         d, d, da d, is a 4 bit digital input word
             = 10 [(1/ 2) + (1 /8) + (1/16)] = 10                                Most Significant Bit (MSB) and d4 as the Least
                                                    (0.6875)                     Significant Bit (LSB).
          V, = 6.875 Volts
                                                            ..Ans.                                                         proportionalto
                                                                                 V, is the analog output voltage which is
Ex. 9.3.3 : Calculate the analog output for 5 bit
                                                  weighted                       the digital input.
res1stive type DACfor inputs :
 1.       10110                                                           9.5          R-2R Ladder DAC:                                     S-19
2.        10001
Assume logic "0' =0 Vand logic '1' =10 V.                                      MSBTE Questions
Soln. :                                                                    Q.1         Draw the circuit diagram of 4 bit R - 2R ladder
          For a 5 bit weighted resistor DAC,                                           DAC and obtain its output voltage expression.
                                                                                                                          (S-19,6 Marks)
           Vo = V(d, x2h +(d, x2h +(d, x z
                                                                          Circuit diagram :
                  +(d, x2") +(d, x2 )1
1.         V, for 10110:                                                          The problem of using a wide range of resistor values
                                                                                   (for weighted resistor DAC)can be solved by using the
          Vo = 10 [( lx2')+0+ (1x2') +(1x2') +0]                                   R-2R ladder type DAC.
              = 10[0.5 + 0.125 + 0.0625]                                           The circuit diagram for R-2R ladder type DAC is shown
          Vo = 6.875 V                                         ...Ans.
                                                                                   in Fig. 9.5.1.
                                                                                                                                 Tech Knouledgi
                                                                                                                                  PubIit ations
DgitalTechniques                                                                                                                                   Data Converters
                                                                                    97
                                                               2R
                       2A             2RS                                 Analog                     2R
       2R                                                                  output
                                                                         voltaga V,
                                                                                                                                                       Rasistoni
                                                                                              Resistors in                         Resistos                        R- 29
                                                                                                                                                      serion Re
                                                                                              seros A+Ro 2R
Eloctronic
                                            MSB          Reteronce                                                             2
              LSB                                        voltage (-Va)                                                                               circults to
                             d,0
                 -Digital input 100
                                            od, =1                                                ses) Fig. 9.5.3: Simplified equivalernt
                                                                                                                      the left of B
                                                                                                                                                                   is
            K-586) Fig. 9.5.1: R-2R ladder DAC                                                                                                     of Fig. 95.4(a)
                                                                                             The    simplified equivalent circuit
      Itshows that only two values of resistors are required                                 redrawn as shown in Fig. 9.5.4(b).
                             2RO                                                                                                       parallel with each
      namelyRQ and
                                                                                              As the two      resistors Rand 2R are in         resistance
                                                                                                                                          in a
       This method is therefore suitable for the realization of                               other, their parallel combination resuits
      integratedcircuits (aC).                                                               of (2 R/3) 2                                                 Resistors in
                                                                                                                                              -VA           parallei
       The value of Rin Fig. 9.5.1 can be anywhere between                                                                                                2R IIR= 2R/3
                                                                                             2R               R        A      -VR      2R      ®)
        2.5k2to10ko but it should not be less than 2.5 ko
                                                                                                                                                     2R
 9.5.1
                0peration of R-2R ladder DAC:                                   S-19|                                                                        QVitual
                                                                                                                                                                     ground
     MSBTE Questions                                                                                                                                k-2RI3
                                   2R                                                                                                inverting amplifier
                                                                                               Considering the OP-AMP to be an
             32R 2R                            2R
                                                                                                                                                      in
                                                                                                                            the DAC is as shown
                                                                                               the equivalent circuit of
                                                                                                                                             by.
                                                                                               Fig. 9.5.5. Hence the output voltage is given
                K-587) Fig. 9.5.2 : Simplified R-2R ladder DAC                                                                                                       (9.5.2)
                                                                                                                               - 2R
                                                                                                                      Vin =     R
             The switch positions indicate that the binary word is
                                                                                                                                              2R
             d, d, d, = 100.
                                                                                                                       R
             The original circuit can now be simplified as shown in
                                                                                                                                                               oVo
             Figs. 9.5.2 and 9.5.3 respectively.
              The simplified circuit shown in Fig. 9.5.2 gets further
              reduced to the simplified equivalent circuit shown in                                                        (K-590) Fig. 9.5.5
              Fig. 9.5.3                                                                           Thus for a binary input of 100 the analog output
              The equivalent resistance to the left of node "B" in                                 produced is V/2.
               Fig. 9.5.2 is only "2R" and node Ais at "irtual ground                              Similarly, it is possible to obtain the analog output
                potential.                                                                         voltages for other digital input words.
                                                                                                                                                                Tech Kaocledge
                                                                                                                                                                PubILC a t i o n s
                                                                                                                                   Data Coverteny
Digrtal Techniques                                                                                             Converters.
                                                                  9-8
                                                                                            Applications of DIA
Output voltage waveform                                                 9.5.3
                   Resolution =                                                       8V =
                                      -1                                                        0.9375 Va          .:.   V, = 8.533 V
                                                                                                                                             Tech Kaouledge
                                                                                                                                             PubLCat Ions
Digital Techniques                                         9.10
                                                                                                                        Data Converten
Ex. 9.5.7 : Calculate the                                                                             number of         b1ts in
                                                                             Its value depends on the                           the digital
register type DAC for inputsanalog outout for 4 bit weigted                                              the number of bits,,
 1 1011                                                                      input applied to DAC Higher                             higher
                                                                             is the resolution
2    1001
                                                                                                              defined in two
                                                                              Resolution of a DAC can be
Assuma Ves) full scale range of voitage is 5 V
                                                                              ways : They are
                                                                                                                                   dif erent
                                                                                              discUssed in the following explanation
                                                                                                                    is the number.
Soln. :
                                                        W.19.6 Marks         The first definition of resolution
                                                                                                             values that can
1,
                                                                             different analog output voltage
      1011 : Refer Ex 921                                                                                  n-bit DAC,
                                                                             provided by a DAC. For an
2.     1001 :                                                                     Resolution = 2                                   (9.61)
       Analog output voltage,                                                                           4-bit DAC is 2 = 16 and that
                                                                              Hence the resolution of a
                                                                                                             resolution increases wis
                           Vo =  Vs [d,2+ d, 2 + ...+ dn 2"]                 of a 3-bit DAC is 2 = 8. Hence
                                                                                               number of bits.
                                                                             the increase in
                               = 5[(1 x 2) +0 +0 + [(1 x 2)                                defined in an alternative way as the ratio
                                                                             Resolution
                               =   5[0.S +0 +0 + 0.0625]                                                     voltage resulting from
                                                                             of change in analog output
                     .. Vo = 2.8125 Volts                                                                   input.
                                                              ..Ans.         change of 1 LSB at the digital
                                                                                                                   definition, we need
Ex. 9.5.8 :      Calculate analog output of 4 bit DAC for digital            To calculate the resolution with this
                                                                                                                                V;; and the
input is 1100. Assume VES = 5V.
                                                      S-22, 4 Marks          to know the full scale analog output voltage
Soln. :                                                                      number of digital inputs "n".
                                                                                                           voltage Vss is defined ae
Given:            N=4, Vs = 5V, Digital input = 1100                         The full scale analog output
                                                                                                                     digital inpUt
To find:         Analog output voltage                                       the output voltage corresponding to the
                                                                                                                              given by,
                                                                             with all digits 1. Therefore the resolution is
                  Vo = Vss [d, 2 + d 2+ d;              + da 2                                        Vs
                                                                                   Resolution = 2'-1                               ..(9.6.2)
                       = 5[(1 x 0.5) + (1 x 0.25) + 0+ 0]
                       = 5 (0.5 + 0.25]
                                                                             where             n = Number of digital inputs.
               .:. Vo = 3.75 Volts                                      2.   Accuracy:
                                                              ...Ans.
9.6          DAC Specifications /Selection                                   Accuracy of a DAC indicates how close the analoa
                                                                                                                  value. In short it
             Factors:                                                        output voltage is to its theoretical
                                                                 S-19                                                      the
                                                                             indicates the deviation of actual output from
     MSBTE Questions                                                         theoretical value.
    91       State twO specification of DAC.         (S-19, 2 Marks)
                                                                             Accuracy depends on the accuracy of the values of
       D to A converters have the following important                        resistors used in the ladder, and the precision of the
           characteristics (specifications):                                 reference voltage used.
       1       Resolution
                                                                             Accuracy is always specified in terms of percentage of
                                     2.   Accuracy
                                                                             the full scale output. That means maximum output
       3       Linearity             4. Temperature sensitivity              voltage. e.g. if the full scale output is 15 V and accuracy
       5.      Settling time         6. Speed                                is ± 0.1 percent then the maximum error is given by
                                                                             0.001 x 15 = 0.015 V or 15 mV.
       7.      Long term drift       8. Supply rejection
                                                                        3.   Linearity :
       Let us discuss them one by one.
1.     Resolution :
                                                                             The relationship between the digital input and analog
                                                                             output is expected to be linear. However practically it is
       Resolution is defined as the smallest possible change in              not so due to the error in the values of resistors used
       the analog output voltage. Resolution should be as high
                                                                             for the resistive networks.
       as possible.
                                                                                                                              TechKnowledge
                                                                                                                              Pubications
Dgtal
    Techniques
                                                                        9-11
      Temperaturosensitlvity :
                                                                                                                             Data Converters
         idealrequirement is
                                     that the
      The
                converter should
                                              analog output
                                         not change                voltage
                                                                                                      Va (Rotererra)
           to A                                     due to
      of
     in
         D
       temperature                                                 hanges                                              MSB
      output.
                                                         obsserved at the         Signrficant Brt (MSB) and d. is the Least Signficarnt Bt
                                                                                  a) The analog input voitage V, produces an output
          The time required to settle the analog output         within 1/2
          LSB of the final value, from the
                                                                                  digital word, having a functionalvalue "D given by.
                                                 instant
                             called as settling time.
                                                     of         change in          D = d, 2+ d, 2 2              .+ d, 2                  (971)
          digital input is
                                                                                                             +
                                                      The
      should be.as short as possible.                        settling time        In addition to the analog input voltage Va the ADC
      Speed:                                                                      block has areference voltage Va input and two control
6
          It is defined as the time taken by a DAC to perform a                   lines SOC and EOC.
                                                                                  The Start of Conversion (SO input is used to start the
          conversion from digital to analog. It is
                                           also defined as                        Ato D conversion whereas the End of Conversion (EOC)
          the number of conversions that can
                                         be performed per                         Output goes high to indicate that the conversion is
          second. The speed of DAC should be as
                                                  high as                         complete.
          possible.                                                               The relation between the analog input voitage V and
          Long term drift:
7.                                                                                the digital output Dis given by.
          This results mainly due to resistor and semiconductor                                                                      V
                                                                                                                                           -(9.72)
                                                                                   D =d, 2+ d,2+...d, 2" =YV.V
          aging and can affect all the characteristics.
   Characteristics mainly affected are linearity, speed etc.                     Where     K = Constant.
8. Supply rejection:                                                                      Va = Reference voltage.
                                                                                          Ves = Full scale input voltage.
          It indicates the ability of DAC to maintain all its
                                                                                               V, = Analog input voltage.
          important characteristics unchanged when the supply
          voltage is varied.
                                                                               Conversion time:
                                                                                  Refer Fig. 9.7.2. At t =to a SOC signal is given to the
          Supply rejection is usually specified as percentage of
                                                                                   ADC and at t = t we get EOC output.
          full scale change at or near full scale at 25° C.                                           Conversion
                                                                                                         time
    9.7        Analog to Digital Converters (ADC):
                                                                                                                                   -Time
    Block diagram :                                                                        -
                                                                                                                                      Tech Kneuledge
                                                                                                                                      PuDCatons
Digital Techniques                                                                                                                    Data Converten
                                                                      9-12
      The time                                                                                    Vn (Rolorono voltago)
               difference
      as "conversion  time.between these two instants is called
      The  conversion time should be as small as                                                        Comparators
      comparator has been connected to the analog input                   Operation of two bit flash type ADC :
      voltage VA
                                                                                   Consider the first range of input voltage ie.
      As seen in the circuit diagram three comparators are
                                                                                 0< Va < V/4. In this range the reference voltages
      being used.
                                                                                 V, V, and Vare all higher than the input voltage.
                                                                                                                                      Tech Knouwledgi
                                                                                                                                      Pubcatlons
DgnalTechniques
                                                                              913
    Therefore the output voltages of
                                 all the                                                                                          Data Corverers
       low ie. C C, C, = 000 and
                                  the                         comparators Operation
    are
    output of       the priority encoder is 00 as           coresponding
                                                                shown in
                                                                                          The
                                                                                    operation                of    ths
   Table9 91                                                                             Tatie 99 2
              second range
    Inthe
                        of input voltage ie
                                            VJA V, <                                    AY Table 992Summary oof operation of a bit ADC
    VJ2,thereference voltage V, VJ4 is less than v,
   Therefore the output of comparator 1
                                                                                                           Anaiogogtal
                                                                                                           input       output
                                            only is hgh                                               Voltaga V,4,,
   (C1).                                                                                                   0-05
           other two       comparators produce                                                            05-15
    The                                                         a "0
    voltage(C, = CG= 0).                                                output                            15-25
                                                                                                           25-35             1
                of
    The output the priority              encoder     is 01 as                                              35-45
    Table 9.9.1.                                              shown in                                     45-55         1
                                                                                                           55-65
     Similarlythe operation can be
    two voltage ranges.
                                               explained for the            other                           >65          1   1
                                                                                                                                          Tech Kaowledge
                                                                                                                                          PuDIiCat o n s
                                                                            14
             Wih inreed eurter        tite " the prity Gpetion i
             enodes becones itressirgy eomple
                                                                                 1
.0.3          Suooesalve Approximatlon ADO
              (BA - ADC):
    MBUTE Questios
                                                                                                                             he A
 a.1 Dscribe the working of                                                                            irtte the "K inp,
                            uoesahve                                             2        As soon 5 we
            ADC, Define resohuion and
                                                          approdmaton                             M8 d,  1with al other tns to ze
                                                                                                                                  The
                                                                                          set the
                                      converon tme                                                                         0D
                                                                                                                   ont is l0
            associated with ADC,
                                                      W48, 6Mara)                         the trial codeat the SAR
                                                                                                                    then appied
 a.2 Drew the drout of                                                                    &-bn ADC This rial ode is
                        succsive upprodmation type                                                           comeponding unpt           AC
     ADC and eplain Ire working.                                                          input of a DAC The
                                                      (49,4 Maro)                                              the comparator, # U, <V) ie
 .3 Describe the working
                         principle of                                                     ie Vo is aplied to
                                                              ucooselve                   # trial Code s less
                                                                                                                  than the cornect d
            approximation ADC.
                                                      (W-19,4Marks)                       representtion then comparstor outpt
                                                                                                                               ges hig
Prlnciple of operatlon :
                                                                                          which is applied to SAR
      Successive approximation ADC                 is one of the most                                   comparator         output the Mse d
                                                                                 3. In response to high
      widely and popularly used ADC technique.                                                                               lower hgnificart
                                                                                          is maintained at 1" and the ned
      The ADC operation is based upon an                                                                                       the SAR outpu
                                                            efficient "code               bit d, is made "1" The tríal code at
      search strategy to complete the n-bit comversion in just                            now becomes 1100 0000. The
                                                                                                                          corresponding DAC
      n-clock periods.                                                                                                            the proces
                                                                                          Output is compared with VA and
      Thus it takes much shorter                                                          continues as explained in 2.
                                 coversion time as
       compared to the counter type ADC.                                                                                                  onty
                                                                                 4        However for the first trial code of 1000 0000
Block diagram :                                                                           VA< Vo then the comparator output will go low
       The block diagram /circuit diagram of the successive                               ie. 0. The SAR will respond to it by reseting its
                                                                                          MSB bit d, to 0 and making the next bit d, = 1 o
       approximation ADC is as shown in Fig. 9.9.4.
                                                                                          that the new trial code is 0100 0000.
Analog                Cormparator                80c (8tart of Corverelon)
Input VA
                                                      EOC(End of Converslon)
                                                                                 5.       This procedure is repeated for all the subsequent
                                                                                          bits one at a time, until all bit positions are tested.
                                       SAR               -Clook L
                                                                                     6.   As soon as the DAC output Vo crosses V, ( ie.
                                    d dg
                                M8B
                                                          -4lnoin digital                  V > V), the comparator changes state and this is
                                                          -d,| utput
                                                   LSB                                     taken as End of Conversion (EOC command.
                DAC Output Vp
                                           DAC                                       Table 9.9.3 explains the operation of successive
                                                                                                                                   Tech Kaeuledgi
                                                                                                                                   PubItatisas
Dgial
   Techniques
             (K-616) Table                                915
                         1       9.9Intialy
                                     .3:Sequence    of
                                             SAR operation the successive
                                                           in                                                              Data Converters
                                 6
                                       New SAR
                                               output:d, ....d,
                                        Continue the same process 1101 1000
                                                                  as        follows
                                         SAR output
                                                                                         Comparator output
                                         1 10 1
                                                           100 0,
                                                                                      Vo>V
                                           1 10 1                                            Make d, =0 and d =1
                                                           0100
                                                                                      Vo>VA
                                                                                                 Make de =0 and d, =1
                                           1101             001 0
                                                                                      Stop as V, V
      Suppose that for the given analog input voltage the                       Advantages :
      correct digital output is 1101 0010. Then the SAC ADC                             1.       The conversion time is equal to the "n" clock ycle
       reaches this word in the way shown in Table 9.9.3.                                         period for an n-bit ADC. Thus conversion time is
       Table 9.9.3 showS that for Va Vo the comparator                                            very short.
                                                                                        2         For example, for a 10-bit ADC with a clock
       output becomes high and for VA < V, the comparator
       output is low.                                                                             frequency of - 1 MHz, the conversion time will be
                                                                                                  10 × 10ie. 10 sec only.
                                                                                                                                      TechKaouledge
                                                                                                                                      PuDIications
                                                                                                                                       Data Converten
 Digital Techniques                                                        9-16
       3
             Conversion time is constant and independent                of        Circult description
             the amplitude of analog signal VA                                                                        SOC signal to start the
                                                                                                                                              A
                                                                                                    logic accepts the
                                                                                        The control
Disadvantages:
       1      The                                                                       to D conversion   and generates tOC Signal
                                                                                                                                     when the
                     circuit is complex
       2                                                                                ConversIon is over.
               Ihe conversion time is longer as compared to flash                                                                            which
              type ADC                                                                          controls the two switches S and S, out of
                                                                                         Italso
                                                                                                                               whose one terminal
Applications :                                                                                a single pole three way switch
                                                                                        S, is
                                                                                                                                   second one ie
       Due to the advantages mentioned earlier the                                                          analog voltage Va
                                                   successive                           iS connected to                              connected to
                                                                                                                    the third one is
       approximation ADC is most widely used in the                                     Connected to ground and
                                                                                                                                           arm of
       microprocessor based data acquisition systems                                       negative reference  voltage - VREF- The moving
                                                                                          a                                            terminal of
       1C     ADC 0809 uses the concept of                                                                    the inverting (J input
                                           successive                                   S, is connected to
       approximation.
                                                                                        integrator Aj
9.9.4          Dual Slope Integrator ADC :                                                                    integrator and A, is a
                                                                    S-22                OP-AMP A, is a simple
                                                                                                                                        the
                                                                                                                     the counter we get
 MSBTE Questions                                                                        Comparator. At the output of
 Q. 1       Draw block diagram of dual slope ADC and explain                            n-bit digital output.
            its working.
                                                        (S-22, 6Marks)
         This is a very widely used ADC. It requires more                         Operation:
                                                                                                                             output voltage
     conversion time but it is extremely accurate.                                      Initially assume that the integrator
                                                                                                                   RESET condition ie. counter
Principle of operation :                                                                V, =0and the counter is in
         In this ADC, an unknown analog voltage and a known                             Output is 00.
                                                                                                                              S, is connected to
         reference voltage, are converted into equivalent time                         Refer to Fig. 9.9.6. At t = to, Switch
         periods using an integrator.                                                  ground and switch S, is closed.
       These time periods are then measured by a counter.                                                                  connected       across   the
                                                                                       The capacitor CA gets
       This circuit is called as a dual slope ADC because the
                                                                                       Comparator output.
       analog voltage A and the reference voltage are
                                                                              Integrator JAutozero
       converted to ramp signals of different slopes by the                       output
       integrator.                                                                voltage                                               ’time
Block diagram :
         The block diagram of dual slope ADC is shown in
                                                                                                 Slope                                 Slope =VaEF/RC
                                                                                               -Va/ RC
         Fig. 9.9.5.
Analog                                                                                                   Integrate VA     Integrate VAEF
 inputo         Switch
  VA            S.        R
                                                                                        (K-618) Fig. 9.9.6: Waveforms of adual slope ADC
                                                    Comparator
                                  Aq
 GND                                               Ag                                  Any offset voltage present in the OP-AMPs will appear
       -VREF                       ntegrator
                                                                                       across the capacitor CAz:
                                                                                       This   will provide an automatic compensation for the
                                                                                       input offset voltage of all the amplifiers.
                                                        n - stage
                         SOC       Control logic        Counter
                                                                                       Therefore integrator output voltage is zero for the
                                                                    Digital
                                 EOC                                output             interval to to t, in Fig. 9.9.6.
                  (K-617) Fig. 9.9.5 : A dual slope ADC
                                                                                                                                       Tech Knouledgë
                                                                                                                                       Pubiications
Dgtal
    Techniques                                                   917                                                   Data Convertes
           it ,the
     instant
                   SOC          command is given   to the control
                                                                                                                                   nurmber
                                                                          At t, the counter output
   At                                                                                                              shows
   logic
              connected|to Va and S, is opern circuited                    (oresponding to Nclock cycles t has counted during
   SwitchS,is                                                              period t, to t,
                      memory to hold the
    Ca
       then acts as a                            voltage
                                                   required                Thus this number N represents the time taken for
           the offset zero. Hence Ch is known as
    to
         keep                                                  the         integrator output to reduce from -V to 0
   autozerocapacitor,
                     ADC will                                              Hence N represents the desired digital output code
   From t, to
              t this             integrate the analog input                proportional to the analog input VA
          a
            fixed duration off2"  number of clock cycles.
     V,for                                                                 IfV increases, then the integrator capacitor wil charge
    Thistimeinterval is required for the counter to advance
                                                                           to a higher negative voltage during the time interval T;
    through all its possible output states, because for an
                                                                           ineretore the time , required to reduce the integrator
     n-bit counter there will be 2 possible output states.
                                                                           output to zero increases.
     The
         counter output then reduces to zero.                               Iherefore the counter output count (N) will be higher.
     The time duration t, to t, is represented by " T,            in
                                                                           Thus Nis proportional to Va
    Fig.9.9.6.                                                         Advantages of dual slope ADC :
     Theintegrator output during this period is given by.                                                     N Ve
                                                                                                                         it is
                                tz
                                                                           1
                                                                                  Ihe expression for V, is V,= 4 . hence
                 Vo   =-Jv,
                       RC   dt =-VAT,
                                  RC                        (9.9.1)               independent of R.Cand T. Thus drifts in any of the
                                tË
                                                                                  Components affects T, and T, in the same
      This expression represents a straight line with aslope of                   proportion and ADC output is unaffected.
     - V/RC.
                                                                            2     If T, is chosen so that it is related to power supply
         Thus we get a decreasing ramp as shown in Fig. 9.9.6.
                                                                                  period, the noise and hum on the input line get
      The time period T; is thus represented by 2 clock                           largely averaged out Hence, dual slope ADC is
      cycles.                                                                     capable of rejecting noise and hum.
            . T. = 2"× T... where T= One clock ycle period
                                                                            3.    Offset correction can be introduced by a relatively
         At the end of interval T, the integrator input is                         simple circuit, facilitating auto-zeroing.
         connected to a fixed negative reference voltage                    4.     Low cost.
         - VaF Via switch S,.
                                                                            5.     Accuracy of the dual-slope ADC can be of the
         The integrator output now starts increasing towards                       order of 0.05 %, which is adequate for most
         zero with a positive slope as shown in Fig. 9.9.6. The                    applications.
         slope is VREF/RC for the duration t, to ta.                    Disadvantage of dual slope ADC:
         The counter starts counting from 0. The integration will
                                                                               The only major drawback of a dual slope type ADC is its
         continue till the integrator output is non-zero.                      long conversion time as compared to other ADCs.
          At instant ta the integrator output reduces to zero, the      9.9.5       Comparison of AD Converters :
          comparator output goes from HIGH to LOW and the
                                                                               The comparison of different types of A to D coverters
          clock pulses given to the counter are stopped.
                                                                               is given in Table 9.9,4.
                                                                                                                                TechKneoletge
                                                                                                                                PubIications
                                                                                                                          Data Coverer,
Digital Technques                                                 918
  8                                                                                                           Allthose applications
         Applications        All high speed   applications such as     |All data acquisition systems.
                             storage CRO, fiber optic                                                        which need very high
                              communication etc.                                                             accuracy.
                 Resolution = 2"                         ...(9.10.1)             Conversion time should ideally be zero and practically
                                                                                 be as smallas possible.
        Alternatively, resolution can be defined as the ratio of
        the change in the value of the input analog voltage Va           9.10.3       Quantization Error :
        required to change the digita! output by1 LSB.                           As shown in Fig. 9.10.1, the digital output     not always
                                 Ves                                             the accurate representation of the analog input.
            .. Resolution =                               .(9.10.2)
                                 2-1
                                                                                                                               TecaKnouledgi
                                                                                                                               Pubcations
 Dgital
     Techniques
                                                                          919
                                                        Actual output                                                         Data Corverters
Dgta
   o lu u t
                                                                                            In computerised
                                                            Quantzod                   6    NC and CNC
                                                                                                              instrurmentation sptems
1.                                                           Output                                      mxnnes
                                                                                                    Review Questions
                                                                                Q1
                                                                                           Eplan the necesstyof ung the data corverers
                                                                                Q2
100
                                                                                           Eplain the basic principle of a Dto Acverer
                             L 12 LSB                                           Q3
                                         (Maximum quantzation erro                         eine and expiain the          term "Resolution       n
                                                                                           connecion with Dto Aconverters
o10
                  In the digital instruments such as digital voltmeter.,        Q. 14       Compare various DAC techniques.
            1
                  frequency counter etc.                                        Q. 15       State various important specifications of DAC and
            3     In the digital tachometers for speed measurement               Q. 16      Explain in brief different types of ADOC techniques.
                   and feedback.                                                 Q. 17      State and explain the important specifications of
            4.     In digital recording and reproduction.                                   ADC.
                                                                                                                                        Tech Kaeuledge
                                                                                                                                         PubIICat Ions
Digital Techniques
                                                                                                                 DataConverter
                                                             920
                                                                                                       of conversion     time and
Q 18    Explain the operabon of dual slope ADC and state            Q21    Give   the significance
                                                                                              to ADC
     its advantages                                                     accuracy with respect
 Q19 List various methods of           Dconversionn and explain     Q22 Give an application of DA Converters
                                                                                                                    TechKnewledgi
                                                                                                                    Pubications