필터 지우기
필터 지우기

the `margin` command gives incorrect gain when comparing to the actual Bode plot

조회 수: 1 (최근 30일)
Randy Chen
Randy Chen 2021년 12월 10일
댓글: Mathieu NOE 2021년 12월 13일
I have a continuous-time tranfser function with delay , and I printed the gain and phase margin as following:
[Gm0,Pm0] = margin(sys*C_pidf_fast);
where C_pidf_fast is a PIDF controller. The gain margin is returned as 73.4 However, when I plotted the bode plot
bode(sys*C_pidf_fast)
Apparently, the phase margin shown on the plot is different from the value I found by using the margin command. What is going on here?
  댓글 수: 1
Mathieu NOE
Mathieu NOE 2021년 12월 13일
hello
I believe 73.4 is not the phase but the gain margin
this is expressed in dB when you do bode
as 20*log10(73.4) = 37.3 which is what is displayed in the bode plot

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Frequency-Domain Analysis에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by