Trains.com

Subscriber & Member Login

Login, or register today to interact in our online community, comment on articles, receive our newsletter, manage your account online and more!

Running a shed layout off of DC Solar power without AC and a power inverter?

4709 views
33 replies
1 rating 2 rating 3 rating 4 rating 5 rating
  • Member since
    October 2018
  • 172 posts
Running a shed layout off of DC Solar power without AC and a power inverter?
Posted by CTConrail on Saturday, October 13, 2018 2:41 PM

Ok so I am in the planning phase of my shed layout and I will be powering everything off of solar and a battery bank. My question is is there a way to eliminate the need for an AC power inverter and convert or modify my transformers somehow be them dc or dcc so they don't need to be hooked up to AC power? It seems like a waste and extra cost to go from dc to ac back to dc. Plus inverters will put a lot more drain on the batteries than if the transformers could run directly off of a dc battery bank. Anyone done this? Thanks guys.

  • Member since
    November 2013
  • 2,775 posts
Posted by snjroy on Tuesday, October 16, 2018 5:39 PM

Cool project. I would hate to see this post dissapear without a response... DC should work with a rheostat hooked on a 12v battery ( or two). An RV battery is probably what you want because they are designed for continuous operation. DCC is AC 18V, so an inverter is a must...Maybe someone with more advanced knowledge will reply...

Simon

  • Member since
    January 2009
  • From: Bakersfield, CA 93308
  • 6,526 posts
Posted by RR_Mel on Tuesday, October 16, 2018 7:03 PM

How about a little more info about the solar panels.  Will they be a commercial installation?  What voltage and current will they be?  What type of control panel will it have?  What type of batteries?  The cells will have a higher voltage than the batteries so there will be some type of regulator for charging the batteries.
 
 
Mel
 
 
My Model Railroad   
 
Bakersfield, California
 
I'm beginning to realize that aging is not for wimps.
 
  • Member since
    July 2009
  • From: lavale, md
  • 4,678 posts
Posted by gregc on Tuesday, October 16, 2018 7:21 PM

CTConrail
Ok so I am in the planning phase of my shed layout and I will be powering everything off of solar and a battery bank.

am I correct that the solar panels simply recharges the (car) batteries and the batteries supply a constant voltage for your layout, 12V

you should be able to use buck-booster converters to efficiently generate a variety of voltages (5V, -12V 14V) from the batteries.

i think the toughest will be to convert the battery voltage to 14V for DCC at relatively high current (5A)

greg - Philadelphia & Reading / Reading

  • Member since
    February 2002
  • From: Reading, PA
  • 30,002 posts
Posted by rrinker on Tuesday, October 16, 2018 7:30 PM

 If you don't mind the trains running a little slow, the nominal 13.8 volts from a lead acid battery bank will provide enough voltage to run a DCC system. Just be sure tyo FUSE EVERYTHING. A battery bank like that can source enough current to literally weld things which would quickly destroy any railroad electronics. If the command station draws 5 amps - no more than a 6 amp fuse on the line feeding it. Otherwise a fault on the unit could destory it, or, putting the kind of current the battery can produce through something like #12 wire, you could burn your whole shed down as the #12 wire glows, the insulation melts of fit, and any flammable material in contact with it catches fire before the wire melts through and breaks the circuit.

 Scary - but completely safe if you use proper fuses on the circuits - right off the battery set you should have a fuse block protecting the various circuits. 

 Julien Ilet, a YouTube producer who does mostly electronics videos, powers his workshop via a bank of batteries and a solar panel. Everything he does ends up running through boost/buck converters, or he charges power banks and runs his experiments off them instead of live connected to the shed's power system.

                              --Randy


Modeling the Reading Railroad in the 1950's

 

Visit my web site at www.readingeastpenn.com for construction updates, DCC Info, and more.

  • Member since
    October 2018
  • 172 posts
Posted by CTConrail on Tuesday, October 16, 2018 8:27 PM

