Skip to main content

Creating an AC-free 5V, 12 V, 24 V DC UPS

I've had a traditional UPS powering my network rack for a few years now, but it isn't all that efficient because it sends DC battery power to an internal AC Inverter so that it can power gear, and that gear goes around and converts it back to DC.  It seems reasonable to skip this lossy process.  Here's how I did it.

Uninteruptable DC Power Supply Diagram

 

Backup Voltage and Power

My network's gear uses various voltages: 12 Volts, 24 Volts, and 5 Volts.  So my overall goal is to have three voltages available for my various devices.  Sadly, the computer UPS market doesn't seem to want to deliver any devices to satisfy these needs... at least nothing affordable.

But there is another huge industry that had this need, and that's the world of small business security.  And in particular, small apartment buildings that use electronic locks!  They don't want their buildings to be inaccessibly locked during a power outage, and so they use battery backups all the time.

This is when I decided to buy an Uninteruptable Power Supply box designed for door access control systems.   This little box delivers 12 Volts DC either through its built in AC power supply, or if that fails, through an internal rechargeable battery.  This is a great first step!  With this box and a proper battery I can get 12 volts DC with or without wall power.    Note that this box doesn't include a battery.  It requires a very common 12 volt, 7A SLA battery.  I had an old one laying around, so I took advantage of it.  A larger battery could be used outside of the housing, but I haven't had a need yet.

The Good:

  • Supplies 12 Volts at 5 Amps.  That's a lot of power.
  • Fast switching: if wall power is lost, battery power is delivered near immediately. If wall power is restored, the battery is switched off and wall power resumes.
  • Automatic recharging: the device automatically charges the internal battery. 

The bad, which I have addressed:

  • Only 12 volts!  I need 12, 24, and 5 volts.
  • Not regulated when on battery!  When powered from the wall it delivers an even 12 volts, but when the battery is switched in, the power supply delivers the battery voltage.  And the battery voltage migrates from 14 volts to as little as 9 volts as the battery goes from fully charged towards nearly empty. These variable voltages could be a problem.

Addressing The Limitations

In order to address these voltage limitations, I'm using a set of XL6009 buck/boost converters.  These very affordable converters can take the variable +14 to +9 VDC power and convert it into regulated 12, 24, and 5 volts DC power.  I can add new voltages if required. 

UPS Duration

I get about 2 hours of power through my weak, 10+ year old SLA battery, which is longer than what I was getting out of my old dual-battery UPS.  I suspect I can get about 8 hours out of a new battery, but I'm good for now.

Future Possibilities

The power box has numerous control features that could be used to detect the status of the power.  These features could be leveraged by an Arduino or Pi Pico.  I haven't implemented anything in this area yet, but it is on my radar.


Popular posts from this blog

Fixing a SodaStream Jet, part 1: Disassembly Guide

I've had my SodaStream Jet for years, and once in a while something has gone wrong. Disassembly is the first step to repair.  Start with this article to see how to disassemble the SodaStream, and then once you have that down, scroll through my other articles to see how I repaired specfic SodaStream problems. SodaStream Jet Disassembly Guide Tools Required Flat head screwdriver Phillips head screwdriver 1. Remove the Carbonator.  Duh. 2. Remove the black panel lever The front big black tilt lever needs to be removed first. Removing this panel is tricky, but it isn't impossible. Looking up at the bottom of the black panel, there are two tabs, one on the left and one on the right. These tabs fully secure the panel in place. The trick is to use a flat-head screwdriver under the plastic to gently lever the tabs out of the way.  Note in the pictures how I approach these tabs with my screwdriver.  I usually release the left side first, and then I release ...

Sodastream Carbonator Leakage, Usage, and Weight

