In order to test the flight control computer of helicopter, a simulation system based on VxWorks real-time operating system and RTW(Real-Time Workshop) is designed. Firstly,the simulation code running on the real-time operating system VxWorks is generated automatically using RTW. Secondly,key techniques of the simulation platform ,such as porting of the VxWorks operating system , PCI device driver, loading of executable modules and so on , are researched and realized. In the end, the curves of hardware-in-loop simulation and digital simulation are given which verify the correctness of the simulation system.%为了完成直升机飞控计算机的仿真测试,设计了基于实时操作系统VxWorks和RTW(Real-Time Work-shop)的仿真系统.首先,使用RTW工具箱自动生成了基于VxWorks实时操作系统的仿真代码.其次,针对仿真平台设计的关键技术,如VxWorks操作系统的移植、PCI设备驱动程序、可执行模块加载等进行了研究和实现.最后,通过与数字仿真结果的对比,验证了半物理仿真系统的正确性.
展开▼