WOLFRAM SYSTEM MODELER
PositionAndOrientationCalculates the position, orientation and velocities of the aircraft in the world frame |
SystemModel["Aircraft.StateSpace.FixedWing.Blocks.PositionAndOrientation"]
This model does the conversion from linear and angular velocity perturbations in the body frame (Δu, Δv, Δw, Δp, Δq and Δr) that are inputs through the subMotionBus connector into absolute values of all velocities in both axis systems, as well as calculates the position and orientation of the aircraft. The velocity perturbations are summed with the reference flight condition values that are inputs through the subRefFlightBus connector in order to get their absolute values. The position, orientation and velocities resolved in the world frame as well as some other derived values are the outputs of this model through the subPositionBus connector.
The Body2Fixed component inside this model contains calculations with the transformation matrices from the body frame to the world (fixed) frame to resolve the Euler angles and velocities in the world frame from the absolute linear and angular velocities in the body frame.
x0y0 |
Value: Type: Position[2] (m) Description: Initial lateral position of the aircraft (x and y coordinates in world frame) |
---|---|
z0 |
Value: Type: Height (m) Description: Initial z |
subRefFlightBus |
Type: RefFlightSignalBus Description: Bus port for reference flight conditions input |
|
---|---|---|
subMotionBus |
Type: MotionSignalBus Description: Bus port for motion perturbations input |
|
subPositionBus |
Type: PositionSignalBus Description: Bus port for output |
body2Fixed |
Type: Body2Fixed Description: Conversion from body frame components into world frame components |
|
---|---|---|
xSum |
Type: Add Description: Output the sum of the two inputs |
|
ySum |
Type: Add Description: Output the sum of the two inputs |
|
zSum |
Type: Add Description: Output the sum of the two inputs |
|
uSum |
Type: Add Description: Output the sum of the two inputs |
|
vSum |
Type: Add Description: Output the sum of the two inputs |
|
wSum |
Type: Add Description: Output the sum of the two inputs |
|
pSum |
Type: Add Description: Output the sum of the two inputs |
|
qSum |
Type: Add Description: Output the sum of the two inputs |
|
rSum |
Type: Add Description: Output the sum of the two inputs |
|
atanAlpha |
Type: Atan2 Description: Output atan(u1/u2) of the inputs u1 and u2 |
|
atanBeta |
Type: Atan2 Description: Output atan(u1/u2) of the inputs u1 and u2 |
|
signChangerAlt |
Type: Gain Description: Output the product of a gain value with the input signal |
|
Vx2x |
Type: Integrator Description: Output the integral of the input signal with optional reset |
|
Vy2y |
Type: Integrator Description: Output the integral of the input signal with optional reset |
|
Vz2z |
Type: Integrator Description: Output the integral of the input signal with optional reset |
|
x0Expr |
Type: RealExpression Description: Initial x |
|
y0Expr |
Type: RealExpression Description: Initial y |
|
z0Expr |
Type: RealExpression Description: Initial z |
Aircraft.StateSpace.FixedWing Aircraft model using state-space representation |