I am not quite sure yet on what my solar setup will be however it will probably just end up being 12 volt panels At least 200 watts each hooked to a charge controller and a series of deep cycle batteries. All the panels do is keep the battery bank charged. Everything will be fused as rrinker suggested. I have built a solar powered generator before that has the option to be run and charged off of a wind turbine as well so I am not new to solar or working with DC. It has an inverter though so in addition to USB and cigarette lighter ports it has AC plugs as well for household items.  I know it would be easy to just run DC however I am leaning toward DCC to have better control of multiple trains at once. I know little to nothing about DCC as I have just started getting back into the hobby and DCC was very new and expensive when I stopped model railroading. I know how DCC works as far as how it sends signal to the decoders but I don't know much about the Controllers thenselves. Don't know if it could be converted to run off of DC power or not. I know it will be easier to just get a nice inverter and run my setup off AC power like the controller is designed to and if there is no feasible alternative solution thats what I will end up doing. I just figured why buy an inverter and switch to AC power if I am already making and storing DC power at the battery bank.

  • Member since
    March 2018
  • 688 posts
Posted by BNSF UP and others modeler on Tuesday, October 16, 2018 8:36 PM

Finally, someone else with this idea. I always wondered what it would be like to run trains off of solar. Keep us updated!

I'm beginning to realize that Windows 10 and sound decoders have a lot in common. There are so many things you have to change in order to get them to work the way you want.

  • Member since
    January 2009
  • From: Bakersfield, CA 93308
  • 6,526 posts
Posted by RR_Mel on Tuesday, October 16, 2018 8:40 PM

The DC to DC Buck Convertors that I use ($5 off eBay) will provide 8 Amps from .8 volts to 28 volts with an 8 volt to 32 volt input source with ambient cooling.  With a small fan they can handle 12 Amps.  I have run the input voltage from 10 volts to 24 volts with out any problems, they hold their voltage regulation extremely good regardless of the input voltage.
 
eBay link:
 
I have used them to power my DCC controller as a test and they work very good, they also have great voltage and current regulation.  You can even adjust the output current from almost 0 to max current for extra protection.  I have used several for over two years without a failure.
 
 
 
Commercial solar installs are normally much higher voltage and come with batteries, a battery charger/controller and a inverter.
 
 
Mel
 
 
My Model Railroad   
 
Bakersfield, California
 
I'm beginning to realize that aging is not for wimps.
 
  • Member since
    October 2018
  • 172 posts
Posted by CTConrail on Tuesday, October 16, 2018 9:21 PM

This won't be a commercial install I will be doing it myself and buying the panels batteries etc separately. How exactly does that buck converter work? As far as when you tested it with your DCC? You didn't need to have anything at all hooked into a wall outlet?

  • Member since
    January 2009
  • From: Bakersfield, CA 93308
  • 6,526 posts
Posted by RR_Mel on Tuesday, October 16, 2018 11:01 PM

The DC to DC Buck Converters work with two wires from the source in your case the 12 volt battery positive and negative that is charged by your solar cells.  There are two wires to your model railroad equipment.  A total of four wires.  There are two 25 turn pots on the converter that adjust the voltage and current out.  Unless you draw more than 8 amps from the output of the converter it doesn’t need fan cooling.
 
I have 5 of the convertors operating from a 12 volt 30 amp switching power supply, they will work on any DC voltage between 8 volts and 28 volts.  The output of the converter can be adjusted to as low as 1 volt and as high as 30 volts at up to 12 amps.
 
I also use them on my workbench for testing and construction projects.
 
I have a MRC Prodigy DCC system and dinked around using a converter to power it.  I adjusted the converter to 15.5 volts because that is the Prodigy power input.  It worked very good with no problems what so ever.
 
I have them in service operating at 1.38 volts to power my 1.5 volt vehicle lighting, 5 volts for my Arduinos and Miller signs, 8.5 volts for hundreds of 12 volt Grain of Wheat bulbs on my layout.  I operate all of my incandescent lights at 70% of the rated voltage for realism and longer life.
 
I also us the converters to charge 3.7 volt Lithium batteries, I can adjust the voltage and current separately to the battery manufacturers specs.  As the discharged batteries voltage increases the current backs off, simple and accurate charging.
 
I bought my first of 8 DC to DC converters about four years ago and I haven’t had a single problem with any of them, best $4 investment I’ve made in a long time.
 
 
Mel
 
 
My Model Railroad   
 
