R-2R Ladder DAC Explained (with Solved Example)

Поделиться
HTML-код
  • Опубликовано: 19 ноя 2024

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

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

    The timestamps for the different topics covered in the video:
    0:23 Advantages of R-2R ladder DAC
    1:58 Calculation of the output impedance of R-2R ladder Network
    3:47 Calculation of the Output Voltage of 3 -bit R-2R ladder network
    15:35 Solved Example

  • @circattle
    @circattle 4 года назад +258

    I see you actually built the 3-bit ladder DAC and used it to process your audio too. Top work.

    • @gena8414
      @gena8414 4 года назад +13

      You, sir, made my day xDDDDD

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

      🤣🤣

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

      this is really good one

    • @OctavMandru
      @OctavMandru 2 года назад +2

      Much more than you did, "sir"

    • @wcg66
      @wcg66 2 года назад +6

      “What a snarky…”, listens to audio, damn it, totally agree!

  • @nathan_falkon36
    @nathan_falkon36 5 лет назад +53

    thank god for those indians educators on youtube , bless you

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

      Why ??? I'm simply curious . 😊

    • @nathan_falkon36
      @nathan_falkon36 5 лет назад +12

      Everytime that im in trouble with some subject on Engineering, i always end up in youtube , and its always an indian guy teaching

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

      exactly

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

      @@krishnanunnipradeep4650 by the way he is indian himself 😂😂

    • @Sd6700-o4w
      @Sd6700-o4w Месяц назад +1

      Lol Indians are everywhere

  • @Christopher3437-q4m
    @Christopher3437-q4m 5 лет назад +32

    U saved my subject..Basic Electronics...Back lagne se Bach gya...thank u 3000❤️❤️ times

  • @riyaranjan3055
    @riyaranjan3055 4 года назад +99

    Ohk by two methods u can solve it!
    (Resolution)
    1. Resolution = FSO/2^n -1 = -9. 84375/2^6 -1 = -0. 15625v
    2. Resolution = k. Vref/2^n
    (Here k= gain which is equal to -Rf/R =2kohm/1kohm =2)
    Therefor
    Resolution =( 2 * Vref) /2^n =( 2 * 5) /64 = 0.15625v
    Got it?

    • @melogumbi_sa
      @melogumbi_sa 4 года назад +7

      Thank You, you have made things clear. I totally forgot about the gain when calculating the resolution using the Vref instead of the FSO.

    • @mayankawasthi6839
      @mayankawasthi6839 Год назад +2

      If you keep the formulas aside, I think its the analog value of least significant bit. Correct me if I am wrong. From my understanding resolution is the least voltage that has to change to achieve the corresponding analog voltage.

    • @kushagraacharya4629
      @kushagraacharya4629 Год назад +2

      @@mayankawasthi6839 in case of DACs resolution is the voltage that the output signal is incremented by, when the digital input changes by 1 unit....
      For ex on going 101 to 110
      The output analog signal would step up from its previous value (Vi) to Vi + Resolution or 1 LSB.

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

      @@kushagraacharya4629 exactly i was trying to say the same. Thank you for the explanation. 🙂

    • @kushagraacharya4629
      @kushagraacharya4629 Год назад +2

      @@mayankawasthi6839 yess....u were trying....hehe...but tumhe yaad kaise hai, paper toh ho gaya hoga abtk

  • @drtrayd5988
    @drtrayd5988 2 года назад +11

    This video was exactly what I needed, thank you so much!

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

    Thank you for saving me time and frustration.

  • @devashankarkuruba511
    @devashankarkuruba511 4 года назад +14

    Bro in the example question you have done a mistake
    At caluculating o/p voltage the order for binary is in reverse order , please check it .....
    it is opposite while you summation for thevenins voltages binary order

  • @wahidtrynaheghugh260
    @wahidtrynaheghugh260 5 лет назад +108

    The audio in this is basically earrape meme content.

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

      the audio amplified by a RC coupled multistage amplifier upto 100 db 😂

    • @badravi_2005
      @badravi_2005 6 месяцев назад

      ​@@basedbarman😂😂😂

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

    Love you sir your time and dedication made my analog 💪 stronger love you sir 😍

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

    Loved the video. My buddy Jacob did too and he is usually very picky! Keep up the solid work!

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

    Thank you i understand it easily firstly I confused in this topic

  • @AJET-INTGERAL
    @AJET-INTGERAL 5 лет назад +5

    VERY GOOD LECTURES SIR ENJOYED THEM
    THAT HELPED ME IN MECHATRONICS TOO

  • @Vilvaran
    @Vilvaran 5 лет назад +14

    The volume bro - it's reminding me of the 'blare' memes (you know, the ones where the screen goes red and the volume goes UP lol)
    All aside, the explanation works; R-2R type DAC is a nice adaptation

  • @mayurshah9131
    @mayurshah9131 5 лет назад +8

    Excellent 👌 as usual

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

    Sir why you have stopped gi thinking the brief description of the topic that you have taught in that particular video, I think it has helped many students and student too have appreciated it, so pls give the description of the topic in description section

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

      Hi, well thanks for raising this point. I am still providing a description of the covered topic. But some topics are more sort of derivation type. (particularly the last couple of videos on BJT).
      But yes I will continue to do that. And try to provide a more detailed description in the future.

  • @giridharg1613
    @giridharg1613 5 лет назад +10

    It would be nice if you upload ADC topics such as Flash ADC, Successive approximation and integrating ADC

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

      Yes, it will be covered in the upcoming videos.

    • @shaikhsohail4632
      @shaikhsohail4632 5 лет назад

      Yeaaah we also need ADC types ....ur way of teaching is good n easy whaf i liked more about ur channel is in description u give all the information definition n time stage for specific topics

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

    Resolution of R-2R DAC is given by
    (Vref×Rf) ÷ (2^n×R) = (5×2×1000) ÷ (2^6×1000)
    =5÷2^5
    =0.15625

  • @Aramgamerhd
    @Aramgamerhd Год назад +2

    Incredible teaching efforts but please improve your 🎤

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

    Resolution=Full scale reference voltage/2n-1=-9.84375/63=0.15625(n=no.of bits=6)

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

    Simply excellent! Thank you.

  • @Aleksandr-The-Bright-Guy
    @Aleksandr-The-Bright-Guy 2 года назад +1

    he really did explain it

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

    十分感谢,很详细。nice meet my requirement

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

    Thanks for your Good Explanation Sir 😊

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

    Absolutely wonderful explanation! Good job.

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

    So the resolution should be |FSO| / (2^N-1) = (10Vx63)÷(64x63) = 10V/64 = 0.15625 V.

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

      Isn't it 2^N-1 so 2^5??

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

      @@ps9058 no, 1 is not exponential term

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

      @@hemanthkumar2605 okay 👍

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

    Kindly use the subscripts a little lower on the slide,so that we can view the whole content at a time!

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

    I am big fan of ur videos😉😘😘...pls do you post videos about Bus protocols..such as CAN ,I2C ,SPI , ETHERNET..

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

      Once I finish a few videos on ADC and DAC, I will also make videos on these topics.

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

      @@ALLABOUTELECTRONICS thank you bro😊

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

    Sir, at 14:05 the ladder circuit shown with inverting op amp where Vr-2r is applied on inverting terminal. So my query is that why we are not added one resistor R between Vr-2r and inverting terminal of op amp to prove the correctness of the written formula of Vo on the same timestamp.
    Waiting for your reply sir
    Further, Thank you for providing us these type of valuable and easy understandable videos 🙏

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

      The thing is, there will be equivalent resistance (Thevenin's equivalent resistance) of the R-2R network at the inverting terminal. The equivalent resistance depends on the data input. Its value will in the multiple of R. I have also shown the same thing at the earlier part of the video using the example. That's why there is no need for additional resistor. I hope, it will clear your doubt. If you still have any doubt then let me know here.

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

      @@ALLABOUTELECTRONICS sorry sir but still thing not clear.

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

      What you are saying is that, there should be additional resistor between ladder network and the opamp right ?? But actually the Thevenin's equivalent circuit will be there at the inverting terminal of the opamp. Which comprise of one voltage source and one resistor ( which is the multiple of R).
      Just put some values in that equation and you will understand it.

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

    Thank you sir

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

    DAC resolution = 78mV, After the Amplification 156mV

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

    Do let me know the Resolution (in Volts) for the last example.

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

      Yes, I will upload it soon. I have already posted the introductory video. And remaining videos on the different types of ADCs will be posted soon.

    • @bloggersayan
      @bloggersayan 5 лет назад

      resolution is = -0.15625V
      resolution=fullscale voltage/number of steps(2^n -1 ; n=number of bits)

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

      @@ALLABOUTELECTRONICS resolution is 78mA

    • @abhis8890
      @abhis8890 5 лет назад +6

      Resolution =1/2^6 (6 bit) =0.0156
      Such that the reference given is 5v so 0.0156 × 5=78.125 mv
      Please give ur feedback sir.

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

      Yes
      5v/(2^6)=0.078125(78 mA)

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

    I am confused that how Bo B1 B2 B3 B4 B5 values are taken because if Bo and B1 are grounded then then should not be 2 power 1 because first 0: 2 power zero and next zero 2 power 1 and next one is 2 power 2 and so on...

  • @stud_mechatronic_polito_22
    @stud_mechatronic_polito_22 5 месяцев назад

    Hello, where can I find voltage and current switches implementation? Thank You for your videos.

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

    As usual excellent video

  • @Aswinikrishn
    @Aswinikrishn 4 года назад +5

    Actually, in the thenivin theorem,while calculating Rth,we will not include the resistor through the thenivin voltage is calculated,in the same here also we should include the resistor 2R,but we are including it and saying 2R//2R, how it's possible?

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

    Great content!

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

    thank youu so much sir

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

    Beautiful explaination!!!! Thank you @allaboutelectronics!!!

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

    vielen dank !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 500 mal danke!!

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

    thanks so much

  • @AbhishekSingh-up4rv
    @AbhishekSingh-up4rv 2 года назад

    tysm for awesome content

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

    I'm guessing the the type of current is AC in this circuit right? I have a school project where I have build a 3-bit R-2R circuit with Vref=1V, but I'm not sure what voltage the op amp is supposed to be amplified to (Vcc+/Vcc-)?

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

    Tnq clear cut explanation

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

    sir can you clarify what is the resulation for example sum I got -0.1091

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

    nice class...

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

    thank you so much sir

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

    Nice !

  • @TechSouls-wn6jc
    @TechSouls-wn6jc 2 года назад +2

    at time 17:29 there is confusion between the LSB starts from left side of ladder or from right side of ladder network?

    • @TechSouls-wn6jc
      @TechSouls-wn6jc 2 года назад +1

      Also then which bit will have the status of Vref/64 , Vref/32... and so on

    • @jackhammer9489
      @jackhammer9489 14 дней назад

      Thats my question too. It seems like he did a mistake. But I wonder no one is talking about that except us.

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

    Thank you sir very good explanation

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

    the electric ciruit is so simple to understand but when i tried this ob labotary i got some problem with conecting the swithch to this circuit

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

    I lost where denominator of Vout is R, maybe that because he said overall impedance is r? but i don't get the overall impedance. anyway I grabbed on gasp of R-2R. thanks very much

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

    Very Good

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

    Thank you so much sir!

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

    Nice 👍✌️❣️

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

    God bless you :)

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

    loved it

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

    Best ..

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

    Plz also at last of video display conclusion

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

    good video

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

    Thks sir

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

    here if we want to provide gain why do not we apply one more resister in inout side

  • @ogunyemioluwatobi
    @ogunyemioluwatobi 10 месяцев назад

    How can I design this DAC what kind of software can I use

  • @abhinandanpati5387
    @abhinandanpati5387 5 лет назад

    Nice explanation

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

    Thank you for your help...

  • @SS-lk7fs
    @SS-lk7fs 4 года назад

    Thankyou soo much sir👍

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

    I think there should be one resistance between opamp and 2r

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

    Resolution = Full scale op / (2^N-1) = -0.15626v

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

    Sir, please explain the last step I didn't understand how to put values after submation sign

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

    Sir after using superposition theorm and selecting one input at a time and grounding others can't we then we Kirchhoff's current laws to get vout???
    Instead of Thevenin equivalent
    Thanks

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

    How are the 2R when calculating the Rth in parallel ??

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

      Would you please mention the timestamp where you are referring to in the video ?

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

    Do smartphone has ladder dac

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

    in 16:06 Does N mean the number of authorized B?

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

      It is number of bits of DAC. In this case, since it is 6 bit DAC, so N = 6.

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

    you are yelling into the microphone

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

    Why cant we use one resistor at maximum current flow

  • @mysilentwarrior
    @mysilentwarrior Год назад +2

    I speak fast and then..... ...... .... I say another word. Stop. And then again I say a lot of ..... .... .... Words. WTF!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

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

    Do smartphone dac has r2r dacs

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

    i thought that equation for the last output was the formula for finding Vo for a weighted resistor DAC

    • @TimiAgiri
      @TimiAgiri 5 лет назад

      probably a better question is why does the equation for Vo have -Rf/R when Rf is present but doesn't have that when there's a short circuit? Since a short circuit means Rf=0? Or is it just convention to use that equation when the output terminal is shorted with the negative input terminal

    • @TimiAgiri
      @TimiAgiri 5 лет назад

      I think I get it now, (kinda) but please reply if you have a good way to understand it
      Thank you

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

      for better understanding please go through this video on the op-amp. It will help you.
      ruclips.net/video/uyOfonR_rEw/видео.html

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

    I have a project on this subject so I really need more help

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

    The resolution should be 0.1538 V

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

    SIR, CAN I HAVE THE PDF NEED TO CREATE A REPORT

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

    Subtitles should remove, because the contents of circuit is not visible

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

      You can turn off the subtitles manually in the video settings.

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

    Since gain is 2 , so (5/(2^6)) * 2 = 0.15625

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

    Which Op-Amp did u use?

  • @dhirajkumarsahu999
    @dhirajkumarsahu999 5 лет назад

    I understood it well but got a doubt.. at 6:12 , when the portion of the circuit was redrawn, in that Vref should be drawn with opposite polarity....because in the original circuit the positive terminal is connected to the bottom terminal of the resistor...

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

      No, It is alright. If you closely look once again, in the equivalent circuit, the Vef is connected to 2R. (Also see the left side circuit at the same time). The other terminal of that 2R resistor is connected to the remaining circuit (the node where we want to find the Thevenin's Equivalent circuit and the second 2R resistor), whose second terminal is grounded.
      If you closely observe it you will get it.
      I hope it will clear your doubt.

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

      @@ALLABOUTELECTRONICS , thank you.. I got it clarified.

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

    Is Vref series connected with all terminals? given that all digits are 1?

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

      Yes, when all digits are 1, Vref is connected to all terminals.

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

    Resolution=-0.15625V,is it crrct sir...

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

    Why to find fso?

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

    Resolution=0.15625 V

  • @stephenkurian2849
    @stephenkurian2849 5 лет назад

    Super 👌👌👌

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

    thanks!

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

    Can you check again at 17:22 time, u put wrong values in formula. i think it should be 2^6+ 2^4+ 2^3

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

      no, it is correct. If you see the expression, in the denominator, there is 2^(N- i).
      Here N is 6. And B2, B3, and B5 are 1.
      So, it will be 1/(2^(6-2)) + 1/(2^(6-3)) + 1/ (2^(6-5))
      That is 1/2^4 + 1/2^3 + 1/2
      I hope it will clear your doubt.

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

      @@ALLABOUTELECTRONICS Oh yeah. I was confused in MSB and LSB.. thanks man

    • @DEVAPRIYASURESHV
      @DEVAPRIYASURESHV 10 месяцев назад

      thankyou sir
      @@ALLABOUTELECTRONICS

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

    If inace given input is having points like 0111.00111

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

    Res = 15.625mV

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

    Can any one explain me the 12.38 sumation of step 🙏🙏😒

  • @anshitabharwal8102
    @anshitabharwal8102 10 месяцев назад

    We have given 101100 then we considered b0-1,b1-0 and so on...?

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

      No, it is from the other side. B0 is the LSB. So, B0 = 0 (Right most Bit), Then B1 = 0, B2=1, B3 = 1 and so on.

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

    please Mr send for me
    slide this video, R-2R

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

    what is the resolution of 3 bit R-2R DAC?

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

      Unless you are specified the value of Rf (feedback resistor) and R, the resolution of n-bit R-2R DAC is Vref / 2^n . (Because you do not know the internal circuit as well as the value of resistor) But if you have been specifically given the values of R and Rf, (like the solved example at the later part of the video at 16:18), then you can use the equation given in the video. I hope, it will clear your doubt.

  • @maneeshaliyanapatabendy1481
    @maneeshaliyanapatabendy1481 5 лет назад

    3:21 why are (R+R) & 2R Parallel but Not Series there?

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

      The reason is we want to find the equivalent resistance between the one end of 2R resistor and the ground. I hope it will clear your doubt.

  • @sam-pd6zi
    @sam-pd6zi 2 года назад

    0.15625, thanks