How do you calculate instantaneous output of a transfer function ?

4 ビュー (過去 30 日間)
Ruchit Pathak
Ruchit Pathak 2013 年 4 月 9 日
コメント済み: shubham sharma 2021 年 8 月 8 日
I'm currently working on genetic algorithm. for testing the Population of (Kp,Ki,Kd) (which are the PID controller parameters) i usually use the close loop.
ie, 1. I calculate the series transfer function of Plant and PID controller
2. I close the loop using feedback command (negative feedback)
3. I check the result for step input (using step command)
4. and then i calculate ISE/IAE/or whatever is required as cost function.
Now when i want to do same with fuzzy there are following problems
1. I do not know the transfer function of fuzzy system as I know about PID
2. I can calculate the instantaneous fuzzy output at the first sampling instance but I cannot use that output to calculate the output of my plant (Note: _lism command requires atleat two input for calculation of output) )
My Question is does there exist any command to calculate output of filter/transfer_function for just one input sample at a time ?
if not , then is there any way a simulink model (which has ability do calculate it) be incorporated or called in a matlab file ?
or, is there any way to calculate Transfer_function of any Fuzzy controller model ?
  1 件のコメント
shubham sharma
shubham sharma 2021 年 8 月 8 日
hi... how to apply ISE/IAE on transfer function with different order

サインインしてコメントする。

採用された回答

Arkadiy Turevskiy
Arkadiy Turevskiy 2013 年 4 月 11 日
Your best bet is probably calling a Simulink model that would simulate closed loop response of your fuzzy controller. You can call Simulink model with command sim.
HTH.
Arkadiy
  1 件のコメント
Ruchit Pathak
Ruchit Pathak 2013 年 4 月 16 日
Actually it does solves my problem.
Thanks :)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeFuzzy Logic in Simulink についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by