Finding overall gain and phase of a system
14 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (2)
Arkadiy Turevskiy
am 19 Mär. 2014
Bearbeitet: Arkadiy Turevskiy
am 19 Mär. 2014
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 Kommentare
Siehe auch
Kategorien
Mehr zu Linear Plant Specification finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!