How to trigger a constant for a certain amount of time after an event?
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi Guys, I'm very new to SimuLink and this is the first time I've had to use it. I'm designing a controller for controlling the torque output to electric motors depending on driver request. The timer is used to control peak and nominal torque.
I've created a timer using the Add block with the output looping back in and various switches to control the other additions to the add block. What I need is, when the timer is >= 10 seconds I get an output to remain constant (lets say 1) for 20 seconds (this is the cooling time needed on the motor), I have a method to control the torque, I just can't get an output to stay constant for a set amount of time when that 10 second event is triggered.
Any ideas will be much appreciated!
Thanks, Dan
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with Simulink에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!