Finding overall gain and phase of a system
44 次查看(过去 30 天)
显示 更早的评论
In a simple way,here is what I intended to do :
I have got 2 transfer functions G1 and G2. Gn is not a transfer function but has got a gain and a phase.
s=tf('s')
G1=1/s;
G2=5/s^3;
I want to find the overall gain and phase of the system at the frequency w=1. I can get the gain and phase of G1 and G2 at w=1 by:
[m1,p1]=bode(G1,1)
[m2,p2]=bode(G2,1)
m1=1,p1=-90
m2=5,p2=-270
Assuming my gain at w=1 for Gn is 5 and the phase is -100 degree. How can i find the overall gain and phase of the system at w=1. The closed loop positive feedback is
Cloop=G1/(1-G1*G2*GN)
Thanks
Yash
0 个评论
回答(2 个)
Arkadiy Turevskiy
2014-3-19
编辑:Arkadiy Turevskiy
2014-3-19
freq=1;
resp=5*exp(i*2*pi/360*100);
Gn=frd(resp,freq);
[m3,p3]=bode(Gn)
m3 =
5.0000
p3 =
100
Cloop=G1/(1-G1*G2*Gn);
[m4,p4]=bode(Cloop,1)
m4 =
0.0397
p4 =
-12.2403
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!