Is there a way to know the PID gain value used in the controller with input and output data ?

14 次查看(过去 30 天)
I only know the input data of the pid controller and the output data obtained through the controller.
is there a way using Matlab to find out what P gain, I gain, and D gain the system used to bring the above output data ?
  1 个评论
Mathieu NOE
Mathieu NOE 2021-10-4
hello
maybe if you are lucky you can try to make a transfer function estimate (using tfestimate) between the output and input time vectors.
then you can do a frequency match of this tfe with the transfer function of the PID and try fit the P,I,D gains

请先登录,再进行评论。

回答(1 个)

Siddharth Jawahar
Siddharth Jawahar 2021-10-26
Hi Junsang,
You can do just this using the parameter estimation app in Simulink Design Optimization with measured data. PLease see an example here:
HTH,
Sid

类别

Help CenterFile Exchange 中查找有关 PID Controller Tuning 的更多信息

产品


版本

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by