I am the programming mentor for our team 3814. We have decided to finally evolve our autonomous programming capabilities this year by diving int the use of encoders and PID feedback control. This is starting to get into the real that I would not consider myself competent any more since it is outside of my field of study and profession. Our team is attempting to use the Ziegler–Nichols tuning method for finding the Kp, Ki, and Kd values. we are attempting to raise the Kp value until we get into a steady state error zone. the issue we are having is that our Kp value for steady state error seems to change, one week we thought w had it but the next that value no longer worked to coninously have a steady error.
Main Questions i have are:
-
when tuning the PID do we want the motors to be under load? (ie: do we need to do the tuning on the ground actually driving (motor under load) or are we supposed to tune with just the motor without the loading items?)
We are currently tuning our drive motors to correct for straight driving using the talon SRX to handle the feedback controls. We are trying to tune with teh robot on block of wood so we aren’t running people over. is this teh proper thing to do for tuning? -
When we find the steady state error point by raising the Kp value as the Ziegler–Nichols tuning method suigests we end up with what i would consider an extremely large Kp value. the value we are getting is greater than 15. Is this normal or should we be getting a much lower number?
-
when we do find a Kp value that gets the motors running in that steady state error oscillation it appears to only be that value for that day. the next day that value no longer gets the motors hitting that steady oscillation and we generally have to re find another Kp value that works (usually way higher)
-
another issue we are having is that eh talon SRX’s attached to the encoders seem to randomly get a sticky fault for no see-able reason the fault is either in the encoder or the breakout board, but we cant actually get teh fault to consistently show up. It seems that it only shows up after the robot has run for quite a while. Once teh fault show up the robot is basically unusable without unplugging the breakout board from the Talon. if left unplugged for a day and it gets re plugged back in the robot works fine again for 20 hours until the fault comes back again. has anybody ran into this issue? i see no visible issues with our connection the only thing i can think is that eventually we are somehow arc flashing the contacts on the breakout board, but at the low voltage levels from the encoder is that even possible?