how to set the scaling factor for the MPC block

3 Ansichten (letzte 30 Tage)
Xu
Xu am 16 Jan. 2023
Bearbeitet: Amey Waghmare am 18 Jan. 2023
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.

Akzeptierte Antwort

Amey Waghmare
Amey Waghmare am 18 Jan. 2023
Bearbeitet: Amey Waghmare am 18 Jan. 2023
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 .

Weitere Antworten (0)

Tags

Produkte


Version

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by