br3ttb / Arduino-PID-AutoTune-Library

416 stars 225 forks source link

Output limits #5

Open t0mpr1c3 opened 10 years ago

t0mpr1c3 commented 10 years ago

PID_ATune::Runtime() does not check that outputStart-oStep is greater than or equal to the minimum possible value for output, nor that outputStart+oStep is less than or equal to the maximum possible value for output.

Where these boundaries are exceeded it is likely that Ku is overestimated because the actual changes in *output are less than +/- oStep.