The State Space Model Conversion to Transfer Function Is Providing an Incorrect Result #1211
oneEclipseUser1
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am defining a state space model and converting it to a standard transfer function. For some unknown reason, it is erroneously providing an extra "
s" value with a very small coefficient. Due to the extra "s" it tricks the system into thinking that a zero is being added to the system. An incorrect Bode plot is generated due to this extra zero. The transfer function that is provided is shown here. Note the extra-1.421e-14 svalue in the numerator.I worked out the problem manually. I do not get what the control library is providing. The state space model information and the solution steps are shown here:
.
.
Here is the script for test and verification purposes:
I also tried the conversion using the "
ss2tf" state space to transfer function with the same results:extra_zero_sys = ct.ss2tf(S, name=': extra_zero_sys')Beta Was this translation helpful? Give feedback.
All reactions