# US 2015/0145558 A1 · Method for creating digital circuits of a feedback control system that implements an approximation technique for model predictive control (mpc)

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2015/0145558 A1
- Document ID: US20150145558A1
- Status: Published application
- Kind: A1
- Application number: 14/405,229
- Filed: 2013-05-21
- Published: 2015-05-28
- Earliest claimed: 2012-06-04
- Assignees: Universita' Degli Studi Di Genova
- Applicants: Universita' Degli Studi Di Genova
- Inventors: Marco Storace; Tomaso Poggi; Alberto Oliveri; Alberto Bemporad
- Web page: https://patentgrep.com/patent/US20150145558A1

## CPC

- G06F 30/327: Logic synthesis; Behaviour synthesis, e.g. mapping logic, HDL to netlist, high-level language to RTL or netlist
- G05B 13/048: {using a predictor}
- H03K 19/017581: {programmable}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)
- H03K: PULSE TECHNIQUE (measuring pulse characteristics G01R; modulating sinusoidal oscillations with pulses H03C; transmission of digital information H04L; discriminator circuits detecting phase difference between two signals by counting or integrating cycles of oscillation H03D3/04; automatic control, starting, synchronisation or stabilisation of generators of electronic oscillations or pulses where the type of generator is irrelevant or unspecified H03L; coding, decoding or code conversion, in general H03M)

## Abstract

Method for creating digital circuits of an MPC controller (2), which implements an approximation technique for Model Predictive Control (MPC), in which a quadratic programming (QP) or linear programming (LP) optimization problem is formulated by starting from a model defined over a set of states of a state (x), wherein the said set of states is partitioned into simplices identified by vertices (v), and wherein said method comprises the steps of a) compute a solution (w*) of the optimization problem and define a control law (u(x)); b) check the stability under the control law (u(x)); c) synthesize a digital circuit by starting from the control law (u(x)) and the vertices (vi).

## Claims

### Claim 1

Method for creating digital circuits comprised in an MPC controller, which implements an approximation technique for Model Predictive Control (MPC), in which a quadratic programming or linear programming optimization problem is formulated based on a linear state-space dynamical model of a physical process having a state x, and provides a control law (u(x)) defined over a partition that contains simplices having vertices (vi), where i ranges from 1 to Nv, and wherein the vertices (vi) are comprised in a given set of states of the physical process, wherein said method comprises the following steps:
a. compute a solution (w*) of the optimization problem and define the control law (u(x));
b. check the stability of a closed-loop system under the control law u(x), wherein the closed-loop system comprises the MPC controller and the physical process; and
c. synthesize a digital circuit by starting from the control law (u(x)) and the vertices (vi).

### Claim 2 (depends on 1)

Method according to claim 1, wherein the step (a) is performed without computing a multiparametric quadratic programming solution (U*PWA(x)) of an MPC problem.

### Claim 3 (depends on 2)

Method according to claim 2, wherein the control law (u(x)) is defined as the product between a vector of basis functions φ(x)) and a vector of parameters constituting the solution (w*).

### Claim 4 (depends on 1)

Method according to claim 1, wherein the model is defined by starting from a physical process.

### Claim 5 (depends on 1)

Method according to claim 1, wherein every dimensional component (xj) of the state (x), where j=1, . . . n, is divided into pj subintervals of uniform length, so that the set of states is divided into hyper-rectangles, and contains the Nv vertices (vi), where Nv=πj=1n(pj+1).

### Claim 6 (depends on 5)

Method according to claim 5, wherein each hyper-rectangle is partitioned into n! simplices with non-overlapping interiors.

### Claim 7 (depends on 1)

Method according to claim 1, wherein the step (b) comprises a sub-step in which, starting from the control law (u(x)), the construction of a Lyapunov function is attempted.

### Claim 8 (depends on 1)

Method according to claim 1, wherein the digital circuits synthesized at step (c) are implemented on FPGA, DSP, or the like.

### Claim 9 (depends on 19)

Circuit architecture for computing a value of at least one piecewise-affine simplicial (PWAS) function (fPWL(z)), comprising an address generator, a memory, and a pt-generator, wherein said address generator takes coordinates of a point (z) as input, and the point (z) having n dimensions is obtained by resealing a state (x) of a model, and wherein the circuit is able to perform the following steps:
a. locate an hypercube containing the point (z) by using integer parts of the coordinates of the point (z) as input of the address generator;
b. locate which of n! simplices contained in the selected hypercube contains the point (z) by using decimal parts of the coordinates of the point (z) as input of the μ-generator and of the address generator; and
c. compute the value of the PWAS function (fPWL(z)) in point (z) by linear interpolation of the value of said function (fPWL(z)) in the vertices of the selected simplex;
wherein, both the address generator and the memory are synthesized starting from a control law (u(x)) and vertices (vi), which are computed by a method according to claim 19.

### Claim 10 (depends on 9)

Circuit architecture according to claim 9, wherein the value of the PWAS function fpwL(z)) is the sum of the products between coefficients wj, which are stored in the memory, and coefficients μj, which are generated by the μ-generator, wherein both sets of coefficients depend on the point (z), where j ranges from 1 to n.

### Claim 11 (depends on 10)

Circuit architecture according to claim 10, wherein the memory comprises a number of memory banks equal to the number of PWAS functions (fPWL(z)) to compute, wherein each memory bank contains the coefficients wj of each PWAS function (fPWL(z)), and wherein all PWAS functions (fPWL(z)) are partitioned in the same way, so that the steps (a) and (b) are common to all the PWAS functions (fPWL(z)).

### Claim 12 (depends on 10)

Circuit architecture according to claim 10, wherein the address generator generates an address of one of the coefficients wj contained in the memory, so that the memory provides the coefficient contained at said address as output, thereby providing a serial circuit architecture.

### Claim 13 (depends on 10, 11)

Circuit architecture according to claim 10 or 11, wherein the address generator generates addresses of all the coefficients wj contained in the memory, so that the memory provides all the coefficients wj as output, thereby providing a parallel circuit architecture.

### Claim 14 (depends on 9)

MPC controller implementing an MPC technique for controlling a physical process, wherein said MPC controller takes inputs, and produces outputs, wherein the inputs comprise a sampled system state (xk) and the outputs comprise a control signal (uk), wherein the control signal (uk) is generated through at least one PWAS function (fPWL(z)), which is implemented by replicating one or more times a circuit architecture according to claim 9.

### Claim 15 (depends on 14)

MPC controller according to claim 14, comprising a circuit block, which converts a state (xi) of the physical process into an input data (z) for the circuit architectures by implementing a mapping function, wherein the domain of the state (xi) is non-uniformly partitioned, and the domain of the PWAS function (fPWL(z)) is uniformly partitioned.
