A method for speed control for a motor of a locomotive of a model electric train
is presented. A method in accordance with the present invention includes sensing
an operating velocity of the motor and the operating current provided to the motor,
and then producing a signal corresponding to the operating velocity and a signal
corresponding to the operating current. A method in accordance with the present
invention further includes providing the operating velocity signal and operating
current signal to a controller and establishing a target motor velocity. A method
in accordance with the present invention still further includes calculating a target
current configured so that the motor reaches the target motor velocity, and then
changing the operating current to the target motor current to achieve the target
motor velocity.