A negative input value for integrator gives a positive output
조회 수: 3 (최근 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?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/336970/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/336967/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/336970/image.png)
댓글 수: 4
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 Center 및 File Exchange에서 Sources에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!