Bakersfield, California
 
I'm beginning to realize that aging is not for wimps.
 
  • Member since
    July 2009
  • From: lavale, md
  • 4,678 posts
Posted by gregc on Wednesday, October 17, 2018 4:06 AM

CTConrail
I know it would be easy to just run DC however I am leaning toward DCC to have better control of multiple trains at once.

How something like DCC works is unimportant.

i believe almost any model railroad electronic device can use DC power through a wall supply.   You just need something to convert your battery voltage to what that device requires. 

 

 

buck-booster converters as Mel described efficiently convert voltage from some source to either a higher or lower voltage.   I believe some of the converters Mel uses have variable outputs.

Common regulators drop voltage, wasting power (heat) in the regulator.   But buck-boost converters switch currents on/off quickly to avoid wasting power when dropping voltage or using the disruption of a current path thru an inductor to actually increase voltage.

 

others can check me on this, but it looks like these 2A step up power booster modules from ebay could be used for things that need more than battery voltage which Randy said is actually 13.8V.  Here's a 6A converter

these 3A step-down converters could be used for voltages less than battery voltage (5V, 9V, 12V)

greg - Philadelphia & Reading / Reading

Moderator
  • Member since
    June 2003
  • From: Northeast OH
  • 17,249 posts
Posted by tstage on Wednesday, October 17, 2018 6:32 AM

Solar panels and converters aside: What kind of temperature swings is this shed going to experience over a 12-month period?  Trains won't be much fun to operate if your layout track is buckling because of a lot of expansion/contraction.  Moisture and dust is another matter to consider.

So, will your solar panels be used to operate overhead lighting, air-conditioning, and/or dehumidifiers?

Tom

https://tstage9.wixsite.com/nyc-modeling

Time...It marches on...without ever turning around to see if anyone is even keeping in step.

  • Member since
    February 2002
  • From: Reading, PA
  • 30,002 posts
Posted by rrinker on Wednesday, October 17, 2018 6:59 AM

 Most DCC systems can use AC or DC input - previously, they all used basic AC power supplies, so the first thing inside the case after the power input terminals was a bridge rectifier - so they can work on DC input as well. Typically the DC input voltage needs to be a couple of volts higher than the AC, to get equivalent voltage to the rails, but slightly low isn't going to hurt anything, the trains just won't run as fast at full throttle. Most newer DCC systems come with or use what is basically a laptop computer power supply, DC output. Those newer ones often can NOT work with an AC input, they expect DC only.

 DC is pretty easy, just about any DC throttle circuit takes a DC input and generates a varying output, plus has a direction switch to reverse polarity. Back in the day, this is how many layouts operated - car batteries and rheostats. That's also why in many cases, pre-war early HO used 6V motors, because most cars had 6V electrical systems in those days. There's definitely nothing new about running from battery power - the new thing here is charging the batteries with a solar panel instead of a trickle charger.

 You can get nearly anything in "12V" - lamps, certain typesof appliances. Often used on boats. Friend of mine did this years ago, he actually ran 12V outlets in his house and ran it from his solar/battery bank and used 12V lamps and so forth instead of running it through an inverter and stepping it up to 120VAC. There was no connection at all to the electric utility - it gets MUCH more complicated hen you do that because you need tranfer switches and other gear to keep your system from back feeding the AC mains, which can be deadly to line workers who think they have de-energized a section of wire only to have some yahoo with solar or a generator feeding power back in from their home.

                                     --Randy 


Modeling the Reading Railroad in the 1950's

 

Visit my web site at www.readingeastpenn.com for construction updates, DCC Info, and more.

  • Member since
    October 2018
  • 172 posts
Posted by CTConrail on Wednesday, October 17, 2018 9:06 AM

Thanks for the detailed explanation Mel. Big help and it seems like this is the way I will be going. I didn't consider that part fully Tom (temp swings) however If will be insulating and finding some way to heat the shed for winter. We will be moving to South Carolina so thats where it will be. Not quite as bad as where I am now in Connecticut but still gets cold and definitely hot. I will also be insulating the shed and putting up wood paneling over that.

  • Member since
    January 2009
  • From: Bakersfield, CA 93308
  • 6,526 posts
