You are on page 1of 13

AIAA Atmospheric Flight Mechanics Conference and Exhibit AIAA 2002-4885

5-8 August 2002, Monterey, California

PERFORMANCE OPTIMIZATION OF A MANEUVERING


RE-ENTRY VEHICLE USING A LEGENDRE
PSEUDOSPECTRAL METHOD

Anil V. Rao
Kimberley A. Clarke

The Charles Stark Draper Laboratory, Inc.


Cambridge, MA 02139-3563

Abstract
The problem of performance optimization of a maneuvering re-entry vehicle is studied. The objective
is to determine an optimal steering law for a high lift-to-drag ratio vehicle. An optimization criteria is
derived that attempts to maximize the control margin of the vehicle in order to account for unmodeled
perturbations during actual flight. The optimization problem is formulated as an optimal control problem.
The optimal control problem is transcribed to a nonlinear programming via a Legendre pseudospectral
method and is solved using a sparse nonlinear optimization algorithm. The key features of the optimal
trajectory are described and the quality of the trajectory obtained from the Legendre pseudospectral
method is discussed. Finally, a motivation is given for using the pseudospectral method as a guidance
law.

ance technology to next-generation vehicles. Conse-


quently, the next generation of aerospace vehicles will
INTRODUCTION require more advance guidance methodologies.

A particular class of next-generation atmospheric


Developing guidance algorithms for next-generation ight vehicles that will require advanced guidance is
atmospheric and space ight vehicles is a great chal- the class of unmanned maneuvering re-entry vehicles1
lenge because these new vehicles will have signi- where the objective is to steer the vehicle from atmo-
cantly higher performance requirements over current spheric entry to a terminal state whose position must
generation vehicles. In order to achieve the required be achieved with great accuracy, whose impact speed
performance, the on-board guidance algorithm must must be high and must lie within a narrow range,
be capable of exploiting a large portion of the vehi- whose ight path angle must be nearly orthogonal to
cle capability. Furthermore, the guidance law must the plane of the target, and whose angle of attack
be robust to environmental perturbations. At rst must be nearly zero.3 In addition, because vehicles
glance it may appear most cost-eective to develop in this class have one-sided angle of attack control
new guidance laws that are based on those currently (i.e. the angle of attack must remain positive through-
in use. However, current guidance algorithms are out ight), environmental perturbations that occur
not even capable of exploiting the full capability of during actual ight further increase the demands on
those vehicles on which they are used and hence it the guidance law to provide a control that is capable
is dicult to conceive of extending the current guid- of steering the vehicle to the target. Because of the
Senior Member of the Technical Sta, Guidance and Navigation Division, 555 Technology Square, Mail Stop 70, Cambridge,

MA 02139-3563. E-mail: arao@draper.com. Corresponding Author


Draper Laboratory Fellow, Guidance and Navigation Division. Graduate Student, Department of Aeronautics and
Astronautics, Massachusetts Institute of Technology. E-mail: kclarke@draper.com

Copyright 2002 by The Charles Stark Draper Laboratory, Inc. Published by the American Institute of Aeronautics &
Astronautics, Inc., with permission.

