How can I make a step response graph for open Loop Ziegler-Nichols Method?

19 ビュー (過去 30 日間)
Milon Chowdhury
Milon Chowdhury 2019 年 10 月 2 日
コメント済み: David K. 2019 年 10 月 3 日
HI,
Greetings. I am very new in MATLAB. I want to draw a step response graph for Open Loop Ziegler-Nichols Method. the equation is attached here. Actually, I can't understand, how to code the numerator and denominator. Thanks in advance.

回答 (2 件)

David K.
David K. 2019 年 10 月 2 日
When trying to do transfer functions in matlab one very nice way to do it is with
s = tf('s');
Now, s indicates it is a transfer function you can actually just type the rest of your equations as you would want.
k = k; d = d; tau = tau; % These are just saying that you should define these yourself
G = k*exp(-d*s)/(tau*s+1); % Create the transfer function
step(G); % Plot the transfer function

Milon Chowdhury
Milon Chowdhury 2019 年 10 月 3 日
Thanks for your reply. I have drawn a nice step response graph using your code. I am facing another problem. In Simulink code, how can I mention/put this equation? Transfer function.JPG
  1 件のコメント
David K.
David K. 2019 年 10 月 3 日
Generally if you have a followup question you should put it in a comment on my answer, your question, an edit to your question, or a new question instead of an answer.
You can do it by putting a transfer function block with
num = [km]
den = [tau 1]
in series after a Transport Delay Block with the delay set to d. This is because an exponent in laplace domain results in a time delay of d seconds.

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

カテゴリ

Help Center および File ExchangeGeneral Applications についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by