1 多系统互联面临的问题及主要解决方案
2 基于DDS桥接器的系统结构
2.1 DDS特点
2.2 桥接器设计
3 基于DDS桥接器的数据交互
3.1 数据结构设计
表1 主仿真系统与模拟器的交互消息表Tab.1 Interaction message table between the main simulation system and the simulator |
| 序号 | 消息类型 | 发送方 | 接收方 | 交互信息 |
|---|---|---|---|---|
| 1 | 想定消息 | 主仿真系统 | 模拟器 | 想定数据 |
| 2 | 态势消息 | 主仿真系统 | 模拟器 | 所有实体状态 |
| 3 | 事件消息 | 主仿真系统 | 模拟器 | 实体交互的一次性事件 |
| 4 | 控制消息 | 主仿真系统 | 模拟器 | 仿真进程控制;时统 |
| 5 | 指令消息 | 主仿真系统 | 模拟器 | 对模拟器的干预指令 |
| 6 | 状态消息 | 模拟器 | 主仿真系统 | 模拟器及由其产生 的实体的实时状态 |
表2 想定消息结构体Tab.2 The structure of the scenario message |
| 消息类型 | 名称 | 含义 |
|---|---|---|
| EntityIdentifier | originatingEntityID | 发起者ID |
| EntityIdentifier | receivingEntityID | 接收者ID |
| int | planid | 子任务ID |
| std::string | planName | 方案名称 |
| std::string | scenarioName | 想定名 |
| std::vector<std::string> | qtlaData | 企图立案word 文档的二进制数据 |
表3 实体状态消息结构体Tab.3 The structure of the entity status message |
| 消息类型 | 名称 | 含义 |
|---|---|---|
| EntityIdentifier | entityId | 仿真实体标识 |
| EntityType | entityType | 实体类型 |
| char | marking[n] | 标号,实体名称, 全域唯一标识 |
| UINT8 | forceId | 敌我属性 |
| UINT8 | damage | 毁伤程度 |
| UINT8 | vpCount | 扩展参数数目 |
| std::vector<StandardVariable> | variableParas | 扩展参数集 |
表4 实体机动消息结构体Tab.4 The structure of the entity motion message |
| 消息类型 | 名称 | 含义 |
|---|---|---|
| EntityIdentifier | entityId | 仿真实体标识 |
| stVector3D | tPos | 位置 |
| stVector3F | tHPR | 姿态 |
| stVector3F | tV | 三轴速度,x为东 y为北 z为地 |
表5 探测事件消息结构体Tab.5 The structure of the detection message |
| 消息类型 | 名称 | 含义 |
|---|---|---|
| char | sensorname[n] | 传感器名称 |
| double | time | 发送探测信息时间 |
| XDIS::EntityIdentifier | platID | 传感器所在平台ID |
| XDIS::EntityIdentifier | targetID | 目标ID |
| int | classification | 敌我属性 |
| double | dfLon | 目标经度 |
| double | dfLat | 目标纬度 |
| float | fAlt | 目标海拔高度 |
| float | fCm | 目标航向 |
| float | fVm | 目标航速 |
| float | fElveAngle | 目标高度角 |
| float | fBearing | 目标方位 |
| float | fDm | 目标距离 |
表6 开始/继续消息结构体Tab.6 The structure of the start/continue message |
| 消息类型 | 名称 | 含义 |
|---|---|---|
| EntityIdentifier | originatingEntityID | 发起者ID |
| EntityIdentifier | receivingEntityID | 发起者ID |
| PClockTime | simtime | 仿真时间 |
表7 暂停/终止消息结构体Tab.7 The structure of the pause/stop message |
| 消息类型 | 名称 | 含义 |
|---|---|---|
| EntityIdentifier | originatingEntityID | 发起者ID |
| EntityIdentifier | receivingEntityID | 发起者ID |
| enum | reason | 原因 |
表8 改变位置指令结构体定义表Tab.8 The structure of the location changing message |
| 消息类型 | 名称 | 含义 |
|---|---|---|
| int | PlatID | 平台ID |
| double | dfLon | 期望经度 |
| double | dfLat | 期望纬度 |
| double | dfAlt | 期望高度 |
| double | dfSpeed | 期望速度 |
| double | dfCource | 期望航向 |
3.2 数据交互方法
3.3 组网性能测试
4 实体控制权管理机制
4.1 实体状态同步需求
4.2 实体控制权切换
4.3 功能实现与测试
表9 模拟器类型及主要特点表Tab.9 The table of simulator’s types and main characteristics |
| 序号 | 模拟器 类型 | 主要特点 | 备注 |
|---|---|---|---|
| 1 | 飞机实体 模拟器 | 运行场景构建依托主仿真系统态势数据,本单元实体状态由模拟器自身产生,传给主仿真进行同步。 | 包含3型无人机、1型舰载机、1型特种机模拟器。 |
| 2 | 飞机管制 模拟器 | 全运行周期内需在出航、任务、返航三个阶段进行CGF实体控制权切换。 | 包含1型塔台飞行管理模拟器、1型航空管制模拟器。 |
| 3 | 搜救直升 机模拟器 | 仅接收主仿真系统态势数据及本单元实体。 |
中国指挥与控制学会会刊 