Reset integrator no initial condition in Simulink

69 visualizaciones (últimos 30 días)
Kars
Kars el 11 de En. de 2018
Respondida: Fangjun Jiang el 11 de En. de 2018
Hi,
I'm working on reset controllers and are trying to implement them in Simulink.
A reset controller uses an integrator which can reset itself. This can be implemented in Simulink using the 'External reset' option of the integrator element. The corresponding reset matrix can be implemented by showing the state port and by setting the Initial Condition Source to external.
In the image you see the an integrator, which resets to a partial value of the current state (through reset matrix R) when the input signal goes through zero. To implement the reset matrix R in the integrator, I have to set the Initial Condition Source to external. When I do this, I can no longer apply an initial condition.
Is there some way around to apply an initial condition at the start of the simulation?
  3 comentarios
Kars
Kars el 11 de En. de 2018
Thanks for your answer, but it is irrelevant what the R matrix is. I've updated the question to clarify more.
Birdman
Birdman el 11 de En. de 2018
I will deal with this question tomorrow, hope you have time for this.

Iniciar sesión para comentar.

Respuestas (1)

Fangjun Jiang
Fangjun Jiang el 11 de En. de 2018
I would insert a "Unit Delay" block after the "Gain" block and feed the output to "X0" port.

Categorías

Más información sobre General Applications en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by