MATLAB Answers

E A
0

how to change parameters of PID tuner GUI from command line?

Asked by E A
on 3 Jan 2015
Latest activity Edited by Arkadiy Turevskiy on 5 Jan 2015
"pidtool" is the GUI for PID tuning. I have many plants and want to write a script which will open this pidtool, change its window parameters and then save the designed PID controllers.
How is the access to the parameters of its window?

  0 Comments

Sign in to comment.

1 Answer

Answer by Arkadiy Turevskiy on 5 Jan 2015
Edited by Arkadiy Turevskiy on 5 Jan 2015
 Accepted Answer

PID Tuner app (pidtool) was never intended to be used like you describe.
If you want to process multiple plant models in a batch mode, use the function pidtune, which is the command-line equivalent of PID Tuner app. The function lets you specify plant model, and the values of tuning knobs (bandwidth and phase margin). You can call this function in a for-loop or you can call it on an array of plant models so it returns an array of PID controllers.
Take a look at this video , the first three minites show how to get a set of linear plant models from a nonlinear Simulink models, but after that the video shows how to design PID controllers with pidtune in a batch mode.

  0 Comments

Sign in to comment.