
Export transfer functions from Control System Design App
13 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
In the Control System Design App I tuned the gains in my model according to my requirements (simple gains block without PID or Filters blocks). After I finished tuning I want to export the tuned gains but I also want to export the transfer functions Simulink create (The TFs that represented in the graphs I tuned according to them).
The default name of these TFs is "LoopTrasfer_(Hierarchy of the block you want to tune)", but I cannot see this TF in the app and cannot export it to MATLAB work space.
I didn't find any way to do that, although it seems to me that it supposed to be pretty basic capability. I am working with MATLAB 2020a.
0 Commenti
Risposte (1)
Sam Chak
il 15 Dic 2022
Hi @Gili
Check if you can click <Export> and able to select the desired model LoopTransfer_C from list in the Export Model dialog box.
If you can export the Loop Transfer model to Workspace, then enter this to obtain the transfer function:
tf(LoopTransfer_C)

1 Commento
Matt
circa 11 ore fa
This yields the open-loop transfer function C(s)G(s), I believe. It seems to me that that @Gili wanted the closed-loop transfer function, based on the comment that it should be the one "that represented in the graphs [she] tuned according to them." To get the closed-loop transfer function, one could enter
feedback(tf(LoopTransfer_C), 1)
Vedere anche
Categorie
Scopri di più su Classical Control Design in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!