Why ss2tf changes the dynamics of model

5 views (last 30 days)
pippo
pippo on 28 Jul 2014
Commented: pippo on 18 Aug 2014
Hi all,
I am working on converting a state space model to a Partial Fraction Expansion. My idea is first convert the state space to transfer function by 'tf2ss', then obtain the Partial Fraction Expansion by command 'residue'.
However, when I tried converting my state space model with 33 dimensions to a transfer function, the obtained transfer function gives different zero-pole plot, as well as bode plots. Anyone has any insight about why they are not consistent?
Or even better, anyone know how to obtain a Partial Fraction Expansion from state space model?
Thank you very much!

Answers (1)

Aykut Satici
Aykut Satici on 18 Aug 2014
Anytime you convert from one model type to another in MATLAB, there is some accuracy lost due to the numerical accuracy of the computations. You can read more about these in the following link:
For instance, if you do not have a minimal realization of your model in state space, then the conversion may lead to two systems whose behavior is different. Consider finding a minimal realization of your system either by hand or by using MATLAB's "minreal" function. This function eliminates uncontrollable or unobservable states in the state-space models leading to a minimal realization of your system. You can read more about this function here:
  1 Comment
pippo
pippo on 18 Aug 2014
Thanks for the reply. You are correct about it. My issue has beee solved by avoiding the ss2tf command.

Sign in to comment.

Categories

Find more on Dynamic System Models in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!