Binary Weighted Resistor DAC Explained

Поделиться
HTML-код
  • Опубликовано: 17 май 2019
  • In this video, the basic terminologies of the DAC like what is the resolution, step size and full-scale output voltage of DAC is explained.
    And then Binary Weighted Resistor Type DAC is explained in detail with the examples and its limitation.
    By watching this video, you will learn the following topics:
    0:45 what is Step Size, Resolution and Full-scale output voltage of DAC?
    6:19 Binary Weighted Resistor DAC ( 3- Bit example)
    14:50 Binary Weighted Resistor DAC limitations (with example)
    Step Size of DAC :
    The Step Size or the voltage corresponds to 1 LSB (Resolution) is the minimum possible change in the output when the digital code is changed by 1 LSB.
    Full-Scale Output Voltage of DAC
    The Full-Scale output voltage is the maximum output possible with the DAC.
    FSO = [( 2 ^n ) - 1] x step size
    Or
    step size = FSO / [ ( 2 ^n ) - 1]
    Binary Weighted Resistor DAC :
    The binary Weighted Resistor DAC can be designed by using the op-amp as a summing amplifier.
    If the input and the value of the resistors are in the according to the binary number then it can be used to convert the digital input into an analog output.
    Limitations of Binary Weighted Resistor DAC:
    As the number of bits increases, the difference between the minimum and the maximum required resistor value for DAC will increase.
    And it is difficult to fabricate the resistor with good accuracy in the multiplication of 2.
    In fact, that can increase the error in the output.
    That's why this DAC is not used when high resolution and high accuracy is required.
    Check out the other useful videos related to ADC, DAC, and op-amp.
    1) Introduction to ADC and DAC
    • Introduction to ADC an...
    2) op-amp as a summing amplifier
    • Op-Amp: Summing Amplif...
    This video will be helpful to all the students or science and engineering in understanding the basics of DAC and the design of Binary Weighted Resistor Type DAC.
    #BinaryWeightedResistorDAC
    #DACResolution
    #DACFullScaleOutput
    Follow me on RUclips:
    / allaboutelectronics
    Follow me on Facebook:
    / allaboutelecronics
    Follow me on Instagram:
    / all_about.electronics
    Music Credit:
    www.bensound.com/
  • НаукаНаука

