필터 지우기
필터 지우기

How to make input in degree value with dwell time ?

조회 수: 7 (최근 30일)
KRISHAN THILAKARATHNE
KRISHAN THILAKARATHNE 2022년 5월 10일
댓글: Heshan Manu 2022년 5월 19일
How to make the following statement in simulink ?
"enter a step move of 270 deg of the rotor, a dwell time of 8 seconds anda return step move"
Is this make from 'Step input', 'Sine wave' or other way ?
  댓글 수: 3
Joel Van Sickel
Joel Van Sickel 2022년 5월 19일
편집: Joel Van Sickel 2022년 5월 19일
yes, use this block and create a second one and subtract/add them together to create 2 transitions.
Heshan Manu
Heshan Manu 2022년 5월 19일
Thank you verymuch for your guidance...

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

채택된 답변

Joel Van Sickel
Joel Van Sickel 2022년 5월 18일
편집: Joel Van Sickel 2022년 5월 18일
Hello Rishan,
this is a fairly complicated question depending how far you have to take it. If you want to create a Simulink model that is just a value that is 0, then goes to 270, and then back to 0 after 8 seconds, you can use a source block to create that.
To do it more complicated would require using some sort of timer. An integrator with an input value of 1 is an easy to implement a timer in Simulink. When it's output is 8, 8 seconds have passed. You can also reset the integrator once your reached the relevant time. However, if you need to make an actual motor move, you have to then translate that command to actual motor commands, which is very dependent on what type of motor you are using.
Regards,
Joel
  댓글 수: 1
KRISHAN THILAKARATHNE
KRISHAN THILAKARATHNE 2022년 5월 19일
Thanks Joel for your answer,
Actually this is question taken from assignment, it ask to use step input to make that input. I made step time=8 second, start value=0, final value=270, sample time=0 in side the paramenters of step input. Suppose it ok or do you have any other proposal ?

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

추가 답변 (0개)

카테고리

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

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by