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 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