Copyright 2002 by the author(s). Published by the American Institute of Aeronautics and Astronautics, Inc., with permission.
aforementioned limitations of current guidance algo- methods. In an indirect method, extremal trajecto-
rithms, it is desirable to developed advanced guidance ries are found by solving a Hamiltonian boundary-
approaches for use on board a high performance un- value problem (HBVP) derived from the rst-order
manned maneuvering re-entry vehicle. necessary conditions for optimality. A benet of nd-
In general, guidance law development is typically ing a solution to the HBVP is that an accurate co-
split into two phases. The rst phase is the design state is obtained from which an accurate control can
of a so called reference trajectory and reference con- be computed. However, many HBVPs of interest in
trol. The reference trajectory and reference control atmospheric ight and space ight suer from ex-
are often (but not always) computed by solving a treme sensitivity to unknown boundary conditions.
mission-specic optimal control problem. After ob- Consequently, it is often dicult to nd solutions to
taining a reference trajectory, one of two approaches HBVPs which in turn makes it dicult to implement
are commonly used to design a guidance law. The an indirect method in real time.
rst approach is called trajectory tracking where the In a direct method the optimal control problem
objective of the guidance law is to follow the refer- is transcribed to a nonlinear programming (NLP)
ence trajectory as closely as possible. The second ap- problem by discretizing the dierential equations at
proach is called terminal guidance where the control specic time points called nodes. The NLP is then
is updated periodically (where the period is called solved using an appropriate numerical optimization
a guidance cycle) and the control is chosen at each algorithm (see Ref. 4 and the references contained
guidance cycle so as to steer the vehicle towards the therein). Direct methods have proven to be signi-
target. Moreover, in terminal guidance the control is cantly more capable than indirect methods at solv-
generally obtained in a near-optimal manner, i.e. at ing a wide range of complex optimal control prob-
each guidance cycle the control is chosen to approxi- lems, even when a poor initial guess is provided
mate the instantanous solution of the optimal control for the numerical optimization algorithm. An excel-
problem at that instant of time. Trajectory tracking lent survey of various numerical methods for solv-
is used when it is not only important for the vehicle ing trajectory optimization problems can be found
to reach the target, but it is also important that the in Ref. 9. Well-known software packages employing
vehicle y along or near a particular path in the state direct methods include Optimal Trajectories by Im-
space. Terminal guidance is used primarily when the plicit Simulation (OTIS)10 and Sparse Optimal Con-
particular path is not important (except that the tra- trol Software (SOCS).5 The reason that direct meth-
jectory remain feasible), but that the vehicle attains ods are superior to indirect methods in their solu-
the desired terminal state. In this paper we are in- tion capability is that nding a solution to the NLP
terested in terminal guidance. is easier than nding a solution to the correspond-
While ideally a terminal guidance law would be ing HBVP. However, as a consequence of the choice
capable of re-solving the optimal control problem at of the discretization of the dierential equations, the
each guidance cycle, such an idealization has not co-state obtained from many direct methods is signif-
been realizable due to limitations in computational icantly less accurate than the co-state obtained via an
resources (i.e. slow processor speed and limited mem- indirect method. Consequently, the control obtained
ory). However, computational resources have in- from a direct method is generally less accurate than
creased signicantly over the past several years, and the control obtained using an indirect method. Be-
these resources increasing at a rapid rate each year. cause of this inaccuracy, it is dicult to employ a
This increase in computational power oers an oppor- direct method in real time.
tunity to develop more sophisticated guidance guid- It can be seen that a method for the real-time
ance algorithms. In the context of terminal guidance, solution of optimal control problems useful in the
the increase in computational power makes solving an context of guidance is one that possesses desirable
optimal control problem in real time within the realm features of both indirect and direct methods, i.e. a
of possibility. Therefore, it is useful to conceive of desirable method is one that is capable of solving a
methods for solving optimal control problems that wide range of problems and simultaneously provides
have the potential of being used in real time. accurate co-state information. A newly developed
In general, optimal control problems for atmo- class of methods for solving optimal control problems
spheric and space ight vehicles are nonlinear and do that has positive attributes of both indirect and di-
not have analytic solutions. Consequently, it is neces- rect methods is the class of so-called pseudospectral
sary to solve these optimal control problems numeri- methods.68 In a pseudospectral method, the state
cally. Numerical methods for optimal control fall into and control are discretized at specied time points
two distinct categories: indirect methods and direct (called nodes) using a basis of global orthogonal poly-

2
nomials. Using this choice of transcription and the ordinates and is taken verbatim from Ref. 2.
proper choice of the nodes, an ecient discretization v cos cos v cos sin
is obtained from which an accurate approximation is r = v sin , = , =
r cos r
obtained to the optimal trajectory of the continuous- v = D g sin + 2 r cos (sin cos cos sin sin )
v
time optimal control problem. Simultaneously, an
L cos g
accurate co-state can be obtained from which an ac- = cos + 2 cos cos
v v r
curate approximation to the optimal control can be
computed. 2r
+ cos (cos cos + sin sin sin )
v
L sin v
A particular pseudospectral method than has = cos cos tan
v cos r
shown promise for use in real time is the so-called
Legendre Pseudospectral Method developed by Fahroo +2(tan sin cos sin )
and Ross.6 In this method the state and control 2r
cos sin cos
are parameterized as a linear combination of the La- v cos
(1)
grange polynomials and the nodes are the Legendre-
Gauss-Lobatto points. A key feature of the Legen- where r is the geocentric radius, is the Earth rela-
dre pseudospectral method is that an accurate co- tive longitude measured East from the Prime Merid-
state of the continuous-time optimal control problem ian, is the geocentric latitude measured positively
is obtained via a known scaling of the Karush-Kuhn- North from the equatorial plane, v is the Earth rela-
Tucker (KKT) Lagrange multipliers of the NLP. The tive speed, is the Earth relative ight path angle,
fact that a high quality co-state can be obtained from is the heading angle, and is the bank angle. The
the Legendre pseudospectral method makes it a vi- bank angle denes the angle between the lift vector
able candidate for use in guidance. and the (r, v) plane where r is the position and v is
the Earth relative velocity. Finally, the rotation rate
In this paper, the Legendre pseudospectral of the Earth is denoted by and g = /r2 is the
method of Ref. 6 is applied to optimal reference tra- magnitude of the gravitational acceleration where
jectory and reference control design for an unpowered is the gravitational parameter for the Earth. The lift
maneuvering re-entry vehicle. A performance index acceleration, L, and drag acceleration, D, are given
for the optimal control problem is constructed that as
attempts to maximize control margin. It is shown L = qSCL /m
(2)
that the Legendre pseudospectral method performs D = qSCD /m
extremely well on this problem, providing a reference
trajectory and control that are extremely close to the where q = v 2 /2 is the dynamic pressure, CL is the
extremal trajectory and control predicted by the rst- coecient of lift, CD is the coecient of drag, S is the
order necessary conditions for optimality. Finally, reference area of the vehicle, m is the vehicle mass,
the potential for using the Legendre pseudospectral and is the atmospheric density. The density is given
method as a guidance law is discussed. as
= 0 exp(h) (3)
where 0 is the density at sea level, h = r Re is the
altitude, Re is the radius of the Earth, and is the
inverse of the density scale-height. The aerodynamic
REFERENCE TRAJECTORY model used in this analysis is given as1, 2

