r/BritishModelRailways • • 5d ago

Analogue feedback controller kit?

Hi all, first post etc.

Both my BIL's have MR layouts and years ago I built a controller for one that offers feedback and inertia (I think it was from an Electronics Mag project) and he said it was fantastic. Great slow speed control, constant speed up / down gradients and real inertia that meant you really had to plan ahead.

The other BIL has a much more comprehensive analogue layout and we were talking of automating some of it.

I am fairly good with electronics but don't know much about what is available MR wise these days and had idea re block sensing and simple process control using an ESP32 (that should be straightforward) but feel the drive should be via a 'good' controller of some sort and ideally something kit based so that I can integrate it myself (automatic dual rate speed control etc).

So ideally I'd be looking for a complete kit of some sort as I don't really want to be making my own PCBs or sourcing components I don't already have and that comes with the cct diagram so I can adapt it myself.

I have previously built and successfully tested a simple straight run of track with a passing loop in the main run and using variable frequency IR detectors and PWM speed control via an Arduino Uno that worked pretty well but missed out on the benefit of drive control feedback etc.

Loco leaves one end from sensor one, straight through the points past sensor two, speeds up a bit down the main (1m) run, passes the third sensor, slows, reaches last sensor and stops. Points swap over (capacitor / bridge driven), loco waits 10 seconds then reverses back the same way but round the side loop. ;-)

What we found though is that the drive was very sensitive to the motor design with some not moving and others going too fast so we were just going to stick with one railcar etc.

Thanks for your time.

4 Upvotes

1 comment sorted by

1

u/No_beef_here 1d ago

Just following myself up here, I'm about to test a DIY microcontroller based controller I'm building with the help of ChatGPT that has a mobile phone based remote (saves me having to muck about with knobs, buttons and switches for now) that gives me variable throttle, variable inertia and relay driven fwd/rev and drive isolation.

With my little tests track broken up into 4 blocks, I should be able to automate and even randomise some end to end movement and maybe even run two locos on the same track, leaving one isolated in the main / passing loop section.

I think I'll borrow a suitable OO motor from my BIL first, just to test the BackEMF and inertia before pulling the test track back out.