---
+ Post New Thread
Results 1 to 8 of 8
  1. #1
    Full Member level 2
    Points: 2,307, Level: 11

    Join Date
    Jan 2008
    Posts
    128
    Helped
    8 / 8
    Points
    2,307
    Level
    11

    Formula for calculating DAC output

    Hi,

    The logic levels used in a 6-bit R-2R ladder DAC are 0=0v and 1=+5v.What is the binary input when the analog output is 4V?

    Thanks in advance...

    •   Alt18th March 2008, 19:21

      advertising

        
       

  2. #2
    Banned
    Points: 8,931, Level: 22

    Join Date
    Jan 2007
    Posts
    943
    Helped
    176 / 176
    Points
    8,931
    Level
    22

    Re: DAC

    Hi,
    (4÷5)64 in binary.
    Regards,
    Laktronics



  3. #3
    Member level 1
    Points: 1,136, Level: 7
    Asif2008's Avatar
    Join Date
    Mar 2008
    Posts
    32
    Helped
    1 / 1
    Points
    1,136
    Level
    7

    Re: DAC

    i think major are saying right



    •   Alt19th March 2008, 23:41

      advertising

        
       

  4. #4
    Full Member level 2
    Points: 2,307, Level: 11

    Join Date
    Jan 2008
    Posts
    128
    Helped
    8 / 8
    Points
    2,307
    Level
    11

    Re: DAC

    hi laktronics,
    Can u say me is this standard formulae of just...?
    Thanks



  5. #5
    Full Member level 5
    Points: 6,024, Level: 18

    Join Date
    Feb 2008
    Location
    Bangalore
    Posts
    289
    Helped
    51 / 51
    Points
    6,024
    Level
    18

    Re: DAC

    Hi friends,

    The standard formula for calculating the DAC output is, for example of 6 bit DAC

    Output of DAC in Volts =
    ((32*D5 + 16*D4 + 8* D3 + 4*D2 + 2*D1 + 1*D0)*SUPPLY VOLTAGE)/(2 POWER 6)

    Thats all.

    All the best,

    N.Muralidhara


    1 members found this post helpful.

  6. #6
    Full Member level 6
    Points: 4,053, Level: 15

    Join Date
    Jan 2008
    Location
    India
    Posts
    329
    Helped
    30 / 30
    Points
    4,053
    Level
    15

    Re: DAC

    Quote Originally Posted by graciousparul
    hi laktronics,
    Can u say me is this standard formulae of just...?
    Thanks
    see the attached jpg.

    hello laktronics you also check it and please let me kno is it true or false..??

    Thanks you..


    1 members found this post helpful.

  7. #7
    Banned
    Points: 8,931, Level: 22

    Join Date
    Jan 2007
    Posts
    943
    Helped
    176 / 176
    Points
    8,931
    Level
    22

    Re: DAC

    Hi H_D_R,

    The equation given by you is same as that given by Mr Murali as shown below:

    Vo = KRf ( A1/2 +......+ A8/256) ----(a) ; where A1..A8 is a binary number

    From the above equation,

    Vref = KRf (1) ----(b) ; (A1/2+... +A8/256) =1 since for Vref A1 to A8 all are one.

    Dividing (a) by (b),

    Vo/Vref = (A1/2 +.....+A8/256)

    Multiplying both sides by 256,

    (Vo/Vref) 256 = (128.A1+64.A2 +......+ A8 ) ....(c) which is same as Mr.Murali's
    eqtn. applied to a 6bit DAC.

    The above eqation (c) will be valid for unipolar DACs.For bipolar offset binay DACs also it will hold good if you take Vref as total span of -Vref to +Vref.
    The equation also applies to similar ADCs if you replace Vo by Vin.

    Then there are sign magnitude and 2's complement codes for which +ve and -ve outputs are coded separately.

    Regards,
    Laktronics



  8. #8
    Full Member level 6
    Points: 4,053, Level: 15

    Join Date
    Jan 2008
    Location
    India
    Posts
    329
    Helped
    30 / 30
    Points
    4,053
    Level
    15

    Re: DAC

    yes, i knew that laterly...

    bt i think this will make more clear to my friend "graciousparul".

    thats it...


    1 members found this post helpful.

+ Post New Thread
Please login