DESIGN CD = CD0 + KCL2


(4)
CL = CL,

where CD0 is the zero-lift drag coecient, K is the


drag polar parameter, is the angle of attack, and
CL, is a constant. The physical constants are taken
Equations of Motion & Physical Model from Ref. 11 while the following values are used for
the aerodynamic parameters:

The maneuvering re-entry vehicle is modeled as a CD0 = 0.043


point mass ying over a spherical rotating Earth. The K = 1 (5)
motion of the vehicle is modeled using spherical co- CL, = 1

3
The aerodynamic parameters in Eq. (5) represent a where t0 denotes the initial time. Similarly, the ter-
high lift-to-drag ratio vehicle. minal conditions are given as
Since it is not possible in practice to apply an
innite rate control, the controls and are rate- r(tf ) = rf
limited as follows by augmenting the following two (t f) = f
dierential equations to the dynamics of Eq. (1): (t f ) = f
v(tf ) = vf (10)
= u (tf ) = f
(6)
= u (tf ) = f
(tf ) = 0
Furthermore, bounds are placed on |u | and |u |.
The specic bounds are given later in the discussion. where tf denotes the terminal time.

Path Constraints Objective Functional


During ight, inequality constraints are imposed on In order to allow the vehicle to correct for unpre-
dynamic pressure, sensed acceleration, angle of at- dictable ight conditions, an objective functional is
tack, and the control rates u and u . The sensed chosen that attempts to maximize the amount of con-
acceleration is dened as trol margin during ight. The control margin is de-
ned qualitatively as the distance that the control
a = D 2 + L2 (7)
lies from its boundaries. Therefore, an objective func-
The dynamic pressure is bounded below by a pre- tional is constructed that attempts to keep near the
dened value qmin while the sensed acceleration is middle of its capability. Thus, one term in the cost
bounded above by a pre-dened value amax . Further- function is apenalty on on deviations in from
more, the angle of attack is constrained to lie between (where = CD0 /K corresponds to the angle of at-
zero and a pre-dened value max . Finally, absolute tack at the maximum value of L/D), and penalties on
values of the control rates, |u | and |u | are bounded large control rates u and u . Qualitatively, keeping
by positive constants u,max > 0 and u,max > 0, the angle of attack near and keeping away from
respectively. Consequently, the following inequality max allows the vehicle to either increase or decrease
constraints are imposed during ight: in the case of o-nominal perturbations during an
actual ight. Keeping u and u small helps reduce
q qmin the amount of actuator propellant required on board,
a amax thus reducing the mass of the vehicle. Consequently,
0 the performance index chosen for this analysis is
(8)
max  tf   2  2
|u | u,max u
J = k1 + k2
|u | u,max 0 max u,max
 2  (11)
u
Boundary Conditions + k3 dt
u,max
The boundary conditions for the maneuvering re-
entry vehicle problem are as follows: (1) The ini- where k1 , k2 , and k3 are design parameters. It is
tial position and velocity are completely specied, noted that the terms in the integrand of the cost func-
(2) The terminal position and velocity are completely tional of Eq. (11) are scaled by their respective max-
specied, and (3) the terminal angle of attack must imum values (e.g. the rst term is scaled by max )
be zero. The terminal boundary condition on the an- in order to more easily interpret the relative contri-
gle of attack is called the obliquity condition. In terms bution of each term to the overall cost. A detailed
of the components of the state, the initial conditions study of this issue is beyond the scope of this paper.
are given as
r(t0 ) = r0 Optimal Control Problem
(t0 ) = 0
(t0 ) = 0 The reference trajectory for the maneuvering re-entry
(9) vehicle under consideration in this paper is computed
v(t0 ) = v0
(t0 ) = 0 by solving the following optimal control problem:
(t0 ) = 0 Find the control (u (t), u (t)) on the time interval

