Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Topic started by: ksasikumar on April 19, 2023, 02:39:54 PM

Title: PID Autotune not presenting new coefficients
Post by: ksasikumar on April 19, 2023, 02:39:54 PM
I have been doing some PID Auto-tuning and noticed for the past few tuning cycles the Autotune is returning the same coefficients I had manually entered when starting the PID loop. I'm pretty sure this is an error since there should be some change to the PID loop after tuning. Why is this happening, is there any way to remedy it?
Title: Re: PID Autotune not presenting new coefficients
Post by: BobO on April 19, 2023, 02:43:20 PM
I have been doing some PID Auto-tuning and noticed for the past few tuning cycles the Autotune is returning the same coefficients I had manually entered when starting the PID loop. I'm pretty sure this is an error since there should be some change to the PID loop after tuning. Why is this happening, is there any way to remedy it?

My guess is that something is stepping on it, so you aren't ever seeing the actual autotune results.
Title: Re: PID Autotune not presenting new coefficients
Post by: ksasikumar on April 19, 2023, 02:46:27 PM
I think I found it - the PIDINIT was on. Related to this - should PIDINT only run on First Scan for it to push values into the PID?
Title: Re: PID Autotune not presenting new coefficients
Post by: BobO on April 19, 2023, 02:51:03 PM
I think I found it - the PIDINIT was on. Related to this - should PIDINT only run on First Scan for it to push values into the PID?

Yep.
Title: Re: PID Autotune not presenting new coefficients
Post by: ksasikumar on April 20, 2023, 12:08:51 PM
Thanks again BobO