1. Introduction
Proportional Integral Derivative (PID) controllers are the most widely-used controllers in industry despite of many new results in control theory that have been achieved in recent years. This is because in many cases PID controllers achieve close to optimal performance, because it is hard to compete with their investment-to-profit ratio and because of their well-understood influence on the closed-loop system behavior, as well as the availability of many tuning procedures for various performance objectives, at least for SISO systems or MIMO systems that can be well decoupled. Often, the performance achieved by PID controllers can be significantly improved by using more effective design techniques. Therefore the field of PID controllers is an on-going active field of research. A review of most recent techniques for tuning and designing PID-based control structures, together with methods for assessing their performance is presented in [
1]. In [
2] optimal decentralized MIMO PID controller design for a benchmark MIMO distillation column models is carried out using a Modified Firefly Algorithm (MFA), where the optimality is with respect to an objective function which is a weighted combination of the
-norm and the
-norm of the tracking error, with respect to a reference signal.
Tuning of MIMO coupled systems PID controllers is much more challenging than tuning PID controllers for SISO system or decoupled MIMO systems, because of the number of parameters and because they should be tuned all at once, since otherwise, tuning each channel separately might end up in a very poor performance of the whole system or even destabilize the whole system. In [
3] the need for effective methods for the design of PID optimal controllers for MIMO coupled systems that cannot be well approximated by second-order systems, was raised. In [
4] the parametrization of all the solutions of the standard
control problem is used to obtain Bilinear Matrix Inequalities (BMI’s) constraints on the PID gains for each frequency. Next, for each frequency, Linear Matrix Inequalities (LMI’s) restricted constraints for a stabilizing PID gain are derived from the BMI constraints. Finally, the set of LMI’s for a chosen finite set of frequencies are solved by the Iterated Linear Matrix Inequalities (ILMI) method. The sequence is shown to converge to a local optimum. In [
5] a method for MIMO coupled systems PID controller design for stable plants (given by transfer function at an appropriate set of frequencies) is represented. The method relies on solving a sequence of SDP’s, but it cannot guarantee finding a globally optimal design.
In this article, we suggest a randomized algorithm for PID optimal controllers. The algorithm is based on the known reduction of [
3] to the Stabilizing Static-Output-Feedback (SOF) problem, which is then solved by the Ray-Shooting Method, where the method is used both for the search for feasible starting SOF and for the optimal SOF (see [
6,
7,
8] for some applications of the method).
A closely related approach to ours is given in [
9] where the problem is first reduced to the SOF problem, by the reduction of [
3] and by using a descriptor system representation of the augmented system (in order to bypass the feasibility condition that
should be invertible—see the following). Next, the search problem of a starting stabilizing SOF controller is solved via the ILMI approach. Finally, a Bounded-Real Lemma version for descriptor systems is used in order to get a set of Quadratic Matrix Inequalities (QMI’s) that their solution guaranties a
suboptimal
gain. The last can be solved by the ILMI method (without a proof of convergence). The method of ILMI was discussed in many articles (see [
3,
10,
11,
12]). Unfortunately, the ILMI method needs a good starting point and has no proof of convergence in general.
Another closely related approach is given in [
13] where the 2-Degree of Freedom PID (2-DOF-PID) problem is reduced to the SOF problem, which in order to incorporate the optimization problem of
suboptimal
gain, is reformulated as a set of BMI’s, where the last is solved via standard BMI solvers.
Many problems can be reduced to the SOF problem, imposing structural or other constraints on the controllers. These include the reduction of the minimal-degree dynamic-feedback problem and robust or decentralized stability via static-feedback (see [
14,
15], resp.). The design problem of remote digital PID controllers formulated as robust SOF problem for discrete-time Networked Control Systems (NCS), subject to time-delays and randomly missing-data is considered in [
16]. A formulation of the reduced-order
filter problem as constrained SOF problem, is considered in [
17]. Unfortunately, the SOF problem with bounded entries or other structural constraints is known to be NP-hard (see [
14,
18]). Therefore, minimal-gain SOF with bounded entries is obviously NP-hard problem. Exact Pole-placement and simultaneous and robust stabilization via SOF are also NP-hard (see [
14,
19], resp.). Thus, practically, one should expect that only approximation or randomized algorithms will be able to cope with these problems.
The article is organized as follows:
In
Section 2 we define the feasibility problem of PID controllers and the specific reduction to the SOF problem that will be used. In
Section 3 we define the PID controller optimization problems where the optimality is with respect to the
-norm, the
-norm and the LQR functional, with possible regional pole-placement. In
Section 4 we describe the suggested randomized algorithm and finally, in
Section 5 we give a real-life example for each one of the above-mentioned optimization problems.
The notions are standard. By and we denote the real and imaginary parts of , resp., where by we denote the left half-plane. For a matrix Z we denote by its transpose and by we denote the conjugate matrix. By we denote conjugate-transpose of Z. By we denote the Moore-Penrose pseudo-inverse of Z, where by and we denote the left and right orthogonal projections and , resp.. For a square matrix Z, we denote by the spectrum of Z and by we denote the trace of Z. For matrices we denote by the Kronecker product. By we denote the spectral norm of Z, i.e., the largest singular value of Z, where by we denote its Frobenious norm, i.e., . For matrices with the same size, we denote by the Frobenious inner product. For a vector v we denote by its Euclidean norm . By we denote the vector obtained from the matrix Z by chaining all its columns to a single column. By we denote the inverse function of . For a transfer function analytic in the open right half-plane, we denote by its norm where and by we denote its norm where . For a set X in a topological space, we denote by its closure and by its interior. For two sets we denote by the convex-hull of X and Y, i.e., the minimal closed convex set that contains .
2. The Problem of Stabilization via PID Controllers
Let a system be given by:
where
, where
x is the state,
z is the regulated output,
y is the measurement,
u is the control input and
w is the noise. Assume that
and let
where
is the new reference input. Let
be the augmented state, then:
implying that:
where
is assumed to be invertible. Now:
where:
Let
then, the augmented system is given by:
Once that a stabilizing SOF matrix
for the augmented system (
1) has been found, we have
. Thus,
from which we conclude that:
We conclude that the stabilization problem via PID controller is reducible to the stabilization via SOF problem, with the constraint that is invertible. In the following we will assume that the couples and are controllable, in order to make the task of finding a feasible starting SOF easier.
Remark 1. Please note that although the method relies on a specific known state-space model of the plant, it does not require an exact model, since the modeling errors can be included in the dynamic uncertainty and they can be taken into account by selecting a nominal model with a suitable weighting function (see [20]). In any case, after designing a PID controller for the nominal model, its performance should be checked on the non-linear plant model. Note also that the requirement that should be invertible is not a problem since that if a stabilizing SOF exists, there exist an open neighborhood of it where all the members are stabilizing SOF’s, where on the other hand, the set of all matrices that does not satisfy the invertibility condition has measure 0. Remark 2. Since the problem of SOF is (polynomial-time) reducible to the PID controller problem (by restriction to ), therefore the PID controller problem is as hard as the SOF problem. Since the SOF problem with structural constraints (on ), or the problem of exact pole-placement via SOF are NP-hard, it follows that these problems with PID controllers are NP-hard. We therefore conclude that unless , no deterministic polynomial-time algorithm can solve these problems and we therefore are led to use randomization with the hope that randomized algorithms will be able to cope more efficiently with these problems.
3. Statement of the Problem
The
and
norm minimization relates to the transfer function
from the noise
to the output
(when the reference signal
is zero and the system is derived only by the noise). The transfer function is given by:
In order that the -norm of would be finite, we need that . We therefore have the following lemma (given without a proof):
Lemma 1. We have:if and only if:In this case, the set of all matrices satisfying (4) is given by:where Z is arbitrary matrix with the same size as . For the LQR minimization, we assume that
and
, i.e., the system is derived by the initial state
(initial step input). Assume that a SOF
was found, such that
is stable. Let the LQR functional be defined by:
where
and
. Let
. Then,
and substitution of the last into (
7) yields
where
is the unique solution to the Lyapunov equation
given explicitly by
Thus, we look for SOF
that minimizes the functional
. When
is unknown, we seek a SOF
for which
is minimal. In this case, we get a robust LQR via SOF, in the sense that it minimizes
for the worst possible (unknown)
. Please note that
and that there exists
for which equality holds. Therefore
, with equality in the worst case.
Let
denote a subset of
, which is symmetric with respect to the
x-axis, containing a positive length segment of the real axis, with some neighborhood of it, and such that
(i.e.,
is the closure of its interior). Let
denote the set of all matrices
, such that
is stable, i.e.,
. By
, we denote the set of all matrices
, such that
. In this case, we say that
is
-stable (or, the augmented system (
1) is
-stable). In the sequel, we will occasionally write
instead of
, when it is clear what the size of the related matrices is. Please note that
is a closed set, since
is closed and that
has nonempty interior (if it is nonempty) since
has nonempty interior.
Under the assumptions that
and that
are controllable (and the additional assumption (
5) when dealing with the
-norm minimization), for the PID controller problem with minimal
-norm, we need to solve:
where
is given by (
3). For the PID controller problem with minimal
-norm, we need to solve:
where
is given by (
3) and, for the PID controller problem with minimal LQR functional-value, we need to solve:
where
is given by (
11).
4. The Suggested Algorithm
Assume that
was found by the Ray-Shooting algorithm ([
6]) or by any other method (see [
21,
22,
23]). We assume that
is invertible (and in addition, we assume that
has the form (
6) for some initial matrix
, when dealing with the
-norm minimization). Let
and let
be a unit vector w.r.t. the Frobenius norm, i.e.,
. Let
and let
be the hyperplane defined by
, where
. Let
and let
denote the set of all
, such that
. Let
, where
denotes the closed ball centered at 0 with radius
(
), with respect to the Frobenius norm on
. Let
denote the convex-hull of the vertex
with the basis
. Let
and please note that
is compact (but generally not convex). We wish to minimize a continuous function
over the compact set
. Let
denote a point in
where a global minimum of
is accepted. Obviously,
, for some direction
, as above. When dealing with the
-norm minimization, and if
then, the directions will be constrained to have the form
, in order that
would have the form (
6). We will also restrict
V as we have restricted
, in order that any element of
would have the structure (
6).
The suggested Algorithm 1 goes as follows:
We start with a point
, found by the Ray-Shooting algorithm [
6]. Assuming that
, the inner-loop (
) uses the Ray-Shooting Method in order to find an approximation of the global minimum of the function
over
- the portion of
bounded in the cone
. The proof of convergence in probability of the inner-loop and its complexity can be found in [
6] (see also [
7]). In the inner-loop, we choose a search direction by choosing a point
F in
- the base of the cone
. Next, in the most inner-loop (
) we scan the ray
and record the best controller on it. Repeating this sufficiently many times, we reach
(or an
- neighborhood of it) with high probability, under the assumption that
. In [
8] it was shown that by taking
and
iterations in the outer-loop (where
), we have
almost surely. Specifically, when
, it was suggested to take
and
orthogonal matrix
, and to take the directions
in the outer-loop.
The outer-loop (
) is used instead of executing the Ray-Shooting algorithm again and again, by taking
as the new vertex of the search cone instead of
. The replacement of
can be avoided if
is chosen sufficiently large. The replacement of
by
can be considered as a heuristic step, which is made instead of running the Ray-Shooting algorithm many times in order to generate "the best starting point", which is relevant only if we actually evaluate
on each such point and take the point with the best value as the best starting point. Since in any case, we evaluate
in the main algorithm, we could avoid the repeated execution of the Ray-Shooting algorithm. The outer-loop is similar to what is done in the Hide-And-Seek algorithm (see [
24,
25]). The convergence in probability of the Hide-And-Seek algorithm can be found in [
26].
Algorithm 1 Optimal PID controller randomized algorithm |
Require: An algorithm for deciding Ω-stability and an algorithm for computing . Input: such that is Ω-stable and is invertible (with the needed structure (6) if -norm minimization is sought), and integers . Output: that globally minimize (or within ϵ distance from a global minimum of ) in h-radius closed-ball centered at .- 1.
- 2.
- 3.
- 4.
- 5.
whiledo - 6.
- 7.
choose such that , uniformly at random - 8.
set - 9.
for to n do - 10.
choose uniformly at random - 11.
for to s do - 12.
- 13.
- 14.
if then - 15.
if then - 16.
- 17.
- 18.
end if - 19.
end if - 20.
end for - 21.
end for - 22.
if then - 23.
- 24.
- 25.
end if - 26.
end while - 27.
if is invertible then - 28.
return - 29.
else - 30.
return - 31.
end if
|
Remark 3. Please note that should satisfy the feasibility condition that is invertible, in order to raise the probability that would be invertible. Indeed, one can execute the algorithm without this condition, i.e., execute the algorithm from an infeasible point.
Note also that during the optimization in the main loop of Algorithm 1, we do not check this feasibility condition and we may pass to a better point which might not be feasible, because such points might lead to a better feasible points. This is made because the set of non-feasible points has measure 0 and thus, we should not be disturbed by the possibility of temporarily stepping on infeasible points, during the search. The feasibility condition is checked at the end of Algorithm 1 and experience with the algorithm shows that almost always we end up with a feasible point, when we start from a feasible point (which is almost always the case, if was found).