Basic Computational Algorithms for Representing an Aircraft Flight (Calculation of 3D Displacement and Displaying)

Axioms Pub Date : 2024-05-10 DOI:10.3390/axioms13050313
Adán Ramírez-López
{"title":"Basic Computational Algorithms for Representing an Aircraft Flight (Calculation of 3D Displacement and Displaying)","authors":"Adán Ramírez-López","doi":"10.3390/axioms13050313","DOIUrl":null,"url":null,"abstract":"This manuscript describes the computational process to calculate an airplane path and display it in a 2D and 3D coordinate system on a computer screen. The airplane movement is calculated as a function of its dynamic’s conditions according to physical and logical theory. Here, the flight is divided into maneuvers and the aircraft conditions are defined as boundary conditions. Then the aircraft position is calculated using nested loops, which execute the calculation procedure at every step time (Δt). The calculation of the aircraft displacement is obtained as a function of the aircraft speed and heading angles. The simulator was created using the C++ programming language, and each part of the algorithm was compiled independently to reduce the source code, allow easy modification, and improve the programming efficiency. Aerial navigation involves very complex phenomena to be considered for an appropriate representation; moreover, in this manuscript, the influence of the mathematical approach to properly represent the aircraft flight is described in detail. The flight simulator was successfully tested by simulating some basic theoretical flights with different maneuvers, which include stationary position, running along the way, take off, and some movements in the airspace. The maximum aircraft speed tested was 120 km/h, the maximum maneuver time was 12 min, and the space for simulation was assumed to be without obstacles. Here, the geometrical description of path and speed is analyzed according to the symmetric and asymmetric results. Finally, an analysis was conducted to evaluate the approach of the numerical methods used; after that, it was possible to confirm that precision increased as the step time was reduced. According to this analysis, no more than 500 steps are required for a good approach in the calculation of the aircraft displacement.","PeriodicalId":502355,"journal":{"name":"Axioms","volume":" 28","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-05-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Axioms","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.3390/axioms13050313","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

This manuscript describes the computational process to calculate an airplane path and display it in a 2D and 3D coordinate system on a computer screen. The airplane movement is calculated as a function of its dynamic’s conditions according to physical and logical theory. Here, the flight is divided into maneuvers and the aircraft conditions are defined as boundary conditions. Then the aircraft position is calculated using nested loops, which execute the calculation procedure at every step time (Δt). The calculation of the aircraft displacement is obtained as a function of the aircraft speed and heading angles. The simulator was created using the C++ programming language, and each part of the algorithm was compiled independently to reduce the source code, allow easy modification, and improve the programming efficiency. Aerial navigation involves very complex phenomena to be considered for an appropriate representation; moreover, in this manuscript, the influence of the mathematical approach to properly represent the aircraft flight is described in detail. The flight simulator was successfully tested by simulating some basic theoretical flights with different maneuvers, which include stationary position, running along the way, take off, and some movements in the airspace. The maximum aircraft speed tested was 120 km/h, the maximum maneuver time was 12 min, and the space for simulation was assumed to be without obstacles. Here, the geometrical description of path and speed is analyzed according to the symmetric and asymmetric results. Finally, an analysis was conducted to evaluate the approach of the numerical methods used; after that, it was possible to confirm that precision increased as the step time was reduced. According to this analysis, no more than 500 steps are required for a good approach in the calculation of the aircraft displacement.
表示飞机飞行的基本计算算法(三维位移计算和显示)
本手稿描述了计算飞机路径并在计算机屏幕上以二维和三维坐标系显示的计算过程。根据物理和逻辑理论,飞机运动是其动态条件的函数。在这里,飞行被划分为若干机动动作,飞机的条件被定义为边界条件。然后使用嵌套循环计算飞机位置,在每一步时间(Δt)执行计算程序。飞机位移的计算结果是飞机速度和航向角的函数。模拟器使用 C++ 编程语言创建,算法的每个部分都独立编译,以减少源代码,便于修改,并提高编程效率。空中导航涉及非常复杂的现象,需要考虑到适当的表示方法;此外,本手稿还详细描述了数学方法对正确表示飞机飞行的影响。飞行模拟器通过模拟一些基本的理论飞行和不同的机动动作,包括静止位置、沿途运行、起飞和在空域中的一些移动,成功地进行了测试。测试的飞机最大速度为 120 公里/小时,最长机动时间为 12 分钟,模拟空间假定没有障碍物。在此,根据对称和非对称结果对路径和速度的几何描述进行了分析。最后,进行了一项分析,以评估所使用的数值方法的方法;之后,可以确认精度随着步长时间的缩短而提高。根据这一分析,计算飞机位移的良好方法所需的步数不超过 500 步。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术文献互助群
群 号:481959085
Book学术官方微信