sisotool and bode problem
4 views (last 30 days)
Show older comments
Hi everyone,
I have a problem and I cannot understand it at all and consequently I faced many problems. I appreciate if you could kindly help me.
I have a controller C and a open loop transfer function Go as attached. I am trying to find the closed loop transfer function.
1- First see what sisotool give to me which is what I expect and is the correct results (see Sisotool in the attachment).
2- Now, we know that the close loop transfer function equation is:
Gcloseloop=(C*Go)/(1+C*Go)
bode(Gcloseloop)
I have ploted this equation by bode(Gcloseloop) and suprisingly, I get what you can see in equation_bode picture in the attachment. As you can see it is compltely different with that of sisotool.
3-Now, if I use the following function, I get another result as you can see in seies-feedback picture in the attachement.
bode(feedback(series(C,Go),1)).
Can anyone says that why this happens and how can I get the same results of stage 1 by 2 and 3?
Many thanks in advance for your help.
1 Comment
Don Pickerel
on 28 Sep 2021
I have a similar question. When I do an open loop bode in sisotool, I am getting a different result from "bode" (and evidently "allmargin" for the exact same transfer function.
I"m using r2019b.
Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!