Let’s consider a closed-loop structure with sampling as follows:
Fig.1
where the continuous part of the structure is represented by controlled system S with (continuous time) transfer function Fs and Zero- or First Order Hold H with the transfer function H0 or H1. The whole continuous-time part has then the transfer function
We suppose that the input is applied periodically and the output y is also observed periodically at the same discrete instants Δt at which the input is adjusted (the displacement of the samples is insignificant in comparison with the sampling period Δt ).
We suppose that Fc has the form:
where a and b are polynomials in z-1 and the greatest common divisor of polynomials a and b is (a,b) = 1.
Let the reference input (setpoint) w has the form:
where q and p are polynomials in z-1 and (q,p) = 1 is the greatest common divisor of polynomials q and p.
We define the polynomial a0 :
For quadratic optimal control we solve the linear Diophantine equation in polynomials:
and for the finite-time-optimal control:
for unknown polynomials x and y. For the quadratic optimal control it is necessary to find a solution which satisfies the condition that ∂y < ∂a where the symbol ∂ denotes the degree of a polynomial. For the finite time-optimal control it is necessary to find a solution which minimizes degree ∂y of the polynomial y.
Superscripts "+" and "–" denote factoring of a polynomial, tilde denotes reciprocal polynomial and superscript "*" denotes the reflection of a polynomial.
Then, for quadratic optimal control we have a discrete transfer function:
and for finite-time-optimal control:
The discrete transfer function R can be transformed into the form:
The relation between the transfer function and the recursive expression of the algorithm is given by:
The index i of the error signal ei and of the input to the system (controller output) ui denotes the size and sign in the previous steps of sampling (0 - i) related to the immediate value of a variable which has the index i, thus: