摘要
采用高效快速的仿真实验平台构建方法可以大大提高仿真试验效率,利用Real-Time Workshop的自动代码生成功能和外部调试模式,可将Simulink环境下的飞机动力学仿真模型和利用S函数功能封装的控制率模型自动转换为在嵌入式操作系统中运行的仿真代码,利用该研究方法可在较短时间内完成对仿真实验平台的构建。采用本平台使整个研制过程难度和工作量大大地降低,并且具有在线调参和数据监控功能。与传统仿真实验方法相比,仿真实时性更接近真实飞行下的状态。
A new real-time simulation method based on Matlab/RTW(real-time workshop)and VxWorks real-time opera-tion system is introduced in this paper. The aircraft dynamics simulation model in Simulink environment and control rate model packaged with S function can be automatically converted to the simulation code running in embedded operation system by means of the code auto-generating function and external debugging mode. With this method,the simulation experiment platform can be constructed in a short time. The platform can reduce the difficulty and workload in the whole development process significantly. It has the functions of on-line parameter debugging and data monitoring. Compared with traditional method,the simulation real-time performance of this way is much closer to the real state of airplane. The reliability of this platform was demonstrated by com-paring simulation data with real flight data.
出处
《现代电子技术》
2014年第13期105-107,共3页
Modern Electronics Technique
关键词
RTW
VXWORKS
飞控系统
实时仿真
在线调参
RTW
VxWorks
flight control system
real-time simulation
on-line parameter debugging