How do you calculate instantaneous output of a transfer function ?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ruchit Pathak
am 9 Apr. 2013
Kommentiert: shubham sharma
am 8 Aug. 2021
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 Kommentar
Akzeptierte Antwort
Arkadiy Turevskiy
am 11 Apr. 2013
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
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Fuzzy Logic in Simulink finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!