Path: SC/Ephem
% Compute the sun-nadir angles and yaw rate.
The sun is defined in a coordinate frame with the orbit in the xy-plane and
z along the +normal. The sun lies in the xz-plane. The spacecraft frame is
defined with +z in the orbit plane and +y along the orbit anti-normal.
--------------------------------------------------------------------------
Form:
[yaw, saAngle, yawRate, sARate] = SunNadir( xNoSun, orbitRate, beta, alpha, alphaLimit )
[yaw, saAngle, yawRate, sARate] = SunNadir( xNoSun, orbitRate, beta )
[yaw, saAngle, yawRate, sARate] = SunNadir( xNoSun, orbitRate )
SunNadir( xNoSun, orbitRate, beta, alpha, alphaLimit )
SunNadir( xNoSun, orbitRate, beta )
SunNadir( xNoSun, orbitRate )
SunNadir
--------------------------------------------------------------------------
------
Inputs
------
xNoSun (1,1) Either +1 for +x or -1 for -x
orbitRate (1,1) Orbit rate
beta (1,n) Angle from orbit plane to the sun (rad)
alpha (1,m) Angle from the sun line in the orbit plane
alphaLimit (1,1) Range of alpha within which the rate limit is to be enforced
-------
Outputs
-------
yaw (n,m) Yaw angle
saAngle (n,m) Solar array angle
yawRate (n,m) Yaw rate
sARate (n,m) Solar array rate
--------------------------------------------------------------------------
Common: Graphics/Plot2D
Back to the SC Module page