How do you calculate instantaneous output of a transfer function ?
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
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
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Fuzzy Logic in Simulink 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!