摘要
综合运用Matlab/Simulink、FlightGear等仿真工具,结合UART232串口通信协议、UPD网络通信协议,设计并实现了一个Matlab环境下基于FlightGear视景的直升机飞控仿真平台。该平台使用自定义通信协议对直升机姿态数据进行编码传输和解码还原,通过Simulink中接口模块的设计,利用FlightGear飞行模拟器提供的外部数据、API接口和数据发送/接收模块,对飞行姿态等仿真数据进行网络实时传输,驱动FlightGear可视化引擎的运行,实现直升机飞行仿真的三维实时可视化显示。
This article is based on the needs of the Flight Control System of Helicopter design .Integrated use of Matlab/Simulink ,FlightGear software and UART 232 ,UDP Communication protocols ,a fully functional flight control simulation platform is built up .Under Matlab/Simulink developing environment ,the decode simulation block is written in C language .Benefitting from the API of FlightGear software ,the flight attitute data can be shown on the monitor via the UDP network ,achieving the 3D visualized simulation system .
出处
《实验技术与管理》
CAS
北大核心
2014年第8期106-109,共4页
Experimental Technology and Management
基金
国家自然科学基金项目(61164015)
航空科学基金项目(2011ZA56021)
江西省教育厅基金项目(GJJ09196)