How to make input in degree value with dwell time ?
7 ビュー (過去 30 日間)
古いコメントを表示
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
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.
採用された回答
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
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!