unit delay in z-domain, is this correct? I do not think the bode is correct. Thanks

2 ビュー (過去 30 日間)
Mohammad
Mohammad 2025 年 6 月 9 日
コメント済み: Mohammad 2025 年 6 月 9 日
z = tf('z',1e-4);
%L = T/S; % open loop in s domain
%L_z = c2d(L, 1e-4, 'zoh'); % sample L
delay = 1/z; % delay transfer function
%L_z_delayed = L_z * delay; % delayed L
%margin(L_z_delayed);
bode(delay)

採用された回答

Paul
Paul 2025 年 6 月 9 日
Hi Mohammad,
What exactly about the Bode plot appears to be incorrect?
The gain of the unit delay should be 1 (or 0 dB) at all frequencies, which is what the plot shows insofar as 2e-15 dB is essentially 0 dB. The phase plot looks as expected as well.
  3 件のコメント
Paul
Paul 2025 年 6 月 9 日
That's true if the frequency axis is linear, not logarithmic as is the case with bode
z = tf('z',1e-4);
delay = 1/z; % delay transfer function
h = bodeplot(delay);
setoptions(h,'FreqScale','linear')

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by