Difference between revisions of "Gravity Turn Maneuver"
(→Reference solution) |
FelixMueller (Talk | contribs) |
||
(17 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Dimensions | {{Dimensions | ||
− | |nd = | + | |nd = 1 |
|nx = 5 | |nx = 5 | ||
− | | | + | |nu = 1 |
+ | |nc = 11 | ||
+ | |nri = 2 | ||
|nre = 7 | |nre = 7 | ||
}} | }} | ||
Line 10: | Line 12: | ||
== Physical description and model derivation == | == Physical description and model derivation == | ||
− | For the purposes of this model, we start with the following ODE system proposed by Culler et. al.: | + | For the purposes of this model, we start with the following ODE system proposed by Culler et. al. in <bib id="Culler1957" />: |
<dd> | <dd> | ||
Line 102: | Line 104: | ||
<math> | <math> | ||
\begin{array}{llcll} | \begin{array}{llcll} | ||
− | \displaystyle \min_{T, m, v, | + | \displaystyle \min_{T, m, v, \beta, h, \theta, u} & m_0 - m(T) \\[1.5ex] |
− | \mbox{s.t.} & \dot{m} | + | \mbox{s.t.} & \dot{m} & = & -\frac{F_{max}}{I_{sp} \cdot g_0} \cdot u ,\\ |
− | & \dot{v} | + | & \dot{v} & = & (F - \frac{1}{2} \rho_0 \cdot e^{-\frac{h}{H}} A c_d v^2) \cdot \frac{1}{m} - g_0 \cdot \left(\frac{r_0}{r_0 + h}\right)^2 \cos \beta ,\\ |
− | & \dot{\beta} | + | & \dot{\beta} & = & g_0 \cdot \left(\frac{r_0}{r_0 + h}\right)^2 \cdot \frac{\sin{\beta}}{v} - \frac{v \cdot \sin \beta}{r_0 + h} ,\\ |
− | & \dot{h} | + | & \dot{h} & = & v \cdot \cos \beta ,\\ |
− | & \dot{\theta} | + | & \dot{\theta} & = & \frac{v \cdot \sin \beta}{r_0 + h},\\[1.5ex] |
− | & m(0) &=& m_0 \\ | + | & m(0) &=& m_0 , \\ |
− | & v(0) &=& \varepsilon \\ | + | & v(0) &=& \varepsilon , \\ |
& \beta(0) &\in& \left[ 0,\frac{\pi}{2} \right], \\ | & \beta(0) &\in& \left[ 0,\frac{\pi}{2} \right], \\ | ||
& h(0) &=& 0, \\ | & h(0) &=& 0, \\ | ||
& \theta(0) &=& 0, \\[1.5ex] | & \theta(0) &=& 0, \\[1.5ex] | ||
− | & \beta(T) &=& \hat{\beta} \\ | + | & \beta(T) &=& \hat{\beta} , \\ |
− | & h(T) &=& \hat{h} \\ | + | & h(T) &=& \hat{h} , \\ |
− | & v(T) &=& \hat{v} \\[1.5ex] | + | & v(T) &=& \hat{v} , \\[1.5ex] |
− | & m(t) &\in& [m_1, m_0] \qquad & \forall t \in [0,T] \\ | + | & m(t) &\in& [m_1, m_0] \qquad & \forall t \in [0,T] , \\ |
− | & v(t) &\geq& \varepsilon \qquad & \forall t \in [0,T] \\ | + | & v(t) &\geq& \varepsilon \qquad & \forall t \in [0,T] , \\ |
− | & \beta(t) &\in& [0, \pi] \qquad & \forall t \in [0,T] \\ | + | & \beta(t) &\in& [0, \pi] \qquad & \forall t \in [0,T] , \\ |
− | & h(t) &\geq& 0 \qquad & \forall t \in [0,T] \\ | + | & h(t) &\geq& 0 \qquad & \forall t \in [0,T] , \\ |
− | & \theta(t) &\geq& 0 \qquad & \forall t \in [0,T] \\[1.5ex] | + | & \theta(t) &\geq& 0 \qquad & \forall t \in [0,T] , \\[1.5ex] |
− | & u(t) &\in& [0,1] \qquad & \forall t \in [0,T] \\ | + | & u(t) &\in& [0,1] \qquad & \forall t \in [0,T] , \\ |
& T &\in& [T_{min}, T_{max}]. | & T &\in& [T_{min}, T_{max}]. | ||
\end{array} | \end{array} | ||
Line 127: | Line 129: | ||
</dd> | </dd> | ||
− | where <math>F_{max}</math> is the maximum thrust of the vehicle's engine and <math>\varepsilon</math> is a small number that is strictly greater than zero. | + | where <math>F_{max}</math> is the maximum thrust of the vehicle's engine and <math>\varepsilon</math> is a small number that is strictly greater than zero. |
+ | The differential states of the problem are <math> m, v, \beta, h, \theta </math> while <math> u </math> is the control function | ||
== Parameters == | == Parameters == | ||
Line 159: | Line 162: | ||
== Reference solution == | == Reference solution == | ||
− | The reference solution was generated using a direct multiple shooting approach with 300 shooting intervals placed equidistantly along the variable-length time horizon. The resulting NLP was implemented using CasADi 2.4.2 using CVodes as an integrator and IPOPT as a solver. The exact code used to solve the problem can be found under [[Gravity Turn Maneuver (Casadi)]]. The solution achieves the desired orbit in <math>T = | + | The reference solution was generated using a direct multiple shooting approach with 300 shooting intervals placed equidistantly along the variable-length time horizon. The resulting NLP was implemented using CasADi 2.4.2 using CVodes as an integrator and IPOPT as a solver. The exact code used to solve the problem alongside detailed solution data can be found under [[Gravity Turn Maneuver (Casadi)]]. The solution achieves the desired orbit in <math>T = 338.042 \; s</math> spending <math>m_0 - m(T) = 9.6508 \; t</math> of fuel. The launch angle is approximately <math>\beta(0) = 2.7786081986275378 \cdot 10^{-6}</math>. The downrange motion throughout the entire launch amounts to a change in polar angle of approximately <math>\theta(T) = 0.3383474346340064 \approx 19.39^{\circ}</math>. |
<gallery caption="Reference solution plots" widths="180px" heights="140px" perrow="2"> | <gallery caption="Reference solution plots" widths="180px" heights="140px" perrow="2"> | ||
Line 178: | Line 181: | ||
== References == | == References == | ||
− | + | <biblist /> | |
− | + | ||
<!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --> | <!--List of all categories this page is part of. List characterization of solution behavior, model properties, ore presence of implementation details (e.g., AMPL for AMPL model) here --> | ||
[[Category:MIOCP]] | [[Category:MIOCP]] | ||
[[Category:ODE model]] | [[Category:ODE model]] | ||
+ | [[Category:Aeronautics]] | ||
+ | [[Category:Path-constrained arcs]] |
Latest revision as of 09:29, 27 July 2016
Gravity Turn Maneuver | |
---|---|
State dimension: | 1 |
Differential states: | 5 |
Continuous control functions: | 1 |
Path constraints: | 11 |
Interior point inequalities: | 2 |
Interior point equalities: | 7 |
The gravity turn or zero lift turn is a common maneuver used to launch spacecraft into orbit from bodies that have non-negligible atmospheres. The goal of the maneuver is to minimize atmospheric drag by always orienting the vehicle along the velocity vector. In this maneuver, the vehicle's pitch is determined solely by the change of the velocity vector through gravitational acceleration and thrust. The goal is to find a launch configuration and thrust control strategy that achieves a specific orbit with minimal fuel consumption.
Contents
Physical description and model derivation
For the purposes of this model, we start with the following ODE system proposed by Culler et. al. in [Culler1957]The entry doesn't exist yet.:
where is the speed of the vehicle, is the gravitational acceleration at the vehicle's current altitude, is the accelerating force and is the angle between the vertical and the vehicle's velocity vector. In the original version of the model, the authors neglect aspects of the problem:
- Variation of over altitude
- Decrease of vehicle mass due to fuel consumption
- Curvature of the surface
- Atmospheric drag
Changes in gravitational acceleration
To account for changes in , we make the following substitution:
Decrease in vehicle mass
To account for changes in vehicle mass, we consider a differential state with the following derivative:
The vehicle's fuel reserve is modelled by two parameters: denotes the launch mass (with fuel) and denotes the dry mass (without fuel).
Curvature of the reference body's surface
To accomodate the reference body's curvature, we introduce an additional differential state which represents the change in the vehicle's polar angle with respect to the launch site. The derivative is given by
Note that the vertical changes as the vehicle moves around the reference body meaning that the derivative of must be changed as well:
Atmospheric drag
To model atmospheric drag, we assume that the vehicles draf coefficient is constant. The drag force is given by
where is the density of the atmosphere and is the vehicle's reference area. We assume that atmospheric density decays exponentially with altitude:
where is the atmospheric density at altitude zero and is the scale height of the atmosphere. The [drag force] is introduced into the acceleration term:
Note that if the vehicle is axially symmetric and oriented in such a way that its symmetry axis is parallel to the velocity vector, it does not experience any lift forces. This model is simplified. It does not account for changes in temperature and atmospheric composition with altitude. Also, varies with fluid viscosity and vehicle velocity. Specifically, drastic changes in occur as the vehicle breaks the sound barrier. This is not accounted for in this model.
Mathematical formulation
The resulting optimal control problem is given by
where is the maximum thrust of the vehicle's engine and is a small number that is strictly greater than zero. The differential states of the problem are while is the control function
Parameters
For testing purposes, the following parameters were chosen:
Reference solution
The reference solution was generated using a direct multiple shooting approach with 300 shooting intervals placed equidistantly along the variable-length time horizon. The resulting NLP was implemented using CasADi 2.4.2 using CVodes as an integrator and IPOPT as a solver. The exact code used to solve the problem alongside detailed solution data can be found under Gravity Turn Maneuver (Casadi). The solution achieves the desired orbit in spending of fuel. The launch angle is approximately . The downrange motion throughout the entire launch amounts to a change in polar angle of approximately .
Source Code
Model descriptions are available in
References
There were no citations found in the article.