How to verify if my system (Z-domain) is stable in MATLAB
11 views (last 30 days)
Show older comments
Hello,
I designed a transfer function, then I plotted the root locus, and found what is the gain my TF needs to have my desired poles.
Those poles are inside the unit circle, which means my system is stable.
But i want to test if it is actually stable and if it's time response follow my requirements.
However, this is the plot i get when i check its impulse response (K is the gain that makes my tf have those poles, which are inside the unit circle):
impulse(feedback(K*TF,-1))
The function is supposed to stabilize in 0. Why would this go to -Inf?
Am I doing the plot wrong?
step function gives me something similar.
Thanks in advance
0 Comments
Answers (1)
Sam Chak
on 11 Nov 2022
Hi @Rafael
Most probably because you did a "positive feedback".
Try do this
impulse(feedback(K*TF, 1))
instead of
impulse(feedback(K*TF, -1))
Also check:
help feedback
See Also
Categories
Find more on Classical Control Design 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!