I am experimenting with a small model train trying to produce realistic movement , I'm using a MAX14870 driver. and a PIC .. getting movement is not a problem , but as I expected , slow speed is rather random (and whistles) with a short PWM value.. It is just a square signal at the moment , any ideas what can be done to obtain better results..... perhaps a ramp. a bias voltage or different signal ..