Quote:
Originally Posted by therealman1
The programming team has been recently been working on our PID loop but the encoder is not keeping it near steady at all. I will soon hopefuly post the code, can anyone give us some advice?
|
You're much more likely to get useful answers if you provide useful information.
Have you looked at the output of the encoder and is it sufficiently noise free and accurate?
What device is the PID controlling?
Is the PID in cRIO or a Jaguar?
Speed, linear position, or angle?
What scaling are you using for the setpoint and process variable?
What encoder part number?
4x 2x or 1x ?
What are your P, I, and D gains?
etc etc etc