MATLAB Answers

Can you help me fix a faulty self-resetting integrator?

조회 수: 2(최근 30일)
Aleks Bohosyan
Aleks Bohosyan 13 Nov 2019
Answered: Fangjun Jiang 13 Nov 2019
My self-resetting integrator in Simulink doesn't behave as expected. I feed back the state port to the reset input and when the state port is negative, the output should be reset to the initial condition equal to zero. Despite that I still get negative values. How can I fix this?
Image2.JPG
Image1.JPG

  댓글 수: 0

로그인 to comment.

답변 수 (1)

Fangjun Jiang
Fangjun Jiang 13 Nov 2019
Right now, the reset trig is "falling" edge. Pure negative value won't trig it.
You could add a Comparison block to compare the value of state to >=0 and then connect to reset.

  댓글 수: 0

로그인 to comment.

이 질문에 답변하려면 로그인을(를) 수행하십시오.


Translated by