PID integrator windup reset

Hey guys,

This is an interesting finding, I would be interested to see how you’ve solved it and why this happens.

There is a way to reset the integrator suing the PID class of the simplefoc, it has the reset() function.

You can call it on any PID class like this:

motor.PID_velocity.reset();

This function will reset the PID’s memory of previous states along the integrated values, so this might have some other unwanted effects. But at least you can try if your problem still exists. :smiley:

1 Like