This article takes me back to year1992. I converted LEO hand pulled toy train engine compartments into electric train by fixing them with casette player motors,capstan shafts and pulleys.The metal wheels were from steei made in a lathe. The tracks were made from aluminium U channels(inverted) with wooden repers. Connect them with a battery adopter it use to run nice for some time and stops later due to the carbon deposited on the tracks and wheels. I got the idea of applying switch cleaning oil on the tracks and tested and found that it runs continiously for hours together.all the children around played the train and it was amusing!
Aluminum develops a non-conductive surface oxide which will insulate current flow to the wheels. Model rail tracks today are almost always made of nickel silver (actually copper nickel zinc alloy) whose oxide is electrically conductive. Your switch cleaning oil probably retarded the buildup of oxide.
It sounds like you had a lot of fun with the conversions. Nice when folks can use their engineering skills for "play". Not many careers provide that option.
I remember from many years ago, a quick Google search shows December 1965, a Popular Electronics article on a pulse power supply for model trains.
I believe it used a constant pulse (width and amplitude) plus a variable DC to allow smooth control at slower speeds. Even larger gauge trains run poorly at the slowest speeds, but
the article claimed that pulse power allowed slow operation.
Yes, pulse width modulation in various forms is almost universal today thanks to the transistor. It makes a small motor develop a higher low speed torque than pure DC, very useful when performing operations such as realistic yard shunting or spotting freight cars on a siding. It can also overheat a motor if the voltage is too high with the duty cycle low (I^2R with very little back EMF), so the pulse peak must be kept within the limit of the motor full speed DC voltage rating. Many a Z scale motor has smoked at low speed when used with a PWM power pack intended for HO scale.
In the article pulse width modulation was used but did not help the main problem which was the opening of the current flow to the motor. This was simply dirt and poor design.
One of the fun things about model rail is combining the hobby with some of the cool things that can be done with electronics and mechanics. Sometimes after a hard day's debugging it is relaxing to come home, pick up a soldering iron, and build a gadget that flashes LEDs at a grade crossing. For examples see
Model Railroad & Misc. Electronics
nobody seems to be talking about limiting the current to the motor. thats what burns out the motors. the article mentions that his first attempt caused his first "simple" wires to burn out. he was using a power supply which supplied too much current. Check the motor specs to determine the max current for the motor and then limit the power supply to about 15% below that. PWM can also be used but again with a current limit. Voltage does not burn out the motor. it is I^2R that does it.
Jack, this is another reason why home-brew electronics can beat off-the-shelf commercial offerings. Had a similar problem with another brand of N scale steam locomotive where the thin wires between tender pickups and loco motor would melt the plastic drawbar under similar conditions. The PTC current limiter device in the commercial power supply took too long to heat up, too much thermal mass. By the time the PTC shut the current off the damage had been done. Yet the supply must also be capable of sufficient current to drive multiple locomotives in parallel for long periods of time.
To get around this problem I later built my own PWM power supplies with per-cycle electronic overcurrent shutdown and hiccup mode recovery. At the beginning of each pulse a current above a preset detection threshold killed the pulse in a few microseconds and waited to repeat the cycle on the next pulse. No more locomotive damage. A sidenote was that I could include realistic momentum simulation with a long time constant and the same rise/fall ramp rates, unlike the commercial RC (resistor capacitor) exponential offerings.
Other means of current limit are automotive light bulbs used as PTC to each block of track. If a short occurs the bulbs light up, the increased resistance limits the current.
Modern DCC decoders drive the motor with a pulse frequency about 15KHz. Motor inductance limits the current in this case even if the voltage is higher than the motor spec.
Way to go, Glen! That's the spirit that makes American ingenuity world famous. As a lifetime follower of model railroading I contend that my study of Dad's cabinets full of Model Railroader magazines is one of the primary reasons I'm really good with complex embedded computer systems today...
I was disappointed how unsophisticated the electronics was in model rail, but like so many real-world situations there is so much legacy kit investment out there you can't innnovate overnight. Every newcomer confidently attempting to sweep away the troubles of past systems completely underestimates the challenges of power distribution, control technique and packaging of the circuits. Model rail as a whole is its own universe, with only passing similarities to other fields.
So at the same time I have to be impressed with how much modernisation is getting done, much by hobbyists with no engineering background.
Nice work Glen. Lets hope you're on your way to becoming a wheelwiper tycoon... Have you patented it?
I had a 000 gauge train set (slightly bigger than your Z gauge I think, made by a British company Lone Star, and now defunct) when I was a kid, and remember similar problems. I had quite a lot of stuff but heaven knows what happened to it. It's a nice hobby in that it's wide open to engineering applications. And if you can make it pay a bit on the side, good on ya!
Thanks David. The patent application was eventually approved but would have cost a small fortune if continued to completion.
Have to wonder how many of today's engineers got started from having a model train as a kid? Or coming from related scientific hobbies such as ham radio or astronomy?
@DWilde1 and Sharps_eng - there are control systems available that interface with personal computers for manual or programmed operation of multiple trains. One system uses the traditional block method, another more sophisticated is standardized Digital Command Control (DCC) in which every locomotive is fitted with a programmable miniature digital decoder for motor and lighting and onboard sound control. Track power is bipolar encoded data which addresses and commands locomotives individually. Speed lookup tables can be programmed to compensate for mechanical variations between multiple locomotives coupled together so that acceleration and deceleration effects are matched. Motor back EMF is measured as feedback for a constant speed control loop. Other equipment such as signaling and turnouts (track switches) are also addressable from the same power/data bus. Many manufacturers provide inter-operable off-the-shelf equipment, the decoders are usually surface mount and can be made small enough to fit into a Z scale locomotive.
Much of the home-brew electronics is unsophisticated, that is the ideal way for an electronics beginner to get started by learning how to build something on perf board and from that how transistors etc function. It was the other way around for me, I needed something for my Heathkit H8 to do and that led to learning model railroading and assembly language. It was fun programming the driver wheels to spin a few half revolutions on startup just as the big steamers used to do, then gradually incrementing the pulse-width register to simulate acceleration.
That's the whole point - combine your mechanical, civil, electronic, photographic, and artistic skills and use them for fun.
I totally agree, Glen. I do On30 because it's big enough and because I can fit in more bits without the price tag of #1 or G. I have some sophisticated control circuits that hang a DCC command driver off my ethernet port and so far it works... my Linux PC can drive the DCC-equipped loco back and forth. I also am extremely excited about the latest DCC development, controllable knuckle couplers. I haven't got any of those yet,,. but soon... since my layout is only two slightly expanded Timesaver switching layouts, a decoder plus couplers for 10 - 20 cars won't break me all the way into the poorhouse. My next step, however, is a real leap. I want the computer to do vision analysis and run one half of the switching layout for me. Talk about a Turing test! ;-)
I think this all speaks to the point we both have been making... computers and model railroading together can really stretch your brain... and a lot of why it works is the awesome can-do attitude that's embedded in every article in the magazines. It doesn't matter whether it's perspective for backdrop painting, or realistic weathering, or brass construction methods... you CAN learn to do it.
I am one engineer that started with crystal radios, went to Heathkits, and then model railroads (HO scale). I got sidetracked for a number of years (High School) and never got back to modeling (sigh). Currently, my play time involves openCV and Kinect hacks! Not as much fun as driving a locomotive (engineering - train!) but quite satisfying. Nice article on fixing what the manufacturer said couldn't be helped!! I wonder how many other opportunities are out there just waiting for the right engineer/hobbyist to fix?
@Robotics, I have the pleasure of working with some of Intel's engineers who created OpenCV (I'm a contractor that works on s/w for the CE41xx which is the heart of GoogleTV and some other even more amazing toys coming. Some might say (see another thread) that OpenCV was another Intel wasted effort, but, oh, man, look out! Wheeee!
Years ago I got interested in permissive block signals and did some model-RR research. One of the problems involved detecting cars on a track. Has anyone solved this? In real RRs, the signals use the path from rail to rail to complete a circuit through the wheel sets. --Jon
For detecting RR cars in blocks, two methods are most often used, each has pros and cons: using a small bleeder resistor across the normally electrically isolated wheelset of each car--then detecting the current flow in that block of track using an external circuit; or an optical detector buried between the ties, which looks for presence/absence of overhead light (some modelers use trackside emitter and LED on opposite sides of a block of track). The digital command control (DCC) of most newer layouts does not have isolated blocks (it is not needed), howebver, so this makes the first method less practical. Also I read that some modelers are trying to use strain sensors under a block of track to sense the car weight--but there ar emany installation and consistent performance issues with this approach.
Z scale is the smallest scale (1/220:1) that gets power from the track, I have seen smaller railroads that float around a physical track with angled holes through both a laminar flow and the motive power sort of like air hockey, but directional. Model Rail Road "clubs" aren't the only entry into larger knowledge of the hobby, there are a lot of train shows around the country these days, feeding the "I can make money collecting old stuff" mentality, and they do have a lot of Lionel toy trais, but with usually at least a few privately owned higher-quality layouts setting up to show off, don't miss going to see one!
One other comment on the poor power wiping contact issue, the DCC that DWilde1 talks about runs at a Fixed AC (18 VAC I think) on the tracks, with control signals delivered on the same circuit. Modules in each using device rectify then modulate the power, so are very tolerant of poor/varying contact resistance, so low voltage problems vs contact wiping etc are less of an issue.
Very good article, many thanks. Allow me to point out that too many model RR's (all scales) are run at too-high scale speeds - most unrealistic. Thus, good "low speed", i.e. correct speed, operation is vital. Happy New Year to all!
Right you are. To really appreciate the visual impact of a tiny train slowly winding it's way through mountain passes, valleys, prairies, cities, bridges etc the speed should be no more than 1 boxcar per second, and in many other cases even slower. (Unless one is modeling the TGV or similar).
Thanks to all who commented, your insights are appreciated. There are so many talented individuals in the engineering community who enjoy a hobby as an extension of their engineering careers. I do not believe there is any other career that is as conducive to play-at-home activity, we are lucky to be who we are.
Glen, this story made my day, especially the bit about having to remove outside biological influences from the long term test setup! :-)
It's a dangerous train of thought (sorry about that) however; now the wife's worried that I'm going to add model railroading back to my stable of hobbies that take too much time and money!
Hint: Start small and encourage your wife to get interested in creating the artistic scenic details. Many of the creative feminine gender who began with building dollhouses have added model rail to their hobby repertoire.
My own DW learned the artistic part while I did the trackwork. Like Jack Spratt we managed. She created some very beautiful 3D landscapes out of plaster, styrofoam, and other raw materials.
Model rail is a combination of both art and science. And is fun too.
@bhmcintosh Glen, this story made my day, especially the bit about having to remove outside biological influences from the long term test setup!
Following up, that cat has passed on, and her replacement was also fascinated with the slowly moving locomotives in for repair. I had to watch her closely, scold her when she jumped up on the workbench and got too close to the test tracks, and not test-run the locomotives when away from the bench. She liked to sit on the back of my chair and supervise my repair work.
One day she watched me take apart a locomotive, and this time I let her sniff over all the little gears, shafts, bushings etc. From this inspection she made some sort of connection in her pussycat mind and realized this was NOT a mouse, but some sort of silly human contrivance. Therefore it was far beneath a cat's dignity. She never bothered my trains again.
Blog That A-Ha Moment Larry Desjardin 12 comments Have you ever had an a-ha moment? Sure, you have. The Merriam-Webster dictionary defines it as "a moment of sudden realization, inspiration, insight, recognition, or ...