Welcome to the DoItYourself Forums!

To post questions, help other DIYers and reduce advertising (like the one on your left), join our DIY community. It's free!

Is this possible? Automatic transfer switch on a PC between battery/AC power ?


Johnnydanger's Avatar
Member

Join Date: Oct 2017
Posts: 2

10-10-17, 11:01 PM   #1 (permalink)  
Is this possible? Automatic transfer switch on a PC between battery/AC power ?

Here is what I'm trying to do.
ddd
I want to run some PC on a bank of car batteries(powered by solar panels) and when the voltage drops(power running out of batteries) have like an automatic transfer switch that will switch on the main AC power supply for the computer.

Almost like a reverse UPS that instead of switches from mainpower to battery when it detects a power interruption, this one will switch from battery to main power when the batteries are failing.


This is an expansion of another project I was reading about " how to battery power a desktop pc"
" Pick your battery, make a good solid 12V, 5V and 3.3V regulator circuit and your set. But they have to be very good and stable regulators. I would suggest pulling apart an existing PSU. Isolate the AC side from the DC side. You'll have all the regulators and protection needed there. Double check how much DC voltage the PSU has coming from it's bridge rectifiers and then connect a battery with the same voltage."

If a car battery runs out of power, it can ruin the battery(unless deep cycle), I want to switch off the car batteries when they start dying and automatically switch on the AC power supply kind of like a automatic transfer switch/UPS in reverse.

Any ideas on how this can be done?

Thanks.

 
Sponsored Links
Donato_'s Avatar
Member

Join Date: Sep 2017
Posts: 310

10-11-17, 07:06 AM   #2 (permalink)  
If you can convert solar power to electricity, why do you need the batteries at all? Connect the converter directly to the PC. For example, I see solar powered emergency phones on the side of the highway.
Better yet, use a small windmill instead of solar. A friend of mine told me about someone who converted all the lights in his house to 12 Volts & used wind power.

 
PJmax's Avatar
Group Moderator

Join Date: Oct 2012
Posts: 38,114
NJ

10-11-17, 09:20 AM   #3 (permalink)  
Your starting point is to get the power supply built to run the computer directly off the batteries. Once that is built you go from there.

Solar powered emergency phones have batteries in the pole.... otherwise they couldn't work at night.


~ Pete ~

 
aandpdan's Avatar
Member

Join Date: Sep 2009
Posts: 474
MA

10-11-17, 06:31 PM   #4 (permalink)  
You can get a replacement power supply for your computer that runs on 12 volts.

https://www.powerstream.com/DC-PC-12V.htm

 
Msradell's Avatar
Member

Join Date: Sep 2009
Posts: 561
KY

10-14-17, 09:28 AM   #5 (permalink)  
All of these suggestions solve the issue of running the computer off of solar power but don't address the issue of having it switch to conventional AC power when the batteries fulltext diminishes. That's going to take some kind of a voltage (current?) sensing device to trigger a relay to switch the power source to AC.

 
Fred_C_Dobbs's Avatar
Member

Join Date: May 2010
Posts: 264
MO

10-14-17, 01:36 PM   #6 (permalink)  
Is it possible? Sure. That's what they make electrical engineers for (if it's IMpossible, that's what they made DARPA for).

Is it expensive? Absolutely.

You don't mention what your objectives are but the cheapest, lowest-fuss and IMHO most practical way to approximate what you're asking about is with a grid tie inverter.

You connect one side of the GTI to your PV cells and the other side plugs into any wall outlet in your house. It converts the solar-generated DC into AC with a frequency to match what's on your home circuit and with slightly higher voltage, and it "injects" the current into your house's electrical circuit.

It's not as glamorous as if the PC/UPS were getting exclusive use of your solar watts but it is more practical because (presuming your PV array is only sized to power your PC) it assures that none of your solar watts ever would go unused. Which otherwise could happen if the PC is in a low demand condition and the batteries all are topped off. With a GTI and a modestly-sized PV array, what your PC doesn't use, your refrigerator will.

I suspect a nominally PV-powered UPS that switches to commercial power when the batteries discharge to some strategically determined working limit would have you paying through the nose for batteries, one way or the other, because that plan guarantees you're going to have at least one discharge/charging cycle during every day with significant sunshine. Some days more than one cycle. The batteries in consumer-grade UPSs do well to last two years, commercial UPS batteries more like 5-7 years, but in both cases that's with infrequent significant discharges. In this application you're probably looking at something on the order of 20-30 times more frequent significant discharges (more in Tucson and less in Seattle). You could always use a bank of several batteries along with a shallower discharge limit, which would extend battery life by lessening the impact of each charging cycle, but then you have a substantially higher initial cost.

Just use a GTI instead and you avoid the expense and misery (and explosion hazard) of a bunch of extra batteries, a battery charging controller, a switch to control changeover to commercial power (which you probably would have to build yourself), and a battery charge level monitor to control the power switching. Plus it's a "greener" solution because nobody pollutes in the manufacture of the batteries you don't buy and electrical circuits like this are loaded with exotic materials.

Plus it's only one device. You take it out of the box, connect it to the leads from the PV cells and plug it into an outlet, Two minutes and you're done and dusted.

 
Johnnydanger's Avatar
Member

Join Date: Oct 2017
Posts: 2

10-17-17, 03:33 AM   #7 (permalink)  
Those grid tie systems are pretty expensive too.

I saw a commercial grid tie system that was $100,000, I wonder how that compares to a battery bank.

So computers/servers naturally run on DC power when you look past the power supply which converts the AC power into DC power.
Solar panels naturally produce DC power.

So how much power is loss in the inverter process to get the DC-to-AC, then again how much power is loss in the computer power supply to go from AC-to-DC ?

The bank of batteries wired to a bunch of servers seems like maybe an interesting idea. I know Google Servers are all already tied into a battery backup which go right in the server.


I wonder why it has never been done before especially for people with server rooms.

 
Fred_C_Dobbs's Avatar
Member

Join Date: May 2010
Posts: 264
MO

10-18-17, 08:22 AM   #8 (permalink)  
Johnnydanger:
Those grid tie systems are pretty expensive too.

I saw a commercial grid tie system that was $100,000, I wonder how that compares to a battery bank....
A Koenigsegg Regera lists for $1.9 million but that doesn't mean all cars cost $2 million.

The term "grid tie inverter" covers a lot of real estate. Some people have enough generating capacity that they can produce more than their home consumes, at least part of the time. And some electrical utilities will buy excess/unneeded power from their customers. In those cases they aren't using a GTI just to inject power into their home's circuit but also into the power grid. Which takes a much more robust and sophisticated device. You can get a GTI big enough to feed a PC for around a hundred bucks.


Johnnydanger:
...The bank of batteries wired to a bunch of servers seems like maybe an interesting idea. I know Google Servers are all already tied into a battery backup which go right in the server....
All server rooms use UPSs. Some UPSs (known as "online" or "dual-conversion") power the servers from the batteries all the time. It's mostly the cheap, consumer-grade UPSs that only switch to battery power when the commercial supply is interrupted.


Johnnydanger:
...I wonder why it has never been done before especially for people with server rooms.
I'm sure it's being done somewhere. The reason it isn't more widespread is because commercial electricity is substantially cheaper than quote-unquote renewables, and commercial power doesn't crap out every time the sun goes behind a cloud or the wind dies.

 
Search this Thread