主要内容

6DOF(季节)

实施六度运动方程相对于身体轴的四级运动方程式

  • Library:
  • 航空空间/ Equations of Motion / 6DOF

  • 6DOF(季节)块

描述

The6DOF(季节)块实现了相对于身体轴的六度运动方程的四级表示。有关坐标系和翻译动力学的描述,请参见有关的块描述6DOF(欧拉角)block.

有关集成季四个矢量变化速率的更多信息,请参见Algorithms.

Limitations

The block assumes that the applied forces act at the center of gravity of the body, and that the mass and inertia are constant.

端口

输入

展开全部

施加力,指定为三元素矢量。

数据类型:双倍的

应用的力矩,指定为三元素向量。

数据类型:双倍的

Output

展开全部

速度in the flat Earth reference frame, returned as a three-element vector.

数据类型:双倍的

Position in the flat Earth reference frame, returned as a three-element vector.

数据类型:双倍的

固有的欧拉旋转角[卷,俯仰,偏航]在弧度中以三元素向量返回。使用偏航,音高和滚动角度使用z-y-x旋转序列,例如Angle2DCM(偏航,音高,滚动,“ Zyx”).

数据类型:双倍的

从平坦的地球轴到身体固定轴的坐标转换,作为3 x-3矩阵返回。

数据类型:双倍的

速度in the body-fixed frame, returned as a three-element vector.

数据类型:双倍的

人体固定轴的角度速率,作为三元素向量返回,每秒弧度。

数据类型:双倍的

Angular accelerations in body-fixed axes, returned as a three-element vector, in radians per second squared.

数据类型:双倍的

相对于身体框架的身体固定轴的加速度,作为三元素向量返回。

数据类型:双倍的

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.

依赖性

This port appears only when the包括惯性加速选中了复选框。

数据类型:双倍的

Parameters

展开全部

Main

输入和输出单元,指定为Metric (MKS),英语(ft/s的速度), 或者英语(KTS的速度).

单位 军队 片刻 Acceleration 速度 Position 大量的 Inertia
Metric (MKS) Newton Newton-meter 仪表per second squared 仪表per second 仪表 公斤 千克仪表平方
英语(ft/s的速度) 每秒平方 每秒英尺 Feet sl slfoot squared
英语(KTS的速度) 每秒平方 Feet sl slfoot squared

Programmatic Use

Block Parameter:units
Type:角色向量
值:Metric (MKS)|英语(ft/s的速度)|英语(KTS的速度)
Default:Metric (MKS)

质量类型, specified according to the following table.

TheSimple Variableselection conforms to the previously described equations of motion.

Programmatic Use

Block Parameter:mtype
Type:角色向量
值:固定的|Simple Variable|自定义变量
Default:Simple Variable

运动表示方程,根据下表指定。

Representation 描述

欧拉角

Use Euler angles within equations of motion.

季节

Use quaternions within equations of motion.

The季节选择符合运动方程Algorithms.

Programmatic Use

Block Parameter:rep
Type:角色向量
值:欧拉角|季节
Default:“四元组”

身体在平坦的地球参考框架中的初始位置,指定为三元素矢量。

Programmatic Use

Block Parameter:xme_0
Type:角色向量
值:'[0 0 0]'|三元素向量
Default:'[0 0 0]'

Initial velocity in body axes, specified as a three-element vector, in the body-fixed coordinate frame.

Programmatic Use

Block Parameter:Vm_0
Type:角色向量
值:'[0 0 0]'|三元素向量
Default:'[0 0 0]'

初始Euler方向角[滚动,俯仰,偏航],在弧度中指定为三元素矢量。Euler旋转角度是身体和东北(NED)坐标系之间的角度。

Programmatic Use

Block Parameter:EUL_0
Type:角色向量
值:'[0 0 0]'|三元素向量
Default:'[0 0 0]'

Initial body-fixed angular rates with respect to the NED frame, specified as a three-element vector, in radians per second.

Programmatic Use

Block Parameter:PM_0
Type:角色向量
值:'[0 0 0]'|三元素向量
Default:'[0 0 0]'

初始质量of the rigid body, specified as a double scalar.

Programmatic Use

Block Parameter:mass_0
Type:角色向量
值:'1.0'|双倍的标量
Default:'1.0'

身体的惯性,指定为一个双标量。

依赖性

To enable this parameter, set质量类型固定的.

Programmatic Use

Block Parameter:inertia
Type:角色向量
值:眼(3)|双倍的标量
Default:眼(3)

Gain to maintain the norm of the quaternion vector equal to 1.0, specified as a double scalar.

Programmatic Use

Block Parameter:k_quat
Type:角色向量
值:1.0|双倍的标量
Default:1.0

Select this check box to add an inertial acceleration port.

依赖性

To enable theAbeport, select this parameter.

Programmatic Use

Block Parameter:abi_flag
Type:角色向量
值:'离开'|'on'
Default:off

状态属性

Assign a unique name to each state. You can use state names instead of block paths during linearization.

  • 要为单个状态分配名称,请在引号之间输入唯一名称,例如'velocity'.

  • 要将名称分配给多个状态{'a', 'b', 'c'}. Each name must be unique.

  • 如果参数为空(''), no name is assigned.

  • 状态名称仅适用于带有名称参数的选定块。

  • 国家数量必须平均分配在州名称的数量之间。

  • 您可以指定的名称少于状态,但是您不能指定比州更多的名称。

    例如,您可以在具有四个状态的系统中指定两个名称。名字适用于前两个状态,第二个名称适用于最后两个状态。

  • 为MATLAB中的变量分配状态名称®workspace, enter the variable without quotes. A variable can be a character vector, cell array, or structure.

Position state names, specified as a comma-separated list surrounded by braces.

Programmatic Use

Block Parameter:xme_statename
Type:角色向量
值:''|逗号分隔清单被牙套包围
Default:''

速度state names, specified as comma-separated list surrounded by braces.

Programmatic Use

Block Parameter:Vm_statename
Type:角色向量
值:''|逗号分隔清单被牙套包围
Default:''

季节vector state names, specified as a comma-separated list surrounded by braces.

Programmatic Use

Block Parameter:quat_statename
Type:角色向量
值:''|逗号分隔清单被牙套包围
Default:''

Body rotation rate state names, specified comma-separated list surrounded by braces.

Programmatic Use

Block Parameter:pm_statename
Type:角色向量
值:''|逗号分隔清单被牙套包围
Default:''

Algorithms

下面给出了四载体变化速率的整合。收益Kdrives the norm of the quaternion state vector to 1.0 should ε 变为非零。您必须通过谨慎选择此增益的值,因为大价值改善了规范中误差的衰减率,但由于引入了快速动力学,因此也会减慢模拟。四元矢量一个元素中幅度的误差在所有元素之间平均分布,可能会增加状态矢量中的误差。

[ q - 0 q - 1 q - 2 q - 3 ] = 1 2 [ 0 p q r p 0 r q q r 0 p r q p 0 ] [ q 0 q 1 q 2 q 3 ] + K ε [ q 0 q 1 q 2 q 3 ] ε = 1 ( q 0 2 + q 1 2 + q 2 2 + q 3 2 )

Aerospace Blabsset™使用使用标量优先惯例定义的四个四元素。

扩展功能

C/C ++代码生成
使用Simulink®Coder™生成C和C ++代码。万博1manbetx

Version History

Introduced in R2006a