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 ...

Fixing my Wahl 9918 Groomsman Beard and Mustache Trimmer

Not everyone would bother repairing a $25 beard trimmer, but why not fix something for under $5 instead of spending another $25? My  Wahl 9918 Groomsman Beard and Mustache Trimmer  has admirably performed its beauty duty for many years, but the time came when the battery just wasn't holding a charge any more.  Most people would just put the trimmer in the trash and buy a new one, but I figured I could repair my otherwise excellent Wahl and save some money. In fact, even high priced trimmer and rotary shaver brands, like Norelco and Remington, can be easily repaired using a process similar to the one I used to fix my Wahl.  Read on to find out how. I opened up the Wahl by popping off the black plastic faceplate with a tiny flathead screwdriver, which revealed two screws.  By removing the two screws I was able to easily open up the unit, revealing the guts of the device. Backplate off, Revealing the screws The internals are rather simple: a motor, a...

Robust Installation of an HDHomeRun Networked TV Tuner. 64 OTA channels!

I added an HDHomerun (HDHR) over-the-air (OTA) streaming box to my home network, bringing over-the-air broadcast TV to my computers, phones and tablets.  The HDHR is a big upgrade from my previous setup: using a simple "window mount" antenna directly connected to my TV. A TV-attached antenna is good for watching some TV for free, but the HDHR offers so much more flexibility. Figure 0: HDHomeRun on my basement wall   My original OTA TV setup was haphazard at best. It was finicky, ugly, and hard for other people at home to use. I would actually tape my antenna to a window whenever I wanted to watch OTA TV. Plus, it only worked on my TV and not with my other devices. I wanted a cleaner and more modern OTA setup. After looking at possibilities, I developed two goals: (1) bring my OTA TV into the modern Internet-connected era, and (2) set it up in a reliable and pretty way so that other family members wouldn't have to fool around with the antenna or anything else.  With that,...

Dustbuster Switch Repair

My Dustbuster vacuum - a CHV-1410, gets a lot of use.  We use it several times per day, every day.  It is a workhorse. Sadly, it was becoming unreliable.  It would be fully charged, and I'd hit the switch and maybe it would begin to start and then stop, or it would lurch and stop - or maybe it would do nothing. My CHV-1410 had a broken switch At first I thought it was the battery, but then I found that by carefully wiggling the switch I was sometimes able to get the vacuum to work.  All that on-off action over the years made the switch unreliable. Instead of throwing away an otherwise perfectly good vacuum, I decided to replace the worn switch.  It's an easy and worthwhile repair with the right part. The one special part needed: A specific $5 Switch There seems to be two types of switches used in these, based on the charging mechanism: For the Lithium models (CHV-1410L and similar), I notice that there are only two conductors are attached to the sw...

MacBook: burnt out magsafe connector repair

My MacBook (A1342 model from 2009-2010) stopped working, thanks to a cheap knockoff magsafe charger. The magsafe connector looked burnt with heat-distorted melted plastic and some black carbon surfaces.  Plugging in the charger resulted in no lights and no action.  My MacBook was dead. First I tried to clean up the connector with some Q-Tips, tooth picks and solvent, but that did little, as seen in this "after" picture (below).   The heat generated by the aftermarket charger permanently deformed and distorted the MacBook's magsafe connector.  Clearly the damage was significant. Burnt Magsafe Connector - Replacement Required! Looking at iFixIt , I determined that it would not be difficult to replace only the magsafe connector with the right tools.  I hoped and prayed that the problem was isolated to the connector assembly and not the logic board. I bought a replacement magsafe connector assembly (available from Amazon) for under $20 and started to rep...

Excellent DD-WRT Router for Me: Netgear WNDR3400 / N600

My WiFi performance was suffering, and so I decided to do something about it and upgrade my router. When I say my WiFi performance was suffering, I really mean it:  I live in a large high-rise apartment building and there are 100+ WiFi access points visible from my home office.  All of the contentious traffic was severely curtailing my WiFi reliability.  I was lucky to get 1 Mbit/second throughput.  Sometimes I was lucky to stay connected even with my WiFi router in the same room. I decided it was time to go for 5 GHz, which is a WiFi band which is used less frequently and which has a tougher time traversing walls.  And of course I wanted DD-WRT support.  The set of features I was looking for included: Trouble-free DD-WRT support 5 GHz 802.11n Support Simultaneous dual band capability Inexpensive.  Maybe even cheap.  For me this means under $50.  Under $35 is even better! It sounds like an easy task to bring all this together: A...

Other Posts

Show more