AFSim 仿真系统----六自由度理论

引言

刚体 6DOF 模型的理论(WSF_RIGID_BODY_SIX_DOF_MOVER, WsfRigidBodySixDOF_Mover)与前述的 P6DOF 相同,可通过 P6DOF 理论文章进行研究。当 WSF_P6DOF_MOVER 被移除时,该文档将被并入此文档中。

WSF_POINT_MASS_SIX_DOF_MOVER 旨在填补 3DOF 模型(如 WSF_GUIDED_MOVER 和 WSF_AIR_MOVER)与完整 6DOF 模型(如 WSF_P6DOF_MOVER 和 WSF_RIGID_BODY_SIX_DOF_MOVER)之间的差距。

在 3DOF 模型中,必须假设其方向的某些元素,而完整的 6DOF 模型将根据角动量守恒((\Sigma M = I \dot{\omega}))来传播方向。这种方法在运动学上是正确的,但要求数据的准确性可能不切实际。具体而言,净力矩需要准确及时地了解施加在物体上的力的分布,而惯性张量则需要了解物体内部质量的分布。

PointMass 六自由度移动器使用基于效应的系统来估计 (\dot{\omega}),尽可能由可直接测量或假设的旋转数据组成。与类似模型一样,PM6DOF 模型的气动力系数应代表在给定空速和迎角下的平衡(零净力矩)状态。旋转速率由主动飞行员(人工或其他方式)命令,或生成以模拟气动稳定性或不稳定性的效果。

推力大小的计算与刚体模型使用的方法相同,但运动模型的性质要求推力矢量控制也必须基于效应。此外,目前对于 PointMass 车辆不考虑推力反向。

符号列表
 

Symbol

Definition

SixDOF Command

SixDOF Script Method

\alpha

angle of attack

GetAlpha

\beta

angle of side slip

GetBeta

\alpha_{T}

total angle of attack

GetAlpha

M

Mach number

GetMach

t

time

p

body roll rate

GetRollRate

q

body pitch rate

GetPitchRate

r

body yaw rate

GetYawRate

\dot{p}

body roll acceleration

\dot{q}

body pitch acceleration

\dot{r}

body yaw acceleration

\vec{\omega}

rotational velocity vector

\vec{\dot{\omega}}

rotational acceleration vector

\vec{\dot{\omega}}_{max}

total limit of angular acceleration from controls

\vec{\dot{\omega}}_{max, aero}

limit of angular acceleration from aerodynamic controls

\vec{\dot{\omega}}_{max, aero_{0}}

value of 

\vec{\omega}_{max, aero}

 at dry weight under standard sea-level conditions

\vec{\dot{\omega}}_{max, prop}

limit of angular acceleration from propulsive controls

\vec{\dot{\omega}}_{max, prop_{0}}

value of 

\vec{\omega}_{max, prop}

 at dry weight

\vec{\omega}_{n}

natural frequency of the stabilizing aerodynamic response

\vec{\omega}_{n_{0}}

value of 

 at dry weight under standard sea-level conditions

m

current mass

GetCurrentWeight

m_{0}

empty mass

mass

GetEmptyWeight

\bold{I}

moment of inertia matrix

moment_of_inertia_ixxmoment_of_inertia_iyymoment_of_inertia_izz

\vec{M}_T

total moment

T

engine thrust, dependent on the engine type

rho

density of the atmosphere at the vehicle’s current altitude

rho_{0}

standard density of the atmosphere at the ellipsoid surface

 

运动方程

与刚体模型一样,线性运动是加速度的二阶积分,依据动量守恒法则进行计算。

方向同样是角加速度的二阶积分,但与刚体模型不同的是,PointMass 移动器并未真正考虑角动量

\vec{\dot{\omega}}

角加速度仅仅是通过控制能力和(去)稳定效应构建而成

P6DOF 理论》文档中详细讨论了这些微分方程的积分方法(见“运动方程”),我们在此不再重复。

控制力与旋转

尽管 PM6DOF 上的力与 RB6DOF 的求和方式相同,但角加速度是通过一种抽象的方式构建的,从而省略了对车辆实际扭矩的考虑。

对于无导引弹药(如炸弹、火箭和诱饵)不需要提供控制响应数据,但对于需指导或驾驶的车辆则是必需的。基线角加速度限制在用户定义的表格中提供,并与马赫数相关,然后根据空气密度和迎角效应进行修改。角加速度表应根据车辆或车辆类别的参考数据来确定,也可以通过运动学估计。

