Circuit VR: Simple Buck Converters

The first thing I ever built without a kit was a 5 V regulated power supply using the old LM309K. That’s a classic linear regulator like a 7805. While they are simple, they waste a lot of energy as heat, especially if the input voltage goes higher. While there are still applications where linear regulators make sense, they are increasingly being replaced by switching power supplies that are much more efficient. How do switchers work? Well, you buy a switching power supply IC, add an inductor and you are done. Class dismissed. Oh wait… while that might be the best way to do it from a cost perspective, you don’t really learn a lot that way.

In this installment of Circuit VR, we’ll look at a simple buck converter — that is a switching regulator that takes a higher voltage and produces a lower voltage. The first one won’t actually regulate, mind you, but we’ll add that in a future installment. As usual for Circuit VR, we’ll be simulating the designs using LT Spice.

Interestingly, LT Spice is made to design power supplies so it has a lot of Linear Technology parts in its library just for that purpose. However, we aren’t going to use anything more sophisticated than an op amp. For the first pass, we won’t even be using those.

Continue reading “Circuit VR: Simple Buck Converters”

Buck Converter Efficiency

We always appreciate when someone takes the time to build something and then demonstrates what different design choices impact using the real hardware. Sure, you can work out the math and do simulations, but there’s something about having real hardware that makes it tangible. [Julian Ilett] recently posted two videos that fit this description. He built a buck converter and made measurements about its efficiency using different configurations.

The test setup is simple. He monitors the drive PWM with a scope and has power meters on the input and output. That makes it easy to measure the efficiency since it is just the ratio of the power output to input. You can see the two videos, below.

Continue reading “Buck Converter Efficiency”

Hybrid Bench Power Supply Can Also Hit The Road

Everyone needs a bench power supply, and rolling your own has almost become a rite of passage for hackers. For a long time, the platform of choice for such builds seemed to be the ATX power supply from a computer. While we certainly still see those builds, a lot of the action has switched to those cheap eBay programmable DC-DC converters, with their particolored digital displays.

This hybrid bench and portable power supply is a good example of what can be accomplished with these modules, and looks like it might turn out to be a handy tool. [Luke] centered his build around the DPS3003, a constant current and constant voltage buck converter that can take up to 40-VDC input and outputs up to 32 volts at 3 amps. In bench mode, the programmable module is fed from a mains-powered 24-volt switching supply. For portable work, an 18-volt battery from a Makita drill slips into a 3D-printed adapter on the top of the case. The printed part contains a commercial terminal [Luke] scored on eBay, but we’d bet the entire thing could be 3D printed. And no problem if you change power tool brands — just print another adapter.

Those little eBay power supply modules have proven to be an enabling technology, at least judging by the number of clever ways we’ve seen them used lately. From this combination bench PSU and soldering iron supply to a portable PSU perched atop a battery, these things are everywhere. Heck, you can even reflash the firmware and make them do your bidding.

[via Dangerous Prototypes]

A DIY 5V-3V Switching Converter In The Space Of A TO-220 Package

We’re suckers for miniaturization projects. Stuff anything into a small enough package and you’ve probably got our attention. Make that something both tiny and useful, like this 5-volt to 3.3-volt converter in a TO-220 sized package, and that’s something to get excited about. It’s a switch mode power supply that takes the same space as a traditional linear regulator.

Granted, the heavy lifting in [Kevin Hubbard]’s diminutive buck converter is done by a PAM2305 DC-DC step-down converter chip which needs only a few supporting components. But the engineering [Kevin] put into this to squeeze everything onto a scrap of PCB 9-mm on a side is impressive. The largest passive on the board is the inductor in 0805. Everything else is in 0603, so you’ll be putting your SMD soldering skills to the test if you decide to make this. Check the video after the break for a speedrun through the hand soldering process.

