Incorrect Integrator Behaviour Simulink

1 回表示 (過去 30 日間)
Muhammad Abdur Rahman
Muhammad Abdur Rahman 2022 年 5 月 28 日
Consider the following simple block diagram:
I get the following output on the scope:
What is going on here? If the integrated function was shifted by some constant of integration C, that would be understandable. But why the change in amplitude?

採用された回答

Paul
Paul 2022 年 5 月 28 日
It looks like the input sine wave is
sin(2*pi/2*t) = sin(pi*t)
The output of the integrator should be
-1/pi*cos(pi*t) + C
Because the IC on the integrator is zero, C is then
-1/pi + C = 0 -> C = 1/pi.
So the integrator output should be
-1/pi*cos(pi*t) + 1/pi
which looks like result in the scope.
  1 件のコメント
Muhammad Abdur Rahman
Muhammad Abdur Rahman 2022 年 5 月 28 日
Oh no! I made a mathematical oopsie. 😳

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

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by