4
t [0, tf ] (where tf is free) that minimize the objec- is the corresponding KKT multiplier associated with
tive functional of Eq. (11) subject to the dierential the solution of the NLP of Eqs. (12)-(14), and wk
equations of Eqs. (1) and (6), the path constraints is the LGL weight corresponding the k th LGL point.
of Eq. (8), and the boundary conditions described Eq. (15) will be used to demonstrate the accuracy of
above. the solution of the continuous-time optimal control
problem when solved via the Legendre pseudospec-
LEGENDRE tral method.
PSEUDOSPECTRAL
METHOD
APPLICATION OF
The aforementioned optimal control problem is PSEUDOSPECTRAL
solved using the Legendre pseudospectral method of
Fahroo and Ross of Ref. 6. It is beyond the scope METHOD
of this paper to provide a detailed description of the
Legendre pseudospectral method. A brief summary
In order to obtain a well-scaled NLP, the following
of the method is provided here in order to maintain
canonical units were chosen for numerical computa-
continuity. Please see Ref. 6 for further details of the
tion:
method.
In the Legendre pseudospectral method of Ref. 6, Units of Length: Earth Radii
the the continuous-time optimal control problem is Units of Time: Period of a Spacecraft
transcribed to a nonlinear programming problem in Circular Orbit at
(NLP). For a given choice of nodes (where N + 1 One Earth Radii
is the number of nodes), the NLP that results from Units of Speed: Speed of a Spacecraft in
the discretization is as follows:6 Minimize Circular Orbit at
One Earth Radii
f 0 
N
J N = M(aN , f ) + L(ak , bk )wk (12) Units of Density: Air Density at Sea Level
2
k=0
The results were then scaled to dimensionalized quan-
subject to the equality constraints
tities for analysis. It is noted that the use of canoni-
f 0 N cal units does not alter the mathematical form of the
f (ak , bk ) Dkl al = 0 dierential equations given in Eq. (1) and (6), only
2
k=0 the numerical values for the physical constants are
k = 0, 1, . . . , N (13)
changed.
0 (a0 , 0 ) 0 The specic boundary conditions used to obtain
f (aN , f ) 0 the results presented in this paper are based on values
and the inequality constraints given in Ref. 3 and are given as follows:

g(ak , bk ) 0 , k = 0, 1, . . . , N (14) t0 = 0s
tf = FREE
It is noted that in the method of Ref. 6, the nodes are r(t0 ) = 6378182 m (= 37 km altitude)
the Legendre-Gauss-Lobatto (LGL) points. Please (t0 ) = 0 deg
see Ref. 6 for further details. (t0 ) = 0 deg
v(t0 ) = 7137.9 m/s
Co-State Estimation (t0 ) = 0 deg
(t0 ) = 0 deg
It has been shown in Ref. 6 that solving a continuous-
r(tf ) = 6378145 m (= 0 km altitude)
time optimal control problem via the Legendre pseu-
(tf ) = 25.15 deg (= 2800 km downrange)
dospectral method leads to the following estimates
(tf ) = 0 deg
for the co-states:
v(tf ) = 1219 m/s
 k /wk
(tk ) = (15) (tf ) = 89 deg
(tf ) = FREE
where (tk ) is the estimate the co-state for the (tf ) = 0 deg
k
continuous-time optimal at the k th LGL point, (16)

