|
Re: PID Help
Does this motor have a load on it?
PID hits a target somewhat better when there is some sort of drag to slow it down. An unloaded motor will coast right on by the setpoint until the PID reacts to bring it back where it will probably coast by again.
Why is your output scaled to +/-50 instead of a typical motor +/-1 ?
Have you considered plotting the waveform to visualize how the system is behaving?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Last edited by Mark McLeod : 20-01-2015 at 22:03.
|