Posted by RR_Mel on Wednesday, October 17, 2018 9:39 AM

I agree with Tom, 12 volt DC power is easy but the environment is not.  Early on when building my current layout I lost ten sections of Atlas HO NS Flextrack to expansion from heat in my non insolated garage.
 
Thanks for adding the high efficiency Greg, I forgot to include the super efficiency of the Switching DC to DC Buck Converters.  Early on I was using regulators for my lower voltages but regulators are very inefficient devices and dissipate heat like crazy (wasted power), normally as much as the load it’s self.  A 5 amp 6 volt regulator = 30 Watts will draw 5 amps from the source i.e. 12 volts at 5 amps = 60 Watts.  The Buck Converters will only draw a fraction more of current than its load (milliamps) or about 32.4 Watts.
 
My 8½ volt DC to DC Converter is running 6.7 amps and is only slightly warm to the touch.  The regulator I replaced dissipated as much heat as a 100 watt bulb.  I have literally hundreds of GOW bulbs on my layout powered by the 8½ volt converter.
 
Whenever possible always use Switching Power Supplies for your low DC voltage power supplies on your layout, they are much more efficient than non switching power supplies.  Less power consumption, less heat with the same load and less $$ to Ready Kilowatt.
 
Mel
 
 
My Model Railroad   
 
Bakersfield, California
 
I'm beginning to realize that aging is not for wimps.
 
  • Member since
    February 2005
  • From: Vancouver Island, BC
  • 23,330 posts
Posted by selector on Wednesday, October 17, 2018 9:53 AM

Whatever the nominal (at-the-time) voltage output is of a battery system, you'll need more than that to charge them...correct?  So, if the battery or bank of them has a nominal capacity upwards of 12-13 volts, you'll have to be able to charge them with even more voltage.  A 12 volt solar panel will be inadequate.  Someone correct me....

  • Member since
    July 2009
  • From: lavale, md
  • 4,678 posts
Posted by gregc on Wednesday, October 17, 2018 1:23 PM

i don't know.   But my assumption is that output voltage of the panel is not likely to the best for charging a battery.   I've read that it varies with sunlight.   

Therefore, I assumed it was the OPs issue to sort out and his question to us was can he drive his model railroad stuff off a car battery.   

I think some have expressed a concern that the battery voltage maybe different when charging and not charging.   Fortunately the buck/boost devices can handle varying input voltages.

It does seems that buck/boost concepts can be used to adjust the solar panel output for charging a battery or some desired operating voltage.   It seems some devices designed for solar energy management may be more intelligent than others to optimize charging current depending on sunlight conditions.   Interesting stuff

greg - Philadelphia & Reading / Reading

  • Member since
    January 2015
  • From: Southern California
  • 1,682 posts
Posted by Lone Wolf and Santa Fe on Wednesday, October 17, 2018 1:28 PM

    I would just use an inverter and build everything with off the shelf components. You are not going to lose much efficiency by using an inverter. Your lighting, heating and cooling are going to use more power than your trains anyway. Unless you are buying RV lights and heating those are going to be AC.
    I have been using solar panels for my RV for several years. I installed the whole system myself. The biggest problem is that deep cycle marine batteries have to be replaced every few years just like a car battery and they can be expensive.

Modeling a fictional version of California set in the 1990s Lone Wolf and Santa Fe Railroad
  • Member since
    January 2015
  • From: Southern California
  • 1,682 posts
Posted by Lone Wolf and Santa Fe on Wednesday, October 17, 2018 1:50 PM

selector

Whatever the nominal (at-the-time) voltage output is of a battery system, you'll need more than that to charge them...correct?  So, if the battery or bank of them has a nominal capacity upwards of 12-13 volts, you'll have to be able to charge them with even more voltage.  A 12 volt solar panel will be inadequate.  Someone correct me....

 

  Voltage is not the issue. It is the standard. Just like all of the electronics in your car are 12 volts DC and the power in your house is 110 volts AC.
  Batteries are rated in Amp Hours, how many amps they can hold. If a battery holds 100 amp hours it can output 100 amps for one hour or if the load is only one amp it will last 100 hours.
  Solar panels are rated by watts. So the charging power is based on the wattage of the panels. If he uses two 200 watt panels he will have 400 watts, but it is still at 12 volts DC. So for the rest of his power needs over 400 watts he will need to tap into the stored power of the batteries.

