br3ttb / Arduino-PID-AutoTune-Library

416 stars 225 forks source link

Peak detection overhaul, new tuning rules, etc. #10

Closed t0mpr1c3 closed 10 years ago

t0mpr1c3 commented 10 years ago

Brett, There's a lot of stuff here but I realise that there are constraints on you developing this library that might be obviated by a pull request. You might want to have a look at the method of peak detection I have implemented here. I think it is a considerable improvement. There's also a bunch of new auto tune rules.

Summary of changes:

Changes to the peak convergence method:

Finite state machine:

Enumerated types:

Changes to private methods and variables:

New tuning rules:

New variables and methods used by the AMIGOF_PI algorithm:

New simulations:

Dithering:

t0mpr1c3 commented 10 years ago

Closed because I have updated my library and am still testing the changes