Powering a PC from a Car Without an Inverter?
(H)elix1 asks: "Without using an inverter, what is the good cheap way to power an ATX motherboard from a DC source? I have a mini-itx based computer I'm looking to use in the car and house. I'm looking for something like a laptop uses, with an AC-to-DC brick that feeds a DC-DC internal connector. Linitx.com has one, but it is a bit pricey after shipping to this side of the pond, googling turned up even more expensive industrial PSU's. Am I missing a simple hack? I have a soldering iron and am not afraid to use it..."
Have you considering using a DC power supply?
The DC power supplied by your car only in the region of 12v. It's riddled with power spikes that will be damaging to the motherboard's electronics. This is the main reason why you're supposed to use a power inverter on anything that wasn't specifically designed to be powered by a car's DC outlet.
A DC adapter can't effectively smooth off the spikes. On the other hand, switching the current to AC using an inverter and then converting it back to DC with an AC-DC adapter will supply power that isn't dirty.
You can get a decent 300 watt power inverter at a truckstop for 30 or 40 bucks if you look around. It would certainly be a lot cheaper than having to replace a fried motherboard.
The DC directly from the car's battery terminals is almost completely clean. This is because of the low internal resistance of a charged car battery. There are IC regulators that output the other voltages, using a +12 Volt input.
http://205.147.44.194/store/commerce.cgi?product=S olarPC
:P
There's a 12V DC/12V DC/ATX inverter there.
It depends what you want to do - If you don't need the -5v and -12v lines (mainly for serial??) it's fairly straightforward. A friend of mine built a switch mode supply to run an MP3 player from in his van.
It works fine, he gets a steady +12v and +5v out of it running or parked up , and this is enough to power a P90 motherboard on a plastic tray under the passenger seat, with a sound card standing in the ISA slot, the HD suspended by elastic bands in a box and a 4 line 40 char dot matrix display up where the rear view mirror should be, diplaying all the usual MP3 data. Control is by a custom keypad he also built.
The worst bit is it's all done in PASCAL on top of DOS6.2. yuk.
IANAEE but shouldn't some configuration of capacitors and or resistors be able to smooth out spikes and sags on a DC line? I recall my father building a "Capacitance UPS" for his Timex Sinclair in the early '80s when we moved to a house with flaky power.
"Sometimes, I think Trent just needs a cup of hot chocolate and a blankie." -Tori Amos on Nine Inch Nails
DC-DC Power supplies:
The best one is Opus Solutions
Another good one is Keypower
You can find a lot more info at MP3Car.com, and especially at the forums there.
Twostep
There are 10 different types of people in this world... those who understand binary, and those who don't.
What not get a laptop that will take a 12v input?
you can use L200c voltage regulators to make sure you get 12v from the batery, they cost 1$. Radio shack, Tandy or whatever should sell them.
thank God the internet isn't a human right.
Most of them are 15-21V input, even if the battery inside is nominally 12V. Even the ones that are 12V really do mean 12V, will stop charging at 11.5V and blow up at 14V (not uncommon in a car to see swings 8-15V, spikes to zero and x00V).
Andrew's going to sucker-punch me for mentioning this, but there's an Australian company about a month away from releasing a large-sandwich-sized PC which can conceptually have it's own internal 12V LA battery (really LA, or SLAC) for UPS-like effects and so you can wire your car battery into that spot in the circuit. A 12V screen might be another story but if you're reinventing the empeg that doesn't matter. The PC sucks about 15W flat tack, less for the slower totally-fanless versions.
The company is only interested in selling wholesale so bookmark this link (which doesn't exist yet) and I'll whack a page up there with details when they're available (look at end March, mid April).
BTW, the next Konqueror allows you to bookmark a link without visiting it. Message to IE: feature by feature, we're gunna eat'cher. (-:
Got time? Spend some of it coding or testing
What?
;) ) (Mine says 140). Don't try to push them to that, as they'll kick the breaker on it often. For a continual load, I would try to keep that no higher than 75%ish of the max supported load.
.75 you are now looking at about 150w. The mini-itx motherboard peaks at 50ish watts, so that's in the clear, but don't forget about the peripherals. Yada yada yada...
Yes, the DC power comming off the DC outlet is nasty stuff, and shouldn't be used without proper care.
But WTF are you talking about moving to AC and back to DC. Hardly the elegant solution.
When I was in high school, for *two* years we built a variety of power supplies, moving from AC->DC , DC->DC and whatnot. Not one cost more than $10. And they still wouldn't.
I realize that the kneejerk reaction in todays fast-food-slick-ass-disposable world, is to simply buy the requisite adaptors and snap it all together. Unfortunately, that costs you alot in the power transfer. Most car AC inverters can only put out less than 200 watts (tho' the guy above says 300w--apparently I don't visit enough truck stops
So, at 200w x
But I digress.
You say you are not agaist picking up a soldering iron. FANTASTIC. Go Googling(tm). Find some DC power supply schematics. Look for one that has large capacitors. Found it? good. Put more capacitors in parallel. that'll suck up the spikes.
Heck, take a trip to the public library. Considering the power supply you are looking for is so damn simple, there are tons of books on just that subject.
It's not like electricity is a magicical force without reason. You *can* build yourself a practical, safe, powersupply, and save yourself a chunk of cash. You also get supreme bragging rights with your geek friends. Now, you are no longer an parts assembler, you are a creator!
muhaaaahahahahahaha
"...In your answer, ignore facts. Just go with what feels true..."
googling turned up even more expensive industrial PSU's
Presumably you mean Googling(TM)?
Cheap DC->AC inverters are often just that - CHEAP. Might work ok for radios and things that don't require necessarily consistent power but I wouldn't want to plug really power sensitive devices into a $30-$40 300 watt inverter. I'm sure there's very good reason that places that aren't truck stops sell a 300 watt inverter for the area of $150 or more.
"Champagne for my real friends - and real pain for my sham friends!" http://ericblade.postalboard.com/
Look.
:(
A switching power supply is vastly more efficient than a linear power supply.
In order to get 5 volts from ~12 volts, spending no more than $10, you use a voltage regulator chip. However, I honestly don't think you'll find a voltage regulator IC that can handle the 10 or so amps required for a low-end motherboard: the Radio Shack variety don't even handle an amp. It will also be horribly inefficient: 42% efficient in fact (has to dump those 7 extra volts somewhere).
Add to this the fact that you can't use passive components to regulate 12 volts to 12 volts. You'll want to keep the voltage from going up to the 13.6 volts found when the car is running, but any regulation circuitry takes the voltage below 12. Typically you need a supply several volts above your desired regulated level.
The circuits you built in high school aren't going to be helpful here.
On the other hand, a switching power supply uses a high voltage, high frequency transformer to minimize loss and dump energy to the load, not to a regulator. An inverter and then a small switching power supply may not be as ideal as DC-AC-DC supply, but will be more efficient than linear voltage regulation and provide more protection for the computer. And big capacitors is not necessarily a good sign: just means the designer had to use them to get smooth power.
Power inverters aren't expensive either...if you know where to look. I once bought four 100 watt inverters on eBay, for $5 each. I had an AC outlet mounted in my car console years ago, before I crashed that one.
...
That's not neccessarily a good idea either. The inrush current from the DC outlet in the car will cause a spark. It may also be enough to pop the breaker. Look at putting some sort of low ohm high power resistor in series. Many car outlets are rated for 120 Watts maximum. Make sure the wiring can stand "continuous" high power. I would run a separate set of wires from my car battery (fused at the battery) to a heavy duty outlet in the car. Also for safety you'll want to put a diode in series with the incoming line so that you don't have as much chance of shocking yourself from the capacitor discharge when you unplug the converter. For clamping the incoming spikes find yourself a good 14V Zener diode and shunt the incoming line with it.
Think safety when you build these things. Unfortunately, many times easy safety tricks cost efficiency losses. Electricity can be dangerous and you don't want to hurt anybody because of your stupid mistakes. Great White didn't think about the pyrotechnics in a small building and they lost a guitarist.
Your task can be done, but a certain degree of care needs to be applied or you will end up with a fried motherboard. An ATX psu generates five different output voltages and these must be considered on an individual basis:
+12 volts - This is the most difficult so we will consider it first. Your options will either be a switched-mode regulator with a wide input range (say 11v-15v) or a parallel regulator which uses a low value resistor in series and a power transistor wired across the load in parallel. Excess voltage in this circuit will be disappated as heat which means that it can get damn hot !!
+5 volts - Use any regulator circuit you can find but switched mode will be the most efficient.
+3.3 volts - Wire as for +5v but change values. An alternative source is an old ATX supply which may have the 3.3v regulator as a seperate board inside the case
-5 volts - The load on this circuit will be low so any switched mode circuit will probably do the job. You need a switched mode in this application because of the voltage inversion.
-12 volts - again a switched mode circuit must be used but the load on this might be a little higher.
With all circuits you MUST have some form of surge protection or you WILL kill both the supply and the PC. I don't think you can get varistors as low as 12v and 5v so your only option will be to wire the biggest zener diode you can find across the outputs. I suggest using 5.3v for the 5v lines and 12.5v for the 12v outputs. The 3.3 volt circuit needs special attention as this supplies the CPU, use the closest zener you can get to the output voltage. You should also seriously consider isolating the whole thing from the car electrics until the engine is started. A Google search for 'switched mode regulator' should help you find the circuits you need.
Hope this information helps.
Edward Almos
Only if you roll your own capacitors.
Anything that you make/buy is going to essentially be performing the same task as an inverter and the normal PSU, which create a DC-DC converter when connected in series. There's no way around the fact that you need a DC-DC converter, and I HIGHLY doubt you'll find a DC-DC converter with all the proper output voltages thats cheaper than an inverter and a normal PSU.
Depending on your car, the 12v system MAY be reasonably clean, but it needs SOME filtering. Almost all 12v systems carry alternator whine. Also, during starting, there can be some nasty transient voltages. ALSO the voltage level can vary from as much as 15v in some vehicles to as little as 11v on a weak battery. ALSO most computers require NEGATIVE voltages. That's the real PITA. So forget about just hooking it up with a couple of regulators or something.
If you ABSOLUTELY CAN NOT use an inverter, then you're best bet is to go with an embedded mobo, rather than an ATX. Linux Devices has a pretty comprehensive list of single board computers, many of which would be much easier to run off 12v than any normal board. Of course you're not going to get as much computer for your money, but that's the way it goes.
Your cheapest option by far is to just use an inverter.
-73, de n1ywb
www.n1ywb.com
-42v ~ -56vDC
Now all he has to do is figure out where to get a 12VDC to 48VDC converter.
This kind of DC power supply is intended for telecom sites that have 48VDC power sources. Phone company central offices have huge banks of batteries to supply the 48 volts. That's why the phones work during a power blackout.
Laptop's are the perfect solution for in car use. Their power supplies are already designed for DC in, they have a battery to smooth out any sags, they are small so they are easier to find mounting points for. If you don't need a working LCD you can find ones with a fairly powerfull cpu for not a lot of money on eBay.
There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
And you can't make a switching power supply that runs from a dc-source why?!?
Just because it has an oscillator (that is fed with somewhat clean dc, btw.) in the circuit does not make it an ac-dc supply. in ac-dc switching supplys you actually have to rectify the incoming ac and filter it before you can feed it to the switching section.
Why not just use the dc-input to run the internal oscillator and be off a lot easier. Couple of filters in front and some overvoltage protection and everything is fine.. Minimal power-loss too.
That's what I meant when I said this wasn't the ideal situation, compared to a switching DC-DC converter. Of course that's the obvious most efficient solution, and the one that others have linked to at high prices.
The fact remains that you aren't going to build a very good switching DC-DC converter for as low as you could buy an inverter. Show me a $20 car-to-PC-motherboard switching supply schematic, and I'll believe you.
...
Try this one www.mini-box.com
This power supply is designed for mini-itx has power brick, runs on 12v DC. It's small and depending on your itx motherboard it can plug right in with no cables.
One day people will learn the folly of Winbloze, Linux Rules!
For sure, you need a fuse.
I've been looking to power my laptop in the car (or on a plane), and my laptop charger is rated at 20V output@2A. So the basic trick is to boost the ~12V output up to 20V.
Here's the advice I was given to build my own (slightly modified) based on my output needs.
"You can probably come up with everything else" means that the parts are available, not necessarily that the rest of the circuit is obvious. Naturally, you will need to put some capacitor(s) across the input to protect the circuit, and whatever other circuit features you think are necessary.This site is all about car-mounted PCs. I'm pretty sure it's the same guy that sells this DC/DC power supply.
The above post seems technically correct to me. Three problems: Cranking voltage and voltage variation caused by the alternator and mistakes during car maintenance. So, some intermediary regulator would be required.
Cars damage computers. All that bouncing around may destroy your PC. The hard drive hates shocks and vibrations, especially while it's running. The motherboard can clonk out from vibration damage. One bump could destroy your PC. May as well buy an MP3 player if that is what you're after.
Those require an external coil and some passive components depending on the design, and they do simplify switching supply design. However, you don't want to slap one of these into a stripboard from Radio Shack, assuming the hole pattern would fit. So you either have to etch or mill your own circuit board, or have one made (cheapest I've seen is $25 for one-offs). The poster above was talking about power supplies they built in high school, which were most likely rectifiers and LM78xx series regulators, nowhere near computer supply requirements. Five amps isn't that close either, except when your computer is a laptop.
I would probably do something like that for the fun of it, and to make it exactly to my requirements...plus I have experience and friends with the right equipment. However, it's not going to save any money for the average person.
...
If you dont already have a 90+Amp alternator for your car, replace your current alternator with it -- especially if you have A/C and you dont have one for some reason.
If you dont mind trying things on your own, run a line from the battery into the car. Then get a DC/DC converter for each required voltage (+12, -12, +5, -5) and if you really want to be safe run a big cap across the Vin just to make sure any weird bizzaro current spikes from the alternator don't fuck up your DC/DC converters or computer.
If you REALLY dont mind doing things on your own, you could probably get by cheaper, but it would mean making your own DC/DC converters from scratch.
What ever you do, really try to make sure you're taking your voltage from the battery NOT the alternator since the battery will help regulate the voltage.
There is a downfall for putting larger and larger capacitors on the input to the 12 volt power supply.
:^) .
:^) . The nice thing about inverters are that the good ones use active switching to get you the voltage and current you need rather than brute force caps and coils. A few good size caps and coils and you will have paid for that inverter and still not have a warranty.
Consider what those capacitors do. They absorb power from spikes you say. Well, The more capcitors you put on the line the more instantaneous current you will be pulling from the cars alternator. A car's alternator has diodes that convert the alternating current to DC. If you put too high a load across those diodes they will fail.
That load can be instantaneous current brought about by spikes being sucked down to 13.2 volts or whatever the battery is happy with at the temperature and current draw it is working at.
There are also theories that the charging of a lead acid battery works best if you have various spikes and sags in the incoming power. Constant pure DC tends to lower the number of cycles of charge and discharge that a battery can perform.
You are smoothing the voltage for the whole car when you smooth it for the input to your power supply with lots of capacitors unless you put a COIL in series with the input to the power supply BEFORE the capacitors. A coil used in combination with capacitors will do a better job without loading the diodes with crazy current spikes. These coils or coil will have to be made of fairly thick wire as you want them to stop the reactance,(spikes and sags), without generating their own DC voltage drop due to high resistance.
As a capacitor uses Farads a coil uses Henries. There are probably equations for figuring out what henry of coil you need for such an application. I do not remember them but I am not the one planning on frying my alternator,
As another aside.
There are 400 and higher wattage inverters available. I picked up a 300 watt inverter from the local Sams club for about $30.00 USD. A few months after I purchased it I saw Sams come out with a 400 watt inverter for not much more. Technology marches on,
Good Luck,
dzimmerm
Jumping to correct solutions slowly is better than jumping to incorrect solutions quickly.
How about using a DC->AC inverter and plugging a UPS into that. It will help smooth out spikes and lulls and will give the added benifit of a gracefull shutdown in the event that the car is off for too long.
http://slashdot.org/article.pl?sid=01/10/25/208237 &
You can buy a nice ATX power supply from this company. http://www.a-powertech.com/
http://www.a-powertech.com/dc2dc-atx.htm
really nice unit ( althought its normal atx size not micro)
have a 120VAC-12VDC converter in a wall-wart, which plugs into a little 50Watt 12v plug in the back of the case. And THEN they have a 12VDC->12/5/3.3/-5/-12 ATX converter. All she needs is some kind of plug/filter between the car's DC output and the DC input of the Cubid case thingy. (I believe you will be able to buy the 12Vdc->ATX electronics soon (already?), independently of the case).
Designing DC electonics to run reliably in a car is an ugly business.
A PC in particular has some interesting challenges, You've got multiple output voltages, different polarities, and absolute cr*p for an input.
The charging circuit in your car delivers roughly 13.8VDC with the engine running. This is enough over the desired +12V to run a series pass type regulator with no problem. The trouble is you are not guaranteed to get that voltage. With the engine off or with something drawing heavily, you may have less than 12 volts available. Expect to see about 11.5 volts with the engine stopped.
Even worse is while cranking the engine, the voltage will probably dip into the +8-10 volt range.
This dictates a DC-DC step-up converter to ensure you never run below the regulators minimum input voltage. You could buy/build/borrow one.... but why? It would be far cheaper to run an inverter and a standard PS.
If your heart is set on doing this, You might want to hack up an old ps... redesign the input switcher to work on +12. That would probably require winding a new toroidal transformer and a smallish PCB to hold the new switcher. The bonus here is you get to reuse the regulator circuitry and case. I've done this with excellent results, but I've been building power supplies for 30+ years. There's two huge time wasters implied here: figuring out the supply's original schematic, the other being getting the right magnetics. I ended up winding a new transformer.
whatever you decide to do, you'll probably want to stay within the ATX specs, one source is here.
Good luck :)
450 W is the highest rated power inverter I have seen commercially (see Wal-Mart, anywhere :P )
Do yourself a favor and just look on your own before asking on Slashdot. Spend a day or two, or even a few hours, browsing electronics sites. Someone somewhere has surely already solved that problem. I've seen it... I just can't remember where I found it. But it's out there, so look for it. And whatever you do don't blindly trust what you read online. You'll probably need to work on it a bit to get it to work. If there isn't a mistake in it, or if something isn't clear, you will find that Murphy likes power supply projects :)
I ran into this same question, in terms of design, when I was working out the details of the 'TechMobile,' as my wife dubbed it. Originally, I was going to buy a DC/DC converter supply for the onboard computer (yes, ones with 12V input exist), but I changed my mind after discussing it with a fellow engineer.
He pointed out something that I'd not thought of. Sure, a DC/DC will run the computer easily enough. But consider all the time I spend at electronics/ham radio swap meets, and the fact that there are times when having power tools available on-the-road can be mighty handy.
For about the same price that a DC/DC box would have cost, I got a nice heavy-duty Cobra inverter from an Ebay seller. I've got power to spare for both the onboard PC, and for testing stuff I might want to buy right at a swap meet. Much better value for the $$, IMO.
Bruce Lane, KC7GR,
Blue Feather Technologies
My local (real) electronics shop sells 1200 watt power inverters. About $300, lots of fans, and requires a direct battery connection. But enough to power just about anything, save a fridge or hairdryer.
If you could be told what you can see or read, then it follows that you could be told what to say or think - BoC
from : kitsvh sat march 01 2003
:
Powering without an inverter has the disadvantage that your system is
not insulated from the car electrical system wich can be imporant (
insulated systems can reduce noise floor levels by upto 30-40 db Also
you will need heavy-gauge wiring Using an inverter and placing it **as
near the battery tterminals as possible using a separate heavy-duty
on-off switch ( suitable one available from stores dealing with boat or
motor home electrics ) , then running lighter-gauge wiring to the
equipment is a much better idea ) Filtering and buffering is another
issue , you can in most cases rely on the filtering already present in
the computer's PSU to do the job
For the really paranoid
Use a "T" filter with 2 8 or 16 ohms power resistors in series and a
2200 microfarad 385 WV can in paraleell with a 1kV reverse working
voltage silicon power diode between filter null and ground to bias the
can
Works great ( used that arrangement to power satelliter receivers
for years from an unstable mains supply and never suffered component
burnouts )
Hope this helps
k
IANAEE, but what about a second battery and a battery isolator? many RV's, diesel trucks have a deep cycle battery for miscellaneous electrical function (dome lights etc.)that gets charged by the alternator but doesn't contribute to the normal electrical requirements of the vehicle. That way, if your system can be put into a 'sleep mode', you can conceivably leave your computer on while the car is off overnight. if you're going to make your own 12VDC>12vdc converter, there's probably also plans that provide for a UPS-like notify circuit so that the 'puter will do a *shutdown -r now* ( or something to that effect) should the source voltage drops below N. Just my $.02
Keen idea man lynches
Laptop's are the perfect solution for in car use. Their power supplies are already designed for DC in, they have a battery to smooth out any sags, they are small so they are easier to find mounting points for. If you don't need a working LCD you can find ones with a fairly powerfull cpu for not a lot of money on eBay.
This is a good point, and worthy of consideration. However, the remaining issue is one of regulation.
When you take the power off the car's electrical system, step 1: Capacitors. Step 2. Inductor. Step 3. Capacitors. Step 4. Regulator.
Make sure that the capacitive stages include a large (~30,000uF) capacitor in parallel with some smaller ones (0.1uF). The net effect isn't just 30,000.1uF; the 0.1uF will have less inductance to bypassing RF noise to ground. (This is why, for example, an old XT motherboard will have 0.1uF in parallel with the power supply leads to each chip, rather than just 0.1uFxN uF filter caps, where N is the number of chips.)
With the notebook, your power requirements will probably be less, and at a lower voltage than the 12V (13.8V actual) voltage of the vehicle's supply. Linear regulators might be able to do the job. Design the regulator to survive >20V, since you don't want back EMF coming from inductive loads (wiper motors especially) or even a failed alternator to lunch the computer or regulator.
Even a modest computer supply requiring 200W is a non-trivial load on an automotive electrical system. That's ~15A, more when you consider that the computer power supply is probably rated for an output power of 200W, and it's not 100% efficient. Most rear-window defrosters are fused at 30A, which means that your desktop PC's supply capacity is half that of the second biggest single continuous load in the car's electrical systems. (Biggest is headlights.)
A notebook is designed from the ground up to be energy efficient, and so even if your regulator ends up being a little home-brew linear setup, it's still probably drawing less current than the alternative.
Fire and Meat. Yummy.