Binary Weighted Resistor DAC Explained

Поділитися
Вставка
  • Опубліковано 6 вер 2024
  • 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 UA-cam:
    / allaboutelectronics
    Follow me on Facebook:
    / allaboutelecronics
    Follow me on Instagram:
    / all_about.electronics
    Music Credit:
    www.bensound.com/

КОМЕНТАРІ • 92

  • @ALLABOUTELECTRONICS
    @ALLABOUTELECTRONICS  5 років тому +21

    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)

  • @sudiptakumarbiswas
    @sudiptakumarbiswas 3 роки тому +38

    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.

  • @ONeillHoang
    @ONeillHoang Рік тому +3

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

  • @poojashah6183
    @poojashah6183 5 років тому +17

    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.

  • @9977918303
    @9977918303 5 років тому +4

    good videos. Play at 1.5x speed.

  • @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

  • @sneakyboii732
    @sneakyboii732 7 місяців тому +1

    thanks so much for this explanation! 😊

  • @puspendurana7501
    @puspendurana7501 3 роки тому +2

    Superb explanation dada 👍👍

  • @vitalram1985
    @vitalram1985 4 роки тому +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

  • @khansamalik1563
    @khansamalik1563 3 роки тому +3

    nice explained!

  • @abufazal2960
    @abufazal2960 4 роки тому +2

    fantastic .. keep it up

  • @bishalghoshb3412
    @bishalghoshb3412 5 років тому +3

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

  • @tobilobaolumide798
    @tobilobaolumide798 20 днів тому

    Thanks for this. I will like to ask, what formula was use to calculate the Vout for the transfer function plotting itself.

  • @undergroundeieiz5508
    @undergroundeieiz5508 Рік тому +1

    Appreciate so much

  • @nthumara6288
    @nthumara6288 8 місяців тому

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

  • @vntharunj76
    @vntharunj76 4 місяці тому

    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  4 місяці тому

      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.

  • @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

  • @geshbenrewand1778
    @geshbenrewand1778 4 роки тому +1

    God bless you

  • @UECAshutoshKumar
    @UECAshutoshKumar Рік тому +1

    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.

  • @stefanfinesse7521
    @stefanfinesse7521 4 місяці тому

    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  4 місяці тому

      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.

  • @thomasyip1925
    @thomasyip1925 4 роки тому +1

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

  • @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

  • @rajneeshjoshi7278
    @rajneeshjoshi7278 4 місяці тому

    In which case, Full scale output equals reference voltage?

  • @arunasadeepa2795
    @arunasadeepa2795 2 роки тому

    Thank for the video

  • @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 ..

  • @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)

  • @sainaik6005
    @sainaik6005 3 роки тому +1

    thankyou

  • @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
      ua-cam.com/video/jsKSfaFQ4d4/v-deo.html

  • @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

  • @nthumara6288
    @nthumara6288 9 місяців тому

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

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  9 місяців тому +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.

  • @souravgoyal5675
    @souravgoyal5675 3 роки тому

    Very nice

  • @shoaibhasan6699
    @shoaibhasan6699 4 роки тому +1

    keep going plz.

  • @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

  • @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?

  • @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.

  • @pracheerdeka6737
    @pracheerdeka6737 2 роки тому

    What is the voltage of 16 bit on transistors

  • @clintjakealfante3101
    @clintjakealfante3101 9 місяців тому

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

    • @ALLABOUTELECTRONICS
      @ALLABOUTELECTRONICS  9 місяців тому +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 9 місяців тому +1

      @@ALLABOUTELECTRONICS Thankyou for explaining

  • @susanchesuro7237
    @susanchesuro7237 2 роки тому

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

  • @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.

  • @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)

  • @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.
      ua-cam.com/video/QPJRXIUPVGw/v-deo.html

  • @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.

  • @MahmoudSalah-qq8oj
    @MahmoudSalah-qq8oj 2 роки тому

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

  • @nagalekshmil4906
    @nagalekshmil4906 2 роки тому

    Can anyone pls tell me ref voltage is same or not

  • @learningpig4579
    @learningpig4579 5 років тому +2

    Please upload 9400 v to f converter

  • @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.

  • @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.

  • @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.

  • @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

  • @poojav2735
    @poojav2735 3 роки тому

    Thank you sir