Implementation of varying-order integrator block in Simulink

2 Ansichten (letzte 30 Tage)
Yi Yang
Yi Yang am 29 Dez. 2022
Beantwortet: Paul am 29 Dez. 2022
Hi,
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!
  2 Kommentare
Paul
Paul am 29 Dez. 2022
Hi Yi,
What is the mathematical equation(s) that block is supposed to represent? Seeing an equation might make it clearer on how to implement in Simulink.
What is the "varying transfer function block"? Is there a link to a doc page for that block?
Yi Yang
Yi Yang am 29 Dez. 2022
Hi Paul,
The block is supposed to do an n-fold integration of the input signal, the order n should be time varying during the run time. Varying transfer function block (see link: https://www.mathworks.com/help/control/ref/varyingtransferfunction.html) implements a higher-order transfer function with time-varying coefficients. In the varying transfer function block, however, the order N is an internal parameter set before the run time.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Paul
Paul am 29 Dez. 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.

Kategorien

Mehr zu Interactive Model Editing finden Sie in Help Center und File Exchange

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by