Modeling a fictional version of California set in the 1990s Lone Wolf and Santa Fe Railroad
  • Member since
    July 2009
  • From: lavale, md
  • 4,678 posts
Posted by gregc on Wednesday, October 17, 2018 2:02 PM

greg - Philadelphia & Reading / Reading

  • Member since
    February 2002
  • From: Reading, PA
  • 30,002 posts
Posted by rrinker on Wednesday, October 17, 2018 3:43 PM

Panel vooltage is fairly constant, the current varies with light intensity.

Yoou don't just hook the panel _ and - to the battery _ and -, there are charge controllers you use in between. Julian Ilet designed his own but it's based off an open source hardware design, plus there are commercial ones. You don;t want to overcharge the batteries, or it will literally cook them, and you don't want battery voltage feeding back into the solar panels. The charge controller takes care of this.

 There are a lot of good YouTube channels that cover this and other topics - done by people who have a clue as to what they are doing. Good places to learn. There are also a whole lot of charlatan types out there who pretend to know, but it's not all that hard to seperate the wheat from the chaff if you watch what each does. The good ones rapdily become obvious. Same goes for pretty much any topic you can think of that's covered on YouTube - I don't just follow electronics, there are some good mechanical type channels to watch as well.

                      --Randy

 

 


Modeling the Reading Railroad in the 1950's

 

Visit my web site at www.readingeastpenn.com for construction updates, DCC Info, and more.

  • Member since
    July 2009
  • From: lavale, md
  • 4,678 posts
Posted by gregc on Wednesday, October 17, 2018 4:29 PM

 

rrinker
Panel vooltage is fairly constant, the current varies with light intensity.

do you mean the solar cell/panel output or the output from any converter circuitry?

greg - Philadelphia & Reading / Reading

  • Member since
    February 2002
  • From: Reading, PA
  • 30,002 posts
Posted by rrinker on Wednesday, October 17, 2018 6:24 PM

 Everything I've found out suggets the voltage remains constant, it's the load you can apply that varies based on the light incident on the panel. Such as

https://forum.allaboutcircuits.com/threads/solar-cells-and-mppt.93863/

If the load remains the same, but the light decreases, the coltage will drop, but that's because yoou are exceeding the maximum supply current.

                                --Randy

 


Modeling the Reading Railroad in the 1950's

 

Visit my web site at www.readingeastpenn.com for construction updates, DCC Info, and more.

  • Member since
    July 2009
  • From: lavale, md
  • 4,678 posts
Posted by gregc on Wednesday, October 17, 2018 7:45 PM

wouldn't that suggest there is no internal resistance that affects output voltage depending on current?

greg - Philadelphia & Reading / Reading

  • Member since
    February 2002
  • From: Reading, PA
  • 30,002 posts
Posted by rrinker on Thursday, October 18, 2018 7:05 AM

 It's not zero (no such thing in the real world as an ideal voltage source), but solar cells, at least the common type used in the kind of panels you'd put on your roof, do have a very low internal impedence. One of the other articles mentioned that open circuit voltage on a typical "12V" panel is more like 18-24V, but as soon as you put a load on they fall into the proper voltage. There are some graphs of that, which show the from some current draw up to the maximum, the voltage is flat, but exceed the maximum current and it falls off sharply. Where that peak lies depends on the panel area and the amount of light incident on it.

 I know those old inexepensive solar cells they used to include in those XXX in one experimenter kits, and which could be bought cheaply even back in the 70's, did not behave the same way as the silicon cells. I remember when Radio Shack first satrted selling the silicon ones, they were insanely expensive for just a very tiny panel - and they were extremely brittle. I forget what the cheap ones were - selenium perhaps - but they did widely vary voltage based on the amount of light, or else they were so low output that even a fairly high impedence meter put enough of a load on them to drag them down. I distnctly remember experimenting with one and could tell when I was positioed over a light source by the voltage swing, in the same fashion as using a CdS LDR and measuring the resistence. That would be about the time I nearly set the family room carpet on fire because I was usine a 120VAC neon lamp as the light source and the wires running to the wall plug touched when I shifted things around. Somewhere in a junk box I might even have that neon lamp, with one of the connecting lugs burned off. Youthful experimenting before I really knew better - I couldn't have been more than 8 or so.

                                         --Randy