5
The boundary conditions of Eq. (16) correspond to constraints correspond to the eight discretized dif-
a target that is approximately 2800 km downrange ferential equations at the LGL points while the 12
from the initial state (see Appendix for the deni- linear equality constraints correspond to the bound-
tion of downrange). Furthermore, the target lies in ary conditions. Finally, the 250 nonlinear inequality
the initial Earth relative trajectory plane. It is noted constraints correspond to the dynamic pressure and
that in the current application the terminal veloc- sensed acceleration at the LGL points.
ity of the vehicle should be orthogonal to the plane
that is tangent to the surface of the Earth at the
target location. Strictly speaking, this orthogonal- Numerical Optimization via SNOPT
ity conditions requires that the terminal ight path
While in principle any nonlinear numerical optimiza-
angle be -90 deg. However, the system of dieren-
tion algorithm can be used to solve the NLP that
tial equations of Eq. (1) chosen for this study has
arises from the Legendre pseudospectral method, it
a singularity at = 90 deg. Therefore, instead
is preferable to use a method that is computationally
of setting the terminal ight path angle to -90 deg,
ecient. For the current problem (and for trajec-
the value f = 89 deg was used. Finally, because
tory optimization problems in general) it is known
f = 89 deg corresponds to a near-vertical orienta-
that the nonlinear constraint Jacobian is sparse,
tion of the vehicle at Earth impact, it was not nec-
i.e. a large percentage of the individual derivatives
essary to constrain the terminal heading angle (since
of the nonlinear constraints with respect the opti-
the heading angle is undened when the vehicle is
mization variables are zero. Therefore, it is ben-
ying vertically downward).
ecial to use an optimization algorithm that takes
The constraints imposed on the control rates u
advantage of this sparsity. There are several well-
and u are
known numerical optimization methods that solve
|u | 10 deg/s
(17) sparse NLPs including SNOPT4 and SPRNLP.5 In
|u | 30 deg/s
the current research the numerical optimization was
Furthermore, the path constraints are bounded as carried out with SNOPT4 version 6.1 in FORTRAN.
2 The objective function gradient and nonlinear con-
q 12 KPa (=250 lb/ft ) straint Jacobian were computed analytically. Fur-
a 45 g0 thermore, default feasibility and optimality toler-
(18)
0 ances were used. (see the SNOPT Users Manual for
25 deg further details4 ). Finally, the pseudospectral dier-
where g0 is the gravitational acceleration at sea level. entiation matrices, pseudospectral weights, and the
In addition, the following values are used for the co- Legendre-Gauss-Lobatto points that are required in
ecients (k1 , k2 , k3 ) and the parameter
in the ob- Eqs. (12)-(14) were computed using the FORTRAN
jective functional of Eq. (11): software PseudoPack.12

k1 = 1 Results
k2 = 18
(19) The results obtained by solving the NLP of Eq. (12)-
k3 = 20

0.207 rad 11.9 deg Eq. (14) are shown in Fig. 1-Fig. 7. In addition,
the solution obtained via numerical integration of the
Finally, N +1 = 125 was chosen for this study, i.e. 125 dierential equations using the controls u and u
LGL points were used. A summary of the resulting obtained from the Legendre pseudospectral method
NLP is given as follows: is plotted alongside the NLP solution. The numeri-
# of Optimization Variables = 1251 cal integration was performed in MATLAB using the
lsode integrator13 in FORTRAN with a relative error
# of Nonlinear Equality Constraints = 1000
# of Linear Equality Constraints = 12 tolerance of 1012 .
# of Nonlinear Inequality Constraints = 250 The results illustrate several key features of the
optimal trajectory. First, it is seen from Fig. 1 that
The optimization variables are split as follows: 1000 the altitude does not decrease monotonically along
variables correspond to the components of the aug- the optimal trajectory, but actually increases twice
mented state at the LGL points, 250 variables corre- (thus attaining two local maximum) during ight.
spond to the components of the augmented control at The rst rise in altitude (which begins at the initial
the LGL points, and 1 variable corresponds to the ter- state) enables the vehicle to y in a low density region
minal time. Furthermore, the 1000 nonlinear equality (because the altitude is greater than 40 km) in order

