Protecting Hardware on Unstable Power Sources? 65
psuedo_samurai asks: "Later this year, I will be returning for a visit to a small 3rd world country in Africa. I was lucky enough to travel to the country before, and the last time that I went I was able to bring four fully functional computers that I donated to a local high school, to provide a small computer network for teaching purposes. I had loaded Red Hat Linux with Open Office and a multitude of free goodies onto the systems and everything was working well. The equipment I brought back with me survived for about 12 months, but eventually fell victim to power surges, brownouts, blackouts, and so forth. On my return, I will be better prepared and am planning on setting up 8 computers, this time around. However, I am still stuck on how to best provide either a battery backup (aside from lugging UPS's along with me) with automatic shutdown and/or AVR on the cheap. Does anyone have any good references, experience, or suggestions on how to over come the challenge of running a computer network in a country where the power fluctuates wildly and multiple outages in week are not unusual occurrences?"
419? (Score:5, Funny)
I will be returning for a visit to a small 3rd world country in Africa.
I hope this doesn't have anything to do with an advance fee scam someone sent to your e-mail, does it?
Inverter + charger (Score:5, Informative)
The charger charges the battery, the inverter runs from the battery - if the line voltage spikes, the battery charger takes the hit. If the line voltage sags, the inverter draws power from the battery until power is restored.
You can take along just the inverter if you can count upon getting batteries and chargers for them at your location.
The charger MUST be able to put out more current than the inverter will draw - so for a 400W computer system your charger will need to be able to put out about 40 amps at 12VDC.
The other advantage to this approach is the ability to run off a battery string charged by photovoltaic panels.
Lastly, if you can find somebody with the skill, you can get a replacement power supply for the computer that will take 12VDC to make the voltages for the computer (usually 5VDC, 12VDC, and 3.3VDC) - this will eliminate the inverter (at the downside of using a non-standard power supply for the computers.)
Re:Inverter + charger (Score:3, Informative)
A real off-line UPS is more than just a regular 'ol inverter though. They are much higher quality, provide nice sine-wave AC power and are rated for continuous usage.
Most of the the cheap inverters you buy off the shelf produce a nasty, noisy waveform which can kill your equipment also (especially if used for long periods of ti
Re:Inverter + charger (Score:2)
But here is an idea. If you can find some really good old UPSs off of ebay for cheap with dead batteries, then you can probably scavenge just the electronics off of them. The batteries are very heavy, and expensive to lug/ship. They are also usually the first items to die in any UPS (well, that and fans).
When you get there, build some wood cabinets, install the board that you brought with you, and hook the whole thing up to a car battery.
The electronics determine the maximum amount of
Re:Inverter + charger (Score:2)
Put the cabinet outside or otherwise with good ventilation. Car batteries can give off hydrogen gas...
Re:Inverter + charger (Score:3, Interesting)
Re:Inverter + charger (Score:2)
Calibrated? Game port? Muhahaha!
The 'ADC' in the game ports of traditional PC hardware is nothing more than a pulse generator modulated on the input voltage. The PC triggers the pulse, and then keeps polling until the pulse finishes. By timing how long the pulse was, the PC can estimate the voltage.
The result of this is that polling the game port is extremely
Re:Inverter + charger (Score:1)
Well if you wanted a real ADC, you could use the microphone input on the sound card or wire up a $1.50 PIC from Microchip to the parallel port, serial port, or the game/MIDI digital lines (the ones usually used for triggers).
Re:Inverter + charger (Score:1)
Re:Inverter + charger (Score:5, Informative)
http://www.hackaday.com/entry/1234000583030620/ [hackaday.com]
Okay it is not exactly but pretty close. Would make a good project.
Back in the old days IBM mainframes used an interesting power conditioning system. It was an electric motor that turned a big flywheel that was then connected to an generator. A very effective if not efficient way to decouple you computer from the power lines. Of course the often added a diesel motor and clutch to the mix. Power drops clutch connects the engine to the flywheel, generator combo and instant UPS.
Re:Inverter + charger (Score:3, Informative)
> flywheel that was then connected to an
> generator. A very effective if not efficient way
> to decouple you computer from the power lines.
Quite efficient, actually.
> Of course they often added a diesel motor and
> clutch to the mix. Power drops clutch connects
> the engine to the flywheel, generator combo and
> instant UPS.
A no-break system. The Bell System used them at their microwave repeaters in the sixties. I'd love to get my hands on
Re:Inverter + charger (Score:2)
Actually I am pretty sure an electronic inverter is far more efficient than a mechanical one. As I said a very effective device. I do wonder if you could make a low tech version? all you would need is an electric motor, generator, and a flywheel. You could even make a cheap flywheel out of concrete. Of course you would have a to wait a while for it to spin up but it might be an interesting project.
Grandpa used this to charge batteries (Score:2)
You apparently could always hear the single stroke motor come on when the flywheel would slow down... a very lound POP
Re:Inverter + charger (Score:1)
You can probably find a 12V -> 5V and 3.3V conditioning circuit on the web and build up circuits attached to mobo cables for a few bucks, right?
Laptops? (Score:5, Informative)
The off-the-shelf system that doesn't need a reliable power source is an old-fashioned laptop. You can buy obsolete laptops very cheap. Many are too big and bulky by todays standards, but will fill in nicely for a desktop system when power comes and goes.
Re:Laptops? (Score:2)
Re:Laptops? (Score:1, Redundant)
Re:Laptops? (Score:1)
Get yourself a good localAC -> DC powersupply and keep a battery array (this sounds like the UPSes the other people are suggesting), and just keep the laptops plugged into there.
Would also solve the main problem with the UPSes in that you already are prepped for running from a DC source. Of course, depending on the laptops you get you now have to offer the several different vo
Re:Laptops? (Score:2)
Re:Laptops? (Score:2)
and changing an external charger, which would be the part thats most vulnurable, is a lot easier than changing the psu and possibly motherboard and a whole lot of other things.
anyways.. the guy is looking for an ups and he even knows it himself.. so why bother asking?
Re:Laptops? (Score:1)
I'm curious... Would it be too difficult to build one of these yourself? A car battery (or several batteries) seems like it would be the main part, so the question is could everything else be made conveniently using discrete components? How does a UPS work?
Why not a UPS? (Score:5, Informative)
Another idea might be to roll your own [dansdata.com]. This would involve buying a large-capacity 12V power supply capable of running from whatever voltage/frequency combination you'll have in Africa and a high-capacity inverter here in the US, shipping them to Africa, and using them to create a UPS together with car batteries purchased locally. If you have some hardware and driver experience, you could probably create an automatic shutdown system without much trouble, and might even be able to create an automated battery-maintenance system which delivers a slightly higher charge every few months to prevent sulfation (discussed in the linked article). This setup has the advantage of being a true UPS: it will provide power filtering and protection up to the point where either the battery goes dead or the battery chargers take one for the team and catch on fire. Also, it's incredibly scalable; with enough batteries, you could run a computer room for weeks without power.
Re:Why not a UPS? Use What's Available! (Score:1)
Layer 1
http://www.zerosurge.com/ [zerosurge.com] for a surge-suppressor that'll protect your UPS, make it one of the wide-spectrum jobbers ( these things don't use MOV's which fade, so you can TRUST 'em, and no I don't work for ZS )
Layer 2
line-conditioner
Layer 3
UPS, with add-on battery capability, and BIG batteries added on, in parallel ( absorbed-glass-mat or starved-electrolyte, same-thing, are the standard for putting in UPSs, but if you're going to be doing this for extended-no-grid-use, then probably going with
As always... (Score:1, Redundant)
Solar panels (Score:4, Interesting)
During the day, the solar cells and power from outside charge the deep cycle batteries. if the power from the grid sags (brownout) the inverter starts adding power from the battery bank, or the solar arrays. (depending on time of day, not much solar power at 3am) Many of these inverters have serial ports, and tell you the status of what is going on (brownouts, battery life left, etc). You can setup a computer to poll this, and if the thresholds get too low, have that one system force the others to shut down.
This is probably the most reliable way to setup a power system to have clean power, in the US, or in africa. Depending on how far you are from your trip, you could start hitting BP solar (or someone else, like GE, or phillips) for donations. They might jump at the chance to send you a couple of PV arrays.
Re:Solar panels (Score:2)
Re:Solar panels (Score:2)
On? (Score:2)
Re:On? (Score:2)
In this scenario you use Solar when it is available, but when it isn't you use grid power, and if it isn't available you use batteries.
If you have grid, but no sun, you can charge your batteries from the grid.
The SunnyBoy that he referred to is typically configured as a "grid-tie" inverter.
Re:Solar panels (Score:3, Informative)
like sunny boy inverters, google for them
The sunny boy inverters would actually be a very poor choice, because they shut down when the grid power goes. They are designed only to add your solar input to an existing AC system.
I would, instead, suggest getting an inverter from Xantrex/Trace [xantrex.com] or from Outback Power Systems [outbackpower.com]. These are also grid-tie inverters, but can support being attached to a battery system.
A different, and perhaps better (and definitely much cheaper) solution, would be to purchase 12V
Bike and a dynamo (Score:2, Funny)
Re:Bike and a dynamo (Score:2)
You're in a hellofalot better shape than me. The best I can do is 75 watts for 45 minutes.
Re:Bike and a dynamo (Score:2)
Get a pedal cycle and a dynamo.
This is a really cool idea. It is also extremely unsustainable. Consider the base diet here in the industrial world to be about 2000-2400 Calories per day. Keep in mind that these are dietary calories, which are actually kilocalories. This translates to 8.368 to 10.042 MJ per day. Divide that by 86,400 seconds per day, and you get 96.85 to 116.22 watts average output, before you have adjusted for any inefficiencies. You can peak (as in your 400W example), but you ca
File server and semi-thin clients (Score:5, Insightful)
Put the client PCs behind a surge protector (but not on an UPS). Make them boot from the file server drives.
That way the storage/filesystem is reasonably protected and is not smashed everytime there is a brownout. And you don't have to spend the money for a large UPS for the client PCs.
ghetto UPS (Score:4, Interesting)
(2) Buy 2-3 APC UPSes, each 700VA or so.
(3) Take the batteries out of the UPSes and sell them or discard them.
(4) Go to Africa.
(5) Get 2-3 car batteries.
(6) Drill some vent holes in a large metal box. Put the car batteries inside. Wire one car battery to each UPS. Put the whole shebang in an area with good ventilation.
(7) Plug the surge suppressors into your AC supply. Plug the UPSes into the surge suppressors. Plug the computers into the UPSes.
Re:ghetto UPS (Score:2)
I think this is asking for a fried UPS. Most UPS's of that size are designed for batteries of a specific capacity - their chargers and inverters are only designed to run for certain lengths of time.
To be safe, get a UPS designed to accept additional external battery packs, and don't attach (much) more capacity to it than the manufacturer allowed for.
And PLEASE don't use car batteries! You'd kill them dead in just a few full cycl
Re:ghetto UPS (Score:3, Informative)
I lived in a third world country for some years with nothing more than a bank of old car batteries and a 12v generator. We abused the crap out of them and yes, they would die after a few years, but no sooner than would be expected. Normal lead-acid batteries are actually surprisingly resilient...
Re:ghetto UPS (Score:2)
Car batteries aren't normal lead-acid batteries. They are designed to deliver and accept incredible amounts of current for short periods of time. The lead plates in each cell are much thinner, made of sponge lead, and have a lot more total surface area than plates in normal lead-acid batteries. A car battery can put out hundreds of amps, but because of these thin plates, you risk reversing a cell any time you discharge below 80%. Reverse a c
Re:ghetto UPS (Score:5, Informative)
Car batteries actually are "normal" lead acid batteries. So are deep-cycle batteries. The only differences that are ever present in any type of lead acid battery is 1 - the physical structure of the plates (grid vs foil), 2 - the venting system (sealed or not) and 3 - the acid (water vs gel).
There are other minor variations. E.g. car batteries have extra ribs of plastic which help to support the plates so that they don't crack loose when you hit a pot-hole. So-called deep-cycle batteries have extra heavy-duty bus bars between the plates to handle the power and help act as a heat-sink.
you risk reversing a cell any time you discharge below 80%
Cells don't risk reversal until they *completely* discharge. Even a damaged cell that discharges earlier than the others will retain its polarity as long as the other cells have any energy left in them. There's no way a lead acid cell will reverse if it still has at least 20% charge (maybe you meant to say that above?) Even then it is highly unlikely to reverse until well below that.
Not to mention that unless the cell is physically damaged so badly that it can't be charged at all, the reversal will be undone as soon as it is charged with the correct polarity.
To get to your point about reduction in voltage, if a cell were truly reversed and somehow stayed that way even through a charge cycle (not sure that's even possible unless you purposely disconnected it and charged it separately with a reverse bias) you would actually see a 4v reduction as it would not only be failing to contribute it's own 2v but that reversed 2v would effectively cancel out 2v worth provided by one of the other cells.
In the case you're describing I would assume that the battery was charged (or discharged) at a higher rate than it was designed for and the plates warped from the heat causing the cell(s) to short out.
I'd bet that the reduced capacity of your batteries just became easily noticable after a few years.
This is actually due to sulfation. Even a sealed battery will have impurities present in both the lead and the acid compound. An unsealed battery is especially vulnerable. Sulfation occurs when the sulfuric acid reacts with the impurities and leaves deposits on the plates. Eventually enough of the surface area is covered that the cell ceases to be functional. This is also why a car battery (or any battery designed for a physically abusive environment) will have a fairly large gap between the bottom of the plates and the bottom of the reservoir. The sulfation in a car battery tends to get knocked loose and settle to the bottom where it shorts the plates out when it accumulates to a sufficient depth.
Anything else I can help clear up about lead acid batteries?
Re:ghetto UPS (Score:2)
I'm left to assume you've never actually experienced this for yourself
Re:ghetto UPS (Score:4, Interesting)
Then it's not a reversed cell.
Next time you think that's what has happened, isolate the cell and test it. You'll find that the polarity is still correct, it just isn't holding much of a charge any more.
If you're really curious you can take it apart and find out why. Having done that myself more than a time or two I can tell you that you'll find either broken/shorted plates, sulfation (see my notes above about accumulation at the bottom of the cell; this causes fairly rapid loss of functionality along the lines of what you're describing) or, last but not least, the pH is wrong in which case it is either a sealed battery whose seal has breached or it is an unsealed battery which has not been maintained.
Trust me, I've dealt with these fuckers for years - I have first-hand experience with every possible mode of failure up to and including exploding.
Re:ghetto UPS (Score:2)
The thing is, I can't trust you regarding your apparent conclusion that it's OK to use car batteries for UPS applications, because not only do your experiences differ from mine, but they also contradict just about everything I've read.
Re:ghetto UPS (Score:3, Informative)
I never said it was OK to do that.
My original post was refuting the statement that they would get killed in just a few cycles.
It's actually very difficult to use anything but the OEM battery packs on an off-the-shelf UPS because the UPS manufacturers try to cut costs wherever they can.
A good general purpose charger will have an op-amp circuit that is set up to reduce power as the bat
Use an isolation transformer. (Score:2, Informative)
Spend about $75, get an AC isolation transformer -- 450 VA or 450 W minimum -- from eBay. Don't try to get one of this capacity new, you'll spend way too much. Then get an inexpensive UPS new. You'll either have to get both these items compatible with the wall-voltage of your destination (not much more difficult) or run an adaptor that can handle 500W. Once you have it all there, plug the isolation transformer into the wall, plug the UPS into the transformer, and plug the PC into the UPS. The transfor
Laptops with good power supplies (Score:1)
Really though the safest bet would probably be your own generator since from what I understand the power goes off in Africa in places for hours at a time. I doubt you'll find a UPS or many laptops that'll make it. Used generaters can be had for a couple hundred from a pawn shop, and will be worth something when you ge
UPS != clean power (Score:1, Offtopic)
AVR is really useless, because APC UPS can switch to battery on stricter basis than that.
On the other hand, a UPS to filter big disturbances and a very high quality PSU to filter smaller stuff is not a bad combination.
Don't buy JUST a UPS (Score:3, Interesting)
An AVR helps, but is usually only good in the +/-15% range. A laptop is the ideal solution, with an input range of 240-100V, but that will go in time as well with enough surges. An old battery will usually still give you a couple minutes of run-time, which will at least get you through the sags.
If you have to work with a desktop, the only solution I found that actually kept the surges away was to make a small M-G set-- couple a two motors on a common shaft with a flywheel, and connect a UPS to the output of that. All the little hits will be taken by the flywheel (as will the overvoltages), and the UPS will deal with actual outages. If you want to increase the life of the UPS batteries, put an Automatic Voltage Regulator in front of the UPS.
As for UPS systems, an off-line UPS won't do you much good. You will need a good double-conversion system to condition incoming power.
I don't think APC makes one of their "Delta Conversion" systems in that small of a size, but that could give you the best of both worlds; very good voltage regulation with buck/boost capability, and the best efficiency.
Good luck... it's an uphill battle.
Great suggestion from my scripting instructor... (Score:1, Redundant)
Save now and save often.
Bzzzzrt!
A good PSU (Score:1)
remember, good powersupplies can survive little brownouts and surges, but i recommend a surge protector just in case.
Re:A good PSU (Score:2)
Re:A good PSU (Score:2)
Actually, that's 230V.
How about a Zaurus? (Score:1)
Some ideas (Score:2)
2. Laptops. Someone
Best power supply you can afford + UPS (Score:2)
The power requirement would be low enough that looking at absorbing the one time shipping cost of a solar panel might not be out of the question.
Next you need to take care of large spikes and vo
Knoppix (Score:1)
Divide and Conquer (Score:2)
Then I plug my relatively ordinary UPS into the surge protector.
Inverters and Chargers. (Score:3, Informative)
Here's a thought. For each computer (or, possibly, group of two or three computers), run 120/240V power into an RV or Marine battery charger (something like http://cgi.ebay.com/ebaymotors/ws/eBayISAPI.dll?V
This gives you an inexpensive, reasonably isolated, double-conversion system. It might even work!
Fix the root of the problem (Score:2)
Telco equipment (Score:4, Informative)
http://www.angstrom.com/products/viper.htm [angstrom.com]
http://www-1.ibm.com/servers/eserver/pseries/hard
Or just a -48V power supply.
http://www.zantech.com.au/zantech/power-supply-at
Alternatively, you could look at products geared for automotive use. Look at what people are using for in car computers running directly off of a 12V supply. They should also be pretty robust, although I think the Telco standards are probably more demanding (though buying NEBS3 certified equipment will really cost you.)
By running off a DC battery directly you provide a buffer against the flaky AC power distribution while saving the complexity of a UPS doing AC-DC-AC.