Professional Documents
Culture Documents
Contributed by the Dynamic Systems Division of ASME for publication in the there exists matrices W = WT ⬎ 0 and K such that the following
JOURNAL OF DYNAMIC SYSTEMS, MEASUREMENT, AND CONTROL. Manuscript received inequality holds:
July 14, 2006; final manuscript received August 9, 2007; published online February
29, 2008. Review conducted by Mark Costello. xT关共Ai − BK兲TW−1 + W−1共Ai − BK兲兴x ⬍ 0
Journal of Dynamic Systems, Measurement, and Control MARCH 2008, Vol. 130 / 024502-1
Copyright © 2008 by ASME
冋 册
resents the position, 2 = 关 兴T is the vector of Euler angles
A11 A12 representing the orientation in 3-2-1 convention. Figure 1 shows
A= 共6兲
Ai21 Ai22 the inertial and vehicle/body-coordinate frames with marine nota-
tion for the six degrees of freedom. Surge, sway, and heave are
1. Calculate F such that A11 + A12F is stable. Calculate W1 by motions along X0, Y 0, and Z0 axes, respectively, expressed in
solving the Lyapunov equation body-coordinate frame.
The forces and moments on the vehicle are given by
共A11 + A12F兲W1 + W1共A11 + A12F兲T = Q0 共7兲
= B tu t 共12兲
where Q0 is any 共n − m兲 ⫻ 共n − m兲 dimensional negative defi-
nite matrix. where Bt is the thruster mapping matrix and ut is the vector of
2. Compute WT2 = FW1. thrusts from thrusters. The thruster mapping matrix can be ob-
3. Select W3 such that W3 ⬎ WT2 W−1 tained from the knowledge of thruster locations, as shown in Fig.
1 W2 to ensure that
冋 册
2. The thrusters are so arranged that they can together provide
W1 W2 force/moment along/about any direction; i.e., the vehicle is fully
W= actuated.
WT2 W3
The static thruster model is considered for simulation assuming
is a positive definite matrix. Choose W3 = R + WT2 W−1
1 W 2, that the thruster dynamics have much smaller time constant than
where R is any positive definite matrix. the vehicle dynamics 关20兴. In this case, the thrust from each
4. Compute ␥i for each nominal point such that thruster is given by
␥iIm ⬎ 共q2i − qiTQ−1
0 q i兲 共8兲
where
qi = A11W2 + A12W3 + W1共Ai21兲T + W2Ai22
冏 冏
velocity.
The equations of motion of underwater vehicles are linear in the Ă
system parameters, which are assumed to be constant 共see Refs. ˙ r共ti兲 + ␦˙ ri共t⬘兲 = Ă„r共ti兲… + B˘ r共ti兲 + ␦ri共t⬘兲 + B␦˘ ri共t⬘兲
ri
关19,20兴兲. Equation 共10兲 can be grouped into known and unknown
terms as 共23兲
M 0˙ + C0共兲 + D0共兲 + g0共兲 + M ⌬˙ + C⌬共兲 + D⌬共兲 where ␦˘ ri共t⬘兲 is the deviation of the reference control input de-
termined using Eq. 共23兲 as follows:
冏 冏
+ g ⌬共 兲 = 共14兲
where M 0, C0, D0, and g0 are known and M ⌬, C⌬, D⌬, and g⌬ are Ă
␦˘ ri共t⬘兲 = BT␦˙ ri共t⬘兲 − BT ␦ri共t⬘兲 共24兲
unknown. The unknown quantities can be linearly parametrized as ri
M ⌬˙ + C⌬共兲 + D⌬共兲 + g⌬共兲 = ⌽共˙ , , 兲⌰ 共15兲 Defining the state error vector as ˜ = r − , one can write from
where ⌰ is a vector of unknown constant parameters. Eqs. 共21兲 and 共23兲
Equation 共10兲 can be written as a state space form,
冏 冏
= 关T ˙ T兴T
˜˙ 共t⬘兲 = Ă ˜共t⬘兲 + B„␦˘ 共t⬘兲 − ␦˘ 共t⬘兲 − ˘ 共t兲… 共26兲
˘ = J共兲M −1
0
ri i ⌰
冋册
ri
Ă1
冋 册 0 Since ˜共t⬘兲 = ˜共t兲 and ˘ 共t兲 = ˘ r共ti兲 + ␦˘ i共t⬘兲 + ˘ ⌰共t兲, one can write
冏 冏
Ă共兲 = , B=
Ă2 I6⫻6
˜˙ 共t兲 = Ă ˜共t兲 + B„␦˘ 共t⬘兲 + ˘ 共t 兲 − ˘ 共t兲… − ⌽ ⌰ 共27兲
ri r i 1
Ă1 =
˙ ri
冋 册
˜共t兲 + B„␦˘ 共t⬘兲 + ˘ 共t 兲 − ˘ 共t兲… 共28兲
ri r i
0 ri
⌽1 =
0 ⌽
− JM −1 Equation 共28兲 is in block companion form and is similar to the
regulator system in Eq. 共1兲 where the control input tends to reduce
Figure 3 shows the reference and actual trajectories along with
the state error to zero. The common quadratic Lyapunov function
the deviations from the ith nominal point on the reference trajec-
tory. At any point of time t⬘ between ti and ti+1, the deviation of in this case would be V1 = ˜TW−1˜.
the reference trajectory from the ith nominal point is given by For the underwater vehicle system considered, A11 = 06⫻6 and
A12 = I6⫻6. The other two matrices, A21 and A22, are computed
␦ri共t⬘兲 = r共t⬘兲 − r共ti兲 共17兲 numerically. Therefore, F can be chosen as −I, makes A11 + A12F
Similarly, the deviation of the actual trajectory from the ith nomi- stable. Now, W1 can be chosen as I6⫻6, which satisfies the
nal point is given by Lyapunov inequality.
Then,
␦i共t⬘兲 = 共t⬘兲 − r共ti兲 共18兲
Q0 = − 2I6⫻6
Let ˘ r共ti兲 be the ith nominal control input that satisfies
Journal of Dynamic Systems, Measurement, and Control MARCH 2008, Vol. 130 / 024502-3
W= 冋 I6⫻6 − I6⫻6
− I6⫻6 2I6⫻6
册 共29兲 冏 冏
˜˙ 共t兲 = Ă
˜共t兲 + B„␦˘ 共t⬘兲 + ˘ 共t 兲 − ˘ 共t兲 + ˘ … − B˘ − ⌽ ⌰
ri
ri r i ⌰ ⌰ 1
冋冏 冏 册 V2 = ˜TW−1˜ + ⌰
˜ T⌫−1⌰
˜ ⬎0 共34兲
˜TW−1 Ă ˜共t兲 + B„␦˘ 共t⬘兲 + ˘ 共t 兲 − ˘ 共t兲… ⬍ 0
ri r i 共30兲 where
ri
⌰ ˆ
˜ =⌰−⌰ 共35兲
is calculated as
␥ is the error in a parameter estimate, ⌰ ˆ is an estimate of param-
␦˘ ri共t⬘兲 + ˘ r共ti兲 − ˘ 共t兲 = − BTW−1˜ 共31兲 eters, and ⌫ is a positive definite adaptive gain matrix. Then,
2
which gives the total control input as ˙ ˜˙
V̇2 = 2˜TW−1˜ + 2⌰
˜ T⌫−1⌰ 共36兲
˘ 共t兲 = ˘ r共ti兲 + ˘ ff + ˘ fb 共32兲
˜˙ T⌫−1⌰
V̇2 = V̇1 − 2˜TW−1共B˘ ⌰ + ⌽1⌰兲 + 2⌰ ˜ 共37兲
where ˘ ff = ␦˘ ri共t⬘兲 and ˘ fb = ␥ / 2BTW−1˜.
In Eq. 共21兲, the nominal terms on both sides of the equation are The term V̇1 is similar to the one given in Eq. 共30兲 and is given
exactly canceled only at the nominal points. The nominal terms by
冋冏 冏 册
can be approximately canceled between the nominal points by
˜TW−1 Ă
adding a feedforward controller to the incremental system, as
˜共t兲 + B„␦˘ 共t⬘兲 + ˘ 共t 兲 − ˘ 共t兲 + ˘ … 共38兲
shown in Fig. 4.
ri r i ⌰
ri
The purpose of feedforward controller is to assist the feedback
controller. In the case of the vehicle control system shown in Fig. which can be made negative definite by choosing
4, ˘ r共ti兲 is constant between the nominal points. The incremental ␥
feedforward controller based on the linearized model combined ␦˘ ri共t⬘兲 + ˘ r共ti兲 − ˘ 共t兲 + ˘ ⌰ = − BTW−1˜ 共39兲
with ˘ r共ti兲 acts on the system to cancel out the terms related to 2
reference trajectory. In other words, the incremental feedforward Therefore, the total control input in this case is given by
controller interpolates 共based on the linearized model兲 the nominal
˘ 共t兲 = ˘ r共ti兲 + ˘ ff + ˘ fb + ˘ ⌰ 共40兲
control input between the nominal points. The remaining pertur-
bation terms are reduced to zero by the feedback controller. The term B˘ ⌰ in Eq. 共37兲 is chosen as −⌽1⌰ ˆ . Since ⌰ is a
˙˜ ˙ˆ
constant vector of unknown parameters, ⌰ = −⌰. Then,
5 Adaptation to Uncertainties
The hydrodynamic parameters are those that affect the vehicle V̇2 = V̇1 − 2˜TW−1⌽1⌰ ˆ˙ T⌫−1⌰
˜ − 2⌰ ˜ 共41兲
behavior when it is in motion. The added mass parameters which
make up the added mass matrix and the linear and quadratic drag By choosing the adaptive control law as
parameters which make up the damping matrix come under this
category. The hydrodynamic parameters of an underwater vehicle ˆ˙ = − ⌫⌽TW−1˜
⌰ 共42兲
1
are generally not known with sufficient accuracy. Traditionally, Eq. 共41兲 becomes
these parameters are estimated using the planar-motion-
mechanism 共PMM兲 test. Another approach is to use an observer to V̇2 = V̇1 艋 0 共43兲
estimate these parameters 关21兴. These offline approaches are ap-
proximate and do not theoretically guarantee stability for the con- which is negative semidefinite. Using Barbalat’s lemma 关22兴, it
troller described in the previous section where exact values of the can be proven that V̇2 → 0 as t → ⬁. This means that V̇1 in Eq. 共30兲
system parameters are required. This stringent requirement can be approaches zero asymptotically and V2 is bounded. This ensures
removed by considering a regression based online estimation asymptotic tracking of the desired trajectory, but the parameter
scheme. The estimated parameters are then used to update the estimation error does not converge to zero, which is not actually
controller parameters for each sampling interval such that the sta- required in the present case. The adaptive part of the control law is
bility is guaranteed and the tracking error decreases asymptoti- given by
cally.
˘ ⌰ = JM −1 ˆ
In the presence of uncertainty, Eq. 共27兲 can be rewritten as 0 ⌽⌰ 共44兲
Fig. 6 Position and attitude tracking error with nonzero initial error: ¯ for ⌫ = 0, --- for ⌫ = 2 Ã 103I, and — for ⌫ = 5 Ã 103I. „a…
Error in x versus time. „b… Error in y versus time. „c… Error in z versus time. „d… Error in versus time. „e… Error in versus time.
„f… Error in versus time.
Journal of Dynamic Systems, Measurement, and Control MARCH 2008, Vol. 130 / 024502-5
冦 冧
关3兴 Goheen, K. R., and Jefferys, E. R., 1990, “Multivariable Self-Tuning Autopi-
0.08t3 − 0.008t4 , 0艋t⬍5 lots for Autonomous and Remotely Operated Underwater Vehicles,” IEEE J.
5 + 2共t − 5兲, 5 艋 t 艋 27 Ocean. Eng., 15共3兲, pp. 144–151.
关4兴 Cristi, R., Papoulias, F. A., and Healey, A. J., 1990, “Adaptive Sliding Mode
− 100352共t − 27兲 + 5184共t2 − 272兲 Control of Autonomous Underwater Vehicles in Dive Plane,” IEEE J. Ocean.
s共t兲 = 49 + Eng., 15共3兲, pp. 152–160.
125 关5兴 Antonelli, G., Caccavale, F., Chiaverini, S., and Fusco, G., 2003, “A Novel
− 118共t3 − 273兲 + t4 − 274 Adaptive Control Law for Underwater Vehicles,” IEEE Trans. Control Syst.
+ , 27 ⬍ t 艋 32 Technol., 11共2兲, pp. 221–232.
125 关6兴 Yuh, J., 2000, “Design and Control of Autonomous Underwater Robots: A
Survey,” Auton. Rob., 8共1兲, pp. 7–24.
First, the trajectory is discretized by choosing 160 equidistant 关7兴 Yoerger, D. R., Cooke, J. G., and Slotine, J.-J. E., 1990, “The Influence of
node points at which the dynamics is linearized to obtain a set of Thruster Dynamics on Underwater Vehicle Behavior and Their Incorporation
LTI systems. For each nominal point, the algorithm is used to Into Control System Design,” IEEE J. Ocean. Eng., 15共3兲, pp. 167–178.
determine ␥i. Calculations in the first three steps of the algorithm 关8兴 Whitcomb, L. L., and Yoerger, D. R., 1999, “Development, Comparison, and
Preliminary Experimental Validation of Nonlinear Dynamic Thruster Models,”
need to be done only once. For the given trajectory, ␥max is found IEEE J. Ocean. Eng., 24共4兲, pp. 481–494.
to be 7.5. 关9兴 Whitcomb, L. L., and Yoerger, D. R., 1999, “Preliminary Experiments in
The procedure for determining ␥ need not be repeated for every Model-Based Thruster Control for Underwater Vehicle Positioning,” IEEE J.
trajectory. This is because the acceptable values for ␥ can be any- Ocean. Eng., 24共4兲, pp. 495–506.
关10兴 Bachmayer, R., Whitcomb, L. L., and Grosenbaugh, M. A., 2000, “An Accu-
thing above that determined from the algorithm. It can be deter- rate Four-Quadrant Nonlinear Dynamical Model for Marine Thrusters: Theory
mined for some typical trajectories that an AUV is required to and Experimental Validation,” IEEE J. Ocean. Eng., 25共1兲, pp. 146–159.
follow and the maximum value of ␥ can be used for the design of 关11兴 Healey, A. J., Rock, S. M., Cody, S., Mikes, D., and Brown, J. P., 1995,
the controller. Though higher values of ␥ give faster convergence, “Toward an Improved Understanding of Thruster Dynamics for Underwater
Vehicles,” IEEE J. Ocean. Eng., 20共4兲, pp. 354–361.
for the present simulation a value of 8 is chosen. 关12兴 Barmish, B. R., 1985, “Necessary and Sufficient Conditions for Quadratic
For the desired trajectory given, the variation of tracking errors Stabilizability of Uncertain Systems,” J. Optim. Theory Appl., 46共4兲, pp. 399–
in position and attitude with zero initial error for various values of 408.
adaptive gain is shown in Fig. 5. With zero adaptive gain, though 关13兴 Bernussou, J., Peres, P. L. D., and Geromel, J. C., 1989, “A Linear Program-
ming Oriented Procedure for Quadratic Stabilization of Uncertain Systems,”
the system is not unstable, the performance is poor as the control- Syst. Control Lett., 13共1兲, pp. 65–72.
ler operates based only on the nominal plant. With the increase in 关14兴 Geromel, J. C., Peres, P. L. D., and Bernussou, J., 1991, “On Convex Param-
adaptive gain, the tracking error reduces asymptotically to zero. A eter Space Method for Linear Control Design of Uncertain Systems,” SIAM J.
corresponding variation of error with nonzero initial error in of Control Optim., 29共2兲, pp. 381–402.
关15兴 Kar, I. N., and Dasgupta, A., 1998, “Quadratic Stabilization of a Class of
−共1 , 0.8, 0.5, 0.5, 0.3, 0.4兲 is shown in Fig. 6. In this figure, the Linear Systems and Its Application to Robot Control,” Int. J. Syst. Sci., 29共3兲,
performance with and without the adaptive controller seems to pp. 267–274.
match. However, it is to be noticed that the initial error is high 关16兴 Seraji, H., 1987, “An Approach to Multivariable Control of Manipulators,”
and, therefore, the tracking errors are mostly not visible in that ASME J. Dyn. Syst., Meas., Control, 109共2兲, pp. 146–154.
关17兴 Kumar, R. P., Dasgupta, A., and Kumar, C. S., 2005, “Real-Time Optimal
scale. One exception is the case of error in , as shown in Fig. Motion Planning for Autonomous Underwater Vehicles,” Ocean Eng., 11–
6共e兲. 12共32兲, pp. 1431–1447.
关18兴 Jacobson, D. H., 1977, Extension of Linear Quadratic Control, Optimization
7 Conclusions and Matrix Theory, Academic, New York.
关19兴 Fossen, T. I., 1994, Guidance and Control of Ocean Vehicles, Wiley, New
This paper describes a new method of designing a linear track- York.
ing controller for AUVs using the concept of quadratic stabiliza- 关20兴 Antonelli, G., Chiaverini, S., Sarkar, N., and West, M., 2001, “Adaptive Con-
tion. The underwater vehicle system is linearized about some trol of an Autonomous Underwater Vehicle: Experimental Results on ODIN,”
IEEE Trans. Control Syst. Technol., 9共5兲, pp. 756–765.
points on the reference trajectory, and a single state feedback sta- 关21兴 Kim, J., Kim, K., Choi, H. S., Seong, W., and Lee, K.-Y., 2002, “Estimation of
bilizing controller is designed. In order to handle uncertainty in Hydrodynamic Coefficients for an AUV Using Nonlinear Observers,” IEEE J.
the vehicle parameters, an adaptive scheme is used to estimate Ocean. Eng., 27共4兲, pp. 830–840.
unknown parameters online. The effectiveness of the controller is 关22兴 Slotine, J.-J. E., and Li, W., 1991, Applied Nonlinear Control, Prentice-Hall,
Englewood Cliff, NJ.
demonstrated through numerical simulation. The proposed scheme 关23兴 Fjellstad, O.-E., and Fossen, T. I., 1994, “Singularity-Free Tracking of Un-
will be used for tracking optimal trajectories determined using the manned Underwater Vehicles in 6 DOF,” Proceedings of the IEEE Conference
methods discussed in Ref. 17. on Decision and Control, Orlando, pp. 1128–1133.