simulink-using threshold

조회 수: 21 (최근 30일)
saima
saima 2012년 4월 5일
Hi,
I am trying to simulate a case in simulink where i need to set the output to 1 when the input is between two threshold levels, otherwise the output is 0. I tried to use relay block, but it incorporates hysteresis which i do not want. PLEASE GIVE ME A SOLUTION.
  댓글 수: 1
TAB
TAB 2012년 4월 6일
Is there any problem with using comparator block (<=, >=) along with switch block to implement the logic ?

댓글을 달려면 로그인하십시오.

답변 (2개)

mahjoub el attar
mahjoub el attar 2012년 4월 5일
The answer is in your question. Don't use Relay block but Threshold Block... Friendly.
  댓글 수: 2
saima
saima 2012년 4월 5일
hah hah, thanks a lot, but the threshold block that i know is wrap to zero, it provides only one threshold(when the input is above threshold output is zero), i need two threshold values. can you help please?
mahjoub el attar
mahjoub el attar 2012년 4월 5일
I did it before but I just don't remember.I need to check my old models on my own laptop tonight.
I hope you'll get a faster answer.

댓글을 달려면 로그인하십시오.


K E
K E 2012년 4월 5일
Try the Interval Test block.

카테고리

Help CenterFile Exchange에서 Simulink에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by