SodaStream 60L "Carbonator" CO2 cylinders have a specific weight when empty, plus about 410 or so grams for the CO2 they should have when they're "full".  A little while ago I went to buy a replacement Carbonator from my local hardware store. The dealer pulled a new Carbonator out of the box and sensed it was lighter than usual.  He put the "light" Carbonator in the "empty" pile and sold me a different one.  At that moment I concluded that it would be smart of me to weigh both new and empty SodaStream carbonators.  Here are the results. Weighing a SodaStream Carbonator - for both Science and Consumer Protection.       The dealer told me that sometimes the carbonators leak after they leave the SodaStream filling facility.  That means there could be an opportunity for customers like me to get ripped off! The SodaStream cylinders I buy claim to have a net product weight of 410 grams - and that means that a full Soda Stream Carbonator shou...

Fix a Lightning Cable with Heat Shrink Tubing

We've all seen a Lightning cable that has started to fall apart.  They get used every day, and after enough tugs and yanks on your iPhone, they start to fray. I've seen a lot of these frayed cables, so I've started to fix them before they break with heat shrink tube.  I get my heat shrink on Amazon, like this handy and inexpensive pack.   I prefer the heat shrink tubes without internal glue - it has higher flexibility and a smaller outside diameter once shrunk. Heat Shrink Tubing on an Old, Frayed Lightning Cable In the photo here, you'll see that I slid on a 1.25 inch length of heat shrink over the lighting connector, and then shrunk it into place.  I chose a diameter that just barely fits over the lightning connector.  In all, it took about 60 seconds to perform this repair. Warning: the white plastic of the lightning cable has a pretty low melting point.  It seems to start to melt at about 125°C (or about 250°F), which is the same temperatur...

Macintosh: Upgrading an eMac

It's been a long time since I wrote this article, but the fact remains: The good old eMac can still be useful if you take the simple steps to keep it as good as it can be.  All can run Tiger, and most can run Leopard - great operating systems for their day with a bit of useful life.  This article describes the procedure I used to upgrade my old eMac, including: Replacing the internal hard disk with a large capacity drive. Increasing the memory for performance Upgrading the operating system Here I'm upgrading a 700 MHz eMac, but the procedure and tasks for upgrading other eMac models should be almost identical. Upgrading versus Replacing My sister's eMac is of the 700 mhz variety, with 256 MB of memory. The machine seemed to be getting "slower", and the original 40 GB disk was becoming jammed packed with photos and iTunes, and within a few months she'd be out of disk space. There were two options to address the problems: upgrade the eMac, or go o...

Broadcast TV had its day. It's time to move on.

After 90 years, traditional US television broadcasting is fading fast. ATSC 3.0, the newest US TV broadcasting standard, looks great on its face: modern, efficient, and flexible.  But there are growing problems, a tired plot that has been repeating over and over for all US broadcasters: Very poor content.  Broadcast TV is loaded with very low-value content.  Why watch broadcast TV if the programming is abysmal?  Yes, there are some excellent programs, but that's about 1%. High ad frequency.  Broadcast TV has a huge and growing volume of advertising. Why watch broadcast TV if the ads are so amazingly annoying, and when all of them feel like money scams? QVC may be profitable, but is it a significant value to the public? High cost.  The broadcast industry is working to make the tuner in your brand new TV obsolete in just a few years. Why buy a new TV today if it is just going to be obsolete in a couple of years? Blocking.  The broadcast industry is acti...

Old Apple gear that keeps on ticking

I've been dealing with Apple computer gear for a long time, as have my friends and family. Here is a list of the old gear that me and/or my friends have in active service.   Note that this gear is in real service, and isn't treated as museum pieces or as part of a retro-computing hobby. 2008: Apple Airport Express, draft-N, first generation 2009: Apple MacBook, late 2009 (utility use only) 2010: Apple iPod nano, 6th generation 2013: Apple Airport Extreme AC 2015: Apple TV HD (4th generation) The big winner here is the Airport Express, which is modern enough to do its job, and it just keeps on going.  The device that my friend runs has been in operation for more than 125000 hours.  It received its most recent firmware update on 28 August 2018, 10+ years after its initial release. In terms of security: it has no open, unpatched CVE vulnerability reports.  Many generations of other routers have come and go while this one keeps going.

Other Posts

Show more