# What is MPC ( Model Predictive Control)?

**URL:** <https://forumautomation.com/t/what-is-mpc-model-predictive-control/6241>\
**Category:** Industrial Automation\
**Created:** [April 12, 2019, 11:24am UTC](https://forumautomation.com/t/what-is-mpc-model-predictive-control/6241 "2019-04-12T11:24:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sivaranjith](https://forumautomation.com/letter_avatar_proxy/v4/letter/s/ba9def/32.png) [@sivaranjith](https://forumautomation.com/u/sivaranjith)\
**Post date:** [April 12, 2019, 11:24am UTC](https://forumautomation.com/t/what-is-mpc-model-predictive-control/6241/1 "2019-04-12T11:24:02Z")

</div>

Model Predictive control (MPC) models are application control strategies that can be widely accepted and are useful for industrial process applications as a result of their ability to reformulate control problems as optimization problems and show satisfactory performance when meeting operational and safety constraints.

## Principle of Operation:

The principle of operation of MPC involves determining the dynamic model of the system to be controlled and determining the physical limits on the system variables. The purpose of the MPC is to determine the input sequence of controls that minimize the performance index or certain cost function (J), based on the desired output path above the predicted horizon (P).

From the calculated input sequence, only the first sample is applied to the process. All procedures are repeated in the next instant sample, according to the retroactive horizon strategy.

A continuous version of the approach can be automated with the general predictive control structure:

 ![mcp](https://cdn.forumautomation.com/original/2X/c/cb4a575f000f4d67c596f008c8fd449a09561851.png)

> [@How to read a control circuit (Control Logic Diagram)?](https://forumautomation.com/t/how-to-read-a-control-circuit-control-logic-diagram/1225):
>
> Learn to read Control Circuit Control circuit can be re represented pictorially in various ways.One of the common approach is to use control logic diagram which use common symbols which represents control components. Input device Symbols Decision device Symbols Decision devices are important components of a properly operating control system.One type of this device is the push button. There are two types of push buttons .Momentary contact and Maintain…

## Components of MPC:

MPC is based on the model and the prediction model is utilized. The algorithm of the MPC is based on the derived model. MPC pays more attention to the function than to the model’s formulation.

 ![image](https://cdn.forumautomation.com/original/2X/5/5a7f75c816b69af12d6bdadd44b73bacb29c115f.png)

To predict future output, the function of a predictive model is based on past information and future input.

Feedback is used to overcome disturbances and to achieve stability in the closed loop. The MPC uses the correction of feedback. The feedback effect is achieved in adaptive MPC through online system model updates and a PID feedback controller used as transparent control is applied.

**Prediction:**

Predictions are based on the model. Past information and information about the state of the system is used to do this.

The main requirement is that the cost depends on future control and the low-cost value implies good performance in the closed loop.

**Constraint Handling:**

If constraints are met, an MPC takes systematic account and allows for better performance in compensation and still maintains the robustness of unconstrained control laws for each time step. The handling of restrictions depends on the adopted MPC algorithm.

> [@What is control system? Open loop and Closed loop control system](https://forumautomation.com/t/what-is-control-system-open-loop-and-closed-loop-control-system/5292):
>
> What is control system? Systems that have the ability to regulate and stop a process to get the output as desired is called “Control System” And in general a control system is a collection of electric/electronic equipment, mechanical equipment, or other equipment used to guarantee stability, smooth transition and accuracy of a process. The input generally comes from the transducer. This [transducer](https://forumautomation.com/t/classification-of-transducers/2343) is a device that can convert physical quantities into electrical signals. Some e…

## MPC behaviour:

- The MPC controller’s behavior is intrinsically nonlinear as it takes into account state and control constraints. However, if the problem formulation contains no constraints, the controller is linear.

- The controller behaves linearly during operation when no constraints are active. In the first case, the control law, could (and should) be calculated off-line, whereas in the second case, the optimization procedure must be done each sample.

- Using the observation that the MPC control law is piecewise linear in the states, it is possible to calculate, off-line, all possible control laws.

- The on-line optimization problem is then transformed into a search problem, where the objective is to find the appropriate partition in the state space, identifying the corresponding control law
