Buck converters always have a little bit of output ripple. If this is undesirable, you can use a buck converter to step down to just above the dropout for your linear regulator, then use the linear regulator, which won't need to drop as much voltage, generating less heat.
@Regina-mr4tb It would help, but even with lage value ones like 2200MF, you still can detect some ripple. I build detectors for spacial electromagnetic detection, and buck converters do not work because of the harmonics. The above comment is pretty good. I just have my DC unregulated output VERY close to my desired voltage to minimize losses.😊
When using linear regulators ALWAYS check the datasheet for the type you are using. Many regulators will be damaged if there is a high value capacitor on the output when the power is switched off. Check the regulator datasheet for reverse bias protection.
Linear voltage regulators are a type of voltage regulator that use a linear circuit to maintain a constant voltage output. This is in contrast to switching voltage regulators, such as buck converters, which use a pulse-width modulation (PWM) circuit. There are several key advantages of linear voltage regulators over switching voltage regulators: - They are simpler and more reliable than switching regulators. - They can provide a more stable output than switching regulators. - They can be used with higher input voltages than switching regulators. - They are less efficient than switching regulators, but this is not usually a problem for low-power applications.
We were studying power supply last week and my professor never talk about buck converter. I wish my professor had your enthusiasm to explain thinks from A to Z like you did. Excellent video.
Or he is smart enough to understand that someone needs to learn to walk before learn to run, or maybe he understand that efficiency is not always the design priority, for example, in RF or audio circuits powered with sockets, getting a clean power supply without the dirty noise of buck converters is the priority. It's so hilarious to see clueless millennials learning to power led strips thinking that they have "invented electronics". Signed: the Boomer.
When using components that require 5V only, the ripples from buck converters can be fatal. Here, the lm780X wins. It keeps the voltage very stable. Very informative video.
Awesome content. Wish I saw this a few weeks ago when I was building (using a linear regulator) a DC project. I learned through trial and error of the massive heat issue. I did end up using a buck converter.
Computer power supplies usually have high frequency transformers to step down the voltage. At higher frequencies, transformers can be fairly small and smaller capacitors can be used for filtering.
I also did the same comparison and found the same problem with linear voltage regulator as it turns too hot to handle. Now i have an actual mobile charger inside my motorcycle compartment using a buck converter. It's so convenient as i can repeatedly charge my phone anytime, anywhere where there is no AC electrical outlet and I can do this even when not not using my motorcycle. It really draws less current than the linear one therefor less heating. I am using LM2576, by the way, but i'm not using heatsink ofr that matter. This video is a confirmation that I'm doing it right. Thank you for this video.
Thanks a lot for your comment! You are doing it right - a phone won't spot the difference between the "noisy" buck converter and "clean output" linear voltage regulator. The buck converter will definitely produce less heat and draw much less current.
ElectronFun.com By the way sir 18 years ago, i powered a two way CB radio with conventional power supply using step down transformer because back then i really don't know there are different ways to power different devices. All I know is that if i have a step down transformer, a full wave bridge type rectifier diode and a filter capacitor that's it i have a power supply. I really didn't know about buck converters until just two months ago. Your video helps a lot sir... Thank you
Buck converters are perfect for smaller battery powered devices. However, if in a heavier application, then use the flat pack ic/transistor with a sufficient heat sink. Great video.
Clear, concise and very informative, all too often tuition videos are rendered unwatchable by totally inappropriate house music thumping out!....excellent, Thank you.
Good video. Small addition: Don't go cheap on your power supplies. Would be like going keep on the foundation of a home. When cheap power supplies fail, they can do so catastrophically.
+Kent A. Vander Velden Thanks for your comment and advice. You're definitely right, it's not a good idea to use cheap buck converters for important projects.
Linear regulator are not made to voltage conversion (ie, 12v to 5v), they are made to regulate voltage after a classical transformer and diode bridge rectifier. Additionally, buck converters (or conmutated power supplies) opperate at high frequencies and can cause interferences on RF or audio circuits. Each one has its pro and cons, you just need to choose the right one to your project. Signed: The Boomer
This was a very useful video; thank you! One thing I've been using linear regulators for is variable voltage but low amperage equipment, like solar chargers, etc.
Great summary. I used to build circuits when I was a kid (early 90's), reading the circuit guides from Radio Shack, but fell out of it and got more into computers & communications. I find it's still a very useful skill to have, and I'm always trying to learn more and get back into it. Channels like yours are so valuable - if we had this kind of platform when I was a kid, who knows how many cool devices and ideas we'd have by now :)
Thanks for this very helpful video. I was addicted to using linear voltage regulators on on most of my past projects (quick and dirty) but as we expand our minds and fine tune projects for efficiency and longevity buck's have a new place in my file cabinet (brain) also good call on interference potential with the buck, I never really thought about that but makes total sense for RF sensitive projects!!! this would explain why some pcb's have metal shield boxes surrounding some area's too in a way. =)
You just saved me a lot of trouble. I am building a lab power supply / breadboard, and want 1.5v 3v 5v 6v 9v output, from a 12v dc input. I have already bought the lm780x's in order to do this, but I have been wrestling with the heatsink design and attachment issues. Now I can use 5 lm2596's instead and not have to deal with the pain in the ass heatsink mess.
Well-presented and well described! I needed a primer on this subject and you provided precisely what I needed to know, in a concise and easy-to-absorb manner. THANK YOU, and GOOD JOB!!
You are so informative and detailed. I was going to use a buck converter for a light on my quadcopter but you mentioned about interference and potentially saved me from a crash.
+SlNlST3R Thanks for telling me that :) However, when it comes to quadcopters - I'm not sure if a buck converter would make any difference. These wireless controllers are quite resistant to interference. A couple of practical experiments should clear things a bit.
First, the linear voltage regulator doesn't dissipate 5.04W at .42A. You have to calculate not the PSU voltage, but the voltage that is dropped across the voltage regulator. So, (12-5)*0.42=2.94W. Same formula for the buck converter. Second, it looks like you measured temperature of the coil of the buck converter, not the IC. Coils don't get as hot, measure the IC!
I wasn't measuring heat dissipation, it was power consumption with the load. You are right, I measured the coil's temperature. I checked by touch and it seemed to be hotter than the IC itself. I should have measured both.
Most type of buck voltage converters i have tested and some ZVS it's the coil that gets hottest by far! The bigger ones with power mosfet, there is a different story
Thank you for your nice comment and letting me know about my mistake. I've just added annotations with corrected calculations. Sorry for my stupid mistake. I double checked everything, but I should have triple checked.
waswestkan Thanks a lot! I could correct the video and reupload it, but I decided to spend the time for preparing another video and let people know about my mistake. The only problem is - annotations don't work on mobile devices.
Thank you for that straight forward, and simple to understand comparison of the two, and a simple explanation of which situation to use which. I did not understand this before I watched this videos.
is all good with buck converters but highly not reccomended when low noise is required. and that's a disadvantage against linear regulators. as a tip I would like say is good and reccomended to use linear regulator and can be efficient when difference between input and output is small. and also when circut does not drow a lot of current. lm317 or lm337 also allows us to set requied output voltage.
That's true, linear voltage regulators have advantages too. I tried to show as many advantages and disadvantages of both devices, but this subject is very broad.
Excellent analysis overall. I'm a power designer, and I'd take a buck over a LDO any day. The LDO is best suited to minimal step down and power consumption applications. LDOs do have a size advantage, not requiring an inductor or possible external switch.
Great explanation but just like to point out that you may not have incurred the failure of the VR had it been correctly setup with appropriate heat sink. This would also have improved its efficiency for your comparative data records I assume. I enjoyed the video :)
It wouldn't make any difference to efficiency. With a linear regulator, the source supplies the same amperage as the load draws from the output. With the buck regulator, the input current is much lower than what the load draws from the output. That's why it doesn't get hot. All the wattage gets passed from the source to the load. The buck converter probably dissipates less than 1/2 watt at the most.
This was awesome You just got a subscriber I’m not an engineer, I just like having a decent grasp on the concepts involved I like seeing these things as, what they do or what they are used for Like...:imagine you’d never seen a hammer before A hammer is a tool A circuit is a tool Most people explain circuits with the same frame of reference as explaining a hammer like this: “This is a kinetic energy leverage amplification device, we can calculate how much kinetic energy transfer we can expect by calculating the mass, multiplying for acceleration, then reducing wind speed and ambient air temperature and then multiplying that by the surface area of the striking surface and then dividing that by the impact surface” And yes....this is a pretty good explanation, but it’s way too much specific information I loved this explanation Hi...these are 2 voltage regulators! There’s a cheap one and an expensive one Voltage regulators take a bunch of volts and turn it into a set voltage The cheap ones are cheap, but, they can get real hot and explode The expensive ones don’t explode, but you could buy 10 of the cheap ones for the price of one expensive one Also....the expensive one can fuck with radio signals.... So....if you gotta lot of volts and want to turn it into a useable stable voltage You can use one of these 2 thingies But one explodes when it gets too hot, and the other fucks with radios....so keep that in mind
Recently I built an analog audio effects device and was intending on powering it with a 15Vdc walwart that used a switching power supply. Turned out it created an intense whine in the signal output. I switched to a linear supply and it worked better but had hum. No matter what size cap I added, it hummed. I added a linear voltage regulator that was set about 2.5 volts lower than the supply voltage and all noise was eliminated. There's a video on using linear regulators that explained why large caps are not needed on their outputs. That gave me the answer I was needing.
You are great. You provided a very practical explanation with a very clear view of use through good camera angles and an example of best use scenarios. THANK YOU so very much.
Actually no.. Not all PC PSU have DC/DC step downs. The old one.. (at lest the one in our old 8086) used a a iron core transformer, with rectifier bridge and then a linear voltage regulator. Of cause this worked pretty good because the the transformer got it down to a bit over 6V and about 13.5V for the 5 and 12V part. The design was actually quite genius. Because they have make the transfomers in that way so the voltage of the output capacitor droped down the more load you got on it. So the power drop over the linear voltage was pretty much the same regardless of load (with in the limit). Yea... sure, the heat sink was still pretty big and the fan was petty nosy. But the power surply actually didn´t lose that much energy. Combining a DC/DC step down with a linear voltage regulator also works great. Having the DC/DC step down on 5.5V and the linear one on 5V makes the heat loss much more manageable.
I wasn't precise enough - most PC power supplies are switched mode supplies. Buck converters are also switched mode power supplies, but there are also other types of supplies under that same category. Have you tried testing that theory? I mean a DC/DC step down converter and a linear voltage regulator next?
Most PSU to day... but in the 80-tys it was fairly rare. Kind of no.. but i have seen and measured on implementations. It was in the 90-tys with a cheep nasty single phase DC/DC step down and a linear voltage regulator to keep it nice. I have not built some my self. It might be that the DC/DC step down are that good now so its simply never needed. Of cause i have not really built that kind of electronics since my university days. When i worked with telecom servers we always used ready to use modulus, or design pack implemented right on board. With a bit lower volume than most electronics the time do make a better design was simply not there.
I guess that the people that designing very high quantity products, like game consoles and phones have much more time to make it with more exacting components. The telecom servers we use to make where i worked was quite a bit larger then they would need to be
The large form factor has a lot to do with heat dissipation. Servers have to be as stable and reliable as possible, so the designers don't care about size or weight that much.
A very good video, I enjoyed it. Other good examples of the differences is how the efficiency of the linear regulator gets worse as the difference between input and output voltages increase, and the limitations from minimum Vin (drop out voltage) and minimum Iout (discontinuous operation).
+Marc Visconte Thanks a lot Marc :) You're right, the higher the difference between the input and output voltages, the worse the linear voltage regulator performs.
Guys - I can't reply to some of your comments because of a RUclips bug. One of such comments is the one from Sovereign Knight. I'm getting an error message :( Thank you for your comment and subscription Sovereigh Knight.
I am not sure, but I think it may be possible to reply by simply typing "+%user_name%". I.e., "+" is mandatory and is used to notify user through Google+ service. Although, as I have said, I am not sure, esp. considering that Google announced some time ago that they will shut down Google+.
Has anyone here tested the linearity of the buck converters vs the "linear" voltage regulator, under a variety of loads? A square-wave signal generator, for example, would be a very interesting test of a linear psu. Cheers
You can use a buck converter with RF type circuits you just have to cover it with a metal cover aka a Faraday Cage and then connect a ground wire from the cage to ground for the circuit ( attenuate the static field from the buck converter's coil) Great video 👍👍👍👍👍
Very, very good video, I built lots of audio projects using the LM78XX regulator, did not understand the amps verses the temp, after watching this video I now have a clear understanding of how theses work, thank you kindly for sharing this video....
Oliwer Gumowski Yes, you're a good observer :) It's a heat sink with a transistor I took from some kind of a broken device. I don't even remember what it was.
To be a bit pedantic on one specific point(there are more points I could mention): At approx. 4:10 you are not measuring the power consumption but due to the fact that you measure the current(under the assumption the voltage is constant 5 Volt and does not break down) we can calculate the power V*I(under the assumption that the current is constant too, otherwise we have to take the change in current over time into account to determine the power as a function of time) and if we measure the on time, we can also easily calculate the energy. Nevertheless you made a really nice introduction video, keep on doing this. :)
+Sebastian Au Thanks for the info and your understanding, I will have to check all my calculations again and I might do a follow up video to correct all mistakes. Every such comment is really helpful :)
I have a big variety of buck converters. I got spoiled. I push so many amps through them that I can even get a buck to heat up and it gets me mad. :) But after revisiting linear regulators, I'm so glad I'm using buck converters. They stop down the voltage and step UP the current, just like an AC transformer. So, you get more power but, at the same time, you get less heat because bucks aren't just burning off all that extra voltage. The voltage/current conversion is quite cool! If I'm using a high voltage solar panel to power a very low voltage device, it draws hardly ANY current from the panel because it is so good at converting volts to amps! A linear voltage regulator in this scenario (without a heat sink) would erupt into a puff of smoke before it could even detect that its temp is too high.
I’m building a bench power supply which will have a linear regulator with a switching buck pre-regulator. This hybrid design is supposed to combine the advantages of each. Or compromise the disadvantages depending on how you looks at it. We’ll see how it works.
+bugs181 Yeah that should work, if not use a buck converter that provides a bit higher voltage that is needed and than a linear regulator, if you want to spend money buy the LT3080 a really really neat linear regulator, also good for building power supplies... ^^ but of course if you need a constant voltage one of the standart linear regulators would be cheaper ;-)
+Sebastian Au I've used the ld1117 as a 3v regulator for the esp8266 - it will handle the current needed. A buck converter to 5v the other side of that might be nice - but quite bulky. It is a problem with battery life on robots - always space vs weight vs battery life.
I have no idea about Pakistani electronics market, sorry. Do you have access to eBay, Amazon, AliExpress or Banggood? You should be able to buy these items there.
A resistor is used to reduce current flow rather than voltage. There are some other applications too. For example, you could build a voltage divider out of resistors and get your desired voltage level, but you would have to assume constant source voltage. What's more, the efficiency of such contraptions is far from perfect.
Hi ElectonFun thanks for your reply. So would you say a resistors best use would be to reduce small amounts of current say for a 3v LED with a power source 6v? I have project with a power source of 12v. But most of my components are 5v to 3v. would than a buck converter be a good choice for stepping down the voltage?
Resistors are often used to reduce current drawn by LEDs to protect them from burning out. I don't know what your project is, but a buck converter should be a good idea for most projects.
codoyen - Resistance voltage dividers are used almost everywhere when noise matters. Look at some schematics. Recent developments in LDO technology is something you should look into before touching junk, mass produced Chinese buck/boost converters.
+Shovel dam dude... XD LoL that is totally different.. Buck converter & LM > Regulating voltage / supplying steady voltage to circuit. (ideally didn't consume power. just passing it by. Just like non-linear component ) Resistor > Consume power. Dissipating power into heat. If you add device to the circuit after resistor, it will then divide the voltage output, which will then cannot supplying steady 5Vdc on the output side. ;-)
Hi from Sunny South Africa - I prefer the LM 7805 because 1) Temperature is easily sorted with simple aluminum heat sink 2) the ripple voltage is much cleaner than buck converters 3) Cost is much cheaper 4) ZERO EMI issues - ever
One question : I think the power consumption is written as P[W] = (Vin-Vout)*Current. When we calculate the power, we need use 7 volts (=Vin-Vout = 12-5) instead of 12 volts.
Cool, I have been trying to figure out how to set up a relay for my daughters Jeep. The radio has a power drain and keeps running her battery down. The Jeep shop wants over 500 bucks to fix it, so another mechanic just pulled the fuse and she is without a radio. It works OK when you are driving the rig and only drains when the car is turned off. So my thought was to put a small relay between the power to the radio and the radio itself. The relay's that I have are all controlled by 5 volts, and would be switching 12 volts. My plan is to pull the switching voltage from an accessory fuse, so when she starts the car, the radio can have power, and when she turns the car off, the radio will again be isolated from the battery. I believe the little power supply is just the answer to my problem of getting an isolated 5 volts to run that relay! Going to build a small box with integral fuse, then plug the wires for that box into the fuse socket of the radio, plug the radio plug into my box, and hide the box so it isn't in the way. Thanks a million for laying this out for me, I already have all the parts for this build so I will get on it soon!
Thanks, I'm in the process of building some 3v3 output battery packs and needed to decide which type of regulator was best. Clearly a buck converter offers the best efficiency. Now I need to come up with a lean design for a small undervoltage cut off that doesn't bleed power from the batteries faster than the ESP01s I'll be powering. (something simple with a zener and a comparator, I'm hoping)
I've attempted to use several different buck converters with 3 motors (120x120 fans actually). These motors (fans) draw 80mA. All the different buck converters lasted around a day, then they were fried. Now I use a simple LM317 and it just works all the time. I don't use a heatsink. I believe this is due to that the motors send spikes back into the buck converters (at a much higher voltage than is fed into them), so I don't use buck converter for anything like relays and motors.
A quick explanation of why the difference in the power consumption might have been useful for some. A 7 volt feed would have been a closer match, not that it would be practical but would illustrate why the power difference.
First. - input voltage must be the nearest to the voltage output you need, so the diference won't be wasted as heat. Second. - If you power supply is big in voltage you must use a heat sink for cooling down your transistor. Linear power supply does not need that much of filtering high frequency noise in case your aplication es sensitive to interference. Every power supply has its own inconvenients
There is one more thing to mention: For circuits including A/D convertors (12 bit and more) the SMPS noise affects the accuracy of the ADC. To avoid this you should either use very expensive 4 layer PCB, or very lengthy software filters or both. In such applications the best thing to do is to use use SMPS + Linear Regulator combination. SMPS output should be held low, for example 6V and Linear Regulator should be "Low Dropout" type. such as LP5907.
ElectronFun.com Yes, it does. We are currently designing a energy analyzor in our company. At the beginning we were using a SMPS with 5V output to power the input microcontroller with 14 bit ADC inputs. We had a lot of problems concerning the accuracy of the ADC which we hadn't see in the breadboarding stage where 5V is obtained from transformer + LM7805. But when we started to use SMPS the problems had begun, especially if the inputs were low. We had to implement lots of lengthy software filters which slow down the measurement. Then we increased the output voltage of SMPS to 6 volts and started to use a low drop out 5 V regulator. Now we have a very nice circuit :) The reason is the noise reduction ability of the linear regulator, which is around 120dB
cool man, thanks. I liked that formula for calculating the heat of the linvreg in Watts. voltage difference(Vin - Vout) x consumed/used current ( A/mA) = Watts ( 9 - 5 ) x .5 (=500mA) -> 4 x .5 = 2 Watt
I'm new to buck converters. I bought one LM2596 model to power a simple Arduino Uno with LCD at 9V. It works very well and I don't think I'll use the LM317/78xx anymore unless its mission critical.
Even back when this video was made I could find at least 2 models of buck converters on ebay for 75 cents each. Fast forward a few years after that and the mini360 that you have with pins soldered onto if can be commonly had for less than 50 cents each ..go buy a 10 pack and enjoy. The mini 360 is probably named for its switching frequency of around 360Khz, I hope no one is designing new AM band radios, but if they are the interference should be minimal, as the inductor is enclosed. You can also choose other models with different operating frequencies, such as the other 2 you showed at the beginning of the video, the larger unit has about an 80Khz operating frequency and the other one can be tweaked up to 500khz. There are cheap buck ICs out there that operate at up to 4Mhz switching frequency, most of those are a dollar or two more expensive though. Someone else mentioned that you forgot the ripple on the output, so you should still add a 10uf decoupling cap to the output of the buck module.
Buck converters always have a little bit of output ripple. If this is undesirable, you can use a buck converter to step down to just above the dropout for your linear regulator, then use the linear regulator, which won't need to drop as much voltage, generating less heat.
E se usar capacitores maior não resolveria?
@Regina-mr4tb It would help, but even with lage value ones like 2200MF, you still can detect some ripple. I build detectors for spacial electromagnetic detection, and buck converters do not work because of the harmonics. The above comment is pretty good. I just have my DC unregulated output VERY close to my desired voltage to minimize losses.😊
hi it mean i can use a boost converter and combine it with ams117 ldo?
wanted to know this for decades , very well explained and no stupid music , top man
YES! NO MUSIC!!!!!!!! Such a relief!!!!!
When using linear regulators ALWAYS check the datasheet for the type you are using. Many regulators will be damaged if there is a high value capacitor on the output when the power is switched off. Check the regulator datasheet for reverse bias protection.
Linear voltage regulators are a type of voltage regulator that use a linear circuit to maintain a constant voltage output. This is in contrast to switching voltage regulators, such as buck converters, which use a pulse-width modulation (PWM) circuit.
There are several key advantages of linear voltage regulators over switching voltage regulators:
- They are simpler and more reliable than switching regulators.
- They can provide a more stable output than switching regulators.
- They can be used with higher input voltages than switching regulators.
- They are less efficient than switching regulators, but this is not usually a problem for low-power applications.
In such case you have to add a feedback diode on its input and output reversed bias and you're good to go
@@drinkintea1572it's called freewheel diode🤔
@@aplacetoimproveteslacoilin3721 bro using chatgpt
We were studying power supply last week and my professor never talk about buck converter. I wish my professor had your enthusiasm to explain thinks from A to Z like you did. Excellent video.
Thank you very much Edgardo :)
I never liked theory too much and always favor practical knowledge.
Or he is smart enough to understand that someone needs to learn to walk before learn to run, or maybe he understand that efficiency is not always the design priority, for example, in RF or audio circuits powered with sockets, getting a clean power supply without the dirty noise of buck converters is the priority.
It's so hilarious to see clueless millennials learning to power led strips thinking that they have "invented electronics".
Signed: the Boomer.
use the waste heat from the linear voltage regulator to boil water for other uses.
If you wanted to boil just a single glass, it could work - who knows ;)
Yes. A tea cooker.
Hahahaha... 2 in 1 purpose. 1. For reducing voltage. 2. Boiler . (Heat generated from that linear enough to melt a plastics.
@@bhr987 if it doesnt go thermonuclear and pop before the temperature reaches plastic melting temps.
Nah you won't get enough heat for that lmao
When using components that require 5V only, the ripples from buck converters can be fatal. Here, the lm780X wins. It keeps the voltage very stable. Very informative video.
Thanks for this. I waz wondering why voltage regulators were used on things like arduino instead of a buck converter
No wonder my phone battery plays up on my powerbank
I use voltage regulators to heat my house.
how?
Nickel chromium
thats not possible ..
funny though
it is very good funny way to describe that voltage regulatörs produce too much waste heat while to adjust voltage :) . the irony
Awesome content. Wish I saw this a few weeks ago when I was building (using a linear regulator) a DC project. I learned through trial and error of the massive heat issue. I did end up using a buck converter.
Computer power supplies usually have high frequency transformers to step down the voltage. At higher frequencies, transformers can be fairly small and smaller capacitors can be used for filtering.
I also did the same comparison and found the same problem with linear voltage regulator as it turns too hot to handle. Now i have an actual mobile charger inside my motorcycle compartment using a buck converter. It's so convenient as i can repeatedly charge my phone anytime, anywhere where there is no AC electrical outlet and I can do this even when not not using my motorcycle. It really draws less current than the linear one therefor less heating. I am using LM2576, by the way, but i'm not using heatsink ofr that matter. This video is a confirmation that I'm doing it right. Thank you for this video.
Thanks a lot for your comment! You are doing it right - a phone won't spot the difference between the "noisy" buck converter and "clean output" linear voltage regulator. The buck converter will definitely produce less heat and draw much less current.
ElectronFun.com By the way sir 18 years ago, i powered a two way CB radio with conventional power supply using step down transformer because back then i really don't know there are different ways to power different devices. All I know is that if i have a step down transformer, a full wave bridge type rectifier diode and a filter capacitor that's it i have a power supply. I really didn't know about buck converters until just two months ago.
Your video helps a lot sir... Thank you
Buck converters are perfect for smaller battery powered devices.
However, if in a heavier application, then use the flat pack ic/transistor with a sufficient heat sink.
Great video.
Clear, concise and very informative, all too often tuition videos are rendered unwatchable by totally inappropriate house music thumping out!....excellent, Thank you.
Good video. Small addition: Don't go cheap on your power supplies. Would be like going keep on the foundation of a home. When cheap power supplies fail, they can do so catastrophically.
+Kent A. Vander Velden make your own one :)
Right on, with legit components :)
+Kent A. Vander Velden Thanks for your comment and advice. You're definitely right, it's not a good idea to use cheap buck converters for important projects.
so what is a recommended buck converter?
It is not as easy as one might think, but doable :)
This video was the best I've seen so far for concisely describing and demonstrating the differences between the two, thanks so much for this.
Thanks for the informative video. Buck converters always sounded big, expensive and complicated for simple builds, but it's actually not that bad!
Thanks a lot for your comment. The prices went down significantly, so buck converters are not expensive at all right now.
This video is 5 years old and still gives good information, got everything I needed to know thanks 👍
Linear regulator are not made to voltage conversion (ie, 12v to 5v), they are made to regulate voltage after a classical transformer and diode bridge rectifier. Additionally, buck converters (or conmutated power supplies) opperate at high frequencies and can cause interferences on RF or audio circuits. Each one has its pro and cons, you just need to choose the right one to your project.
Signed: The Boomer
Will it interfere with Bluetooth and wifi?
are you sure about that? because i was considering in use it in a microphone.
Thank you for making the regulator simple for me to understand. I always wondered how they work.
This was a very useful video; thank you! One thing I've been using linear regulators for is variable voltage but low amperage equipment, like solar chargers, etc.
Learned something new and got the solution of my last project in which i was facing heat problem in 7805 thanks a lot.
Great summary. I used to build circuits when I was a kid (early 90's), reading the circuit guides from Radio Shack, but fell out of it and got more into computers & communications. I find it's still a very useful skill to have, and I'm always trying to learn more and get back into it. Channels like yours are so valuable - if we had this kind of platform when I was a kid, who knows how many cool devices and ideas we'd have by now :)
Really helpful. Watching your video after 5 Years and just remembered it. Good old memories
Thanks for this very helpful video. I was addicted to using linear voltage regulators on on most of my past projects (quick and dirty) but as we expand our minds and fine tune projects for efficiency and longevity buck's have a new place in my file cabinet (brain) also good call on interference potential with the buck, I never really thought about that but makes total sense for RF sensitive projects!!! this would explain why some pcb's have metal shield boxes surrounding some area's too in a way. =)
You just saved me a lot of trouble. I am building a lab power supply / breadboard, and want 1.5v 3v 5v 6v 9v output, from a 12v dc input. I have already bought the lm780x's in order to do this, but I have been wrestling with the heatsink design and attachment issues. Now I can use 5 lm2596's instead and not have to deal with the pain in the ass heatsink mess.
Well-presented and well described! I needed a primer on this subject and you provided precisely what I needed to know, in a concise and easy-to-absorb manner. THANK YOU, and GOOD JOB!!
Dogmakarma Store Thanks a lot!
You are so informative and detailed. I was going to use a buck converter for a light on my quadcopter but you mentioned about interference and potentially saved me from a crash.
+SlNlST3R Thanks for telling me that :)
However, when it comes to quadcopters - I'm not sure if a buck converter would make any difference. These wireless controllers are quite resistant to interference. A couple of practical experiments should clear things a bit.
First, the linear voltage regulator doesn't dissipate 5.04W at .42A. You have to calculate not the PSU voltage, but the voltage that is dropped across the voltage regulator. So, (12-5)*0.42=2.94W. Same formula for the buck converter.
Second, it looks like you measured temperature of the coil of the buck converter, not the IC. Coils don't get as hot, measure the IC!
I wasn't measuring heat dissipation, it was power consumption with the load.
You are right, I measured the coil's temperature. I checked by touch and it seemed to be hotter than the IC itself. I should have measured both.
Most type of buck voltage converters i have tested and some ZVS it's the coil that gets hottest by far!
The bigger ones with power mosfet, there is a different story
Yes...coil don't get as hot as the IC
mine have 2 coil and both hotter than any ic it self, idk yours
Good video with your clear voice and without unbearable playback music.
This was hands-on and educational. ☺️ Thank you for this video uploader.
I just visited this video after a year , and it still has to be the best explanation yet... thanks again..
Your comment means a lot to me JOGO - thank you!
Great video! Explained in simple words.
Thank you very much! I appreciate your kind words :)
I knew buck converters were more efficient, but I didn't know just how much. Thank you for the explanation.
Nice video, thank you! One thing though, the 7805's power consumption is (12v-5v)x.42 amp, but I get what you meant. It's a great comparison.
Thank you for your nice comment and letting me know about my mistake. I've just added annotations with corrected calculations. Sorry for my stupid mistake. I double checked everything, but I should have triple checked.
Your comment unfortunately is somewhat a rarity on RUclips. Pointing out an error in a civil professional manner. Thanks
waswestkan
Thanks a lot! I could correct the video and reupload it, but I decided to spend the time for preparing another video and let people know about my mistake. The only problem is - annotations don't work on mobile devices.
The comperision is so cleared like water as you described. Thanks a lot .
"You now understand [...]"
Yes I do sir. Thank you very much!
Thank you for that straight forward, and simple to understand comparison of the two, and a simple explanation of which situation to use which. I did not understand this before I watched this videos.
Thank you for you comment and kind words. I'm glad I could help :)
is all good with buck converters but highly not reccomended when low noise is required. and that's a disadvantage against linear regulators. as a tip I would like say is good and reccomended to use linear regulator and can be efficient when difference between input and output is small. and also when circut does not drow a lot of current. lm317 or lm337 also allows us to set requied output voltage.
That's true, linear voltage regulators have advantages too. I tried to show as many advantages and disadvantages of both devices, but this subject is very broad.
most useful thing i’ve seen all day, you gave me another reason to scour my spare/crap psu’s for recoverable components.
Thank you.
I learnt something new today.
That's great! Thank you for your comment :)
Excellent analysis overall. I'm a power designer, and I'd take a buck over a LDO any day. The LDO is best suited to minimal step down and power consumption applications. LDOs do have a size advantage, not requiring an inductor or possible external switch.
Great explanation but just like to point out that you may not have incurred the failure of the VR had it been correctly setup with appropriate heat sink. This would also have improved its efficiency for your comparative data records I assume. I enjoyed the video :)
It wouldn't make any difference to efficiency. With a linear regulator, the source supplies the same amperage as the load draws from the output. With the buck regulator, the input current is much lower than what the load draws from the output. That's why it doesn't get hot. All the wattage gets passed from the source to the load. The buck converter probably dissipates less than 1/2 watt at the most.
Hello my friend,good day please can we use solar panel 12v to convert 7805 to get 5v to charge phone?
This was awesome
You just got a subscriber
I’m not an engineer, I just like having a decent grasp on the concepts involved
I like seeing these things as, what they do or what they are used for
Like...:imagine you’d never seen a hammer before
A hammer is a tool
A circuit is a tool
Most people explain circuits with the same frame of reference as explaining a hammer like this:
“This is a kinetic energy leverage amplification device, we can calculate how much kinetic energy transfer we can expect by calculating the mass, multiplying for acceleration, then reducing wind speed and ambient air temperature and then multiplying that by the surface area of the striking surface and then dividing that by the impact surface”
And yes....this is a pretty good explanation, but it’s way too much specific information
I loved this explanation
Hi...these are 2 voltage regulators!
There’s a cheap one and an expensive one
Voltage regulators take a bunch of volts and turn it into a set voltage
The cheap ones are cheap, but, they can get real hot and explode
The expensive ones don’t explode, but you could buy 10 of the cheap ones for the price of one expensive one
Also....the expensive one can fuck with radio signals....
So....if you gotta lot of volts and want to turn it into a useable stable voltage
You can use one of these 2 thingies
But one explodes when it gets too hot, and the other fucks with radios....so keep that in mind
Recently I built an analog audio effects device and was intending on powering it with a 15Vdc walwart that used a switching power supply. Turned out it created an intense whine in the signal output. I switched to a linear supply and it worked better but had hum. No matter what size cap I added, it hummed. I added a linear voltage regulator that was set about 2.5 volts lower than the supply voltage and all noise was eliminated. There's a video on using linear regulators that explained why large caps are not needed on their outputs. That gave me the answer I was needing.
Все ясно и по делу! Спасибо!
Top shelve video. Many, many thanks. Everything is crystal clear, no silly comments. VERY PROFESSIONAL. Congratulation
I'm very happy you liked the video :) Thank you so much for your kind words!
Good explanation, good quality video. Thank you for this video.
Thank you for your kind words :)
You are great. You provided a very practical explanation with a very clear view of use through good camera angles and an example of best use scenarios. THANK YOU so very much.
Actually no.. Not all PC PSU have DC/DC step downs. The old one.. (at lest the one in our old 8086) used a a iron core transformer, with rectifier bridge and then a linear voltage regulator.
Of cause this worked pretty good because the the transformer got it down to a bit over 6V and about 13.5V for the 5 and 12V part.
The design was actually quite genius. Because they have make the transfomers in that way so the voltage of the output capacitor droped down the more load you got on it. So the power drop over the linear voltage was pretty much the same regardless of load (with in the limit).
Yea... sure, the heat sink was still pretty big and the fan was petty nosy. But the power surply actually didn´t lose that much energy.
Combining a DC/DC step down with a linear voltage regulator also works great. Having the DC/DC step down on 5.5V and the linear one on 5V makes the heat loss much more manageable.
I wasn't precise enough - most PC power supplies are switched mode supplies. Buck converters are also switched mode power supplies, but there are also other types of supplies under that same category.
Have you tried testing that theory? I mean a DC/DC step down converter and a linear voltage regulator next?
Most PSU to day... but in the 80-tys it was fairly rare.
Kind of no.. but i have seen and measured on implementations. It was in the 90-tys with a cheep nasty single phase DC/DC step down and a linear voltage regulator to keep it nice. I have not built some my self.
It might be that the DC/DC step down are that good now so its simply never needed.
Of cause i have not really built that kind of electronics since my university days. When i worked with telecom servers we always used ready to use modulus, or design pack implemented right on board.
With a bit lower volume than most electronics the time do make a better design was simply not there.
I work in IT and couldn't agree more - we always use ready to use modules and there is no time to make your own design :)
I guess that the people that designing very high quantity products, like game consoles and phones have much more time to make it with more exacting components.
The telecom servers we use to make where i worked was quite a bit larger then they would need to be
The large form factor has a lot to do with heat dissipation. Servers have to be as stable and reliable as possible, so the designers don't care about size or weight that much.
A very good video, I enjoyed it. Other good examples of the differences is how the efficiency of the linear regulator gets worse as the difference between input and output voltages increase, and the limitations from minimum Vin (drop out voltage) and minimum Iout (discontinuous operation).
+Marc Visconte Thanks a lot Marc :)
You're right, the higher the difference between the input and output voltages, the worse the linear voltage regulator performs.
Guys - I can't reply to some of your comments because of a RUclips bug. One of such comments is the one from Sovereign Knight. I'm getting an error message :(
Thank you for your comment and subscription Sovereigh Knight.
I am not sure, but I think it may be possible to reply by simply typing "+%user_name%". I.e., "+" is mandatory and is used to notify user through Google+ service. Although, as I have said, I am not sure, esp. considering that Google announced some time ago that they will shut down Google+.
Thanks for your advice 8thDay, but I have tried everything, including the +user_name - it didn't work too.
Wow , 8 years ago !! : D .
This video gave me the entire knowledge which I was searching for... Thank you sir
Has anyone here tested the linearity of the buck converters vs the "linear" voltage regulator, under a variety of loads? A square-wave signal generator, for example, would be a very interesting test of a linear psu. Cheers
I haven't tested that, but I agree it could be a nice experiment. Maybe someone else has already done that. Anyone guys?
You can use a buck converter with RF type circuits you just have to cover it with a metal cover aka a Faraday Cage and then connect a ground wire from the cage to ground for the circuit ( attenuate the static field from the buck converter's coil)
Great video 👍👍👍👍👍
Excellent information. Love From India.
Thank you very much :)
Thanks from SriLanka !
very good video
thanks for that!
Regards from the Netherlands
R.Rob.
+R. Rob. Thanks a lot Rob! :)
One of the best electronics videos I've seen on RUclips - great stuff! I feel like I've learnt a lot, and only in 7 mins
Thank you so much for posting your comment and kind words :)
You are so helfull, explained tons in such a short time.
take me as your new subscriber
+SOHAIL KHAN Thanks so much! I'm glad you liked this video and subscribed to my channel :)
Me too! Nice job! Keep walking.
Thank you :)
I agree he is good liked and subd
Thanks a lot :)
Very, very good video, I built lots of audio projects using the LM78XX regulator, did not understand the amps verses the temp, after watching this video I now have a clear understanding of how theses work, thank you kindly for sharing this video....
very educational. thanks for posting
+pebre79 Thanks for your comment :)
An extraordinarily well-prepared lecture. It makes electronics look beautiful.
6:45 Do I see a transistor under that heatsink? ✈
Oliwer Gumowski Yes, you're a good observer :) It's a heat sink with a transistor I took from some kind of a broken device. I don't even remember what it was.
Ang good video btw it will definitly help me chose right solutions for my projects. ✈
Oliwer Gumowski Thanks Oliwer :)
To be a bit pedantic on one specific point(there are more points I could mention): At approx. 4:10 you are not measuring the power consumption but due to the fact that you measure the current(under the assumption the voltage is constant 5 Volt and does not break down) we can calculate the power V*I(under the assumption that the current is constant too, otherwise we have to take the change in current over time into account to determine the power as a function of time) and if we measure the on time, we can also easily calculate the energy. Nevertheless you made a really nice introduction video, keep on doing this. :)
+Sebastian Au Thanks for the info and your understanding, I will have to check all my calculations again and I might do a follow up video to correct all mistakes. Every such comment is really helpful :)
Thanks a lot for the video, Clearly described :)
+Dinesh Kumar Wickramasinghe Thanks for your comment and watching :)
Excellent Video -- informative, clear, concise script. Good camera work, good sound, well paced and edited. Very well done! Thank you!!
Is it better to use a buck converter or linear voltage regulator in you project? ruclips.net/video/giGRrODKJSE/видео.html
I have a big variety of buck converters. I got spoiled. I push so many amps through them that I can even get a buck to heat up and it gets me mad. :) But after revisiting linear regulators, I'm so glad I'm using buck converters. They stop down the voltage and step UP the current, just like an AC transformer. So, you get more power but, at the same time, you get less heat because bucks aren't just burning off all that extra voltage.
The voltage/current conversion is quite cool! If I'm using a high voltage solar panel to power a very low voltage device, it draws hardly ANY current from the panel because it is so good at converting volts to amps! A linear voltage regulator in this scenario (without a heat sink) would erupt into a puff of smoke before it could even detect that its temp is too high.
Paul Oh yes, buck converters are extremely efficient when compared to linear voltage regulators. Thanks for your comment Paul :)
very useful video,Thank you so much
+Nick Mukbaniani
Thanks a lot! :) Sorry, I couldn't reply sooner - I was on vacation.
I’m building a bench power supply which will have a linear regulator with a switching buck pre-regulator. This hybrid design is supposed to combine the advantages of each. Or compromise the disadvantages depending on how you looks at it. We’ll see how it works.
Is there a way to shield the buck converter for radio sensitive devices, for example the esp8266?
+bugs181
I guess an ESP8266 should work ok with a buck converter.
+bugs181 Yeah that should work, if not use a buck converter that provides a bit higher voltage that is needed and than a linear regulator, if you want to spend money buy the LT3080 a really really neat linear regulator, also good for building power supplies... ^^ but of course if you need a constant voltage one of the standart linear regulators would be cheaper ;-)
+Sebastian Au I've used the ld1117 as a 3v regulator for the esp8266 - it will handle the current needed. A buck converter to 5v the other side of that might be nice - but quite bulky. It is a problem with battery life on robots - always space vs weight vs battery life.
low noise versions whit inside coil
www.ti.com/tool/tida-00532
That's a good one, thanks :)
Literally the exact video I needed right now.
That's great to hear/read :)
wow grate thank u dear i love u...
Thank you for your comment and kind words 😃
please can you tel me how can i purchaze it in pakistan?
I have no idea about Pakistani electronics market, sorry. Do you have access to eBay, Amazon, AliExpress or Banggood? You should be able to buy these items there.
Mr Engineer bro you can buy it from hall road lahore..
@@Mrengineer1 why are u gay
Well done, good job, thank you for your time.
Thank you for watching and your nice comment :)
Where would a resistor come in? I know a resistor can resist voltage too, but im guess they are not as efficient as buck converters?
A resistor is used to reduce current flow rather than voltage. There are some other applications too. For example, you could build a voltage divider out of resistors and get your desired voltage level, but you would have to assume constant source voltage. What's more, the efficiency of such contraptions is far from perfect.
Hi ElectonFun thanks for your reply.
So would you say a resistors best use would be to reduce small amounts of current say for a 3v LED with a power source 6v?
I have project with a power source of 12v. But most of my components are 5v to 3v. would than a buck converter be a good choice for stepping down the voltage?
Resistors are often used to reduce current drawn by LEDs to protect them from burning out. I don't know what your project is, but a buck converter should be a good idea for most projects.
codoyen - Resistance voltage dividers are used almost everywhere when noise matters. Look at some schematics.
Recent developments in LDO technology is something you should look into before touching junk, mass produced Chinese buck/boost converters.
+Shovel
dam dude... XD LoL
that is totally different..
Buck converter & LM > Regulating voltage / supplying steady voltage to circuit. (ideally didn't consume power. just passing it by. Just like non-linear component )
Resistor > Consume power. Dissipating power into heat. If you add device to the circuit after resistor, it will then divide the voltage output, which will then cannot supplying steady 5Vdc on the output side. ;-)
I had wondered about the difference, and that makes sense , thanks for clearing that up.
Its meant to BE used with a heat sink
First time I know about Buck convertor.It is really efficiently work. Thank you.
good idea to heat coffee cup
You would have to use a bunch of LM7805s and a bucket of electricity ;)
Thank you so much for clearly demonstrating the working of both.
Very handy and well explained. Great comparison. Cheers
Thank you so much! Cheers :)
Very nice lesson, thanks master. Clear and concise.
+Hernan Ortiz Thanks a lot :)
You are the smartest person alive!
Hi from Sunny South Africa - I prefer the LM 7805 because 1) Temperature is easily sorted with simple aluminum heat sink 2) the ripple voltage is much cleaner than buck converters 3) Cost is much cheaper 4) ZERO EMI issues - ever
Thank you so much for your video. Your video gives very clear understanding of the difference between a regulator and a buck converter.
One question : I think the power consumption is written as
P[W] = (Vin-Vout)*Current.
When we calculate the power, we need use 7 volts (=Vin-Vout = 12-5) instead of 12 volts.
Thanks a lot!
I was calculating the input power consumption, which is my dummy load + the buck converter/voltage regulator.
Very clear video. Nice explained.
Thank you so much 😄
Best video I have ever seen about it.
Cool, I have been trying to figure out how to set up a relay for my daughters Jeep. The radio has a power drain and keeps running her battery down. The Jeep shop wants over 500 bucks to fix it, so another mechanic just pulled the fuse and she is without a radio. It works OK when you are driving the rig and only drains when the car is turned off. So my thought was to put a small relay between the power to the radio and the radio itself. The relay's that I have are all controlled by 5 volts, and would be switching 12 volts. My plan is to pull the switching voltage from an accessory fuse, so when she starts the car, the radio can have power, and when she turns the car off, the radio will again be isolated from the battery. I believe the little power supply is just the answer to my problem of getting an isolated 5 volts to run that relay! Going to build a small box with integral fuse, then plug the wires for that box into the fuse socket of the radio, plug the radio plug into my box, and hide the box so it isn't in the way. Thanks a million for laying this out for me, I already have all the parts for this build so I will get on it soon!
Thanks, I'm in the process of building some 3v3 output battery packs and needed to decide which type of regulator was best. Clearly a buck converter offers the best efficiency. Now I need to come up with a lean design for a small undervoltage cut off that doesn't bleed power from the batteries faster than the ESP01s I'll be powering. (something simple with a zener and a comparator, I'm hoping)
I've attempted to use several different buck converters with 3 motors (120x120 fans actually). These motors (fans) draw 80mA.
All the different buck converters lasted around a day, then they were fried.
Now I use a simple LM317 and it just works all the time. I don't use a heatsink.
I believe this is due to that the motors send spikes back into the buck converters (at a much higher voltage than is fed into them), so I don't use buck converter for anything like relays and motors.
A quick explanation of why the difference in the power consumption might have been useful for some. A 7 volt feed would have been a closer match, not that it would be practical but would illustrate why the power difference.
First. - input voltage must be the nearest to the voltage output you need, so the diference won't be wasted as heat.
Second. - If you power supply is big in voltage you must use a heat sink for cooling down your transistor.
Linear power supply does not need that much of filtering high frequency noise in case your aplication es sensitive to interference.
Every power supply has its own inconvenients
Priceless educational video. Thumbs and legs up!
Giulio Buccini Such comments give me great motivation. Thanks a lot Giulio!
Thank you so much, simple and easy to understand, 2 thumbs up!!
A video is amazing to watch specially for the peoples who doesn't have enough knowledge of electronics
Thank you very much :)
There is one more thing to mention: For circuits including A/D convertors (12 bit and more) the SMPS noise affects the accuracy of the ADC. To avoid this you should either use very expensive 4 layer PCB, or very lengthy software filters or both. In such applications the best thing to do is to use use SMPS + Linear Regulator combination. SMPS output should be held low, for example 6V and Linear Regulator should be "Low Dropout" type. such as LP5907.
oilbay54 Thanks a lot for your useful comment! I didn't know buck converters may affect the accuracy of analog to digital converters.
ElectronFun.com Yes, it does. We are currently designing a energy analyzor in our company. At the beginning we were using a SMPS with 5V output to power the input microcontroller with 14 bit ADC inputs. We had a lot of problems concerning the accuracy of the ADC which we hadn't see in the breadboarding stage where 5V is obtained from transformer + LM7805. But when we started to use SMPS the problems had begun, especially if the inputs were low. We had to implement lots of lengthy software filters which slow down the measurement. Then we increased the output voltage of SMPS to 6 volts and started to use a low drop out 5 V regulator. Now we have a very nice circuit :) The reason is the noise reduction ability of the linear regulator, which is around 120dB
cool man, thanks.
I liked that formula for calculating the heat of the linvreg in Watts.
voltage difference(Vin - Vout) x consumed/used current ( A/mA) = Watts
( 9 - 5 ) x .5 (=500mA) -> 4 x .5 = 2 Watt
I was calculating power consumption on the input. It didn't have anything to do with the heat.
I'm new to buck converters. I bought one LM2596 model to power a simple Arduino Uno with LCD at 9V. It works very well and I don't think I'll use the LM317/78xx anymore unless its mission critical.
Wow what an invention... explain very easy way sir... thanks 👍
Excellent comparison.
Thank you very much :)
Even back when this video was made I could find at least 2 models of buck converters on ebay for 75 cents each.
Fast forward a few years after that and the mini360 that you have with pins soldered onto if can be commonly had for less than 50 cents each ..go buy a 10 pack and enjoy.
The mini 360 is probably named for its switching frequency of around 360Khz, I hope no one is designing new AM band radios, but if they are the interference should be minimal, as the inductor is enclosed. You can also choose other models with different operating frequencies, such as the other 2 you showed at the beginning of the video, the larger unit has about an 80Khz operating frequency and the other one can be tweaked up to 500khz. There are cheap buck ICs out there that operate at up to 4Mhz switching frequency, most of those are a dollar or two more expensive though.
Someone else mentioned that you forgot the ripple on the output, so you should still add a 10uf decoupling cap to the output of the buck module.