Multivariable Centralized Control and MPC

In class activities

Author
Published

October 2, 2023

Modified

September 30, 2024

Activities

  1. Explain the advantages and limitations of Model Predictive Control compared to the conventional decentralized PID control system.

  2. Consider the process given by

(1)G(s)=[2exp(7s)10s+10.5exp(4s)19s+1exp(3s)20s+11.5exp(2s)15s+1]

Design the decouplers D12 and D21 and comment whether the systems are physically realizable or not.

The code for calculating decoupler transfer function is given in Matlab file/ mlx file.

  1. The discrete-time step response model of a process is given in .
Table 1: Discrete-time step response model
t i Δu y(t) ai
0 0 1 0 0
1 1 0 0.3 0.3
2 2 0 0.6 0.6
3 3 0 0.7 0.7
4 4 0 0.8 0.8
5 5 0 0.86 0.86
6 6 0 0.88 0.88
7 7 0 0.89 0.89

Suppose that the process is subjected to a consecutive step changes in the input: Δu=1 at t=0, Δu=1 at t=2 and Δu=1 at t=4, determine the values of y5 and y9.

The code for calculating decoupler transfer function is given in Matlab file/ mlx file. The data in can be downloaded from discrete_time_response.csv.

  1. Develop a DTSRM for the following transfer function

(2)Gp(s)=2e2s5s+1

For the given transfer cunction, - K = 2 - τ = 5 - θ = 2 seconds

Apply a Unit Step Input

To develop the step response model, apply a unit step change in the input u(t): Δu(t)=1, for t0

Let’s use Ts = 1 second.

Calculate the Step Response Coefficients ai

The step response coefficients ai represent the fraction of the process response that occurs in each discrete time interval. The response of the system is delayed by θ seconds, so no change is observed in the output until after θ.

The response y(t) to the step input for a FOPDT system is: y(t)=K(1etθτ),tθ

The discrete response coefficients ai are then calculated as:

ai=y(i)y(0)

first few coefficients:

i Time (s) y(iTs) ai
0 0 0 0
1 1 0 0
2 2 0 0
3 3 2(1e15) 0.3625
4 4 2(1e25) 0.6594
5 5 2(1e35) 0.9024
6 6 2(1e45) 1.1013

Construct the DTSRM

The DTSRM uses the coefficients ai to predict future outputs based on past input changes:

yn=y0+i=1naiΔu(tni)

For example, y(3)=y0+a3Δu(0)+a2Δu(1)+a1Δu(3)

The code for calculating ai is given in Matlab file/ mlx file.

  1. Second-Order Plus Dead-Time (SOPDT) Model to DTSRM

For the following transfer function

Gp(s)=Kτ1s+11τ2s+1eθs

develop DTSRM.

The code for calculating ai is given in Matlab file/ mlx file.

Citation

BibTeX citation:
@online{utikar2023,
  author = {Utikar, Ranjeet},
  title = {Multivariable {Centralized} {Control} and {MPC}},
  date = {2023-10-02},
  url = {https://amc.smilelab.dev//content/notes/09-Multivariable_Centralized_Control_and_MPC/in-class-activities.html},
  langid = {en}
}
For attribution, please cite this work as:
Utikar, Ranjeet. 2023. “Multivariable Centralized Control and MPC.” October 2, 2023. https://amc.smilelab.dev//content/notes/09-Multivariable_Centralized_Control_and_MPC/in-class-activities.html.