How to solve the discontinuity of MPC controller output?
조회 수: 2 (최근 30일)
이전 댓글 표시
In simulink, I used the MPC toolbox to obtain the control value calculated by MPC with a sampling period of 0.05s.
In the following calculations, I need to derive the control variable. However, 0.05s is much smaller than the simulation step size, which leads to an infinite value for the derivative.
I tried to use low-pass filtering, but it still can't solve the problem well.
The MPC algorithm should calculate the control variables in the control horizon together, and then output them one by one. Is it possible to perform interpolation processing before the output of the MPC controller? Or is there any better way to solve this difficulty?
댓글 수: 0
채택된 답변
추가 답변 (1개)
Fangjun Jiang
2020년 8월 6일
Use a rate transition block or zero-order holder block to deal with different sample rate
댓글 수: 4
참고 항목
카테고리
Help Center 및 File Exchange에서 Linear Plant Specification에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!