Académique Documents
Professionnel Documents
Culture Documents
Ease of implementation.
Full-state-access method
Tracking error act the true dierence between the plant output
and model output.
Further modication
does not satisfy the positive real constraints over a wide range
of plant parameter variations.
Presented By, Dr. R. H. Chile 4/148
Adaptive Control
Direct Adaptive Control Technique
Contd...
Proposed Modication
Above points show the necessity of developing a direct
adaptive controller which can
give the tracking error of true dierence between the plant and
model outputs (i.e. without augmenting the plant as well as
the reference model).
1
(k) = .e
c
(k).y
p
(k)
k
1
(k) = .e
c
(k).r (k)
where,
, are constant adaptive gains.
Presented By, Dr. R. H. Chile 5/148
Adaptive Control
Direct Adaptive Control Technique
Contd...
Presented By, Dr. R. H. Chile 6/148
Adaptive Control
Direct Adaptive Control Technique
Contd...
Use of low pass lters both at the output and input of the
plants.
The sign of k
p
,
the degree of m, n,
the coecient of y
p
(z) and u
p
(z) are unknown.
Presented By, Dr. R. H. Chile 14/148
Adaptive Control
Direct Adaptive Control Technique
Modications
Reference Model
The sign of
k
p
and
k
m
are assumed to be same and positive.
i
= the time-constant of the lter.
y
f
(k)= ltered output
u
f
(k)= ltered input
y
p
(k)= output of plant
1
(k) = e
c
(k).y
p
(k)
2
(k) = e
c
(k).y
f
(k)
3
(k) = e
c
(k).u
f
(k)
Presented By, Dr. R. H. Chile 20/148
Adaptive Control
Direct Adaptive Control Technique
Modications
Contd...
+|k
p
|
2
k
where,e
c
= control error = y
p
(t) y
m
(t)
k
p
= gain of the process
k
= k k
To identify
p
and k
p
from observed input-output pair u(t)
and y
p
(t).
If plant parameters
p
and k
p
are unknown, then controller
parameters
and k
= (
m
p
) /k
p
k
= (k
m
/k
p
) .
y
p
(t) + k
r (t),
so that
lim
t
(y
p
y
m
) = 0
Presented By, Dr. R. H. Chile 37/148
Adaptive Control
Indirect Adaptive Control
Structure of Indirect Adaptive Controller
Contd...
k
p
(t) respectively and the control parameters are adjusted,
assuming that these are corresponding to the true values of
the plant parameters.
Obtained as,
(t) = (
m
p
(t)) /
k
p
(t)
and k(t) = k
m
/
k
p
(t)
Presented By, Dr. R. H. Chile 39/148
Adaptive Control
Proposed Study
Proposed Study
STRUCTURE
y
p
(t) =
m
y
p
(t) + (
p
(t)
m
) y
p
(t) + k
p
u(t)
The output identication error and
the parameter estimation error,
e
i
(t) = y
p
(t) y
p
(t)
p
(t) =
p
(t)
p
(t)
The identication error is dened as,
e
i
(t) =
m
e
i
(t)
p
(t)y
p
(t)
The adaptive identication law used is
p
(t) = e
i
(t)y
p
(t)
The control input is then implemented as,
u(t) = ((
m
p
(t)) /k
p
) .y
p
(t) + (k
m
/k
p
) .r (t)
Presented By, Dr. R. H. Chile 42/148
Adaptive Control
Proposed Study
Indirect Adaptive Control-I
Contd...
Stability:
It is a globally stable adaptive system as well as asymptotic
model following as shown below:
A Lyapunov function candidate for IAC-I is
V(e
i
,
p
) = 1/2
_
e
2
i
+
p
2
y
p
(t) =
m
y
p
(t) + k
m
r (t)
which is parallel to reference model equation
y
m
(t) =
m
y
m
(t) + k
m
r (t)
Choosing,
y
p
(t
0
) = y
m
(t
0
),
y
p
(t) = y
m
(t),
and hence, y
p
(t) is uniformly bounded.
Then, the output of the plant , y
p
(t) = y
p
(t) + e
i
(t) is also
uniformly bounded.
The time derivative of Lyapunovs function alongwith the
identication error,
v =
m
e
2
i
< 0.
Presented By, Dr. R. H. Chile 44/148
Adaptive Control
Proposed Study
Indirect Adaptive Control-I
Contd...
Thus the origin in Eqns. of identication error and adaptive
identication laws is uniformly stable in the large.
Thus e
i
(t) is bounded.
hence,
lim
t
|y
p
(t) y
m
(t)| = lim
t
|y
p
(t) y
p
(t)| = 0
i.e. lim
t
|e
c
(t)| = lim
t
|e
i
(t)| = 0
Presented By, Dr. R. H. Chile 45/148
Adaptive Control
Proposed Study
Indirect Adaptive Control-II
IAC-II:k
p
and
p
unknown
STRUCTURE
To control the plant when k
p
is unknown and indirect
approach is to be used.
Thus k
p
has to be estimated on line as
K
p
(t) and u(t)
depends on 1/
K
p
(t).
The control input becomes unbounded as
K
p
(t) assumes
values closed to zero.
Hence, a lower bound on k
p
is k
p
> k
p
Assumptions:
(i) sgn(k
p
)=+1
(ii)k
p
> k
p
An Identication model used
y
p
(t) =
m
y
p
(t) + [
p
(t)
m
]y
p
(t) +
k
p
(t)u(t)
Presented By, Dr. R. H. Chile 46/148
Adaptive Control
Proposed Study
Indirect Adaptive Control-II
Contd...
Adaptive laws for adjusting
p
(t) and
k
p
(t) are chosen as
p
(t) = e
i
(t)y
p
(t)
and,
k
p
(t) = f
_
e
i
, u, k
p
_
k
p
(t
0
) > k
p
where, e
i
(t) = y
p
(t) y
p
(t) and
Presented By, Dr. R. H. Chile 47/148
Adaptive Control
Proposed Study
Indirect Adaptive Control-II
Contd...
The adaptive laws assures that k
p
(t) > k
p
for all t > t
0
Using estimated plant parameters
p
(t) and
k
p
(t), the control
input is determined.
Presented By, Dr. R. H. Chile 48/148
Adaptive Control
Proposed Study
Indirect Adaptive Control-II
Contd...
Stability:
The Parameter errors
p
(t) =
p
(t)
p
and
k
p
(t) =
k
p
(t) k
p
The error equation is derived as
e
i
(t) =
m
e
i
(t)
p
(t)y
p
(t)
k
p
(t)u
choosing a quadratic function using e
i
,
p
and
k
p
of IAC-II,
v = 1/2
_
e
2
i
+
p
2
+
k
p
2
_
and its time derivative,
v =
m
e
2
i
e
i
p
y
p
e
i
k
p
u +
p
e
i
y
p
+
k
p
f
_
e
i
, u, k
p
_
From the choice of f (e
i
, u, k
p
), it follows that
Presented By, Dr. R. H. Chile 49/148
Adaptive Control
Proposed Study
Indirect Adaptive Control-II
Contd...
From the choice of f (e
i
, u, k
p
), it follows that
v =
_
m
e
2
i
, if
k
p
(t) > k
p
m
e
2
i
, if
k
p
(t) = k
p
and e
i
u > 0
m
e
2
i
k
p
e
i
u, if
k
p
(t) = k
p
and e
i
u < 0
Hence, v 0 and e
i
,
p
and
k
p
are bounded
and
lim
t
e
i
(t) = 0
and
lim
t
|y
p
(t) y
m
(t)| = 0
Presented By, Dr. R. H. Chile 50/148
Adaptive Control
Proposed Study
Indirect Adaptive Control-III
IAC-III: Use of closed-loop estimation errors
STRUCTURE
Stable indirect control is possible without assuming a lower
bound on |k
p
|
The approach is based on adjusting the control parameters
dynamically.
The plant,
y
p
(t) =
p
y
p
(t) + k
p
u(t)
The identication model,
y
p
(t) =
m
y
p
(t) + [
p
(t)
m
] y
p
(t) +
k
p
(t)u(t)
p
(t) and
k
p
(t) can be determined as
p
(t) = e
i
(t)y
p
(t)
k
p
(t) = e
i
(t)u(t)
where, e
i
(t) = y
p
(t) y
p
(t)
Presented By, Dr. R. H. Chile 51/148
Adaptive Control
Proposed Study
Indirect Adaptive Control-III
Contd...
At any instant t, the objective is to adjust (t) and k(t) based on
the estimates
p
(t) and
k
p
(t).
It is desired that,
p
(t) +
k
p
(t)(t)
m
and
k
p
(t)k(t) k
m
The closed-loop estimation errors,
(t) =
p
(t) +
k
p
(t)(t)
m
k
(t) =
k
p
(t)k(t) k
m
The control parameters adjusted using the modied adaptive laws
where both C.L.E.E. are used.
Those are as follows:
(t) = sgn(k
p
)(
(t) +
k
(t))
k(t) = sgn(k
p
)(
k
(t) +
(t))
Presented By, Dr. R. H. Chile 52/148
Adaptive Control
Proposed Study
Indirect Adaptive Control-III
Contd...
The rules for adjusting the estimation parameters are given as
p
(t) = e
i
(t)y
p
(t)
(t)
k
p
(t) = e
i
(t)u(t) (t)
(t) k(t)
k
(t)
The control input is given by,
u(t) = (t)y
p
(t) + k(t)r (t)
The adaptive estimation laws together with the adaptive laws
determine the indirect adaptive scheme
Assure the boundedness of all the signals in the system and that
lim
t
|y
p
(t) y
m
(t)| = 0
The C.L.E.E.s are computed based on the estimates of the plant
and controller parameters.
Then are used directly in the adaptive laws for updating all the
parameter estimates.
Presented By, Dr. R. H. Chile 53/148
Adaptive Control
Controller Algorithms
Controller Algorithms
IAC-I:k
p
known and
p
unknown.
The steps in its implementation:
1. Set up a reference model with input r(t) and calculate the
reference model output.
2. Set up the identication model.
3. Set up a controller.
4. Initialize the identication model and controller parameters.
5. Sample reference model output y
m
(t), the process output
y
p
(t) and input u(t).
6. Calculate the identication error e
i
(t) = y
p
(t) y
p
(t) and
control error e
c
(t) = y
p
(t) y
m
(t).
7. Estimate the identication model parameter
p
(t).
Presented By, Dr. R. H. Chile 54/148
Adaptive Control
Controller Algorithms
Contd...
8. Compute the controller parameters,
(t) = (
m
p
(t)) /k
p
(t)
k(t) = k
m
/k
p
9. Compute the control input u(t) and apply to the process.
10. Repeat the procedure from step (5) to (9) and observe the
ISE for a given period of time.
Presented By, Dr. R. H. Chile 55/148
Adaptive Control
Controller Algorithms
Contd...
IAC-II:k
p
and
p
unknown
The steps in the implementation of this algorithm
1. Set up a reference model with input r (t) an calculate the
reference model output.
2. Set up the identication model.
3. Set up a controller.
4. Initialize the identication model parameters and controller
parameters.
5. Sample reference model output y
m
(t), the process output,
y
p
(t) and input u(t).
6. Calculate the control error e
c
(t) = y
p
(t) y
m
(t).
7. Estimate the identication model parameter
p
(t) and
k
p
(t).
8. Compute the controller parameters,
(t) = (
m
p
(t)) /
k
p
(t)
and k(t) = k
m
/
k
p
(t)
Presented By, Dr. R. H. Chile 56/148
Adaptive Control
Controller Algorithms
Contd...
9. Compute the control input u(t) and apply to the process.
10. Repeat the procedure from step (5) to (9) and observe the
ISE for a given period of time.
Presented By, Dr. R. H. Chile 57/148
Adaptive Control
Controller Algorithms
Contd...
(t) and
k
(t).
9. Compute the controller parameters (t) and k(t).
10. Compute the control input u(t) and apply to the process
11. Repeat the procedure (i.e. step 5 to 9) and observe the ISE for
a given period of time.
Presented By, Dr. R. H. Chile 58/148
Adaptive Control
Controller Algorithms
Presented By, Dr. R. H. Chile 59/148
Adaptive Control
Controller Algorithms
Presented By, Dr. R. H. Chile 60/148
Adaptive Control
Controller Algorithms
Presented By, Dr. R. H. Chile 61/148
Adaptive Control
Controller Algorithms
Presented By, Dr. R. H. Chile 62/148
Adaptive Control
Combined Direct and Indirect Adaptive Control
Combined Direct and Indirect Adaptive Control
The principal aim is to reduce the error between the plant and
model outputs asymptotically.
PROPOSED WORK
A combinations of adaptive control methods are modied to
control low-order plants.
Proposed modications:
MODIFICATION#1 CDIAC-1
The combined approach for rst order process modied
Modication# 1: CDIAC-1
A rst-order linear time-invariant plant,
y
p
(t) =
p
y
p
(t) + k
p
u(t) (1)
where,
k
p
,
p
= plant parameters,
y
p
(t)= the output of the plant and
u(t)= the input to the process.
The reference model,
y
m
(t) =
m
y
m
(t) + k
m
r (t) (2)
where,
m
,k
m
= reference model parameters,
y
m
(t)= the output of the reference model and
r (t)= the reference input.
Presented By, Dr. R. H. Chile 67/148
Adaptive Control
Combined Direct and Indirect Adaptive Control
Proposed Work
Contd...
The control error is obtained as,
e
c
(t) = y
p
(t) y
m
(t) (3)
The control input is generated as,
u(t) = (t)y
p
(t) + k(t)r (t) (4)
where,
(t), k(t)= controller parameters.
Let,
p
(t), k(t)= the estimate of the plant parameters
The identication model proposed by earlier workers,
y
p
(t) = a
i
e
i
(t)
p
(t)y
p
(t) +
k
p
(t)u(t) (5)
where,a
i
> 0,
y
p
(t)= the estimate of output of plant.
and e
i
(t) = y
p
(t) y
p
(t)= the identication error.
Presented By, Dr. R. H. Chile 68/148
Adaptive Control
Combined Direct and Indirect Adaptive Control
Proposed Work
(a) AN ALTERNATE IDENTIFICATION MODEL
From Eqs. (1) and (4),
y
p
(t) =
p
y
p
(t) + k
p
[(t)y
p
(t) + k(t)r (t)]
= [
p
+ k
p
(t)]y
p
(t) + k
p
k(t)r (t) (6)
From Eqs. (2) and (6),
p
+ k
p
(t) =
m
(7)
k
p
k(t) = k
m
(8)
Control parameters as,
(t) = (
p
m
)/k
p
(9)
and k(t) = k
m
/k
p
(10)
As
p
and k
p
= the parameters of the plant and are not known,
(t) and k(t) determined by using estimates of
p
and k
p
as
p
(t)
and
k
p
(t).
Presented By, Dr. R. H. Chile 69/148
Adaptive Control
Combined Direct and Indirect Adaptive Control
Proposed Work
Contd...
Eqs. (9) and (10) are rewritten as,
(t) = [
p
(t)
m
]/
k
p
(t) (11)
and k(t) = k
m
/
k
p
(t) (12)
The control input,
u(t) = [{
p
(t)
m
} /
k
p
(t)]y
p
(t) + [k
m
/
k
p
(t)]r (t) (13)
y
p
(t) = a
i
e
i
(t)
p
(t)y
p
(t) +
k
p
(t)[(
p
(t)
m
)/
k
p
(t)]y
p
(t) + [k
m
/
k
p
(t)]r (t) (14)
= a
i
e
i
(t)
p
(t)y
p
(t) + y
p
(t)[
p
(t)
m
] + k
m
r (t)
= a
i
e
i
(t)
m
y
p
(t) + k
m
r (t)
Presented By, Dr. R. H. Chile 70/148
Adaptive Control
Combined Direct and Indirect Adaptive Control
Proposed Work
Contd...
= a
i
[ y
p
(t) y
p
(t)]
m
y
p
(t) +
m
r (t)
= [a
i
y
p
(t) + a
i
y
p
(t)
m
y
p
(t) + k
m
r (t)]
= (a
i
m
)y
p
(t) a
i
y
p
(t) + k
m
r (t) (15)
By choosing, a
i
=
m
,
y
p
(t) =
m
y
p
(t) + k
m
r (t) (16)
Presented By, Dr. R. H. Chile 71/148
Adaptive Control
Combined Direct and Indirect Adaptive Control
Proposed Work
(b) Modied Adaptive Control Laws
The identication adaptive laws determined as follows,
p
(t) = e
i
(t)y
p
(t) +
(t) (17)
k
p
(t) = e
i
(t)u(t) (t)
(t) k(t)
k
(t) (18)
where,
(t) =
p
(t) +
k
p
(t)(t)
m
(19)
k
(t) =
k
p
(t)k(t) k
m
(20)
(t) = sgn(k
p
)[e
c
(t)y
p
(t) +
(t) +
k
(t)] (21)
k(t) = sgn(k
p
)[e
c
(t)r (t) +
(t) +
k
(t)] (22)
Presented By, Dr. R. H. Chile 72/148
Adaptive Control
Combined Direct and Indirect Adaptive Control
Proposed Work
STABILITY
The Lyapunov function,
V = 1/2(e
2
c
+|k
p
|
2
+|k
p
|
2
k
+ e
2
i
+
p
e
2
+ k
p
e
2
),
where,
,
k
= k k
,
p
e =
p
p
and k
p
e = k
p
k
p
The time derivative
V =
m
e
2
c
a
i
e
2
i
2
2
k
0
Thus, the uniform boundedness of all the signals involved in the
scheme and
lim
t
e
i
(t) = 0
lim
t
e
c
(t) = 0
lim
t
(t) = 0
and
lim
t
k
(t) = 0
Presented By, Dr. R. H. Chile 73/148
Adaptive Control
Combined Direct and Indirect Adaptive Control
Proposed Work
Presented By, Dr. R. H. Chile 74/148
Adaptive Control
Combined Direct and Indirect Adaptive Control
Proposed Work
Presented By, Dr. R. H. Chile 75/148
Adaptive Control
Combined Direct and Indirect Adaptive Control
Proposed Work
CDIAC FOR SECOND ORDER PROCESS
Let a second order plant be,
y
p
(t) = k
p
.z
p
(s)/R
p
(s) and
y
m
(t) = k
m
z
m
(s)/R
m
(s)
where,
z
p
(s) = z
m
(s) = 1,
R
p
(s) = (s
2
+ a
2
s + a
1
) and
R
m
(s) = 1/(s
2
+ a
m2
+ a
m1
)
In modied adaptive controller structure u
f
(t), y
f
(t) are obtained
as ltered signals of input and output of the plant.
The vector of the dierent available signals from the plant,
s(t) = [c(t), w
2
(t), w
1
(t), r
p
(t)] (23)
Presented By, Dr. R. H. Chile 76/148
Adaptive Control
Combined Direct and Indirect Adaptive Control
Proposed Work
Contd...
where,
c(t)=the ltered reference signal,
w
2
(t)=ltered y
f
(t),
w
1
(t)=ltered u
f
(t) and
r
p
(t)=ltered y
p
(t)
The closed-loop estimation errors,
1
(t) =
0
(t) +
1
(t) (24)
0
(t) = k
m
1
(t) + k
p
(t)
0
(t) (25)
2
(t) = k
p
(t)
2
(t) + k
m
0
(t) (26)
k0
(t) = k
p
(t)k
1
(t) k
m
(27)
where, k
p
(t)=the estimated gain of the plant,
k
1
(t),
0
(t),
1
(t),
2
(t)= the controller parameters,
and,
0
(t),
0
(t),
1
(t)=constants
Presented By, Dr. R. H. Chile 77/148
Adaptive Control
Combined Direct and Indirect Adaptive Control
Proposed Work
Contd...
The estimated gain of the plant,
k
p
(t) =
i
(
0
(t)
0
(t) +
2
(t)
2
(t) + k
1
(t)
k0
(t)) (28)
The parameters of the controller,
k
1
(t) = (
c
sgn(k
p
)e
c
(t)c(t))/k
m
c
sgn(k
p
)
k0
(t) (29)
0
(t) = (
c
sgn(k
p
)e
c
(t)r
p
(t))/k
p
c
sgn(k
p
)
0
(t) (30)
1
(t) = (
c
sgn(k
p
)e
c
(t)y
f
(t))/k
m
1
(t) (31)
2
(t) = (
c
sgn(k
p
)e
c
(t)w
2
(t))/k
m
c
sgn(k
p
)
2
(t)(32)
other constants,
0
(t) =
i
(t) (33)
0
(t) =
i
k
m
2
(t) (34)
1
(t) =
i
k
m
0
(t) (35)
Presented By, Dr. R. H. Chile 78/148
Adaptive Control
Combined Direct and Indirect Adaptive Control
Proposed Work
Contd...
where,
c
,
c
=constant positive adaptive gains in the laws of
control
i
=constant positive adaptive gain in the laws of identication
The adaptive controller output is,
u(t) =
0
(t)r
p
(t) + k
1
(t)c(t) +
1
(t)w
1
(t) +
2
(t)w
2
(t) (36)
Presented By, Dr. R. H. Chile 79/148
Adaptive Control
Combined Direct and Indirect Adaptive Control
Proposed Work
Modication# 2: CDIAC-2
The error between the plant output and the reference model
output is used in the control law of controller.
Thus, both the output error and the plant parameter estimates
are used simultaneously in control law of controller.
CDIAC-2
) of the plant.
IDENTIFICATION
y
p
(t) = a
i
e
i
(t)
p
(t)y
p
(t) +
k
p
(t)u(t) (39)
where, a
i
> 0
The tracking error,
e
c
(t) = y
p
(t) y
m
(t) (40)
The identication error,
e
i
(t) = y
p
(t) y
p
(t) (41)
The identication of plant parameters,
p
(t) = e
i
(t)y
p
(t) +
(t) (42)
Presented By, Dr. R. H. Chile 83/148
Adaptive Control
Combined Direct and Indirect Adaptive Control
Proposed Work
Contd...
k
p
(t) = e
i
(t)u(t) (t)
(t) + k(t)
k
(t) (43)
where,
(t) =
p
(t) +
k
p
(t)(t) +
m
(44)
k
(t) =
k
p
(t)k
c
(t) k
m
(45)
Here,
(t) = sgn(k
p
)[e
c
(t)y
p
(t) +
(t) +
k
(t)] (46)
k
c
(t) = sgn(k
p
)[e
c
(t)r (t) +
k
(t) +
(t)] (47)
Presented By, Dr. R. H. Chile 84/148
Adaptive Control
Combined Direct and Indirect Adaptive Control
Proposed Work
(t) =
(t 1) + k(t)[y(t) y(t)](48)
k(t) = P(t 1)(t 1)/
_
+
T
(t 1)P(t 1)(t 1)
_
(49)
P(t) =
_
I k(t)
T
(t 1)
_
P(t 1)/(50)
where,
(t 1) = parameter vector
= ( a
1
, a
2
,
b
1
,
b
2
) (51)
T
(t 1)= regression vector
= [y(t 1), y(t 2), u(t k), u(t k 1)] (52)
Presented By, Dr. R. H. Chile 85/148
Adaptive Control
Combined Direct and Indirect Adaptive Control
Proposed Work
Contd...
[y, u] = Measurement Vector
P(t) = covariance matrix of the estimation error of the
parameter estimate,
= exponential forgetting factor,
I = identity matrix, and
k(t) = Kalman lter gain
Presented By, Dr. R. H. Chile 86/148
Adaptive Control
Combined Direct and Indirect Adaptive Control
Proposed Work
OBSERVATIONS
(t).
In Eq.(50), if y = 0 and u = 0,
then, P(t) = P(t 1)/, hence P grows exponentially untill
changes.
OBJECTIVE
To determine a control input u(t) such that
all signals in the overall system remain bounded, and the
tracking error, e
c
(t) = y
p
(t) y
m
(t) tends to zero.
REFERENCE MODEL
1. First order Reference Model
The transfer function,
W
m
(s) = k
m
(s)/R
m
(s)
= k
m
/(1 +
m
s)
W
m
(z) = B
m
(z
1
)/A
m
(z
1
)
= b
m1
z
1
/(1 + a
m1
z
1
) (56)
Presented By, Dr. R. H. Chile 91/148
Adaptive Control
Combined Direct and Indirect Adaptive Control
Proposed Work
Contd...
2. Second Order Reference Model
The transfer function,
W
m
(z) = B
m
(z
1
)/A
m
(z1)
= (b
m1
z
1
+ b
m2
z
2
)/(1 + a
m1
z
1
+ a
m2
z
2
) (57)
where, a
m1
and a
m2
= coecients of denominator polynomial
of reference model transfer function.
Presented By, Dr. R. H. Chile 92/148
Adaptive Control
Combined Direct and Indirect Adaptive Control
Proposed Work
PROCESS
1. First Order Process
The transfer function is given by,
G
p
(s) =
k
p
e
Ls
/(1 +
p
s)
G
p
(z) = (
b
1
z
1
+
b
2
z
2
)/(1 + a
1
z
1
)
= B
p
(z
1
)/A
p
(z
1
) (58)
2. Second Order Process
The transfer function for this process is given by,
G
p
(s) = k
p
/(s
2
+ a
22
s + a
11
) (59)
G
p
(z) = (
b
1
z
1
+
b
2
z
2
)/(1 + a
1
z
1
)
= B
p
(z
1
)/A
p
(z
1
) (60)
where, a
11
and a
22
= parameters of given continuous-time
process, and a
1
, a
2
,
b
1
and
b
2
= identied parameters of
discrete-time process.
Presented By, Dr. R. H. Chile 93/148
Adaptive Control
Combined Direct and Indirect Adaptive Control
Proposed Work
Contd...
The structure of R
c
(z
1
) and S
c
(z
1
) of adaptive controller
is as follows:
R
c
(z
1
) =r
0
+ r
1
z
1
+ r
2
z
2
(67)
and,S
c
(z
1
) =(1 z
1
)(1 + s
1
z
1
) (68)
Presented By, Dr. R. H. Chile 95/148
Adaptive Control
Combined Direct and Indirect Adaptive Control
Proposed Work
Contd...
b
1
(74)
Substituting Eq.(74) in Eq.(71), we get,
a
m2
=
b
2
[a
m1
s
1
a
1
+ 1] /
b
1
+
b
1
r
1
+ s
1
( a
1
1) + a
2
a
1
(75)
By solving this equation, we get
r
1
= a
m2
/
b
1
b
2
/
b
1
2
.a
m1
+
b
2
/
b
1
2
.s
1
+
b
2
/
b
1
2
.a
1
b
2
/
b
1
2
s
1
. a
1
/
b
1
+ s
1
/
b
1
a
2
/
b
1
+ a
1
/
b
1
(76)
Presented By, Dr. R. H. Chile 97/148
Adaptive Control
Combined Direct and Indirect Adaptive Control
Proposed Work
Contd...
By substituting r
0
and r
1
i.e. Eqs.(74) and (76) in Eq. (72) and by
simplifying we get,
s
1
= 1/D[(a
m2
+ a
1
a
2
)
b
1
.
b
2
2
(1 + a
m1
a
1
)
b
2
3
a
2
b
1
2
b
2
]
(77)
where,D = ( a
1
1)
b
1
b
2
2
b
2
3
[ a
2
a
1
]
b
1
2
b
2
a
2
b
1
3
(78)
Similarly, from Eq. (73)
r
2
= ( a
2
/
b
2
)s
1
(79)
By substituting Eq. (77) and (78) in Eq. (79) and then by
simplifying we get,
r
2
= 1/D
_
a
2
( a
1
+ a
m2
a
2
)
b
1
b
2
] + [ a
2
( a
1
a
m1
1)
b
2
2
] a
2
2
b
1
2
_
(80)
Presented By, Dr. R. H. Chile 98/148
Adaptive Control
Combined Direct and Indirect Adaptive Control
Proposed Work
Contd...
From Eq. (70),
r
0
= (a
m1
s
1
a
1
+ 1)/
b
1
(81)
By substituting s
1
from Eq. (77) in Eq. (81) and then, by
simplifying we get,
r
0
=1/D[a
m1
( a
1
1) a
m2
+ a
1
1 a
1
2
+ a
2
]
b
2
2
+ a
2
( a
1
1 a
m1
)
b
1
2
+ [a
m1
( a
1
a
2
) + a
1
a
1
2
+ a
1
a
2
]
b
1
b
2
(82)
The adaptive controller parameters r
0
, r
1
, r
2
and s
1
are in terms of
identied process parameters and given reference model
denominator polynomial parameters.
Presented By, Dr. R. H. Chile 99/148
Adaptive Control
Combined Direct and Indirect Adaptive Control
Proposed Work
Stability of CDIAC-2
lim
t
e
c
(k) = lim
t
[y
p
(k) y
m
(k)] = 0 i.e. asymptotic
tracking property.
(t) and
k
(t).
8. Calculate controller parameters (t) and k(t).
Presented By, Dr. R. H. Chile 102/148
Adaptive Control
Combined Direct and Indirect Adaptive Control
Proposed Work
Contd...
9. Compute the controller output u(t) and apply to the process.
10. Observe the ISE for a given period of time.
Presented By, Dr. R. H. Chile 103/148
Adaptive Control
Combined Direct and Indirect Adaptive Control
Proposed Work
Contd...
2
(t) and
k0
(t).
Presented By, Dr. R. H. Chile 104/148
Adaptive Control
Combined Direct and Indirect Adaptive Control
Proposed Work
Contd...
8. Calculate controller parameters k
1
(t),
0
(t),
1
(t) and
2
(t).
9. Estimate the gain of the process k
p
(t).
10. Compute the other constants
0
(t),
0
(t) and
1
(t).
11. Compute the controller output u(t) and apply to the process.
12. Observe the ISE for given period of time.
Presented By, Dr. R. H. Chile 105/148
Adaptive Control
Combined Direct and Indirect Adaptive Control
Proposed Work
CDIAC-2 for rst/second order process
The main steps in the implementation of CDIAC-2:
1. Give reference signal and parameters of second order reference
model.
2. Initialize
min
,
0
, P(0) of recursive least square identication
algorithm and parameters of control algorithm.
3. Sample the reference model output y
m
(t), the process output
y
p
(t) and input u(t).
4. Calculate the control error e
c
(t) = y
p
(t) y
m
(t).
5. Compute the parameters (t) and (t) required in calculation
of variable forgetting factor.
6. Compute variable forgetting factor (t).
7. Calculate the Kalman gain for updating the model parameters
k(t).
Presented By, Dr. R. H. Chile 106/148
Adaptive Control
Combined Direct and Indirect Adaptive Control
Proposed Work
Contd...
8. Calculate the updated model parameters (t).
9. Update the covariance matrix P(t).
10. Estimate the CDIAC-2 parameters r
0
, r
1
, r
2
and s
1
using
estimated plant parameters (t) and reference model
parameters.
11. Calculate the control signal u(k).
12. Observe the ISE for given period of time.
Presented By, Dr. R. H. Chile 107/148
Adaptive Control
Presented By, Dr. R. H. Chile 108/148
Adaptive Control
Presented By, Dr. R. H. Chile 109/148
Adaptive Control
Presented By, Dr. R. H. Chile 110/148
Adaptive Control
Self Tuning Control
Self Tuning Control
Regulator
Parameters
Command
Signal
u
Control
Signal
y
Output
There is an array of
Parameter estimation schemes
stochastic approximation
Least Square(L.S.)
Extended L.S.
Generalised L.S.
Instrumental Variables
Maximum likelihood
Controller design methods
(for plants with known
parameters)
PID control
Linear-quadratic gaussian
(LQG) control.
Presented By, Dr. R. H. Chile 113/148
Adaptive Control
Self Tuning Control
Contd...
Choice of model
Parametric model
State model
in some cases the only prior knowledge is that the plant can
be describe as a linear system in a particular range.
1
u(k + m) +
2
u(k + m 1) +... +
m+1
u(k) n m
(1)
i
and
j
are constant (unknown) parameters. The parameter
vector,
= [
1
2
...
n
,
1
2
...
m+1
]
T
(2)
Presented By, Dr. R. H. Chile 118/148
Adaptive Control
Self Tuning Control
The no. of parameters to be identical depends on order of selected
model i.e.n in equation (1). The T.F. is obtained as:
H(z) =
y(z)
u(z)
=
1
.z
m
+
2
.z
m1
+... +
m+1
z
n
+
1
.z
n
1 +... +
n
(3)
Normalizing H(z) to obtain a monic (The leading coecient unity)
characteristic polynomial , we get,
H(z) =
y(z)
u(z)
=
z
d
(
1
) +
2
z
1
+... +
nd+1
z
(nd)
1 +
1
z
1
+... +
n
z
n
; d = nm 0
(4)
d=relative degree or control delay.
Let q
1
=Backward shift or delay operator
q
1
(y(k)) = y(k 1) (5)
Then equation (1)becomes,
Presented By, Dr. R. H. Chile 119/148
Adaptive Control
Self Tuning Control
A(q
1
y(k)) = (q
1
).u(k) (6-a)
where, A(q
1
and (q
1
are polynomial in the delay operator.
A(q
1
) = 1 +
1
.z
1
+... +
n
q
n
(6-b)
(q
1
) = q
d
1
(q 1) (6-c)
= q
d
(
1
+
2
.q
1
+... +
nd+1
q
(nd)
); d = n m (6-d)
For, d=1, we get the input output model structure,
A(q
1
)y)(k) =(q
1
)x(k) (7-a)
A(q
1
) =1 +
1
q
1
+... +
n
q
n
(7-b)
B(q
1
) =
1
q
1
+
2
q
2
+... +
n
q
n
(7-c)
Presented By, Dr. R. H. Chile 120/148
Adaptive Control
Self Tuning Control
In the presence of disturbance, model of equation (7) takes the
form
A(q
1
)y(k) = (q
1
)u(k) +(k) (8)
where, (k)=some disturbance of unspecied character. the model
(8)describe the dynamic relationship between the input and output
signals, expressed in terms of parameter vector,
= [
1
...
n
,
1
...
n
]
T
(9)
Introducing the vector of lagged input output data,
(k) = [y(k 1)... y(k n), u(k 1)...u(k n)]; (10)
equation (8)can be written as
y(k) = (k). +(k) (11)
Presented By, Dr. R. H. Chile 121/148
Adaptive Control
Self Tuning Control
This model describe the observed variable y(k) an unknown linear
combination of the component of the observed vector (k) plus
noise, such a model is called a linear regression in statistics and the
component of (k) are then regression variable or aggressors. If no
input is present in equation (8) and {(k) } is considered to be
white noise, then equation (8) become a signal of model of the
signal {y(k)}
y(k) +
1
y(k 1) +... +
n
y(k n) = (k)
Such a signal is commonly known as autoregressive process of
order n or an AR(n) process. Equation (11) is an incomplete
description of the model structure the character of the disturbance
(k) is still unspecied. suppose the {(k)} can be described as a
moving average (MA)of a white noise sequence {v(k)};
(k) = c(q
1
).v(k) (12-a)
Presented By, Dr. R. H. Chile 122/148
Adaptive Control
Self Tuning Control
c(q
1) = 1 + (c
1
)(q
1
) +... + (c
n
)(q
n
) (12-b)
Then the resulting model is
A(q
1).y(k) = B(q
1).u(k) + C(q
1)v(k) (13)
This is known as ARMAX model : a combination of
autoregretion(AR) part A(q
x
1
(k + 1)
x
2
(k + 1)
x
3
(k + 1)
.
.
.
x
n1
(k + 1)
x
n
(k + 1)
1
1 0 0
1
1 0 0
1
1 0 0
1
1 0 0
x
1
(k + 1)
x
2
(k + 1)
x
3
(k + 1)
.
.
.
x
n1
(k + 1)
x
n
(k + 1)
B
1
B
2
.
.
.
B
n
u(k) +
C
1
1
C
2
2
.
.
.
C
(
n 1)
(
n 1)
C
n
n
v(k)
(14-a)
y(k) =
1 0 0
k=1
f (e(k, ))
where, e is the error which may comprise of :
1. The extent to which equation of motion fail to be true for a
specic value of when used whith the specic actual data
(equation error) or
2. The error between the actual output y(k) of the plant and the
output y
m
(k) of a referance model ; the output y
m
(k) of the
refernace model is a function of in the same way as the
actual output is a function of true parameter value
(Output
error).
Presented By, Dr. R. H. Chile 127/148
Adaptive Control
Self Tuning Control
Least Square Method
(15-b)
=
_
1
m
1
n
T
(15-c)
Using the observations,
{ x(0), x(1), , x(N),y(0),y(1), , y(N)}
We wish to compute the values of
i
and
j
in parameter vector ,
Which will best t the observed data.
Presented By, Dr. R. H. Chile 129/148
Adaptive Control
Self Tuning Control
Let e(k,)= equation error = y(k)-(k).
Since y(k) depends on past data upto n periods earlier, the rst
error we can form is e(n,);the subsequent errors being
e(n+1,), , e(N,):
e(n, ) = y(n) (n)
e(n + 1, ) = y(n + 1) (n + 1)
.
.
.
e(N, ) = y(N) (N)
Presented By, Dr. R. H. Chile 130/148
Adaptive Control
Self Tuning Control
In vector matrix notation,
e(N, ) = y(N) (N) (16-a)
Where, e(N, ) =
_
e(n, ) e(n + 1, ) e(N.)
T
(16-b)
(N) =
_
(n) (n + 1) (N)
T
(16-c)
y(N) =
_
y(n) y(n + 1) y(N)
T
(16-d)
Note that,
e is (N-n+1)x 1 vector,
y is (N-n+1)x 1 vector,
is (N-n+1)x 2n vector,
is (2n x 1) vector,
Presented By, Dr. R. H. Chile 131/148
Adaptive Control
Self Tuning Control
The principle of least squares says that the parameters should be
selected such that the performance measure,
J() =
N
k=n
e
2
(k, ) = e
T
(N, )e(N, ) (17)
is minimized .
The performance measure J()can be written as
J() = [y(N) (N).]
T
[y(N) (N).]
= y
T
(N).y(N)
T
T
(N).y(N) y
T
(N)(N)
+
T
T
(N).(N)
Presented By, Dr. R. H. Chile 132/148
Adaptive Control
Self Tuning Control
Taking derivative of J w.r.t. ,
J
=
T
(N).y(N) [y
T
(N).(N)]
T
+ 2
T
(N)(N).
= 2
T
(N).y(N) + 2
T
(N).(N).
J
= 0[for =
]
therefore,
T
(N).(N).
=
T
(N).y(N) (18)
This is called normal equation.
Presented By, Dr. R. H. Chile 133/148
Adaptive Control
Self Tuning Control
The solution of above euation(18) provides us with least suare
estimate
.However, this equation will have a solution the the
input x(k), is persistently exciting.
To expalin this point , let us consider an identication problem
where the system is excited by a constant inputu and assume
model structure is,
A(q
1
)y(k) = B(q
1
)u(k)
A(q
1
) = 1 +
1
.q
1
+
2
.q
2
B(q
1
) =
1
.q
1
+
1
.q
1
The equation error are given by,
e(2) = y(2) +
1
.y(1) +
2
.y(0) (
1
+
2
).u
.
.
.
e(N) = y(N) +
1
.y(N 1) +
2
.y(N 2) (
1
+
2
).u
Presented By, Dr. R. H. Chile 134/148
Adaptive Control
Self Tuning Control
As the parameters
1
and
2
always apperas as sum
1
+
2
and
that the separation of them is not possible when constant input u
is used ; the constant u thus fails to excite the entire dynamics of
plant. The input u(k) should uctuate enough to avoid the
possibility that only linear combination of elements of will show
up in error equations.Such inputs have been called as persistently
exciting inputs.
If the selected model structure has minimal number of parameters
and input u(k) is persistently exciting, then [
T
(N).(N)] is
non-singular and the parameter estimate i.e., equation..17
= [
T
(N).(N)]
1
.
T
(N).(N) (19)
Presented By, Dr. R. H. Chile 135/148
Adaptive Control
Self Tuning Control
Weighted Least Square
The performance measure i.e.(17) is essentially based on the view
that all the errors are equally important.
In the experiment data taken later in experiment may be more
important than the data taken early on and it seems reasonable to
weight the errors accordingly.Such a scheme is reered to as the
weighted least square and based on the performance measure.
J() =
N
k=n
w(k).e
2
(k, ) = e
T
(N, )w(N)e(N, ) (20-a)
Presented By, Dr. R. H. Chile 136/148
Adaptive Control
Self Tuning Control
Presented By, Dr. R. H. Chile 137/148
Adaptive Control
Self Tuning Control
Presented By, Dr. R. H. Chile 138/148
Adaptive Control
Self Tuning Control
Presented By, Dr. R. H. Chile 139/148
Adaptive Control
Self Tuning Control
Presented By, Dr. R. H. Chile 140/148
Adaptive Control
Self Tuning Control
Presented By, Dr. R. H. Chile 141/148
Adaptive Control
Self Tuning Control
Presented By, Dr. R. H. Chile 142/148
Adaptive Control
Self Tuning Control
Presented By, Dr. R. H. Chile 143/148
Adaptive Control
Self Tuning Control
Presented By, Dr. R. H. Chile 144/148
Adaptive Control
Self Tuning Control
Presented By, Dr. R. H. Chile 145/148
Adaptive Control
Self Tuning Control
Presented By, Dr. R. H. Chile 146/148
Adaptive Control
Self Tuning Control
Presented By, Dr. R. H. Chile 147/148
Adaptive Control
Self Tuning Control
Presented By, Dr. R. H. Chile 148/148