Hauptinhalt

6DOF Acceleration

Compute acceleration of body in six-degrees-of-freedom motion

Since R2025a

  • 6DOF Acceleration block

Libraries:
Aerospace Blockset / Equations of Motion / Acceleration

Description

The 6DOF Acceleration block computes the acceleration of a body in six-degrees-of-freedom motion with respect to body-fixed coordinate frame and inertial (flat Earth) coordinate frame. Use this block for only these 6DOF equations of motion blocks:

To compute the acceleration for these blocks:

  • Select Output mass properties for acceleration computation.

  • Feed signals from the matching output ports of the associated 6DOF equation of motion block into the associated input ports of 6DOF Acceleration.

Tip

Match all the parameter values for 6DOF Acceleration and the 6DOF equations of motion blocks.

Ports

Input

expand all

Velocity in body-fixed frame, specified as a three-element vector, in the units selected in Units.

Data Types: double

Angular rates in body-fixed axes, specified as a three-element vector, in radians per second.

Data Types: double

Fuel tank status, specified as:

  • 1 — Tank is full.

  • 0 — Tank is neither full nor empty.

  • -1 — Tank is empty.

Dependencies

To enable this port, set Mass type to Simple Variable.

Data Types: double

Mass, specified as a scalar, in the units selected in Units.

Data Types: double

Applied forces, specified as a three-element vector, in the units selected in Units.

Data Types: double

One or more rates of change of mass (positive if accreted, negative if ablated), specified as a scalar, in the units selected in Units.

Dependencies

To enable this port, set Mass type to Simple Variable or Custom Variable.

Data Types: double

One or more relative velocities at which the mass is accreted to or ablated from the body in body-fixed axes, specified as a three-element vector, in the units selected in Units.

Dependencies

To enable this port:

  • Set Mass type to Simple Variable or Custom Variable.

  • Select Include mass flow relative velocity.

Data Types: double

Output

expand all

Accelerations of the body with respect to the body-fixed axes with the body-fixed coordinate frame, returned as a three-element vector, in the units selected in Units.

Data Types: double

Accelerations in body-fixed axes with respect to inertial frame (flat Earth), returned as a three-element vector. You typically connect this signal to the accelerometer, in the units selected in Units.

Data Types: double

Parameters

expand all

To edit block parameters interactively, use the Property Inspector. From the Simulink® Toolstrip, on the Simulation tab, in the Prepare gallery, select Property Inspector.

Input and output units, specified as Metric (MKS), English (Velocity in ft/s), or English (Velocity in kts).

UnitsForcesMomentAccelerationVelocityPositionMassInertia
Metric (MKS) NewtonNewton-meterMeters per second squaredMeters per secondMetersKilogramKilogram meter squared
English (Velocity in ft/s) PoundFoot-poundFeet per second squaredFeet per secondFeetSlugSlug foot squared
English (Velocity in kts) PoundFoot-poundFeet per second squaredKnotsFeetSlugSlug foot squared

Programmatic Use

Block Parameter: units
Type: character vector
Values: Metric (MKS) | English (Velocity in ft/s) | English (Velocity in kts)
Default: Metric (MKS)

Mass type, specified according to the following table.

Mass TypeDescriptionDefault for
Fixed

Mass is constant throughout the simulation.

Simple Variable

Mass and inertia vary linearly as a function of mass rate.

Custom Variable

Mass and inertia variations are customizable.

The Simple Variable selection conforms to the previously described equations of motion.

Programmatic Use

Block Parameter: mtype
Type: character vector
Values: Fixed | Simple Variable | Custom Variable
Default: 'Fixed'

Select this check box to add a mass flow relative velocity port. This is the relative velocity at which the mass is accreted or ablated.

Dependencies

To enable this parameter, set Mass type to Simple Variable or Custom Variable.

Programmatic Use

Block Parameter: vre_flag
Type: character vector
Values: off | on
Default: off

Version History

Introduced in R2025a