Use of integrator in Simulink

2 vues (au cours des 30 derniers jours)
Tan Edwin
Tan Edwin le 15 Fév 2011
Im trying to find the area under the graph (called it graph A) from simulink graph A looks something like this: <a><[IMG]http://img171.imageshack.us/img171/5214/83269046.th.png[/IMG][/URL]</a>> (Sry dunno how to show image. Graph A looks sthing like a normally distributed curve)
but when i use an integrator from simulink, the graph i obtained showed a negative valuefor the initial part. There is no negative value for graph A. So is there something wrong with my method?
  4 commentaires
Kaustubha Govind
Kaustubha Govind le 15 Fév 2011
What happens when you set continuous sample time for your S-function: [0 0]
James Allison
James Allison le 16 Fév 2011
In the Diagnostics>Data Validity pane of configuration parameters, try setting 'Underspecified initialization detection' to 'Simplified'.

Connectez-vous pour commenter.

Réponses (1)

Vineet Kumar
Vineet Kumar le 1 Sep 2016
The Integrator block outputs the value of the integral of its input signal with respect to time.
The Integrator Limited block is identical to the Integrator block with the exception that the output of the block is limited based on the upper and lower saturation limits. See Limiting the Integral for details.
Simulink® treats the Integrator block as a dynamic system with one state.

Catégories

En savoir plus sur Schedule Model Components dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by