Modeling the Reading Railroad in the 1950's

 

Visit my web site at www.readingeastpenn.com for construction updates, DCC Info, and more.

  • Member since
    March 2011
  • 1,950 posts
Posted by NVSRR on Thursday, October 18, 2018 7:14 AM

Dcc requires ac. the ac is the signal carrier over the dc current.   To go dcc requires the coverter.    I have a solar panel set up similar to what you are reffering to for job site work.  I use trickle charge battery maintainer panels through voltage regulators to deep cycle batteries.  The panels just slow charge the batteries. I only use a few amps an hour so it works fine. Like most of us, you would only be using it a few hours a week.  

I would still ise fuses and requlators coming off the batteries as protection from spikes  remember shorts, they will dump full amps from the battery   Makes for the First train in space.  So check you amp useage and fuse accordingly.   Will not hurt the  batteries to be housed outside the shed. 

As for dc power, who remebers the extented handheld throttles MRC made. The power came from the dc connecting on the power pack.  They would be perfect.  And cheap

 

Wolfie

A pessimist sees a dark tunnel

An optimist sees the light at the end of the tunnel

A realist sees a frieght train

An engineer sees three idiots standing on the tracks stairing blankly in space

  • Member since
    July 2009
  • From: lavale, md
  • 4,678 posts
Posted by gregc on Thursday, October 18, 2018 7:36 AM

NVSRR
Dcc requires ac. the ac is the signal carrier over the dc current.   To go dcc requires the coverter.

the AC DCC signal is generated by the command station.   The command station doesn't necessarily require AC power.

greg - Philadelphia & Reading / Reading

  • Member since
    February 2002
  • From: Reading, PA
  • 30,002 posts
Posted by rrinker on Thursday, October 18, 2018 9:50 AM

 In fact the newest DCC systems from Digitrax and the newest boosters from NCE COME with DC power supplies.

 The old ones that used AC power supplies, open the case on any of them - the first component connected to the terminals where you connect the power supply is a bridge rectifier - the thing actually runs on DC anyway!

                                        --Randy

 


Modeling the Reading Railroad in the 1950's

 

Visit my web site at www.readingeastpenn.com for construction updates, DCC Info, and more.

  • Member since
    October 2018
  • 172 posts
Posted by CTConrail on Thursday, October 18, 2018 12:41 PM

They are called 12 volt panels but they are definitely made for charging a 12 volt battery system. Thanks for everyone's input. I haven't even bought my property yet or got the shed however I like to have everything plannnd out so when it comes time I know which way I'm going and what I will need to buy. I may just end up going with an inverter but I don't know yet. I guess it depends on how I will end up heating the shed as well.

  • Member since
    November 2018
  • 29 posts
Posted by Obsessed on Sunday, November 4, 2018 11:19 AM

Perfect timing of this thread for me. I'm just getting back into the hobby and helping in the early phase of a layout at a visitor center and convinced to go DCC, but I live off the grid (micro hydro) for 22 years and now convinced to go DCC at home.  I have 12VDC and post inverter 120 VAC wired throughout my house and cabin. It seems to me that DCC should be able to run off of 12VDC just slower.  Perhaps the DC -DC booster is just the answer. It would save me 22 watts per hour if I could avoid the AC power.  The output of the AC power supplies for NCE is DC voltage, so the AC signals traveling to the track must be generated by the power cab. Is this correct.  I hope it is.  Does anyone know if the power cab needs the full amperage full time?

BTW CTConrail, if I go DCC at home, I'll let you know how it comes out.

Subscriber & Member Login

Login, or register today to interact in our online community, comment on articles, receive our newsletter, manage your account online and more!

Users Online

There are no community member online

Search the Community

ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT
Model Railroader Newsletter See all
Sign up for our FREE e-newsletter and get model railroad news in your inbox!