programming help

Asimov

Member
How do model rail DCC decoders overcome the models motor inertia?

I have achieved it from a standing start by briefly pulsing the motor with a voltage sufficient to overcome the inertia prior to returning to a voltage that runs the model at a prototypical speed. This is barely noticeable from a standing start, but I can't figure out how to achieve a gradual start because the higher voltage required to get the motor started causes the model to surge forward momentarily.
 

Buzby

Senior Member
I think you will find that a DCC decoder contains a processor to control the PWM to the motor. By monitoring the motor speed the PWM can be adjusted to give very smooth acceleration from zero.

Just try PICAXE PWM without motor speed feedback, you might find that works OK.

There are lots of entries in the Forum about PWM, and I'm sure you will get help from the members.

Cheers,

Buzby
 
Top