摘要
基于游戏开发引擎Unity3D开发了一套面向本科教学的飞行控制可视化仿真系统。首先提出在Unity3D中准确建立飞行器物理模型的方法;然后对比分析飞控仿真常见通信方式的优劣,择优选择稳定可靠的串口通信方式完成Unity3D/Simulink联合仿真平台的构建。根据飞控仿真采样频率要求,完成联合仿真时间参数设置,进而实现控制器设计。最后通过六自由度运动平台、航模机、操纵杆实现半实物演示。整个系统将Unity3D三维视景动画与半实物演示结合,实验现象直观逼真,可有效提高学生对于飞行控制相关理论的理解,加强学生工程应用能力,提高教学效果。
A flight control visualization simulation system for undergraduate teaching is developed based on the game development engine Unity3D.Firstly,according to the development characteristics of Unity3D,a method to accurately establish the physical model of aircraft in Unity3D is proposed.Then by testing and analyzing the advantages and disadvantages of common communication methods for flight control simulation,the stable serial communication method is selected to complete the construction of the Unity3D/Simulink cosimulation platform.According to the sampling frequency requirements of flight control simulation,the controller design is realized with the setting of the cosimulation time parameters.Finally,the semiphysical demonstration is realized through a sixdegreeoffreedom motion platform,a model aircraft and a joystick.The whole system combines Unity3D threedimensional visual animation with semiphysical demonstration.The experimental phenomenon is intuitive and realistic,which can effectively improve students’understanding of related theories of flight control,strengthen students’engineering application ability and enhance undergraduate teaching effects.
作者
朱日楠
王彪
杨姗姗
李宏成
王健
ZHU Rinan;WANG Biao;YANG Shanshan;LI Hongcheng;WANG Jian(College of Automation Engineering,Nanjing University of Aeronautics and Astronautics,Nanjing 211106,China)
出处
《实验室研究与探索》
CAS
北大核心
2023年第11期187-191,共5页
Research and Exploration In Laboratory
基金
南京航空航天大学航空科学基金项目(20175752045)。