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/
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)
sir hindi me important topic explain kr lete
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.
Dude same here
this is the clearest video i've ever seen before. thank you sir
Very Nicely explained sir, the detailed explanation is amazing 👌
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.
good videos. Play at 1.5x speed.
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
thanks so much for this explanation! 😊
Superb explanation dada 👍👍
Excellent videos. can you please tell what tools you are using for digital writing? I am also teaching online classes to my students
Its a digital writing pad,Mostly a wacom digital pad
nice explained!
fantastic .. keep it up
Thanks a lot 🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏
Thanks for this. I will like to ask, what formula was use to calculate the Vout for the transfer function plotting itself.
Its step size x Digital count.
Appreciate so much
here when we converting from binary to analoge what is acthually need of dividing by 1248
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
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.
Sir in some book they mentioned resolution as Vref / ( 2^n - 1 ), which one is correct. please reply.
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.
@@ALLABOUTELECTRONICS Thanks. so basically step size is the resolution of signal ?
@@vijayakumarr3519 Step size is basically a resolution of the ADC or DAC.
Hello Vijay, resolution = range/( 2^n)-1
God bless you
Thank you sir
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?
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.
ALL ABOUT ELECTRONICS Thank you that helped.
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
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.
Thanks, but can you tell how R is formed? I am confusing here.
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
In which case, Full scale output equals reference voltage?
Thank for the video
Please Check 12.19 you write FSR of Ladder Type Resistor DAC , Instead Of Binary Weighted Resistor DAC FSR , check and rectify it ..
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.
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)
thankyou
Sir, why reference voltage product with feedback resistance in summing amplifier output voltage expression?
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
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
sir what is the need of using a op amp here can not we only use the resistent network only
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.
Very nice
keep going plz.
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
Was referring to this time 13:35
Is there a simple design to make the control switch?
MOSFET can be used as a switch. MOSFET based switches are readily available in the IC form.
@@ALLABOUTELECTRONICS Is that the fastest option? again, should we use like two cmos inverters as switch?
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?
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.
What is the voltage of 16 bit on transistors
@ 17:40 How do you know when the resistor is ideal?
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.
@@ALLABOUTELECTRONICS Thankyou for explaining
Hello Sir, is Binary Weighted Resistor DAC also known as " Binary Ladder Network "
12:56
The value of the F.S.O. is -35/8 you wrote it -35/4.
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.
namaste Sir ,@17.42 how Vout is less than vref
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.
@@ALLABOUTELECTRONICS i still doubt
@@ALLABOUTELECTRONICS u say that v out must be less than v ref by 1 LSB
@@ALLABOUTELECTRONICS and in this case the result of (fso/(2^n)-1) not equal (v ref/2^n)
What is the percentage resolution of 4 bit DAC????
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
Why don't we use non inverting opamp configuration??
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.
why are u donit multiple the binary weighted by 1\2
Can anyone pls tell me ref voltage is same or not
Please upload 9400 v to f converter
We can use 16 bits with one resistor
how
u say that the output v must be less than the refrence v by 1LSB
The full scale output voltage is 1 LSB less than the reference voltage.
sir i think you defined resolution wrongly ..............in gate academy i saw resolution is 1/(2^n - 1)
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.
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) ????????????
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.
@@ALLABOUTELECTRONICS Sir so you mean to reduce absolute value (resolution) in video???????????? In order to decrease step size.??
Yes.
אני פה בגלל אורט בראודה הפח אשפה
12:09
Thank you very much Mr can you send to me your email or facebook
Poor presentation
shut up and go away
Thank you sir