Optimal Tracking Control of Motion Systems
Optimal Tracking Control of Motion Systems
Optimal Tracking Control of Motion Systems
Abstract—Tracking control of motion systems typically requires friction compensation was presented in [6]. The drawback to
accurate nonlinear friction models, especially at low speeds, and this methodology is that modeling nonlinear friction is difficult
integral action. However, building accurate nonlinear friction and the model changes substantially over time. Biaxial contour
models is time consuming, friction characteristics dramatically
change over time, and special care must be taken to avoid windup control subject to friction has been studied in [7]. The friction
in a controller employing integral action. In this paper a new is observed with a state observer. Based on the results of state
approach is proposed for the optimal tracking control of motion observation, friction is estimated and compensated. However,
systems with significant disturbances, parameter variations, and experimental results indicate that the observer suffers from a
unmodeled dynamics. The ‘desired’ control signal that will keep long settling time and high frequency oscillations.
the nominal system on the desired trajectory is calculated based
on the known system dynamics and is utilized in a performance Many studies have investigated cross-coupled controllers to
index to design an optimal controller. However, in the presence of regulate the contour error (i.e., the distance from the actual posi-
disturbances, parameter variations, and unmodeled dynamics, the tion to the contour the system is attempting to track). Although
desired control signal must be adjusted. This is accomplished by several control techniques that handle cross-coupling effects
using neural network based observers to identify these quantities, were proposed (e.g., [8]–[11]) and show good results, the effect
and update the control signal on-line. This formulation allows
for excellent motion tracking without the need for the addition of of introducing such controllers on the overall system dynamics
an integral state. The system stability is analyzed and Lyapunov was not examined [12]. Subsequently, adaptive robust control
based weight update rules are applied to the neural networks [13]–[15] was introduced for systems with uncertainties and can
to guarantee the boundedness of the tracking error, disturbance effectively handle bounded disturbances while preserving tran-
estimation error, and neural network weight errors. Experiments sient performance. Model-based position synchronization [16],
are conducted on the linear axes of a mini CNC machine for the
contour control of two orthogonal axes, and the results demon- [17] and sliding mode based robust controllers [18]–[20] are
strate the excellent performance of the proposed methodology. some of the other approaches taken towards minimizing con-
tour errors. Other contour error control methods include iter-
Index Terms—Lyapunov stability analysis, motion systems,
neural network observer, optimal control, uncertainty estimation. ative learning control [21], hierarchical control [22], and Ly-
punov-based control [23]. To further improve controller results,
other studies considered adaptive feedrate schemes based on
I. INTRODUCTION methods such as fuzzy logic [24], [25] and predictive control
[26]. Recently, contour control has been extended to five axis
machines [27].
the tracking error, which may cause integral “wind up”, leading where , is an -dimensioned Lagrange multiplier and
to actuator saturation and loss of transient performance [29], is a positive definite symmetric matrix determined
[30]. Thus, anti-windup schemes have to be used. Although from the nonlinear Riccati equation
anti-windup schemes may not be difficult to apply, they may
deteriorate controller performance, which is critical for high (5)
precision motion control tasks. This deterioration (e.g., increase and
in response time) is due to the fact that the anti-windup scheme (6)
changes the closed-loop dynamics when saturation occurs. The
methodology proposed in this paper requires no integral oper- is defined as the tracking error. Note that the structure of the
ation and thus no anti-windup scheme, helping to improve the performance index in (2) results in a control law that does not
controller performance and reduce the controller complexity. require integral action to track a desired trajectory.
Second, by integrating the uncertainty estimation neural net-
work as a part of an observer formulation, the uncertainties B. Controller Design for Uncertainties
are learned very fast without high frequency oscillations [31], Since disturbances, parameter variations, and unmodeled
enabling excellent transient performance. Moreover, the un- dynamics affect the motion system, the true system model is
certainty estimation provides an estimate of the nonlinearities, written as
such as nonlinear friction and cogging, which are difficult to
model. This knowledge of system behavior can be used in the (7)
analysis of the motion system dynamics and in identifying
disturbance bounds. where is the state-dependent uncertainty. Since we
consider only matched uncertainties (that is uncertainties ap-
II. CONTROL DESIGN PROCEDURE pear only in equations containing the control signals), the coef-
ficient matrix, contains zeros and constants. Entries
The proposed optimal tracking controller design procedure is
with constants correspond to the equations containing the con-
now given.
trol components and, therefore, contain the uncertainties.
A. Controller Design for Nominal System Assumption 1: The uncertainty is bounded by
where and are symmetric weighting matrices that C. Neural Network Based Estimation
penalize deviations between the states and the desired states and
The output of the neural network is given by
between the control and the desired control, respectively. The
term is the desired control signal, computed from the (10)
known system dynamics in (1) as
where is a matrix of estimated weights and is the
(3) number of neurons in the network and is the basis
function vector, which is defined as
The desired control signal is the amount of control required to
keep the nominal system on the desired trajectory. The desired
trajectory can be any non-zero, time-varying quantity from
(11)
which the corresponding time-varying desired control can be
computed. If , the problem reduces to a regulation where kron denotes the Kronecker product and
problem and the desired control for a stable system will be
zero. The total control signal, obtained by minimizing the cost (12)
function in (2) is given by
Trigonometric functions are chosen to construct the basis func-
(4) tion vector since these functions form an orthogonal basis and
This article has been accepted for inclusion in a future issue of this journal. Content is final as presented, with the exception of pagination.
have the capability to represent nonlinear functions accurately. in this paper and in other studies that utilize neural networks.
Also, they allow the constraint on the basis function vector mag- By using this observer structure, transient performance can be
nitude to be formulated as tuned via the observer gains.
Theorem 1: A stable weight update rule with full state mea-
(13) surement given by
where is the basis function norm upper bound. From the
(19)
universal function approximation property of neural networks
[32], it can be stated that there exists an ideal neural network stabilizes the estimation error , the tracking error , and the
with an optimum weight vector and basis function vector adaptive weights of the online network. Adaptation rates
that approximates to an accuracy of are used along with a modification factor of
to enforce the bound on the neural network weights and pro-
(14)
vide robustness. The proof of Theorem 1 is provided in the
Different architectures for neural networks exist in the literature Appendix.
[33]. In this paper, a linear-in-the-parameter network is chosen.
The reasons are three fold: to keep the architecture simple and D. Desired Control Signal Adjustment
mathematically tractable, and not computationally intensive. With the approximated uncertainty, the desired control can
Assumption 2: The ideal weight is bounded by now be computed from
(15) (20)
Assumption 3: The neural network approximation error is where . The system uncertainty can be taken
bounded by into account in the control design by redefining the desired con-
trol signal based on the uncertainty estimation. The total control
(16)
signal is the combination of the redefined desired control and
This error can be reduced by increasing the number of neurons feedback control signals, similar to (4). Essentially, the feed-
in the neural network design. The state estimator structure is back component of the control is used only to shape the tran-
sient dynamics. A block diagram representation of the proposed
(17) controller is given in Fig. 1. The estimated state vector and es-
timated weights are both initialized to zero.
The estimation error is then expressed as where the
estimation error dynamics are E. Design Parameter Selection
(18) The stability properties of the controller formulation are ana-
lyzed using the Lyapunov function
where is the error between the actual and
ideal neural network weights. Although the observer estimates (21)
system states are assumed to be measurable, the utility of the
modified observer structure is the estimation of the process un- where “tr” is the trace operator and and are adaptation
certainties. In fact, the modified observer structure is the major rates chosen as positive definite matrices. For ease of design,
difference between how process uncertainties are estimated these rates are chosen such that only the diagonal elements are
This article has been accepted for inclusion in a future issue of this journal. Content is final as presented, with the exception of pagination.
TABLE I
SELECTION CRITERIA FOR OBSERVER DESIGN PARAMETERS
(22)
(23)
(24)
where
(25)
(26)
(27)
Fig. 4. -axis velocity model and experimental results comparison.
(28)
(29) TABLE II
LINEAR AXIS SYSTEM PARAMETERS
(30)
(34)
, and .
The axial and contour error signals are given in Fig. 6. The
plots on the left side of Fig. 6 are the complete error signals.
The maximum absolute contour error is 22.1 m. The spikes in
the error signals correspond to changes in the direction of an
axis and are due to the fact that the diamond contour is discon-
tinuous at these points and a constant velocity interpolator is
utilized. It can be observed that the - and -axes have max-
Fig. 7. Case I uncertainty and axis control signals.
imum tracking errors of 31.2 and 30.9 m, respectively, during
the transient phases. The transient error could be reduced if con-
stant acceleration or jerk interpolators are used. The plots on the the axis. This variation is most likely due to the position-depen-
right-hand side of Fig. 6 are the detailed steady-state error sig- dent nature of the nonlinear friction, which appears to be more
nals. The mean values of the absolute values of the -, -axis, pronounced in the -axis than in the y axis. The axis control
and contour errors, respectively, are 0.125, 0.109, and 0.110 m. signals are also given in Fig. 7. The control signals temporarily
These values are within two resolutions of the sensor signals, saturate when either axis changes direction; however, this does
demonstrating the proposed controller is able to provide excel- not affect the system stability or performance during steady op-
lent tracking performance even though an integral state is not eration. The experimental results also demonstrate that the xPC
utilized in the controller. target computer is capable of executing the entire control system
The axis uncertainty estimations, computed using the neural at a sample time of 1 ms without overloading the CPU, as a CPU
network based observers, are shown in Fig. 7. These estimations overload error occurs when the CPU time required by the con-
account for disturbances, parameter variations, and unmodeled trol application is greater than the sample time.
dynamics. The mean uncertainty estimations for the -axis in The uncertainty and axis tracking error transient responses
the positive and negative directions of motion are 0.701 and at the first corner are shown in Fig. 8. It can be observed that
0.314 mm/s, respectively, which are within 0.07 mm/s of the the tracking error and uncertainty estimation stabilize in ap-
nonlinear friction values given in Table II. This indicates the proximately 0.05 s and no high frequency oscillations are ob-
uncertainty in the -axis is mainly due to the nonlinear friction. served, indicating that the neural network-based estimator per-
The mean uncertainty estimations for the -axis in the positive forms very well during the transient phase.
and negative direction of motion are 0.470 and 1.05 mm/s, In order to test the robustness of the proposed control
respectively, which are within 0.25 mm/s of the nonlinear fric- methodology, in Case II the LQR controller is designed
tion values given in Table II. This indicates the uncertainty in based on the nominal time constants in Table II and gains
the -axis is due to the nonlinear friction as well as other effects of 2.5 (mm/s)/V, increases of 32% and 56%, re-
such as model parameter variations. The uncertainty estimation
in the -axis also varies slightly during the steady operation of spectively. In this case
This article has been accepted for inclusion in a future issue of this journal. Content is final as presented, with the exception of pagination.
Fig. 11. Case II uncertainty and axis tracking error transient response at first
corner.
Fig. 9. Case II axial and contour error signals. now is mainly due to the nonlinear friction and the change is
model gain, which is given by
(35)
have larger magnitudes during the steady phase due to the incor- APPENDIX
rect model gain used, indicating the neural network based esti- BOUNDS ON TRACKING, DISTURBANCE ESTIMATION, AND
mator performs very well during the transient phase even when NEURAL NETWORK WEIGHT ERRORS
the model parameters are much different than the nominal ones. This section shows the derivation that leads to Theorem 1
The measured axis position, estimated axis position and esti- presented in the section neural network-based estimation. The
mated axis velocities are plotted in Fig. 12. The average abso- idea here is to first formulate a Lyapunov function in terms of
lute velocity estimation errors for - and -axis are the errors in the approximate system states, tracking errors and
(mm/s) and (mm/s), respectively. It can be seen that the error between the ideal weight and the actual weight of the
the observer works very well in estimating the axis position and neural networks. Second, a weight update law will be selected
velocity since no high frequency oscillations are observed and to make the rate of change of the Lyapunov function less than or
the estimation errors are small. equal to zero. The bound on the inequality will lead to bounds
on the errors. Let
Computing and using (25) and (26), respectively, ap- where . After completing the square
plying the trace property , and adding and sub- on the term with
tracting the term , (39) can be rewritten as
(40)
(41)
(48)
(42)
b)
(43)
Robert G. Landers (SM’11) received the Ph.D. de- processes and alternative energy systems and has over 100 technical refereed
gree in mechanical engineering from the University publications.
of Michigan, Ann Arbor, in 1997. Dr. Landers was a recipient of the Society of Manufacturing Engineers’ M.
He is currently an Associate Professor of me- Eugene Merchant Outstanding Young Manufacturing Engineer Award in 2004.
chanical engineering and the Associate Chair for He is a member of ASEE and ASME and a senior member of SME. He is cur-
Graduate Affairs in the Department of Mechan- rently an Associate Editor for the IEEE TRANSACTIONS ON CONTROL SYSTEM
ical and Aerospace Engineering at the Missouri TECHNOLOGY, the ASME Journal of Dynamic Systems, Measurement, and Con-
University of Science and Technology (formerly trol, and the ASME Journal of Manufacturing Science and Engineering.
University of Missouri Rolla), Rolla. His research
and teaching interests include the areas of modeling,
analysis, monitoring, and control of manufacturing