Implementation of varying-order integrator block in Simulink
2 views (last 30 days)
Show older comments
I would like to implemant a higher order integrator block with time-varying orders in Simulink. See attached picture, the order the integrator varies in time and is set in run time. I think it might be implmented in a similar way as the varying transfer function block. I would appreciate if anyone could give some suggestions. Thank you!
Paul on 29 Dec 2022
Thanks for the link to the Varying Transfer Function block.
I'm still not 100% sure what your're looking for. But maybe something like this.
Assuming that N is less than some known maximum value Nmax ....
String Nmax integrators in series, tap off the output of each and Mux those outputs together, then use the input parameter N to select the desired signal from the Mux output.
Or, use the State Space block to implement the state space model Nmax integrators in series with an identity matrix for the C matrix, and then use the Selector to pick off the desired output.
Find more on Discontinuities in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!