필터 지우기
필터 지우기

Natural frequency/​discretiza​tion/trans​fer function/Simulink

조회 수: 1 (최근 30일)
Gustavo Araujo
Gustavo Araujo 2020년 10월 10일
댓글: Gustavo Araujo 2020년 10월 11일
Hi everyone!
I'm having a issue about how to get a natural frequency on a Matlab Function Block on Simulink. Here's what I got:
- g2 = ((G1*(G2+2*G_previous1+G_previous2))-(g_previous1*(2*C-2*A))-(g_previous2*(C+A-B)))/(A+B+C);
where g2 is a discretized signal based on a second order transfer function (G/ (s^2 + 2ksi wn + 2 wn^2))
where:
A = 4/(T^2);
B = (4*ksi*wn)/T;
C = (wn)^2;
my point is: I fixed the values of wn and ksi, but how can a give a step or damp to get the natural frequency of the system, since the g2, G2 and the previous ones are getting updated when I run my model?
  댓글 수: 2
VBBV
VBBV 2020년 10월 11일
Use damp function to get the natural frequency and damping ratio
%if true
% code
% end
[wn zeta] = damp(sys)
Where sys is the discrete time transfer function of your model obtained using tf
Gustavo Araujo
Gustavo Araujo 2020년 10월 11일
But can I call on tf the constants or do I need to put values?

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Sources에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by