Programmable DC Backup Power Supply

The uninterruptible power supply was once a standard fixture in the small office/home office as a hedge against losing work when the electrons stop flowing from your AC outlet. Somewhat in decline as computing hardware shifts away from dedicated PCs toward tablets, phones and laptops, the UPS still has a lot of SOHO utility, and off-the-shelf AC units are easy to find. But if your needs run more to keeping the electrons flowing in one direction, then you might want to look at [Kedar Nimbalkar]’s programmable DC backup power system.

Built inside a recycled ATX power supply case, [Kedar]’s project is heavy on off-the-shelf components, like a laptop power supply for juice, a buck converter to charge the 12 volt sealed lead acid battery, and a boost converter to raise the output to 19.6 volts. An Arduino and an optoisolator are in charge of controlling the charging cycle and switching the UPS from charging the battery to using it when mains voltage drops.

 If you need a DC UPS but would rather skip the battery, you could try running a Raspberry Pi with electrons stashed in a supercapacitor. Or if you’ve got an aging AC UPS, why not try beefing it up with marine batteries?

[Thanks for the tip, Morris]

Crowdfunding Follies: Debunking The Batteriser

It’s not on Kickstarter yet, but this product is already making its media debut, with features in all the tech blogs, an astonishing amount of print outlets, and spouted from the gaping maws of easily impressed rubes the world over. What is it? It’s the Batteriser, a tiny metal contraption that clips over AA, C, and D cells that reclaims the power trapped inside every dead battery. Yes, every dead battery you’ve ever thrown away still has up to 80% of its power remaining. Sounds like complete hogwash, right? That’s because it is.

[Dave Jones] put together a great video on the how comes and why nots of the Batteriser, and while doing so gives a great tutorial for debunking a product, heavily inspired by [Carl Sagan]’s Baloney Detection Kit. The real  debunking starts by verifying any assumptions, and the biggest fault of the Batteriser campaign is claiming 80% of a battery’s power is unused. Lucky for us, [Dave] has tons of tools and graphs to demonstrate this is not the case.

To verify the assumption that battery-powered devices will brown out after using only 20% of a battery’s available power, [Dave] does the most logical thing and looks at the data sheets for a battery. After using 20% of available power, these datasheets claim these batteries should be around 1.3V. Do devices brown out at 1.3V? Hook it up to a programmable power supply and find out.

It turns out every battery-powered device [Dave] could find worked perfectly until around 1.1V. Yes, that’s only 0.3V difference from 1.4V claimed by the patent for the Batteriser, but because of the battery discharge curve, that means 80% of the power in a normal device is already being used up. The premise of the Batteriser is invalid, and [Dave] demonstrates it’s a complete scam.

If a through debunking of the Batteriser’s claims wasn’t enough, [Dave] goes on to explain how it may actually be dangerous. The positive terminal of a battery is also the metal can, while the negative terminal is just a tiny nib of metal seperated from the rest of the battery by a gasket. Since the Batteriser is made of metal and serves as the ground for the boost converter circuit, it’s very, very close to shorting through the branding and logo emblazoned on a mylar wrapping each battery is shrouded with. One tiny nick in this insulator, and you have a direct short across the battery. That’s going to turn to heat, and there’s a lot of energy in a D cell; a failure mode for the Batteriser is a fire. That’s just terrible product design.

Video below.

Continue reading “Crowdfunding Follies: Debunking The Batteriser”

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”

Schematic for a boost converter based on the ATtiny MCU

An ATtiny Boost Converter

This schematic is all you need to build your own voltage converter. [Lutz] needed a converter that could boost 5 V to 30 V to power a string of LEDs. The solution was to use low cost ATtiny85 and some passive components to implement a boost converter.

This circuit follows the classic boost converter topology, using the ATtiny85 to control the switch. The 10 ohm resistor is fed back into the microcontroller’s ADC input, allowing it to sense the output voltage. By measuring the output voltage and adjusting the duty cycle accordingly, the circuit can regulate to a specified voltage setpoint.

