Path: Interplanetary/Landers
% Gravity turn landing controller.
Thrusts along the velocity vector. You can adjust the forward
and integral games to get a soft landing.
The gravity acts as a bias acceleration.
Type LandingControlGravityTurn for a 2D Europa landing demo.
Since version 2014.1
--------------------------------------------------------------------------
Form:
[u, throttle, d] = LandingControlGravityTurn( v, d )
--------------------------------------------------------------------------
------
Inputs
------
v (3,1) Velocity vector (km/s)
d (1,1) Data structure
.accel (1,1) Maximum acceleration (m/s^2)
.gain (1,1) Velocity gain
.tau (1,1) Integrator time constant
.dT (1,1) Time step
.intV (1,1) Integral of velocity
-------
Outputs
-------
u (3,1) Thrust unit vector
throttle (1,1) Throttle setting from 0 to 1
d (1,1) Data structure
.intV (1,1) Integral of velocity
--------------------------------------------------------------------------
Common: Database/Constant Common: Graphics/Plot2D Common: Graphics/TimeLabl Math: Integration/RK4 Math: Linear/Mag Math: Linear/Unit
Back to the Interplanetary Module page