Simulink PID autotuning problem
Afficher commentaires plus anciens
Hi, I have tried simple PID auto tuning function, but I'm getting rather strange result. I have attached mdl file, so You can maybe point to me where I'm doing wrong.
Pete
P.S. Sorry if question sounds stupid, I'm a newbie in Matlab/Simulink world
Réponse acceptée
Plus de réponses (3)
Arkadiy Turevskiy
le 16 Avr 2014
Modifié(e) : Arkadiy Turevskiy
le 16 Avr 2014
Ok, here is how I got that integrator initial condition.
First I added Trim Output Constraint on the "height" signal. To do that, right click on the signal, and specify Trim Output Constraint, as shown below.

Next, launch Linear Analysis Tool:

Now, we want to trim the model:

Click to specify the trim conditions:

All states should be in steady state:

The output (height) should be at 0:

Click "trim". Tool computes the operating condition op_trim1. Examine it to see the value for Integrator in the PID Controller:

All of this can also be done with a few lines of code:
model = 'Proba_3';
opspec = operspec(model);
opspec.Outputs(1).Known = true;
findop(model,opspec)
jashandeep kaur
le 11 Mar 2017
0 votes
may i know how does auto tunning take place?how does controller calculate the desired values of P and I?is there any method or algo?
Mudit Verma
le 30 Août 2020
0 votes
Autotuner not working in my model there is no PId gains showing they are showning 0 and only frequencies are showing in display block
i have attached my model plzz see and give me solution to my prob.

Catégories
En savoir plus sur Real-Time PID Autotuning dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