6
to achieve the required range (2800 km in this case). tion on the ight path angle (-89 deg) requires that
During the subsequent fall in altitude, the speed of the lift point downward as the vehicle approaches the
the vehicle is reduced so that the vehicle can arrive at target. However, because the vehicle cannot y with
the target with the prescribed terminal speed of 1219 a negative angle of attack, the only way to attain
m/s. Furthermore, it is seen from Fig. 2 that the a downward pointing lift direction is via a 180 deg
two local maxima in altitude occur at points where rotation in the bank angle.
the dynamic pressure constraint is active (i.e. when
q = 12 kPa). Therefore, these local maxima in alti- Optimality and Accuracy of Solution
tude are constrained by the lower limit on dynamic
pressure. In particular, if there was no constraint on The solution from the Legendre pseudospectral
dynamic pressure, the vehicle would attain a higher method is now compared to the solution derived from
altitude at each of these maxima. the rst-order necessary conditions for optimality.14
The second key feature of the results is exhibited For the maneuvering re-entry vehicle optimal control
by the Earth relative downtrack and Earth relative problem described above, the Hamiltonian is given as
crosstrack as shown in Fig. 3 (see Appendix for the
H = L + T f (20)
denition of downtrack and crosstrack). It is seen
from Fig. (3) that the vehicle steers approximately where L is Lagrangian of the cost function of Eq. (11),
500 km in the crosstrack direction and arrives at the f is the vector eld of the dierential equations in
target nearly orthogonal to the reference downtrack Eqs. (1) and (6), and is the co-state. The co-state
plane (see Appendix). More specically, from Fig. 3 can be written component-wise as
it is seen that the vehicle arrives at the target from
slightly behind. = (r , , , v , , , u , u )T (21)
The third key feature of the results is the behav-
ior of the angle of attack which is shown in Fig. 6. For this problem, extremal controls are found from
It can be seen that, because of the inclusion of the the conditions
rst term in the cost function of Eq. (11), the angle
H/u = 2k2 (u /u,max) + u = 0
of attack stays near = 11.9 deg for a large per- (22)
H/u = 2k3 (u /u,max) + u = 0
centage of the total ight time. However, the angle
of attack increases to 23 deg near the end of ight, which leads to the following extremal controls:
indicating that a large angle of attack is required in
order to attain the target. The reason that the angle u,max
u = u
of attack increases so dramatically before decreasing 2k2
to zero is because the vehicle needs to deplete speed (23)
u,max
at the end of the trajectory in order to arrive at the u = u
2k3
target with a terminal speed of 1219 m/s. The only
way the vehicle can deplete this speed is by increasing Fig. 8 shows u vs. t (obtained from the Legendre
drag which requires a large angle of attack. In fact, it pseudospectral method) alongside u vs. t. Similarly,
was found that if the rst term in the cost functional Fig. 9 shows u vs. t alongside u vs. t. It can be
of Eq. (11) was not present, the vehicle would y at seen that, for both u and u , the controls obtained
its maximum angle of attack for a long duration (ap- from the Legendre pseudospectral method and those
proximately 30 seconds) as it approached the target. obtained from Eq. (23) are extremely close. Fig. 10
However, as alluded to earlier, in order to maintain shows the H vs. t (using canonical units in which the
two-sided control authority in the event of dispersions results were obtained). Since for this problem the
in an actual ight, it is undesirable to y at either the Hamiltonian is not an explicit function of time and
upper or lower angle of attack limit. Therefore, the the terminal time is free (see Eq. (16), the Hamil-
rst term in the cost functional is essential for main- tonian along an extremal trajectory (denoted H )
taining control margin. must be zero. From Fig. 10 it is seen that H os-
The last key feature of the results is exhibited by cillates about zero and its magnitude remains small
the behavior of the bank angle. It is seen from Fig. 7 throughout the trajectory. The results obtained from
that the vehicle arrives at the target with a bank an- Figs. 8-10 give strong evidence that the trajectory ob-
gle of 180 deg, i.e. the vehicle is ying upside-down as tained from the Legendre pseudospectral method is
it arrives at the target. There are two reasons why the close to an extremal trajectory.
bank angle approaches 180 deg as the vehicle arrives In addition to assessing the proximity to optimal-
at the target. First, the terminal boundary condi- ity of the Legendre pseudospectral method solution,

7
it is important to assess the accuracy of the trajec- ACKNOWLEDGMENTS
tory obtained via numerical integration with the an-
gle of attack and bank angle obtained from the Leg-
endre pseudospectral method. It can be seen from This work was supported under Draper Laboratory
Fig. 1-Fig. 7 that the solution obtained via numer- Internal Research and Development. The authors
ical integration is extremely close to that obtained would like to acknowledge Professor I. Michael Ross
via numerical solution of the NLP using the Legen- of the Naval Postgraduate School for his helpful sug-
dre pseudospectral method, resulting in a trajectory gestions during the early part of this work. The au-
that is virtually indistinguishable from the solution thors would also like to acknowledge Professor Wai
obtained from the Legendre pseudospectral method. Sun Don of Brown University for providing a spe-
More specically, the dierences in downtrack and cialized module for the pseudospectral computations
crosstrack (which are of most importance for this ap- used in this work. Finally, the authors would like to
plication) at the terminal time between the solution acknowledge Mr. Timothy Brand for providing help-
obtained via the Legendre pseudospectral method ful insight throughout the course of this work.
and the solution obtained via numerical integration
are 1.65 meters and 18.08 meters, respectively. These
individual errors translate to an overall position error
of 18.16 meters at the terminal time. This level of ac-
curacy is quite remarkable considering that the vehi-
cle has traversed a distance of 2800 km during ight.
APPENDIX
The results of the numerical integration demonstrate
EARTH RELATIVE
that the pseudospectral solution is of sucient accu-
DOWNTRACK & CROSSTRACK
racy that, under perfect ight conditions, the com-
manded angle of attack and bank angle can be used
to steer the vehicle from the initial state to a terminal The Earth relative downtrack and crosstrack dis-
state that is extremely close to the target. tances are dened as follows. Let r0 and rf be the
initial and terminal positions of a vehicle during ight
expressed in an arbitrary Cartesian Earth-centered
Earth-xed (ECEF) coordinates. Furthermore, let
CONCLUSIONS u1 = r 0 /r0 2 (24)

The problem of performance optimization of a ma- u3 = (u1 r f )/u1 r f 2 (25)


neuvering re-entry vehicle was studied. The objective
was to determine an optimal control to steer a high and
lift-to-drag ratio from an initial state just after at- u2 = u3 u1 (26)
mospheric entry to a terminal state at Earth impact.
An objective functional was derived that attempted Then the transformation from the downtrack-
to maximize the control margin of the vehicle, thus crosstrack coordinate system to the ECEF coordinate
leaving room for unmodeled perturbations during ac- system is given as
tual ight. The optimal control problem was tran-

scribed to a nonlinear programming problem (NLP) T dc2e = u1 u2 u3 (27)


via a Legendre pseudospectral method. The NLP
was solved using a sparse nonlinear optimization al- where the u1 u2 plane is the Earth relative down-
gorithm. The key features of the optimal trajectory track plane while the u1 u3 plane is the Earth rel-
are described and the performance of the pseudospec- ative crosstrack plane relative to the coordinate sys-
tral method is discussed. Finally, a motivation was tem (u1 , u2 , u3 ). Using Eq. (27), the transforma-
given for using the pseudospectral method as a guid- tion from the original ECEF coordinate system to
ance law. the downtrack-crosstrack coordinate system is given
as T e2dc = T Tdc2e (where ()T denotes matrix trans-
pose). Using the transformation T e2dc , the down-
track distance, d, and the crosstrack distance, c, are
computed as follows. Let r be the position of the ve-
hicle in original ECEF coordinates at any point along

8
5
a trajectory. Then the position in the coordinate sys- Betts, J. T. and Human, W. P., Sparse Optimal
tem (u1 , u2 , u3 ), denoted rdc , is given as Control Software - SOCS, Mathematics and En-
gineering Analysis Library Report, MEA-LR-085,
r dc = T e2dc r (28) Boeing Information and Support Services, P. O. Box
3797, Seattle, WA, 98124-2297, 15 July 1997.
The vector r dc can be expressed in spherical coordi-
nates as 6
Fahroo, F. and Ross, I. M., Costate Estimation
cos b cos a by a Legendre Pseudospectral Method, Journal of
rdc = cos b sin a (29) Guidance, Control, and Dynamics, Vol. 24, No. 2,
sin b March-April 2001, pp. 270-277.
where a is the Earth relative downrange angle (in ra- 7
dians) and b is the Earth relative crossrange angle Fahroo, F., and Ross, I. M., A Spectral Patching
(in radians) as measured in the coordinate system Method for Direct Trajectory Optimization, The
(u1 , u2 , u3 ). The Earth relative downtrack distance Journal of the Astronautical Sciences, Vol. 48, No.
(or Earth relative downrange distance) and Earth rel- 2 and 3, April-September, 2000.
ative crosstrack distance (or Earth relative crossrange 8
Fahroo, F., and Ross, I. M., Direct Trajec-
distance) are then given as
tory Optimization by a Chebyshev Pseudospectral
d = Re a Method, Journal of Guidance, Control, and Dy-
(30) namics, Vol. 25, No. 1, January-February 2001,
c = Re b
pp. 160-165.
where Re is the equatorial radius of the Earth and is 9
taken as the reference length. Betts, J. T., Survey of Numerical Methods for Tra-
jectory Optimization, Journal of Guidance, Con-
trol, and Dynamics, Vol. 21, No. 2, March-April
References 1998, pp. 193-207.
1 10
Regan, F. J., and Anandakrishnan, S. M., Dynam- Vlases, W. G., Paris, S. W., Lajoie, R. M., Martens,
ics of Atmospheric Re-Entry, American Institute of M. J., and Hargraves, C. R., Optimal Trajecto-
Aeronautics and Astronautics, Washington, D.C., ries by Implicit Simulation, Boeing Aerospace and
1993. Electronics, Technical Report WRDC-TR-90-3056,
Wright-Patterson Air Force Base, 1990.
2
Vinh, N. X., Busemann, A., and Culp, R. D., Hyper-
11
sonic and Planetary Entry Flight Mechanics, Uni- Bate, R. R., Mueller, D. D., and White, J. E.,
versity of Michigan Press, Ann Arbor, MI, 1980. Fundamental of Astrodynamics, Dover Publications,
3
New York, 1971.
Slivinsky, S., Galloway, R., Breitling, S., and
Wilborn, C., Missile Technology Demonstration 12
Don, W. S., and Costa, B., Scientific Computing
3 (MTD-3) Demonstrating Global Position Sys- with Pseudospectral Methods and the PseudoPack
tem (GPS) Technology in an Application to Range Library, 2000.
Safely Tracking and Precision Guidance, Naviga-
13
tion, and Control, Proceedings of the AIAA Space Hindmarsh, A. C., ODEPACK: A Systematized
Technology Conference and Exposition, AIAA-99- Collection of ODE Solvers in Scientific Computing,
4432, Albuquerque, NM, 28-30 September 1999. R. S. Stepleman, et. al. (eds.), North-Holland, Am-
sterdam, 1983, pp. 55-64.
4
Gill, P. E., Murray, W., Saunders, M. A., Users
14
Guide for SNOPT 5.3: A FORTRAN Package for Athans, M., and Falb, P. L., Optimal Control,
Large-Scale Nonlinear Programming, 1998. McGraw-Hill, New York, 1966.

9
60

50

Altitude (km) 40

30

20

10
Legendre Pseudospectral Method Solution
Numerical Integration Using LPS Controls
0
0 500 1000 1500 2000 2500 3000 3500
Groundtrack (km)
Figure 1: Altitude vs. groundtrack from LPS method of Ref. 6 alongside numerically integrated solution.
60 1000

Dynamic Pressure (kPa)


50
750
Altitude (km)

Altitude Attains
40
Local Maximum
30 Altitude 500
(Solid Line)
20 Dynamic Pressure
(Dashed Line) Dynamic Pressure 250
10 Constraint Active

00   0
500 1000 1500 2000 2500 3000 3500
Groundtrack (km)
Figure 2: Altitude and dynamic pressure vs. groundtrack from LPS method of Ref. 6.

500
ER Crosstrack Distance (km)

400

300

200

100

0
Legendre Pseudospectral Method Solution
Numerical Integration Using LPS Controls
-100
0 500 1000 1500 2000 2500 3000 3500
ER Downtrack Distance (km)
Figure 3: Earth relative (ER) Downtrack distance vs. Earth relative crosstrack distance from LPS method
of Ref. 6 alongside numerically integrated solution.

10
8000 Legendre Pseudospectral Method Solution
Numerical Integration Using LPS Controls
7000

6000
Speed (m/s)
5000

4000

3000

2000

1000
0 100 200 300 400 500 600 700
Time (s)
Figure 4: Speed vs. time from LPS method of Ref. 6 alongside numerically integrated solution.
20
Flight Path Angle (deg)

-20

-40

-60

-80
Legendre Pseudospectral Method Solution
Numerical Integration Using LPS Controls
-100
0 100 200 300 400 500 600 700
Time (s)
Figure 5: Flight path angle vs. time from LPS method of Ref. 6 alongside numerically integrated solution.

25
Angle of Attack (deg)

20

15

10

0
0 100 200 300 400 500 600 700
Time (s)
Figure 6: Angle of attack vs. time from LPS method of Ref. 6.

11
100

50

Bank Angle (deg) 0

-50

-100

-150

-200
0 100 200 300 400 500 600 700
Time (s)
Figure 7: Bank angle vs. time from LPS method of Ref. 6.
1
Angle of Attack Rate (deg/s)

-1

-2

-3

-4

-5
Legendre Pseudospectral Method Solution
Solution Obtained via First-Order Optimality Conditions
-6
0 100 200 300 400 500 600 700
Time (s)
Figure 8: Angle of attack rate vs. time from LPS method of Ref. 6 alongside solution found from rst-order
optimality conditions.
15
Bank Angle Rate (deg/s)

10

-5

-10

-15
Legendre Pseudospectral Method Solution
Solution Obtained via First-Order Optimality Conditions
-20
0 100 200 300 400 500 600 700
Time (s)
Figure 9: Bank angle rate vs. time from LPS method of Ref. 6 alongside solution found from rst-order
optimality conditions.

12
10
8
6
4
Hamiltonian

2
0
-2
-4
-6
-8
-10
0 100 200 300 400 500 600 700
Time (s)
Figure 10: Hamiltonian vs. time computed using the co-state estimates obtained from the LPS method of
Ref. 6.

13

You might also like