针对目前多余度飞控计算机软件仿真测试中普遍存在的软件联调较为困难、测试周期长,且模拟故障较为复杂等问题,提出了一种基于单PC的余度计算机软件仿真测试方法.该方法利用了有限状态机的概念来调度多余度飞控计算机机载软件的运行过程,并利用虚拟时间戳的概念模拟多余度飞行控制计算机通道之间的通信过程.在余度软件设计初期就能方便地测试余度软件的各项功能,并可以根据虚拟时钟方便地模拟余度软件的各种故障问题及故障处理.%Aimed at the difficulties in associated debugging and long testing period and complex conditions in the simulation and testing of the redundant computer software, a kind of method based on single PC is pro posed. According to the conception of finite-state machine, the redundant flight control system software is scheduled. Besides, the notion of virtual timestamp is employed to simulate the communication process between channels. It is supposed to test the function of the software at the beginning of design. Moreover, in term of the conception of virtual timestamp, the fault and exception handles an be simulated conveniently.
展开▼