摘要
为了提高鱼雷搜索策略程序设计效率和程序可读性,方便修改逻辑和调试程序,提出了基于有限状态机的鱼雷搜索策略程序设计方案;通过分析鱼雷在搜索、跟踪和识别目标等不同自导阶段的自导逻辑关系,提出了自导状态、事件、活动的确定原则并建立了相应的模型;结合有限状态机理论,建立了自导逻辑的事件状态变迁关系图,提出了基于有限状态机的程序实现方案。通过仿真,对所建模型和设计方案进行了仿真验证。仿真结果表明,状态机程序运行稳定,调试和跟踪方便,尤其为增加状态、更改逻辑和调试程序提供了便利。
A design scheme of torpedo search strategy program based on finite state machine is presented to improve the design efficiency and readability of torpedo search strategy program, and to facilitate the modification of logic and debugging. The definition standard and model of homing state, event, and activity are established by analyzing the torpedo homing logic relations at such stages as searching, pursuit and identification of target. The state transition diagram of homing logic and the implementation of homing program are introduced based on the finite state machine theory. The model and design scheme are validated by simulation, and the results show that the program operation on state machine is stable; the debugging and pursuit are easy; especially, adding state, altering logic and debugging program become convenient.
出处
《鱼雷技术》
2012年第4期256-260,共5页
Torpedo Technology
关键词
鱼雷
自导逻辑
有限状态机
搜索策略
程序设计
torpedo
homing logic
finite state machine
search strategy
program design