GENERATE MPC

Generates an MPC control law

Contents

Function of MOBY-DIC TOOLBOX.

Description

This function is essentially an interface to Hybrid Toolbox and Multi Parametric Toolbox. Given a linearSystem object (defining the linear system to control) and a constraints object (defining constraints on state, inputs and parameters), this function returns a pwag object which represents the MPC control law for the regulation to a reference value of the linear system given in input.

Syntax

[Cpwag ctrl] = generateMPC(linSys,constr,options)

linSys is a linearSystem object, representing the linear system that must be regulated to the reference value. constr is a constraints object defining the constraints that inputs, states and parameters must fulfill. options is a structure with the following fields (all optional):

Cpwag is the pwag function representing the PWA MPT control law. ctrl is the object returned by Hybrid Toolbox or MPT.

Acknowledgements

Contributors:

Copyright is with: