1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Maximum difference of voltage in converter

  1. May 3, 2013 #1
    I have a successive approximation ADC converter (left) and is connected to a DAC converter.
    The Vref of the ADC is 10V and the Vref of the DAC is brought fom an internal leg of the SAR.
    This internal leg is the output of the SAR's internal DAC.

    The question is: what can be the maximum voltage difference between Vin and Vout?

    (I know that the maximum voltage difference between Vin and output of the SAR's internal DAC is LSB but here I have a kind of chain and it' a problem...)

    Thanks for looking!
     

    Attached Files:

    • sar.bmp
      sar.bmp
      File size:
      268 KB
      Views:
      92
  2. jcsd
  3. May 3, 2013 #2

    CWatters

    User Avatar
    Science Advisor
    Homework Helper

    Work through it stage by stage.

    Full scale input = vref = 10V
    The ADC has 12 bits so each digital value could represent an input voltage +/- x
    What output voltage would the DAC produce when fed by that digital value.
    Vout could differ from Vin by x
     
  4. May 3, 2013 #3
    what do you mean x?
     
  5. May 3, 2013 #4

    CWatters

    User Avatar
    Science Advisor
    Homework Helper

    Deleted
     
    Last edited: May 3, 2013
  6. May 3, 2013 #5

    rude man

    User Avatar
    Homework Helper
    Gold Member

    You don't want to work with digitization (lsb's, thresholds, etc.).

    Draw the diagram: an a/d converter with its reference of 10V. Now, the critical question is, what is the voltage output from the SAR "leg", given an input voltage v? That voltage is going to be the reference voltage for the d/a converter. You're going to have to think deeply about this I believe.

    Let the a/d output = x (a number between zero and 2^N - 1 where N is the size of the a/d converter output register. Let v_out be the output of the d/a converter. What is its output in terms of its digital input x (assume N same for both the a/d and d/a converters) and the SAR output voltage? After some algebra, find v - v_out in terms of v alone & do the usual calculus to find v for max. difference, and the difference itself.

    This problem has nothing to do with resolution other than the assumption of N being the same for both converters. The answer is a nice healthy voltage!
     
  7. May 3, 2013 #6

    CWatters

    User Avatar
    Science Advisor
    Homework Helper

    Ah heck I totally missunderstood the circuit. My tired old eyes saw a complete A-D converter followed by a D-A converter. It's not that at all. The bit on the left is just the SAR part of an A-D converter.
     
  8. May 4, 2013 #7
    hello I got the Vout but look at it: I have an answer with a part which is taken only after calculation as a number without partions so there is no way to do some algebra on: vin-vout.

    But: The question was how to find what will be the maximum difference and this is the problem
     
  9. May 4, 2013 #8
    This is what i got
     

    Attached Files:

  10. May 4, 2013 #9

    rude man

    User Avatar
    Homework Helper
    Gold Member

    What you did was fine.
    Now finish up by computing Vin - Vout. Your Vout will be in terms of Vin per you last equation which of course has to be cleaned up a bit.
     
  11. May 4, 2013 #10
    it can't be cleaned up because the part in brackets [ ] is integer. i can't take out of that nothing
    for example:
    vin=6.3 and n=12 →vout=3.9675volt

    there is know way to clean it up
     
  12. May 4, 2013 #11

    rude man

    User Avatar
    Homework Helper
    Gold Member

    OK, gonna take you one step closer:

    Vout = (10/2^2n)[(Vin/10)*2^n]^2 ... your last equation

    = (10/2^2n)[(Vin^2)*(2^2n)/100]
    = (Vin^2)/10.
    So now take Vin - Vin^2/10 and maximize w/r/t Vin.
     
  13. May 5, 2013 #12
    sorry but can't understand how do you take the ^2 and make it inside the integer in brackets.
    and what is w/r/t?
     
  14. May 5, 2013 #13

    rude man

    User Avatar
    Homework Helper
    Gold Member

    w/r/t means 'with respect to', often used in math.

    You need to work the other question out by yourself. It's just algebra. How about {2n}2 = 22n, does that help? I don't know where your're having trouble, really.
     
  15. May 5, 2013 #14
    hey, this is the trouble : look at this part. [(Vin/10)*2^n]^2
    lets take Vin=6.3Volt --> [2580.48]^2=2580^2=6656400/
    and now: this is what you suggest: [(Vin^2)*(2^2n)/100] --> [6658877.03]=6658877
    what we get is that: 6656400 not equals 6658877 )-:
    thats what im trying to explain that i cant hand out algebra with integers...
     
  16. May 5, 2013 #15

    rude man

    User Avatar
    Homework Helper
    Gold Member

    When you multiply "this part" with 10/(2^2n) you wind up with (Vin^2)/10. Why are you messing with those large numbers?
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted



Similar Discussions: Maximum difference of voltage in converter
Loading...