Optimizing fuzzy PD+PI Parameters via GA Tool
조회 수: 4 (최근 30일)
이전 댓글 표시
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.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Fuzzy Logic Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!