Комментарии • 90

  • @ALLABOUTELECTRONICS
    @ALLABOUTELECTRONICS  5 лет назад +20

    The timestamps for the different topics covered in the video:
    0:45 what is Step Size, Resolution and Full-scale output voltage of DAC?
    6:19 Binary Weighted Resistor DAC ( 3 -Bit DAC example)
    14:50 Binary Weighted Resistor DAC limitations (with example)

    • @sarvesh545
      @sarvesh545 Год назад

      sir hindi me important topic explain kr lete

  • @sudiptakumarbiswas
    @sudiptakumarbiswas 3 года назад +36

    After attending hours of hours boring lectures I don't understand the DAC what i have understand from this video. By truly speaking you are better than the college teachers, who always chanted by the name of teaching us digital electronics.

  • @poojashah6183
    @poojashah6183 5 лет назад +16

    Very Nicely explained sir, the detailed explanation is amazing 👌

  • @werner134897
    @werner134897 Год назад +3

    I was wondering how does the DAC reach the smooth (not staircase) output? Because of the lowpass filter before the ADC sampling, from the sampled signal the orignal low passed signal can be fully (smoothly) reconstructed (no staircase) as is proven by the Fourier transforms. Therefore if I had to design a DAC I would create the smooth output by either digitally oversampling and interpolating and low pass filtering.

  • @ONeillHoang
    @ONeillHoang 11 месяцев назад +3

    this is the clearest video i've ever seen before. thank you sir

  • @sneakyboii732
    @sneakyboii732 6 месяцев назад +1

    thanks so much for this explanation! 😊

  • @wafahabib314
    @wafahabib314 2 года назад +4

    The LSB initially you said was vref/(2^n) ffor DAC and then you said it is vref/[(2^n) -1)] for weighted. why is that

  • @abufazal2960
    @abufazal2960 4 года назад +2

    fantastic .. keep it up

  • @bishalghoshb3412
    @bishalghoshb3412 5 лет назад +3

    Thanks a lot 🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏

  • @puspendurana7501
    @puspendurana7501 3 года назад +2

    Superb explanation dada 👍👍

  • @Official-tk3nc
    @Official-tk3nc 4 года назад

    in the above you said resolution and step size are same but they are different.....resolution is inverse of no of steps......where as stepsize is ref voltage by total no of steps

  • @hanguyenthi5962
    @hanguyenthi5962 Год назад

    When measuring the output with a 4bit DAC, Vref=5V, and R1=Rf=1kohm ,R2=2,R3=4,R4=8. What is the result of max = 6V?.Thank3

  • @khansamalik1563
    @khansamalik1563 3 года назад +3

    nice explained!

  • @thomasyip1925
    @thomasyip1925 4 года назад +1

    Thanks, but can you tell how R is formed? I am confusing here.

  • @arunasadeepa2795
    @arunasadeepa2795 2 года назад

    Thank for the video

  • @undergroundeieiz5508
    @undergroundeieiz5508 11 месяцев назад +1

    Appreciate so much

  • @geshbenrewand1778
    @geshbenrewand1778 4 года назад +1

    God bless you

  • @susanchesuro7237
    @susanchesuro7237 2 года назад

    Hello Sir, is Binary Weighted Resistor DAC also known as " Binary Ladder Network "

  • @nthumara6288
    @nthumara6288 7 месяцев назад

    here when we converting from binary to analoge what is acthually need of dividing by 1248

  • @9977918303
    @9977918303 4 года назад +4

    good videos. Play at 1.5x speed.

  • @vitalram1985
    @vitalram1985 3 года назад +7

    Excellent videos. can you please tell what tools you are using for digital writing? I am also teaching online classes to my students

    • @manishgdrive
      @manishgdrive 3 года назад +2

      Its a digital writing pad,Mostly a wacom digital pad

  • @pracheerdeka6737
    @pracheerdeka6737 2 года назад

    What is the voltage of 16 bit on transistors

  • @poojav2735
    @poojav2735 3 года назад

    Thank you sir

  • @tomc642
    @tomc642 5 лет назад +2

    Excellent presentation again, but I have a question. Couldn’t we achieve a similar result with a binary weighted resistor network alone. Why do we need an op amp?

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  5 лет назад +19

      The obvious advantage of the op-amp is high input impedance and low output impedance. Apart from that, the concept of the virtual ground is very handy over here. Because whenever the bits which are logic low or 0, their resistor will be grounded. And won't affect the other inputs.
      Without op-amp when all the resistors are directly connected in parallel, then the resistors whose input value is logic zero will also affect the other inputs And will change the overall output.
      That's why op-amp is required.
      I hope it will clear your doubt.

    • @tomc642
      @tomc642 5 лет назад +4

      ALL ABOUT ELECTRONICS Thank you that helped.

  • @souravgoyal5675
    @souravgoyal5675 3 года назад

    Very nice

  • @rajneeshjoshi7278
    @rajneeshjoshi7278 3 месяца назад

    In which case, Full scale output equals reference voltage?

  • @shoaibhasan6699
    @shoaibhasan6699 4 года назад +1

    keep going plz.

  • @sainaik6005
    @sainaik6005 3 года назад +1

    thankyou

  • @vijayakumarr3519
    @vijayakumarr3519 5 лет назад +5

    Sir in some book they mentioned resolution as Vref / ( 2^n - 1 ), which one is correct. please reply.

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  5 лет назад +7

      If you consider the reference voltage then the resolution is Vref / 2^n.
      If you consider the full-scale output voltage (FSO) then it is FSO / (2^n -1).
      Basically, FSO is 1 LSB less than the Vref.
      I hope it will clear your doubt.

    • @vijayakumarr3519
      @vijayakumarr3519 5 лет назад +1

      @@ALLABOUTELECTRONICS Thanks. so basically step size is the resolution of signal ?

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  5 лет назад +3

      @@vijayakumarr3519 Step size is basically a resolution of the ADC or DAC.

    • @circuitsanalytica4348
      @circuitsanalytica4348 4 года назад

      Hello Vijay, resolution = range/( 2^n)-1

  • @RahulSharma-oc2qd
    @RahulSharma-oc2qd Год назад

    Is it possible to have lower output voltage after using op amp in magnitude in full scale output case in comparison to its input vref of 5v? During weighted resistor during formula we can extract that resolution is Vref/(2^(n-1)) not Vref/2^n. There are many other resources they talk the same but in your it’s different. I am talking in zero based configuration.

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  Год назад

      I think you are taking about having FSO lesser than Vref, right !! Well, if so, then yes using the op-amp, it is possible to have that. In fact, if you see many DACs, then they have different operating voltage range (even with same Vref)

  • @FAmran-qv1fn
    @FAmran-qv1fn Год назад

    Sir i've question. Are MSB and LSB in weighted resistor binary determined by the highest and lowest value of resistors or by the position of resistors?

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  Год назад +1

      You can identify them from the resistor value. The resistor at the LSB position will have highest resistance value, while the resistor at the MSB position will have lowest resistor value.

  • @captainstreamer3261
    @captainstreamer3261 Год назад

    Please Check 12.19 you write FSR of Ladder Type Resistor DAC , Instead Of Binary Weighted Resistor DAC FSR , check and rectify it ..

  • @nagalekshmil4906
    @nagalekshmil4906 2 года назад

    Can anyone pls tell me ref voltage is same or not

  • @bhamidipatisriraghavendrar2769
    @bhamidipatisriraghavendrar2769 4 года назад

    Hi. During problem solving corresponding to this video, Why Lsb (B0), used to the left most corner.. It should be to the taken to the right most corner..... Ex 10 here "1" is my MSB and "0" is my LSB.. Right? .. I saw in video it was opposite.. Plz hlp

  • @subratamondal8768
    @subratamondal8768 2 года назад

    Sir, why reference voltage product with feedback resistance in summing amplifier output voltage expression?

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  2 года назад

      At 7:09, I have mentioned the expression of inverting summing amplifier with three inputs. Now, in this expression, suppose, V1 = V2 = V3 = Vref, then you will have Vref x Rf common in the expression, right !!
      I hope, you will get the point.
      For more info, you can watch the video on summing amplifier using the op-amp.
      I have already provided the link for the same in the description.
      And here is the link :
      op-amp as a summing amplifier
      ruclips.net/video/jsKSfaFQ4d4/видео.html

  • @learningpig4579
    @learningpig4579 5 лет назад +2

    Please upload 9400 v to f converter

  • @vntharunj76
    @vntharunj76 3 месяца назад

    You said on increasing resolution, we can reduce stepsize ,but the step size it self is the resolution? I couldn't get that point ...what is the relation between them 1:57

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  3 месяца назад

      What you are saying is true, but here I am referring to the steps seen in the output waveform (In yellow color) as a step size. So, if we increase the resolution, then the output waveform will be much close to the actual waveform and the steps seen in the output waveform will reduce. I hope, it will clear your doubt.

  • @MahmoudSalah-qq8oj
    @MahmoudSalah-qq8oj 2 года назад

    why are u donit multiple the binary weighted by 1\2

  • @stefanfinesse7521
    @stefanfinesse7521 2 месяца назад

    Shouldn’t the x and y labels be flipped???? 3:22? Because that means for even .00001 V the binary o/p will be 001

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  2 месяца назад

      For the given 3 bit DAC at 3:22, When your input code to DAC is 000 then the output voltage is 0V. When input code is 001, then the output code is 5/8V. And Likewise, when the input code to DAC is 010 then output voltage is 10/8 volt. You will not be able to generate the voltages in between. I hope, it will clear your doubt.

  • @farhanupaul
    @farhanupaul 4 года назад +1

    Is there a simple design to make the control switch?

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  4 года назад +1

      MOSFET can be used as a switch. MOSFET based switches are readily available in the IC form.

    • @farhanupaul
      @farhanupaul 4 года назад

      @@ALLABOUTELECTRONICS Is that the fastest option? again, should we use like two cmos inverters as switch?

  • @nthumara6288
    @nthumara6288 8 месяцев назад

    sir what is the need of using a op amp here can not we only use the resistent network only

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  8 месяцев назад +1

      The op-amp serves two purpose. It act as a buffer between the input and output side. And second, it also performs the summing operation. And because of the op-amp, if required then it is also possible to provide additional gain by changing the feedback resistor.

  • @kamanianirudh5157
    @kamanianirudh5157 4 года назад

    Why don't we use non inverting opamp configuration??

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  4 года назад +4

      with a non-inverting configuration, you won't get the expression of the Vout in the binary-weighted form.
      Because Vo = (1 + Rf/ R1)*Vin
      I hope it will clear your doubt.

  • @clintjakealfante3101
    @clintjakealfante3101 8 месяцев назад

    @ 17:40 How do you know when the resistor is ideal?

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  8 месяцев назад +2

      Initially, assuming ideal resistors, the the value of 1LSB was calculated. And then for 1% tolerance the maximum and minimum value of Vo was found. In reality, we will not have ideal resistors in the DAC. There will be some tolerance. But by doing the theoretical calculation for ideal resistors, gives us an idea about the expected output voltage.

    • @clintjakealfante3101
      @clintjakealfante3101 8 месяцев назад +1

      @@ALLABOUTELECTRONICS Thankyou for explaining

  • @foodie249
    @foodie249 Год назад

    What is the percentage resolution of 4 bit DAC????

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  Год назад +1

      In general for n -bit DAC, percentage resolution is 1x 100 / (2^n - 1).
      For more information, please check this video.
      ruclips.net/video/QPJRXIUPVGw/видео.html

  • @Devil-dn2ew
    @Devil-dn2ew 3 года назад

    1:53
    Does increasing resolution decreases step size????
    For that I doubt that we have to reduce resolution(by decreasing reference voltage or by increasing number of bits) ????????????

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  3 года назад +1

      For resolution, the lower is better (the absolute value in mV or V). Its the smallest increment in the output that DAC can produce. Of course, as you said, it depends on the reference voltage and no. of bits. So, typically, when the two ADC or DAC are compared in terms of resolution, then they are compared in terms of no-of bits. And higher the number of bits, the better is the resolution of the ADC or DAC. If you see, in terms of mV or V then absolute value reduces with increasing no. of bits (and so does the step size).
      I hope, it will clear your doubt.

    • @Devil-dn2ew
      @Devil-dn2ew 3 года назад

      @@ALLABOUTELECTRONICS Sir so you mean to reduce absolute value (resolution) in video???????????? In order to decrease step size.??

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  3 года назад +1

      Yes.

  • @pracheerdeka6737
    @pracheerdeka6737 2 года назад +1

    We can use 16 bits with one resistor

  • @MahmoudSalah-qq8oj
    @MahmoudSalah-qq8oj 2 года назад

    u say that the output v must be less than the refrence v by 1LSB

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  2 года назад +1

      The full scale output voltage is 1 LSB less than the reference voltage.

  • @chetansati5769
    @chetansati5769 Год назад

    12:56
    The value of the F.S.O. is -35/8 you wrote it -35/4.

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  Год назад

      The F.S.O shown in the transfer function is for different case ( It is for the case which I have discussed at the beginning, when resolution of 3 bit DAC is 0.625 V). In this case, it is double. I have also mentioned that just after that. I hope, it will clear your doubt.

  • @Official-tk3nc
    @Official-tk3nc 4 года назад

    sir i think you defined resolution wrongly ..............in gate academy i saw resolution is 1/(2^n - 1)

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  4 года назад +3

      The resolution (in volts) depends on how it is calculated. Considering the reference voltage, it is Vref/ 2^n.
      But if you consider the full-scale output voltage (FSO), then it is FSO / 2^n - 1.

  • @sheelasahu1883
    @sheelasahu1883 2 года назад

    namaste Sir ,@17.42 how Vout is less than vref

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  2 года назад

      With Rf = R, when all bits are 1, the output is 2*Vref ( 2^n -1) / 2^n
      Or in this case, Vo is 5*64/32.
      So, it is more than reference voltage.
      So, depending on DAC type, the Full Scale Output Voltage can be more than reference voltage. (I am just consiering the magnitude of the voltage).
      For DAC, the supply voltage may be a different from reference voltage. And hence output can be greater than the reference voltage, depending on the structure of DAC.
      Please watch couple of mins of the introduction of the video, it will get clear to you.
      And if you still have any doubt, then let me know here.

    • @MahmoudSalah-qq8oj
      @MahmoudSalah-qq8oj 2 года назад

      @@ALLABOUTELECTRONICS i still doubt

    • @MahmoudSalah-qq8oj
      @MahmoudSalah-qq8oj 2 года назад

      @@ALLABOUTELECTRONICS u say that v out must be less than v ref by 1 LSB

    • @MahmoudSalah-qq8oj
      @MahmoudSalah-qq8oj 2 года назад

      ​@@ALLABOUTELECTRONICS and in this case the result of (fso/(2^n)-1) not equal (v ref/2^n)

  • @zivanaf
    @zivanaf 2 года назад

    אני פה בגלל אורט בראודה הפח אשפה

  • @rishitasharma6067
    @rishitasharma6067 Год назад

    12:09

  • @haydermosa3601
    @haydermosa3601 4 года назад +1

    Thank you very much Mr can you send to me your email or facebook

  • @9497692860
    @9497692860 4 года назад +3

    Poor presentation

  • @UECAshutoshKumar
    @UECAshutoshKumar Год назад +1

    Thank you sir