Optimal Control Designs For Systems With Input Saturations and Rate Limiters
Optimal Control Designs For Systems With Input Saturations and Rate Limiters
Optimal Control Designs For Systems With Input Saturations and Rate Limiters
Abstract—Most systems in practice have some input satura- II. O PTIMAL C ONTROL FOR S YSTEMS WITH I NPUT
tions due to physical restrictions. But taking input saturations S ATURATIONS
into account directly is not easy in ordinary control design
methods. In this report, we show that the method recently A. Problem Definition
developed by one of the authors is useful to approximate the exact
solutions of Hamilton-Jacobi equations for systems including We consider nonlinear optimal regulation problems to mini-
input saturations. First, we propose a method to design nonlinear mize quadratic form cost functions for nonlinear time-invariant
optimal controllers for systems with input saturations by solving systems with state nonlinearities and input saturations. The
Hamilton-Jacobi equations. Next, it will be extend to a design
method of nonlinear optimal controllers for systems with rate state equation Σ and the cost function J are given as (1) with
limited actuators. Two numerical examples are illustrated for R being defined as a diagonal matrix.
the input saturation and input rate limited problems. ⎧
Keywords—Nonlinear Optimal Control; Saturation; Rate Lim- ⎨ Σ : ẋ= f (x) + g(x) · sat(u) , x(0) = x0
∞ , (1)
iter; Hamilton-Jacobi Equation
⎩ J= xT Qx + uT Ru dt
0
where
I. I NTRODUCTION
Q ≥ 0 , R > 0 , x ∈ Rn , u ∈ Rm ,
Most systems in practice have some input saturations due f (·) : Rn → Rn , g(·) : Rn → Rn×m ,
T
to physical restrictions. But taking input saturations into ac- sat(u) = [sat1 (u1 ) , · · · , satm (um )]
count directly is not easy in ordinary control design methods.
The effect of input saturations sometimes causes undesired and
phenomenon such as windup etc. Rate limiter is one sort of ⎧
⎨ ui (ui ≤ ui )
input saturation known as a main reason of oscillation phe-
sati (ui ) = ui (ui < ui < ui ) ,
nomenon such as aircraft PIO(Pilot-Induced Oscillation)[5]. ⎩
ui (ui ≤ ui )
Anti-windup controller and MPC (Model Predictive Control)
are well-known as general way to solve these problems. But ui ≤ 0 , u i ≥ 0 , (i = 1, 2, · · · , m).
they are not practical because of the difficulty of calculation
or the online calculation load[2][3]. An alternative approach B. Calculation Algorithm
is to solve Hamilton-Jacobi equations derived from an optimal In this subsection, we derive a Hamilton-Jacobi equations
control problem including input saturations. A method using and solve it by the method in [1]. First the dynamic program-
neural network is proposed in reference[4]. But it is less accu- ming is applied with the Hamiltonian
rate and little theoretical rigor. Recently a solution method to
Hamilton-Jacobi equations for systems with state nonlinearity H(x, p, u) = pT (f (x) + g(x) · sat(u))
is proposed[1]. In this report, we show that this method is + xT Qx + uT Ru,
also useful to approximate the exact solutions of Hamilton-
Jacobi equations for systems including input saturations. First, where p is the co-state. To minimize H(x, p, u) with u, we
we propose a method to design nonlinear optimal controllers have to minimize the terms of u,
for systems with input saturations by solving Hamilton-Jacobi
equations. Next, it will be extend to a design method of uT Ru + pT g(x) · sat(u) =
nonlinear optimal controllers for systems with rate limited m
actuators. Two numerical examples are illustrated for the input ri ui 2 + pT gi (x) · sati (ui ) ,
saturation and input rate limited problems. i=1
+ xT Qx + sat û x, −100
∂x
−150
∂V
· R · sat û x, = 0.
∂x −200
−250 x1
If a solution V (x) of this equation can be obtained, the optimal x2
feedback u∗ (x) can be constructed by substituting p(x) = −300 u1
u2
(∂V /∂x)(x) in (3). −350
0 1 2 3 4 5 6 7 8
Since the soltions of Hamilton-Jacobi equations and the t
solutions of Hamilton’s canonical equations are equivalent, we
Fig. 1. Response by the nonlinear controller
consider the Hamilton’s canonical equations. Defining a new
function sat(u) = sat(u) − u to bring out the linear terms of 100
the canonical equation, the new Hamiltonian H is 50
T T
H (x, p) = p f (x) + x Qx 0
1 −50
− (g(x)T p)T R−1 g(x)T p
x1 , x2 , u1 , u2
4 −100
(û(x, p))T R · sat
+ sat (û(x, p)) . −150
- 2043 -
III. O PTIMAL C ONTROL FOR S YSTEMS WITH R ATE Now, the same caltulation procedure as in Sec. II, except
L IMITED ACTUATOR for the two variable function sat(x, u), can be applied. The
A. Problem Definition and Approximation of Rate Limiter optimal input u∗ (x) is given as
We consider nonlinear optimal regulation problems to mini- u∗ (x ) = V −1 sat(V us , û(x , p(x ))), (9)
mize quadratic form cost functions for nonlinear time-invariant
systems with state nonlinearities and rate limiters. The state where û(x , p) = − 12 V −1 R−1 B T p , B = [0 1]T and p is the
equation Σ and the cost function J are given as (5) with R co-state. The feedback thus constructed uses the augmented
being a diagonal matrix. The parameters and the functions are state us . In actual systems with rate limited actuators, such
defined as well as (1). The rate limiter functions are described as aircraft longitudinal dynamics, the measurement of the
as RL(u). saturated input (the elavator angle in the aircraft model) is
⎧ available.
⎨ Σ : ẋ= f (x) + g(x) · RL(u) , x(0) = x0
∞ C. A Numerical Example
, (5)
⎩ J= L(x(t), u(t)) dt
0 The proposed method is applied to a numerical example.
The state equation is given as
where
x˙1 0 1 x1 0
L(x, u) = xT Qx + uT Ru , Q > 0 , R > 0. = + RL(u).
x˙2 −16 0 x2 1
In general, rate limiter is difficult to handle analytically The maximum and minimum values of the rate limiter are
and various approximation methods are proposed[5][6]. The u = −2, u = 2. Constants V, Q, R are V = 20, R =
most common way of approximating rate limiters is to use I2×2 , Q = 0.01. After applying the iterative stable manifold
the integrater-feedback block in Fig. 3 (see, eg., [2]). This algorithm 30 times, the co-state p(x) is approximated by 3-
order polynomials. The simulation is calculated, where the
sat
u us initial state is x(0) = [0.03 − 0.257]T , us (0) = 0. The system
+ 1
V s system and the input responses by the nonlinear controller are shown
-
in Fig. 4. As a comparison, the system and input responses by
linear optimal controllers for the augmented system (8) and the
original system (5) are shown in Figs. 5 and 6, respectively.
Fig. 3. Rate Limiter Approximation Block As a comparative controller, the response and the input by
the linear optimal controller for (8) are shown in Fig. 5, the
block is written as response and the input by the linear optimal controller for (5)
u̇s = sat(V (u − us )). (6) are shown in Fig. 6.
In all figures, one sees that rates of inputs are restricted
By going through the block, the rate of inputs u by a by 2. Particularly, in Fig. 6, the gap between controller
controller is limited, yielding actual inputs us to the system. input and actual input to the system is more evident. In
The maximum and minimum values of the rate limiter are general, controllers based on the augmented system have better
u, u. V = diag[v1 · · · vm ] is a constant matrix and the bigger performance (see, Figs. 4 and 5). This difference may be the
these values are, the better the approximation accuracy is. effect of the additional us feedbacks. If the measurement of us
is available, it is expected that the controllers designed for the
B. Calculation Algorithm
augmented systems improve the responses. Comparing Fig. 4
We first apply the dynamic programming for the augmented and Fig. 5, the nonlinear controller achieves faster stabilization
system (5) and (6) by rewriting (6) as with less oscillation and smaller input. Since rate limiters
induce phase lag as are well-known, the nonlinear controller,
u̇s = −V us + sat(V us , V u). (7)
considering the saturation in the rate limiter, switches the input
The function sat(x, u) means a saturation function which toward the negative direction before the linear controller does.
maximum and minimum limits are u+x, u+x. The augmented This lag between the nonlinear and linear controller inputs may
system is written as yield the difference in performance. In these simulations, cost
function values are obtained as J = 2.4977 for the nonlinear
x˙1 f (x1 ) + g(x1 )us 0
= + sat(V us , V u). (8) controller, J = 3.8277 for the linear controller with augmented
u˙s −V us 1
state and J = 13.677 for the linear controller for the original
For this state equation, the cost function J is redefined as system.
∞
J= (x (t)T Qa x (t) + u(t)T Ru(t)) dt, IV. C ONCLUSIONS
0 In this report, first, we proposed an optimal control design
T Q 0 method for systems with input saturations and then, extended
x = [x1 us ] , Qa = .
0 0 it to systems with rate limited actuator. The designs are
- 2044 -
0.6 [2] P. Hippe: Windup in control: Its effects and their prevention, Verlag
x1 Springer, London, (2006)
0.4
x2 [3] D. Q. Mayne, J. B. Rawlings, C. V. Rao and P. O. M.Scakaert: Con-
us strained model predictive control: Stability and optimality: Automatica,
u Vol.36, pp.789-814, (2000)
0.2
[4] M. Abu-Khalaf, F. L. Lewis: Nearly Optimal control laws for nonlinear
systems with saturating actuators using a neural network HJB approach:
x1,x2,u1,u2
−0.8
0 1 2 3 4 5
t
0.8
x1
0.6 x2
us
0.4 u
0.2
x1,x2,u1,u2
−0.2
−0.4
−0.6
−0.8
0 1 2 3 4 5
t
3
x1
x2
2 us
u
1
x1,x2,u1,u2
−1
−2
−3
0 1 2 3 4 5
t
- 2045 -