Wind Angular Rates

Calculate wind angular rates from body angular rates, angle of attack, sideslip angle, rate of change of angle of attack, and rate of change of sideslip

  • Library:
  • Aerospace Blockset / Flight Parameters

  • Wind Angular Rates block

Description

The Wind Angular Rates block supports the equations of motion in wind-fixed frame models by calculating the wind-fixed angular rates (pw, qw, rw). For more information on the equation used for the calculation, see Algorithms.

Ports

Input

expand all

Angle of attack and sideslip, specified as a 2-by-1 vector, in radians.

Data Types: double

Rate of change of the angle of attack and rate of change of the sideslip, specified as a 2-by-1 vector, in radians per second.

Data Types: double

Body angular rates, specified as a three-element vector, in radians per second.

Data Types: double

Output

expand all

Wind angular rates, returned as a three-element vector, in radians per second.

Data Types: double

Algorithms

The body-fixed angular rates (pb, qb, rb), angle of attack (α), sideslip angle (β), rate of change of angle of attack (α˙), and rate of change of sideslip (β˙) are related to the wind-fixed angular rates as illustrated in the following equation:

[pwqwrw]=[cosαcosβsinβsinαcosβcosαsinβcosβsinαsinβsinα0cosα][pbβ˙sinαqbα˙rb+β˙cosα]

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Introduced before R2006a