-
飞行控制系统中
Mil-1394b
仿真节点实
现
<
/p>
摘要:针对高带宽、低延迟、高可靠的军用需求,及针
对要求具有
较高的实时性、
确定性、
可靠性的飞行控制系统,
对
IEEE-1394b
和
AS5643
的协议结构进行了研究,研发了
Mil-1394
b
总线接口板。
详细叙述了板卡的功能、
硬件板卡的
原理及实现、软件实现,进行了大量的仿真、调试和分析。
该板卡达到了较高的传输速率,性能良好,满足设计需求,
已应用于某些飞行控
制系统中。
关键词:
Mil-1394b
;
AS5643
;仿真节点;飞行控制系统<
/p>
中图分类
号:
TP393
文献标识码:
A
文章编号:
1009-3044(2011)13-3120-02
Implement of Mil-1394b Simulation Node
in Vehicle
Control System
TIAN Ze, LI Na,
CHENG Guo-jian
(Computer College, Xi'an Shiyou
University, Xi'an 710065,
China)
Abstract: For military needs of high
bandwidth, low latency
and high
reliability, and in view of the requirements of
real-time,
certainty and reliability of
the Vehicle Control System, this
paper
studied the agreement of IEEE-1394b and AS5643,
and
developed the Mil-1394b bus
interface board. The functions of
the
board, the principle and implementation of
hardware and
software were described in
details. Also, a lot of simulation,
debug and analysis were done. This
interface card reaches
higher
transmission rate and better performance, meets
the
design requirements, and has been
applied in some Vehicle
Control
Systems.
Key words: Mil-1394b; AS5643;
simulation node; vehicle
control system
国内外
现都已广泛应用
1394
总线技术,
主
要用于音频、
视频传输,
但是这些应用只是基于消费电子类的应
用,
1394b
总线的另一发展趋势是向军用领域拓展。
1
Mil-1394b
总线概述
由
Lockheed
Martin
领导的
SAE AS1A3 Mil-1394b
任务小
组,制定了官方工业标准――“
SAE AS5643:IEEE 1394b
Interface
Requirements for Military and Aerospace Vehicle
p>
Applications
”
[1]
。该协议明确定义了
1394b
总线在军事和
飞
行控制系统中的典型应用。
“
SAE
AS5643 Mil-1394b is a set of
enhancements to the IEEE1394
standard.
”
[2]
飞行控制(简称“飞控”
)系统对实时性、确定性、可
靠性的要求较高,另外,总线传输也要求静
态配置、高速、
容错等。为了满足飞控系统的上述要求,采用
M
il-1394b
总
线来实现系统互联和高速数据传输,是因为
Mil-1394b
总线
传输速度快、
传输距离长,可以实现实时、确定的点对点传
输。
2
仿真板卡功能
设计实现的
Mil-1394b
p>
总线接口板(简称为
PC
卡)
,可
插入
PC
机的
PCI
接口插槽中。通过该接口,
PC
机就可与
PC
卡进行通信。
2.1
PC
卡功能
在
PC
卡上
实现
1394b
协议,对主机提供软件接口,实
现异步流传输功能。
1394b
协议定义了物理层、链
路层、事
务层和串行总线管理,
并定义了与应用程序间的接口服
务
[3]
。
每个协议层都定义了一整套
相关的服务,用于支持各层间的
通信,通过各协议层的配合工作,可以提供可靠、快速的
通
信服务。
每个
PC
卡
都可以设置为
CC
(
Control
Computer
,控制计
算机)或
R
N
(
Remote
Node
,远程节点)
。
2.2
CC
功能
1)
按照系统定义的周期发送
STO
F
包;
2)
可获得总线网络的拓扑图、
速率
表、
网络节点的状态;
3)
获得网络节点的连接状态;
4)
提供自身的状态;
5)
提供消息的发送缓冲和接收缓冲功能;