Path: SCPro/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
--------------------------------------------------------------------------
AC: ACData/ACTConstants SC: SCData/sCTConstants Common: CommonData/Constants Common: CommonData/SwooshWatermark Common: CommonData/xSplashSmall Common: Database/Constant Common: General/CellToMat Common: General/DeleteCell Common: General/MatToCell Common: General/Watermark Common: Graphics/NewFig Common: Graphics/Plot2D Common: Graphics/PltStyle Common: Graphics/TimeLabl Math: Integration/RK4 Math: Linear/Mag Math: Linear/Unit
Back to the SCPro Module page