11-23-2010 04:39 PM
Hello
In Control Design and Simulation there is Rising / Falling edge reset input for Integrator, is there any way I can design level triggered Integrator ?
It will be great if this small thing can be explained in some VI
Thanks in advance.
11-23-2010 04:53 PM
There may be a way to write some code that accomplishes this task.
Help me understand a little bit more about how this integrator would behave. Is there some standard to define how a level-triggered integrator should behave, or do you get to make up the rules? What would constitute a level signal? Would the integrator reset as soon as it received two or three equivalent values for the reset input on subsequent timesteps? Would it continue to reset until the signal changes, or would it only reset at the start of the level signal?
Give me all the info you can and I'll try to help you find a way.
Cheers,
Damon
11-24-2010 11:29 AM
If you only want to integrate values above the threshold level, simply do a comparison. Any data below the threshold is replaced by zero or NaN (Not a Number). Then integrate the modified array of data. The integration may behave somewhat differently depending on whether 0 on NaN was substituted.
Lynn