A potentiometer is used to change the brightness of the LEDs. The software reads the potentiometer’s output voltage and adjusts the voltage output of the circuit accordingly. Higher voltages result in brighter LEDs.

Of course, there’s many other ways to implement a boost converter. Most practical designs will use a chip designed for this specific purpose. However, if you’re interested in rolling your own, the source and LTSpice simulation files are available.

Afroman Demonstrates Boost Converters

If you need to regulate your power input down to a reasonable voltage for a project, you reach for a switching regulator, or failing that, an inefficient linear regulator. What if you need to boost the voltage inside a project? It’s boost converter time, and Afrotechmods is here to show you how they work.

In its simplest form, a boost converter can be built from only an inductor, a diode, a capacitor, and a transistor. By switching the transistor on and off with varying duty cycles, energy is stored in the inductor, and then sent straight to the capacitor. Calculating the values for the duty cycle, frequency, inductor, and the other various parts of a boost converter means a whole bunch of math, but following the recommended layout in the datasheets for boost and switching converters is generally good enough.

boostconverter

[Afroman]’s example circuit for this tutorial is a simple boost converter built around an LT1370 switching regulator. In addition to that there’s also a small regulator, diode, a few big caps and resistors, and a pot for the feedback pin. This is all you need to build a simple boost converter, and the pot tied to the feedback pin varies the duty cycle of the regulator, changing the output voltage.

It’s an extremely efficient way to boost voltage, measured by [Afroman] at over 80%. It’s also exceptionally easy to build, with just a handful of parts soldered directly onto a piece of perfboard.

Video below.

Continue reading “Afroman Demonstrates Boost Converters”

Monster 100W LED Flashlight Produces A Whopping 8500lm!

100W LED Flashlight

[Yannick] got a hold of a 100W LED diode recently, and like any self-respecting hacker, he just had to turn it into a ridiculously over powered flash light.

The tricky thing about these diodes is that they need a high amount of DC voltage, anywhere from 32-48V typically. [Yannick’s] using a 12V sealed lead acid battery coupled with a 600W constant current boost converter which ups it to 32V at around 3.2A. He also managed to find a giant aluminum heat-sink to keep the diode from getting too hot. A 120mm fan helps to keep the heat sink nice and cool, which allows the light to be run constantly without fear of burning it out. But just in case he also has an Arduino monitoring the temperatures — oh and it provides PWM control to adjust the brightness of the light!

To focus the flashlight he bought a proper lens and reflector which can be mounted directly to the diode. At full power the LED puts out around 8500lm, which is brighter than almost all consumer projectors available — or even the high beams of a car!

Continue reading “Monster 100W LED Flashlight Produces A Whopping 8500lm!”

Accelerometer Poi

accelerometerPoi

Even if you’ve never attended a rave, you have probably seen one portrayed on film or television. Those glowing spheres-on-a-string being swung around are called poi, and [Matt Keeter] has designed a pair with an accelerometer upgrade. Poi have a long history and were originally made from plants, but contemporary examples usually feature some kind of light, whether it’s fire, LEDs, or even glowsticks tied to shoelaces.

This build required double-sided PCBs and [Matt] had to custom make the protective covering that slips over the board. The poi are powered by 2 AA batteries fed into a 5V boost regulator. But wait, no microcontroller and no PWM? Actually, we think it’s quite clever that [Matt] took the output from the accelerometer and fed into an inverting amplifier. This keeps the voltage constant while allowing the accelerometer to vary the current. Had he used PWM, the fast motion of the swinging poi would instead produce a blinking effect.

An additional trimmer potentiometer accounts for variability in the accelerometers’ output by adjusting the default brightness. If the recent recap of Burning Man has you excitedly planning to attend next summer, you’d probably find plenty of opportunities to use these in the desert.