The total BOM including the open-source PCB only runs a buck or two, and the end result is a supply with steady 750-mA output that can handle a 1-A surge for five seconds. We wonder if a small heatsink tab might not help that; along with some black epoxy potting, it would at least complete the TO-220 look.

[Kevin]’s Black Mesa Labs has a history of turning out interesting projects, from a legit video card for Arduino to a 100-watt hotplate for reflow work that’s the size of a silver dollar. We’re looking forward to whatever’s next — assuming we can see it.

Continue reading “A DIY 5V-3V Switching Converter In The Space Of A TO-220 Package”

Nicely Engineered Boost Converter Powers Nixies From USB Charger

Love them or hate them, Nixies are here to stay. Their enduring appeal is due in no small part to the fact that they’re hardly plug-and-play; generating the high-voltage needed to drive the retro displays is part of their charm. But most Nixie power supplies seem to want 9 volts or more on the input side, which can make integrating them into the typical USB-powered microcontroller project difficult.

Fixing that problem is the idea behind [Mark Smith]’s 5-volt Nixie power supply. The overall goal is simple: 5 volts in, 170 volts out at 20 mA. But [Mark] paid special care to minimize the EMI output of the boost converter through careful design, and he managed to pack everything into a compact 14-cm² PCB. He subjected his initial design to a lot of careful experimentation to verify that he had met his design goals, and then embarked on a little tweaking mission in KiCad to trim the PCB’s footprint down by 27%. The three separate blog posts are well worth a read by anyone interested in learning about electronics design.

Now that [Mark] has his Nixie power supply, what will become of it? We can’t say for sure, but it’ll be a clock. It’s always a clock. Unless it’s a power meter or a speedometer.

How Does A Buck Converter Work Anyway?

[Great Scott] should win an award for quickest explanation of a buck converter. Clocking in at five and a half minutes, the video clearly shows the operating principles behind the device.

It starts off with the question, what should you do if you want to drop a voltage? Many of us know that we can dim and brighten an LED using the PWM on an Arduino, but a closer inspection with an oscilloscope still shows 5V peaks that would be dangerous to a 3.3V circuit. He then adds an inductor and diode, this keeps the current from dropping too fast, but the PWM just isn’t switching fast enough to keep the coil energized.

A small modification to the Arduino’s code, and the PWM frequency is now in the kHz range. The voltage looks pretty good on the oscilloscope, but a filter cap gets it to look nice and smooth. Lastly, he shows how when the load changes the voltage out looks different. To fix this a voltage divider feeds back the information to the Arduino, letting it change the PWM duty to match the load.

In the last minute of the video he shows how to hook up off-the-shelf switching regulators, whose support components are now completely demystified as the basic principles are understood. Video after the break.

Continue reading “How Does A Buck Converter Work Anyway?”

A Primer On Buck (and Boost) Converters

We all know that the reason the electrical system uses alternating current is because it’s easy to step the voltage up and down using a transformer, a feature which just isn’t possible with a DC system… or is it? Perhaps you’ve heard of mysterious DC-DC transformers before but never really wanted to look at the wizardry that makes them possible. Now, SparkFun Director of Engineering [Pete Dokter] has a tutorial which explains how these mysterious devices work.

Known as buck converters if they step the input voltage down and boost converters if they step the voltage up, [Pete] explains how these circuits exploit the properties of an inductor to resist changes in current flow. He goes into exquisite detail to explain how components like transistors or MOSFETs are used to switch the current flow to the inductor very rapidly, and just exactly what happens to the magnetic field which makes these devices possible.

The video gives a good amount of background knowledge if you’ve always wanted to understand these devices a little bit better. There are also a few projects floating around that exploit these devices, such as one that uses an AVR microcontroller to perform the switching for a small circuit, or another that uses the interesting properties of these circuits to follow the I-V curve of a solar panel to help charge a bank of batteries. The possibilities are endless!

Continue reading “A Primer On Buck (and Boost) Converters”