Optimizing fuzzy PD+PI Parameters via GA Tool

4 Ansichten (letzte 30 Tage)
Mehmet Kivanc Çelik
Mehmet Kivanc Çelik am 17 Mai 2012
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.

Antworten (0)

Kategorien

Mehr zu Fuzzy Logic Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by