petinator icon indicating copy to clipboard operation
petinator copied to clipboard

PID Autotune

Open aamott opened this issue 2 years ago • 2 comments

Is your feature request related to a problem? Please describe.

Getting PID values right can be a struggle. It involves constantly reuploading the code and hoping your changes worked well.

Describe the solution you'd like

Some kind of autotune method like what Marlin uses. Number of cycles could be configured in configuration.h or in the menu. Either would fulfill the need.

Additional context

Might be good to base the autotune process on Marlin's code.

aamott avatar Nov 02 '22 06:11 aamott

I have yet to find a PID autotune library I'm happy with, that comes anywhere near close to the functionality of the one build into marlin. If you are looking into porting that into a stand alone component, I'm more than happy to offer my time towards helping port it to a Arduino sketch/library

alextrical avatar Feb 15 '23 20:02 alextrical

Porting Marlin's PID is a great idea. I've got to fix a few usability issues with the configuration before I work with PID and autotune, but if you want to look at that, it could be useful both in and out of this project, especially if it's kept flexible enough to use multiple heaters.

aamott avatar Feb 18 '23 22:02 aamott