how to set the scaling factor for the MPC block
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi, everyone! I am using the MPC block to design a control system. I have a simple question, how to calculate the scaling factor for the MV or OV? The OV changes from 293 to 363 and the MV changes from 0.001 to 800, should I calculate the factor by max value - min value or just use the max value? Thanks for your help.
댓글 수: 0
채택된 답변
Amey Waghmare
2023년 1월 18일
편집: Amey Waghmare
2023년 1월 18일
Hi,
As per my understanding, you want to set the ‘Scaling factor’ for the manipulated variable and the output variable in the MPC block, but not sure of which value should be set.
The scale factor should be equal (or approximate) to the span of the variable. The span of the variable is the difference between its maximum and minimum values, in units of measure of plant model. So, the ‘Scaling factor’ should be calculated as (max-min).
Please refer to the following documentation for more details regarding the scale factor, https://in.mathworks.com/help/mpc/ug/scale-factors.html
I hope the above information resolves the query .
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Controller Creation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!