Professional Documents
Culture Documents
June 1993
Hub Motor This paper focuses on the identication aspects of the
self-tuning regulator. It is assumed that once the plant
has been identied correctly an appropriate controller
can be designed.
Figure 1: Experimental System
Identication Approach
In the general case, nothing about the payload is known
50 Pendulum Angle
apriori; however, for this research the structure of the
payload model is assumed known. Specically, in the
experiment the payload can either be a rigid body, or
degrees
0
it can include a single pendulum of unknown length. A
consequence of this is that the unknown properties of
-50 the payload can be constructed from the exact open-loop
0 5 10 15
seconds
20 25 30
eigenvalues of the system (payload plus arm). Thus, the
payload dynamics can be determined from identication
of eigenvalues only.
Figure 2: Pendulum Open-Loop Response To pursue this solution, an algorithm was developed
that is capable of identifying lightly damped eigenvalues
of a system (all of the open-loop eigenvalues of the ex-
3 Adaptive Algorithm perimental system are lightly damped). The algorithm is
described in Appendix A and does not require knowledge
of the system order.
Schmitz [4] surveyed control design approaches appli- A shortcoming of this approach to identifying the pay-
cable to high-order, lightly-damped structures typical of load is that all of the open-loop system modes must be
the class of systems dealt with here. Two conclusions identied, which requires all of the modes to be excited.
are drawn from that work. First, the use of end-point If all of the modes are not identied, then it may not be
feedback is critical for high-performance end-point con- possible to distinguish a
exible mode of the arm from
trol of a
exible arm. The second conclusion is that linear that of the payload oscillations. Since the payload may be
quadratic gaussian (LQG) synthesis tools are eective in delicate, injecting excitation to guarantee that all modes
generating control systems that exploit end-point feed- of the arm are excited is unacceptable. To solve this
back. problem, a nominal controller is used, and the identica-
Extending the techniques of Schmitz to account for tion is performed closed loop. The task of the nominal
dynamic payloads, it is possible to accurately position controller is to damp the structural
exibility of the arm
the payload while simultaneously damping internal vi- so that the arm dynamics are not mistaken for the lightly
brations of the payload [3]. The results show that high- damped oscillatory dynamics of the payload.
performance control is possible, but only if an accurate For the experimental system, a nominal controller is
model of the total system is available. designed using LQG synthesis techniques assuming that
In this paper, an adaptive control algorithm will be the payload is a rigid body. Figure 4 shows how the
presented that merges the LQG controllers with a iden- nominal controller performs when the payload is dy-
tication procedure that is able to provide the model - namic. The nominal controller yields a set of well-
delity that is required. The approach presented is based damped closed-loop system modes that have eigenval-
on extensions to the self-tuning-regulator (STR) class of ues that are relatively insensitive to the presence of pay-
adaptive control. The concept of a self-tuning regulator load dynamics. Further, if the payload is dynamic, a
is presented in Figure 3. It demonstrates the combina- lightly damped or slightly unstable mode appears that
tion of two functions. First, an identication algorithm is has an eigenvalue that is highly sensitive to the length
used to update the equations of motion of the plant. Sec- of the pendulum. Since the eigenvalue of the lightly
ond, a control design algorithm (either gain calculation damped mode appears in a region of the s-plane that
or scheduling) is used to modify the control law. is remote from the eigenvalues of the nominal set of con-
trolled modes, the existence of payload dynamics can be the pendulum is locked or it is not excited; in either case,
detected by determining the presence or absence of modal it does not need to be controlled. If the pendulum be-
content of the closed-loop system in a \critical region" of comes excited, the pole will be detected in the critical
the s-plane only. When a lightly damped or slightly un- region of the s-plane.
stable closed-loop mode is detected, it must be associated
with payload dynamics. Thus, only natural excitation is
required to detect and identify the payload dynamics. U Y
CONTROLLER
PROCESS
NOMINAL
60
x.
x.
50
Eigenvalue ID
40
x.
imag(s)
30 .x
X
x. X Due to Pendulum
2.5 Hz
20 X
2.3 Hz
..
. s-plane
. .
10 x x .. . . . ..
1.2 Hz
.. . .. x x...
x.. Figure 5: Closed-Loop Identication
0
-20 -15 -10 -5 0 5 The gure shows the eigenvalue identication
real(s) routine reporting the closed-loop eigenvalues
of the system. Performing the identication
Figure 4: Critical Region of S -Plane closed-loop allows the poles that are sensitive to
the payload dynamics to be isolated. A mode
This gure shows the locus of closed-loop roots in the critical region (dotted trapezoid) signals
of the system versus the open-loop frequency the presence of payload dynamics.
of the payload. The controller is designed as-
suming the payload is a rigid body. The x's are
the location of the closed-loop roots when the Once a pole is located in the critical region, its ex-
payload is rigid. The lines show how the closed- act location can be used to identify the unknown pa-
loop roots move as the open-loop frequency of rameter (in this case, the length of the pendulum). For
the payload is varied from 2.5 to 1.2 Hz. The the experimental system under nominal control, the lo-
open-loop frequency of the payload is the fre- cation of the lightly damped mode is directly related to
quency of the pendulum when the payload is the length of the pendulum. The relation between the
detached from the arm and
oating on the air- critical eigenvalue and the pendulum length can be plot-
bearing. The dotted region in the s-plane is the ted (see Figure 4) and inverted graphically. Thus, once
critical region. Once a pole is detected in the the location of the pole is determined, the identication
critical region, the pendulum is known to exist, of the pendulum length is accomplished using a straight-
and its frequency can be determined. forward table look-up. Then, an appropriate controller is
designed based on the identication of the payload. The
The identication procedure that is applied to the ex- new controller is then swapped into the control loop and
perimental system is summarized in Figure 5. The pro- damps the oscillations of the payload.
cedure is split into detection and identication phases. Since no identication of the pendulum length is per-
The detection is accomplished by evaluating the modal formed until a pole is detected in the critical region, the
content (e.g., the eigenvalues) of the system while un- payload is only identied when sucient excitation ex-
der normal operation (closed-loop). The controller that ists naturally. There is no need to provide identication-
is running during the detection phase is the nominal specic excitation.
controller|no identication-specic inputs are required.
When evaluating the modal content, all of the closed-loop The performance of the adaptive logic depends heav-
eigenvalues might be found, but only the lightly damped ily on the ability of an identication algorithm to provide
poles within the critical region of the s-plane are of in- accurate estimates of the eigenvalues of the system. The
terest (see Figure 4). If a pole appears within the critical approach for accomplishing this utilizes a linear identi-
region, the payload is assumed to have internal dynamics. cation algorithm called ESPRIT which is described in
If a pole is not detected in the critical region, then either Appendix A.
4 Experimental Results 40
Payload Position
Actual
Desired
The result of two experimental tests are presented: the 20
cm
0
The payload natural frequency is dierent for each test. Control Swap
degrees
the disturbance. As expected, no adaptation takes place.
0 Pend.
Pendulum Angle
40
Distrubance 1 Disturbance 2
20
This appendix describes the subspace-tting technique
called ESPRIT. Reference [5] presents the algorithm in
degrees
0
Pend. Pend. the context of direction of arrival determination for sig-
nal processing. The algorithm is presented here in the
-20 LOCKED UNLOCKED Control Swap
-40
0 2 4 6 8 10 12 14 16 18 20 context of linear system identication.
seconds
The subspace-tting technique is inherently digital.
Suppose that the system is linear time-invariant and is
Figure 6: Disturbance Response described in state-space form by
xk+1 = Axk + Buk (1)
5 Conclusions yk = Cxk + Duk (2)
where xk is the state of the linear system at time k, uk is
In this research, a new approach to identication is the input to the linear system, and yk is the observed
developed that utilizes a nominal controller in order to output (xk 2 IRn1 , uk 2 IRq1 , and yk 2 IRm1 ).
isolate the dynamic eects related to the uncertain pa- Since the states are not measured, the system matrices
rameters from the other known system dynamics. For are identiable only to within an arbitrary non-singular
state (similarity) transformation. The identiability of shift invariant property. Compute the singular value de-
the system matrices is also limited by the excitation of composition of YU? :
the system from the inputs or initial conditions.
The algorithm requires a window of data. The length YU? = PQT : (10)
of the data, N, must be selected. A sliding window length Let Ps be the matrix containing the rst n left singular
size M N/2 must also be chosen. vectors of YU? . It can be shown from Equation 9 and 10
The rst step in the procedure is to take the input and that there exists a full rank n n matrix T such that
output data and form the Hankel matrices
2 y y2 yN ,M 3 Ps = ,T : (11)
1 +1
Expanding the rows of this equation yields
Y = 4 y3
6 y 2
yN ,M+2
75 (3)
2 P 3 2 C 3 2 C 3
yM yM +1 yN
C A2
0
2 u u2 uN ,M 3 6 P 7 6 CA2 7 6 7
T = 66 A.
6 1 7 6 CA 7 6 C 7
6 u
1
u3 uN ,M
+1
75 : (4) Ps = 66 P.2 7
7 =6 7 7 :
U = 4 4 .. 5 64 ... 7
5 4 .. 7
5
2 +2
uM uM +1 uN PM , 1 CAM , 1
C A M , 1
(12)
Thus, that is the state-transition
Hence, there is a matrix A
matrix of the system in some coordinate frame such that
Y = ,X + HU (5) the second row of Ps can be found by multiplying the
where rst row by A ; etc. Ps is , in some new coordinate
system.
To nd A , form
, = [ C (CA) (CAM , ) ] (6)
T T T 1 T
X = [2x x xN ,M ]
1 2 +1
3
(7) Ps Ps with last row deleted (13)
D
1
0 0 Ps Ps with first row deleted (14)
66 CB D 0 7 2