I need to model this equation in simulink.

1 回表示 (過去 30 日間)
Nikhil Sengwa
Nikhil Sengwa 2022 年 9 月 7 日
回答済み: vamshi sai yele 2022 年 9 月 14 日
How can we integrate a signal from t to t+Ts in Simulink.

回答 (2 件)

Paul
Paul 2022 年 9 月 7 日
Assuming the Qeustion is about specific values of t and Ts, i.e., integrate a signal over an interval ....
Put the integrator into an Enabled Subsystem. Set the enable signal input high at t and set it low at t + Ts.
  2 件のコメント
Nikhil Sengwa
Nikhil Sengwa 2022 年 9 月 7 日
t is the clock time of matlab simulation. Will this work?
Paul
Paul 2022 年 9 月 7 日
Now I don't understand the Question. At simulation time = t, what value should be computed? Can't compute something at t + Ts, because that's in the future. Maybe you want the integral of the signal from t - Ts to t?

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


vamshi sai yele
vamshi sai yele 2022 年 9 月 14 日
As per my understanding you want to set the limits to integrate a signal.
I have tried it from my end and the solution is just take an Integrator Limited block from library on to the canvas and then double click the integrator block to tailor it. You will catch fields “Upper saturation limit” and “Lower saturation limit”.
Enter the upper limit (t+Ts) and lower limit (t) respectively and click on apply followed by okay. Now an integrator block with upper and lower limits are designed and we are all set to connect it to the signal generator and add the scope at the end to check/verify the output.
To summarize,
Library>Simulink>Continuous> Integrated Limited>drag onto the canvas>double click> enter upper and lower limits>apply.
For your reference and other figure properties figure kindly refer to this link

カテゴリ

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

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by