How do you calculate instantaneous output of a transfer function ?

3 vues (au cours des 30 derniers jours)
Ruchit Pathak
Ruchit Pathak le 9 Avr 2013
Commenté : shubham sharma le 8 Août 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 commentaire
shubham sharma
shubham sharma le 8 Août 2021
hi... how to apply ISE/IAE on transfer function with different order

Connectez-vous pour commenter.

Réponse acceptée

Arkadiy Turevskiy
Arkadiy Turevskiy le 11 Avr 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

Plus de réponses (0)

Catégories

En savoir plus sur Fuzzy Logic in Simulink dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by