How to create a state space model and/or model using transfer function from an existing Simulink model? to replicate the results from simulink

1 visualizzazione (ultimi 30 giorni)
Trying to model and replicate the results from simulink model using State space modelling and using Transfer functions.
Is it possible to directly covert my simlink models to replicate the results in the respective modelling methods?
if not, Is it possible to get the A,B,C,D differential equations from the simulink and model the SS after?
and Is it possible to get the equations for the TF model from simulink?
My Simulink model has three subsystems.
Do let me know if you need further infomation.
Any advise on how to approch or material that could help me understand will be great
Thanks for your time

Risposte (1)

Prasad Parameswaran
Prasad Parameswaran il 23 Ott 2019
You can use the input output data of the simulunk model to identify the system using "iddata". Refer:https://in.mathworks.com/help/ident/ref/iddata.html
Find transfer function of the sysytem using "tfest" function. Refer: https://in.mathworks.com/help/ident/ref/tfest.html
Once you have the trasfer function use "tf2ss" function to get the state space representation. Refer: https://in.mathworks.com/help/signal/ref/tf2ss.html

Prodotti


Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by