Reset integrator no initial condition in Simulink
72 次查看(过去 30 天)
显示 更早的评论
Hi,
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 个评论
回答(1 个)
Fangjun Jiang
2018-1-11
I would insert a "Unit Delay" block after the "Gain" block and feed the output to "X0" port.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 General Applications 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!