I am using MATLAB automatic PID Tuner block. Have you any idea about the algorithm behind of MATLAB automatic PID tuner [Simulation PID tuner Block]. How PID tunes Kp, Ki and Kd automatically?
I suggest reading my paper on dual adaptive control published here on researchgate. The algorithm described serves for the combined system PID+ system under control. I hope it gives some insight as related to your question