PROJECTS / MPC · CSTR · State-space
Model Predictive Control for a Non-Isothermal CSTR
Development and evaluation of a predictive controller for a non-isothermal Continuous Stirred-Tank Reactor, covering process analysis, operating-point stability, linearization, discretization, state-space properties, multivariable structure and constrained MPC implementation.
6

OPERATING POINTS

MIMO

CONTROL STRUCTURE

QP 

OPTIMIZATION

PROJECT OBJECTIVE
From process dynamics to predictive control
The work progressed from analysing the non-isothermal CSTR and its operating points to proposing a discrete-time multivariable control structure and implementing an MPC controller. The final evaluation considered both servo and regulatory problems.
01 · PROCESS ANALYSIS

A coupled non-isothermal process

Six operating points were analysed before the detailed control design.

Multiple operating points

Six operating points were analysed as part of the steady-state and stability assessment.

All points stable

The eigenvalue analysis reported all six analysed operating points as stable.

Coupled variables

The model and transfer functions indicated coupling between process variables, motivating a multivariable control structure.

Point Eigenvalue 1 Eigenvalue 2 Status
1-0.0787-0.0787Stable
2-0.0568-0.0568Stable
3-0.0382-0.0382Stable
4-0.0224-0.0224Stable
5-0.0090-0.0090Stable
6-0.0176-0.0408Stable
02 · MODEL DEVELOPMENT

From continuous dynamics to a discrete control model

01

Process model

Non-isothermal CSTR dynamics.

02

Operating points

Steady-state and stability analysis.

03

Linearization

Local model around the selected point.

04

Discretization

Continuous to discrete domain.

05

Control structure

Multivariable formulation.

Selected point

Operating point 3

Point 3 was selected for detailed control analysis. The presentation reports that this point was both controllable and observable.

Frequency domain

Z-domain analysis

The transfer functions confirmed coupling between the variables and supported the proposed multivariable control structure.

MODEL TRANSFORMATION
CONTINUOUS MODEL
↓
Linearization + Discretization
↓
DISCRETE MODEL
Basis for predictive control
03 · MPC FORMULATION

Building the predictive controller

01

Scaling

Normalize variables and limits.

02

Incremental form

Formulate control moves.

03

Prediction

Generate future predictions.

04

Objective

Define optimization objective.

05

QP solution

Solve constrained optimization.

04 · IMPLEMENTATION

Offline preparation + online updates

Offline

Offline calculations

Import model matrices, operating points and scaling parameters; construct prediction, objective and constraint structures.

Online

Online loop

Read process information, build and solve the optimization problem, apply the control action, simulate the process and store results.

MPC CYCLE
Measurement
→
Prediction
→
QP
→
Control Action
→
Process Update
↺ repeats every sampling instant
05 · CLOSED-LOOP EVALUATION

Servo and regulatory problems

✓
3.1 · SERVO

Setpoint tracking

The reported result was satisfactory, with good controller performance around the selected operating point.

!
3.2 · REGULATORY

Disturbance rejection

The reported regulatory result generated an offset, especially regarding the concentration disturbance.

06 · RESULTS

What the study demonstrated

01

Process

Multiple steady-state operating points were identified.

02

Stability

All analysed points were classified as stable.

03

Control

Process coupling supported the proposed multivariable strategy.

04

MPC

The controller showed good performance around the selected operating point.

SOURCE CODE

Explore the full implementation on GitHub

Model, discretization routines, MPC formulation and simulation scripts used throughout this project are available in the public repository.

View project on GitHub
IQ 408 · Advanced Process Control · Lucas Pizolio Cazulo