I am trying to find if Matlab has a data-based auto tuning of PID function?

2 views (last 30 days)
Hello,
Does Matlab have a function where I can analyze output (plant) data as well as inputs (manipulated variables)? It should be able to import this and display PID parameters?
I would like to implement a controller on a process without doing a step test on the process - by analyzing data and deriving PID parameters.
Maybe a Zeigler-Nichols function?
Thanks,

Accepted Answer

Arkadiy Turevskiy
Arkadiy Turevskiy on 8 Apr 2013
Edited: Arkadiy Turevskiy on 8 Apr 2013
There is no single function that does data-based PID autotuning. You need to do this in 2 steps. First identify a transfer function from the data. Second, auto-tune PID gains for the identified transfer function.
If you want to do this at the command line, the two function you need are tfest from System Identification Toolbox (or procest) and pidtune from Control System Toolbox.
You can also use apps (GUIs) to do this and you can do it in Simulink. We have a series of 3 videos ( 1, 2, 3) showing the whole workflow as well as a webinar.
HTH.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!