Gain and phase margin + phase and gain crossover frequeny results

34 visualizaciones (últimos 30 días)
Mahabba Almheiri
Mahabba Almheiri el 5 de Dic. de 2020
Comentada: Gollapapani el 11 de Ag. de 2023
I used this code to find phase and gain margin. Also to find phase and gain crossover frequeny
syms s
G = tf([7 14],[1 10 24])
[Gm,Pm,Wcg,Wcp]=margin(G)
grid on
but I got this result. can any one explain to me why Gm and Pm = Inf and Wcg and Wcp= NaN?
and what is maning of Inf and Nan?
G =
7 s + 14
---------------
s^2 + 10 s + 24
Continuous-time transfer function.
Gm =
Inf
Pm =
Inf
Wcg =
NaN
Wcp =
NaN

Respuestas (2)

Keerthana Chiruvolu
Keerthana Chiruvolu el 8 de Dic. de 2020
Hi,
Firstly, NaN means Not A Number and inf is infinite.
From the bode plot of the transfer function, we can observe that the Magnitude plot doesn’t cross 0. And the phase is not 180° at any frequency.
Wcp - 0-dB gain crossing frequency.
Wcg -180° phase crossing frequency
To calculate the gain and phase margins we require the crossover frequencies. Hence, the result for Wcp , Wcg is NaN and Gm, Pm are inf.
.For more information, please refer the following functions :margin(), bode()

Kingsley Osubor
Kingsley Osubor el 17 de Ag. de 2021
How can we explain a bode diagram with Gm with Infinity, Pm with infinity, Wcg with infinity and Wcg with not a number value.

Categorías

Más información sobre Stability Analysis en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by