I need to model this equation in simulink.

1 visualizzazione (ultimi 30 giorni)
Nikhil Sengwa
Nikhil Sengwa il 7 Set 2022
Risposto: vamshi sai yele il 14 Set 2022
How can we integrate a signal from t to t+Ts in Simulink.

Risposte (2)

Paul
Paul il 7 Set 2022
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 Commenti
Nikhil Sengwa
Nikhil Sengwa il 7 Set 2022
t is the clock time of matlab simulation. Will this work?
Paul
Paul il 7 Set 2022
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?

Accedi per commentare.


vamshi sai yele
vamshi sai yele il 14 Set 2022
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

Prodotti


Release

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by