A negative input value for integrator gives a positive output

6 次查看(过去 30 天)
I have a simulink continuous integrator block with a lower limit output saturation at zero.
It takes a negative input and produces a positive output.
What am I missing here?
  4 个评论
stozaki
stozaki 2020-8-4
Hello Maarten,
I thought the following :
N_CH3OH does not become less than "0" because the saturation lower limit setting value is 0.
If you set the saturation lower limit setting value to a negative value, you can obtain a negative value in N_CH3OH.
Regards,
stozaki
Jonas
Jonas 2020-8-4
@stozaki
The problem is not that N_CH30H does not go lower than zero really, the issue is more why it is RISING although the input is negative. I would expect that with a negative input, the output should just be saturated to zero.
Can you experiment with the saturation value? Does it work without the saturation to zero? What is you saturate to -eps for example?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Sources 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by