例如,考虑一架合理的战斗机,它在马赫 0.8 的情况下能在一秒内从翼水平状态加速到 180 deg/s 的滚转速率。在这种情况下,应该至少将其峰值加速度指定为 180 deg/s² 在马赫 0.8 时——为了考虑高度和任何稳定效应,可能还需要更高的数值(见下文“稳定旋转效应”)。

注意,不同类型的车辆在马赫数的变化会有所不同,但合理的初步策略是将加速度限制与马赫的平方成比例缩放,因为气动扭矩与速度的平方成比例缩放。气动力中心的变化或在跨声速和超声速区域中降低控制权的控制器可以通过在这些马赫数下从初始估计值中减少最大加速度来近似。

(1)

\vec{\dot{\omega}}_{max, aero} = \left( \frac{\rho}{\rho_{0}} \right) \left( \frac{m_{0}}{m} \right) \vec{\dot{\omega}}_{max, aero_{0}} \cos{\alpha_{T}}

These corrections account for reduced control efficacy at higher altitudes and at higher slip angles, and for changes in inertia as mass is added or removed.

A separate, second term is added to account for the effects of thrust vectoring given some amount of thrust.

(2)

\vec{\dot{\omega}}_{max, prop} &= \left( \frac{m_{0}}{m} \right) \left( \frac{\Delta \vec{\dot{\omega}}_{prop}}{\Delta T} \right) T

Thrust itself is modeled as a function of altitude, so additional altitude effects are not considered. To account for increased agility as fuel is burned away, a mass factor is introduced.

(3)

\vec{\dot{\omega}}_{max} &= \vec{\dot{\omega}}_{max, aero} + \vec{\dot{\omega}}_{max, prop}

The stick-and-rudder flight controls on a PM6DOF are mapped directly to rotational rate commands. This map is a 1D table defined by the user in script, which allows for linear or nonlinear mappings. The rotational rate commands are achieved via a linear ramp, with a slope limited by the angular acceleration limit.

(4)

\vec{\dot{\omega}}_{desired} &= \frac{\vec{\omega}_{cmd} - \vec{\omega}}{\Delta t}

稳定旋转效应

稳定效应对无导引弹丸的影响最为明显。默认情况下,PM6DOF 车辆在没有飞行员采取任何行动的情况下,没有改变其旋转速率的倾向。这包括迎风指向或“风向调整”。

可以通过添加表格来引入这种效应,这些表格指定了基线稳定频率与马赫数的关系。这些频率指定了未受控车辆在返回平衡状态时的临界阻尼系统响应。目前,平衡状态为:俯仰轴的迎角为 0 度,偏航轴的侧滑角为 0 度,滚转轴的滚转速率为 0 deg/s。未来版本中可能会引入设置,以允许对平衡状态进行修改,例如为飞机设置非零迎角,或为弹丸指定旋转速率。

与控制加速度数据一样,输入参数会根据负载和操作空气密度的变化进行调整。

(5)

{\omega}_{n} = \frac{m_{0}}{m} \frac{\rho}{\rho_{0}} {\omega}_{n_{0}}

The response frequency is then translated into a rotational acceleration for the pitch and yaw axes:

(6)

\dot{q} = (0 - \alpha) {\omega}^{2}_{n_{pitch}} - 2 {\omega}_{n_{pitch}} \dot{\alpha}       \dot{r} = (0 - \beta) {\omega}^{2}_{n_{yaw}} - 2 {\omega}_{n_{yaw}} \dot{\beta}

For the roll axis, we are affecting rotation rate rather than rotation, so a first-order lag system is employed:

(7)

f &= \frac{\omega_{roll} \Delta t}{1 + \omega_{n_{roll}} \Delta t}       p_{t+\Delta t} &= (1 - f) p_{t}       \dot{p} &= \frac{p_{t+\Delta t} - p_{t}}{\Delta t}

To avoid overshoot and numerical instability, these accelerations are limited based on kinematic extrapolations:

(8)

\dot{p}_{max} &= \left| \frac{-p}{\Delta t} \right|       \dot{q}_{max} &= \left| \frac{2}{\Delta t^{2}} (-\alpha - \dot{\alpha} \Delta t) \right|       \dot{r}_{max} &= \left| \frac{2}{\Delta t^{2}} (-\beta - \dot{\beta} \Delta t) \right|

The final rotational acceleration for a PM6DOF is the sum of the control acceleration and stabilizing accelerations.

  • 8
    点赞
  • 10
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

小道士写程序

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值