A Tutorial and Review on Flight Control Co-Simulation Using Matlab/Simulink and Flight Simulators

N. Horri, Mikolaj Pietraszko
{"title":"A Tutorial and Review on Flight Control Co-Simulation Using Matlab/Simulink and Flight Simulators","authors":"N. Horri, Mikolaj Pietraszko","doi":"10.3390/automation3030025","DOIUrl":null,"url":null,"abstract":"Flight testing in a realistic three-dimensional virtual environment is increasingly being considered a safe and cost-effective way of evaluating aircraft models and their control systems. The paper starts by reviewing and comparing the most popular personal computer-based flight simulators that have been successfully interfaced to date with the MathWorks software. This co-simulation approach allows combining the strengths of Matlab toolboxes for functions including navigation, control, and sensor modeling with the advanced simulation and scene rendering capabilities of dedicated flight simulation software. This approach can then be used to validate aircraft models, control algorithms, handle flight characteristics, or perform model identification from flight data. There is, however, a lack of sufficiently detailed step-by-step flight co-simulation tutorials, and there have also been few attempts to evaluate more than one flight co-simulation approach at a time. We, therefore, demonstrate our own step-by-step co-simulation implementations using Simulink with three different flight simulators: Xplane, FlightGear, and Alphalink’s virtual flight test environment (VFTE). All three co-simulations employ a real-time user datagram protocol (UDP) for data communication, and each approach has advantages depending on the aircraft type. In the case of a Cessna-172 general aviation aircraft, a Simulink co-simulation with Xplane demonstrates successful virtual flight tests with accurate simultaneous tracking of altitude and speed reference changes while maintaining roll stability under arbitrary wind conditions that present challenges in the single propeller Cessna. For a medium endurance Rascal-110 unmanned aerial vehicle (UAV), Simulink is interfaced with FlightGear and with QGroundControl using the MAVlink protocol, which allows to accurately follow the lateral UAV path on a map, and this setup is used to evaluate the validity of Matlab-based six degrees of freedom UAV models. For a smaller ZOHD Nano Talon miniature aerial vehicle (MAV), Simulink is interfaced with the VFTE, which was specifically designed for this MAV, and with QGroundControl for the testing of advanced H-infinity observer-based autopilots using a software-in-the-loop (SIL) simulation to achieve robust low altitude flight under windy conditions. This is then finally extended to hardware-in-the-loop (HIL) implementation on the Nano Talon MAV using a controller area network (CAN) databus and a Pixhawk-4 mini autopilot with simulated sensor models.","PeriodicalId":90013,"journal":{"name":"Mediterranean Conference on Control & Automation : [proceedings]. IEEE Mediterranean Conference on Control & Automation","volume":"3 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2022-09-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"10","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Mediterranean Conference on Control & Automation : [proceedings]. IEEE Mediterranean Conference on Control & Automation","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.3390/automation3030025","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 10

Abstract

Flight testing in a realistic three-dimensional virtual environment is increasingly being considered a safe and cost-effective way of evaluating aircraft models and their control systems. The paper starts by reviewing and comparing the most popular personal computer-based flight simulators that have been successfully interfaced to date with the MathWorks software. This co-simulation approach allows combining the strengths of Matlab toolboxes for functions including navigation, control, and sensor modeling with the advanced simulation and scene rendering capabilities of dedicated flight simulation software. This approach can then be used to validate aircraft models, control algorithms, handle flight characteristics, or perform model identification from flight data. There is, however, a lack of sufficiently detailed step-by-step flight co-simulation tutorials, and there have also been few attempts to evaluate more than one flight co-simulation approach at a time. We, therefore, demonstrate our own step-by-step co-simulation implementations using Simulink with three different flight simulators: Xplane, FlightGear, and Alphalink’s virtual flight test environment (VFTE). All three co-simulations employ a real-time user datagram protocol (UDP) for data communication, and each approach has advantages depending on the aircraft type. In the case of a Cessna-172 general aviation aircraft, a Simulink co-simulation with Xplane demonstrates successful virtual flight tests with accurate simultaneous tracking of altitude and speed reference changes while maintaining roll stability under arbitrary wind conditions that present challenges in the single propeller Cessna. For a medium endurance Rascal-110 unmanned aerial vehicle (UAV), Simulink is interfaced with FlightGear and with QGroundControl using the MAVlink protocol, which allows to accurately follow the lateral UAV path on a map, and this setup is used to evaluate the validity of Matlab-based six degrees of freedom UAV models. For a smaller ZOHD Nano Talon miniature aerial vehicle (MAV), Simulink is interfaced with the VFTE, which was specifically designed for this MAV, and with QGroundControl for the testing of advanced H-infinity observer-based autopilots using a software-in-the-loop (SIL) simulation to achieve robust low altitude flight under windy conditions. This is then finally extended to hardware-in-the-loop (HIL) implementation on the Nano Talon MAV using a controller area network (CAN) databus and a Pixhawk-4 mini autopilot with simulated sensor models.
使用Matlab/Simulink和飞行模拟器的飞行控制联合仿真教程与综述
在真实的三维虚拟环境中进行飞行测试越来越被认为是评估飞机模型及其控制系统的一种安全和经济有效的方法。本文首先回顾和比较了目前最流行的基于个人计算机的飞行模拟器,这些模拟器已经成功地与MathWorks软件接口。这种联合仿真方法可以将Matlab工具箱的功能(包括导航、控制和传感器建模)与专用飞行仿真软件的高级仿真和场景渲染功能相结合。然后,该方法可用于验证飞机模型、控制算法、处理飞行特性或从飞行数据执行模型识别。然而,缺乏足够详细的一步一步的飞行联合模拟教程,也很少有人尝试一次评估多个飞行联合模拟方法。因此,我们使用Simulink与三种不同的飞行模拟器演示我们自己的逐步联合仿真实现:Xplane, FlightGear和Alphalink的虚拟飞行测试环境(VFTE)。所有三种联合模拟都采用实时用户数据报协议(UDP)进行数据通信,每种方法都具有取决于飞机类型的优势。在Cessna-172通用航空飞机的案例中,Simulink与Xplane联合模拟成功地进行了虚拟飞行测试,在任意风条件下,精确地同时跟踪高度和速度参考变化,同时保持滚转稳定性,这对单螺旋桨Cessna来说是一个挑战。对于中等续航时间的Rascal-110无人机(UAV), Simulink使用MAVlink协议与FlightGear和QGroundControl进行接口,该协议允许在地图上准确地跟踪无人机的横向路径,并且该设置用于评估基于matlab的六自由度无人机模型的有效性。对于较小的ZOHD Nano Talon微型飞行器(MAV), Simulink与专为该MAV设计的VFTE接口,并与QGroundControl一起使用软件在环(SIL)模拟测试先进的H-infinity基于观测器的自动驾驶仪,以实现在多风条件下的强大低空飞行。然后最终扩展到Nano Talon MAV上的硬件在环(HIL)实现,使用控制器局域网(CAN)数据总线和带有模拟传感器模型的Pixhawk-4迷你自动驾驶仪。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信