Synchronising plant and controller
조회 수: 1 (최근 30일)
이전 댓글 표시
I am using a controller in my simulink model. how to make sure that controller works only after previous controller output (n-1) is applied to the system?
댓글 수: 0
답변 (1개)
Raj
2019년 5월 2일
If your system and controller are working in same sample time then this question will not arise as output of controller will get applied to system before next output of controller is computed. Just set the execution priority accordingly. In case your system and controller are in different sampling time, then you will have to use rate transition block between your controller and system . Set the rate transition block output rate same as your plant. This will basically make sure that irrespective of what rate your controller gives output, the plant will get the next control only after application of previous control. Again, set the execution priorities correctly.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Linearization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!