I need to model this equation in simulink.

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Sources 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by