Optimizing fuzzy PD+PI Parameters via GA Tool
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi guys,
I am currently working on a project that is about Fuzzy Logic. I have formed the model in ANFIS and generate a rule base for FLC. My question is when i try to optimize the parameters of PD + PI GA tool returns with an error as" Optimization running. Error running optimization. Index exceeds matrix dimensions." I need to tune 4 parameters of the controller. Cost function is ITSE and i wrote a simple function as
function z=deneme(x)
global k1
global k2
global k3
global k4
k1=x(1);
k2=x(2);
k3=x(3);
k4=x(4);
sim('fuzzypid');
z= ITSE(1401);
In the configuration parameters, sampling time is 5 sec. and the solver selected as ode4. I really need in help. Any comment will be appreciated.
Réponses (0)
Voir également
Catégories
En savoir plus sur Fuzzy Logic Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!