Hello everyone and thanks for any advice.
This is my first post here so, a little background. I did some electronics training in the late seventies on my aerospace engineering apprenticeship but, apart from some vintage Hi-Fi rebuilds and the like, I haven't been particularly active in this field. Things have clearly moved on a lot but, I'm happy at reading specifications so, I can generally follow what's required. Apologies for any misunderstandings though. We moved back to UK a few years ago and I work part-time as a watchmaker now mainly servicing vintage watches. I have some electronic measuring equipment but here mainly, I'm using my Fluke 87V (RMS multimeter) and a cheap Chinese scope.
The project I'm working on is a model train set. I've put this up at head height around the dining room and this gives me some issues with noise that wouldn't usually be critical. I've also, possibly foolishly, decided to use the locos and carriages that my wife's late father bought for her in the early sixties - these were already secondhand so they are from the late fifties. I had the old loco motors rebuilt and rewound as they ran very hot and sparked terrifically. I have gone with a DC system so no digital control to integrate. I had no issues building the points CDU and setting up relays for the points. The system works fine and is two tracks at different levels, with sidings and points to change locos between the two tracks. I turned down the old loco wheels to suit the latest track design and the old locos run fine, as well as the couple of new locos. Everything works absolutely fine and it's a nice thing to have.
Because the track is high up, motor noise is the issue. The new locos run fairly quietly using the PWM controller (Hornby HM2000) but, the old locos are very noisy - not so much with the bodies off but with the plastic body fitted, the sound is not good as the body amplifies the noise. The HM2000 pulses are at 100 Hz and this seems to be making the noise. I tried running the trains using a 12V car battery and the locos are silent so, the issue in my opinion, was the PWM pulses. The PWM advantage is that it is good at overcoming stiction but the downside is that the motors run hotter and, in my situation, the noise is unacceptable. I then thought I would try to build a power controller that would suit for my odd situation but couldn't find any schematic that worked well. I need:
Close to a DC source for minimum noise and cool motors (long run times).
Two controllers as there are two tracks.
Variable output from 0V to 12.5V on each track - reversible as well.
Up to 0.5 amps at 12V per track to run the old locos. The new locos run under 0.2 amps.
The circuit I built is for one track and there will be another.
The HM2000 had an 18VAC output and I started with that and rectified it to 24V DC. In the end, the HM2000 won't be required at all so, I changed to a 24V DC, 18W brick (VET18US240C2-JA) and removed the rectifier diodes from my board. Considering this is a cheap supply, it has a stable output with a ripple of a few mV at about 200Hz. As this frequency is not too high and still in the audible spectrum, I thought I'd aim to get closer to pure DC. The brick will run both tracks.
I read around and it seemed the best way to achieve a close to pure DC source would be to use a step down switching regulator - there may be easier ways... I also realize you can buy a board for under £20 that will have this on there but, I fancied making a board of my own. I am using an LM2575-15 to take the 24V input and output 15V which has no ripple to speak of, about 1mV at 50kHz+. I could have used an adjustable LM2575 but the topology seemed too critical for my knowledge.
The 15V then feeds an adjustable LM317 and the rotary pot (2k) includes a detent which I use to switch the whole circuit off at the 24V input. This gives me 0V to 12.5V at the output and easily supplies 0.5 amps (actually, the LM317 always has 1.25V when the circuit is on but that's fine as I use the pot detent to turn off the circuit).
That output goes through a resettable fuse (holding 750mA and trips at 1.5A) intended to protect the circuit from short circuits which are typical on model railways.
Then a DPDT power relay so that the railways tracks can be +ve on either side and ground on the other, to allow backward running - this is typical motor control so nothing special.
This may not have been the easiest way to do this but, I've found it interesting to do and have learnt a few things. There is a little heat generated but I have a decent heatsink on the LM317 as this is the one generating heat. With the trains running at 0.50A and about 10-11V (say 5-6 watts), the brick is outputting about 0.35-0.40A at 24V (say 9W) so there is significant heat to be dissipated of about 3W, most of that on the LM317 (about 4V at 0.5A = 2W in this case). The LM2575 heatsink is smaller.
Schematic as below:

This circuit works fine on one track and the locos run silently with linear control. I am sure this is not the easiest way to achieve this but, I can easily make the other controller for the outer track now and should have a complete controller. Before that, though, I'd appreciate a little help for anyone that has followed this long text...
1. When I short the output, the resettable fuse never comes into play as the brick has short circuit protection as "Continuous, trip and restart (hiccup mode) with auto recovery" and this works instantly, dropping the 24V input. I suspect it is not good design to rely on the brick to resolve short circuit issues so, would it be better to use a holding = 400mA, trip = 800mA resettable fuse at the fuse location shown directly after the 24V imput? Something like a Bourns MF-R040? Even then, it seems likely that the brick will trip first as these resettable fuses take a few seconds to kick in. Or, is there a better way?
2. The bigger question is how to deal with the situation where the tracks are connected by the points and the controls are not aligned - I am trying to work out a way to explain that and this is already very long so will save this for later.
Thanks for any help and comments in general.
Regards, Chris
This is my first post here so, a little background. I did some electronics training in the late seventies on my aerospace engineering apprenticeship but, apart from some vintage Hi-Fi rebuilds and the like, I haven't been particularly active in this field. Things have clearly moved on a lot but, I'm happy at reading specifications so, I can generally follow what's required. Apologies for any misunderstandings though. We moved back to UK a few years ago and I work part-time as a watchmaker now mainly servicing vintage watches. I have some electronic measuring equipment but here mainly, I'm using my Fluke 87V (RMS multimeter) and a cheap Chinese scope.
The project I'm working on is a model train set. I've put this up at head height around the dining room and this gives me some issues with noise that wouldn't usually be critical. I've also, possibly foolishly, decided to use the locos and carriages that my wife's late father bought for her in the early sixties - these were already secondhand so they are from the late fifties. I had the old loco motors rebuilt and rewound as they ran very hot and sparked terrifically. I have gone with a DC system so no digital control to integrate. I had no issues building the points CDU and setting up relays for the points. The system works fine and is two tracks at different levels, with sidings and points to change locos between the two tracks. I turned down the old loco wheels to suit the latest track design and the old locos run fine, as well as the couple of new locos. Everything works absolutely fine and it's a nice thing to have.
Because the track is high up, motor noise is the issue. The new locos run fairly quietly using the PWM controller (Hornby HM2000) but, the old locos are very noisy - not so much with the bodies off but with the plastic body fitted, the sound is not good as the body amplifies the noise. The HM2000 pulses are at 100 Hz and this seems to be making the noise. I tried running the trains using a 12V car battery and the locos are silent so, the issue in my opinion, was the PWM pulses. The PWM advantage is that it is good at overcoming stiction but the downside is that the motors run hotter and, in my situation, the noise is unacceptable. I then thought I would try to build a power controller that would suit for my odd situation but couldn't find any schematic that worked well. I need:
Close to a DC source for minimum noise and cool motors (long run times).
Two controllers as there are two tracks.
Variable output from 0V to 12.5V on each track - reversible as well.
Up to 0.5 amps at 12V per track to run the old locos. The new locos run under 0.2 amps.
The circuit I built is for one track and there will be another.
The HM2000 had an 18VAC output and I started with that and rectified it to 24V DC. In the end, the HM2000 won't be required at all so, I changed to a 24V DC, 18W brick (VET18US240C2-JA) and removed the rectifier diodes from my board. Considering this is a cheap supply, it has a stable output with a ripple of a few mV at about 200Hz. As this frequency is not too high and still in the audible spectrum, I thought I'd aim to get closer to pure DC. The brick will run both tracks.
I read around and it seemed the best way to achieve a close to pure DC source would be to use a step down switching regulator - there may be easier ways... I also realize you can buy a board for under £20 that will have this on there but, I fancied making a board of my own. I am using an LM2575-15 to take the 24V input and output 15V which has no ripple to speak of, about 1mV at 50kHz+. I could have used an adjustable LM2575 but the topology seemed too critical for my knowledge.
The 15V then feeds an adjustable LM317 and the rotary pot (2k) includes a detent which I use to switch the whole circuit off at the 24V input. This gives me 0V to 12.5V at the output and easily supplies 0.5 amps (actually, the LM317 always has 1.25V when the circuit is on but that's fine as I use the pot detent to turn off the circuit).
That output goes through a resettable fuse (holding 750mA and trips at 1.5A) intended to protect the circuit from short circuits which are typical on model railways.
Then a DPDT power relay so that the railways tracks can be +ve on either side and ground on the other, to allow backward running - this is typical motor control so nothing special.
This may not have been the easiest way to do this but, I've found it interesting to do and have learnt a few things. There is a little heat generated but I have a decent heatsink on the LM317 as this is the one generating heat. With the trains running at 0.50A and about 10-11V (say 5-6 watts), the brick is outputting about 0.35-0.40A at 24V (say 9W) so there is significant heat to be dissipated of about 3W, most of that on the LM317 (about 4V at 0.5A = 2W in this case). The LM2575 heatsink is smaller.
Schematic as below:

This circuit works fine on one track and the locos run silently with linear control. I am sure this is not the easiest way to achieve this but, I can easily make the other controller for the outer track now and should have a complete controller. Before that, though, I'd appreciate a little help for anyone that has followed this long text...
1. When I short the output, the resettable fuse never comes into play as the brick has short circuit protection as "Continuous, trip and restart (hiccup mode) with auto recovery" and this works instantly, dropping the 24V input. I suspect it is not good design to rely on the brick to resolve short circuit issues so, would it be better to use a holding = 400mA, trip = 800mA resettable fuse at the fuse location shown directly after the 24V imput? Something like a Bourns MF-R040? Even then, it seems likely that the brick will trip first as these resettable fuses take a few seconds to kick in. Or, is there a better way?
2. The bigger question is how to deal with the situation where the tracks are connected by the points and the controls are not aligned - I am trying to work out a way to explain that and this is already very long so will save this for later.
Thanks for any help and comments in general.
Regards, Chris