SlideShare a Scribd company logo
Aerodynamic Analysis and Design Lab.
Flight Simulation Seminar
Wai Nwe Tun
23rd January, 2017
Flight Simulation Codes
Aerodynamic Analysis and Design Lab.
Contents
2
 Flight Simulation Environment
 Flight Simulator
• Characteristics
• Software architecture
– Structural Modelling
 FlightGear Simulator
• Architecture
• fgMainInit function
 Flight Dynamics & Control (FDC) Toolbox
 Aerospace Blockset
Aerodynamic Analysis and Design Lab.
Flight Simulation Environment
3
 Needs at least three components
1) Input device such as yoke, rudder pedals, or even keyboard
2) Simulation environment
3) Graphic environment
 Simulation environment
• Full nonlinear and coupled aircraft
equations of motion are solved as
driven by the different forces and
moments acting on the aircraft
(Flight Dynamics Model)
1 2
3
Aerodynamic Analysis and Design Lab.
Flight Simulator: Characteristics
4
 Real-time performance constraints
• Flight simulators must meet hard real-time deadlines for fidelity and
coordination.
 Continuous development and modification
 Large size and high complexity
 Developed in geographically distributed areas
 Very expensive debugging, testing, and modification
 Unclear mapping between software structure and aircraft structure
Aerodynamic Analysis and Design Lab.
Generic Flight Simulator
5
Aerodynamic Analysis and Design Lab.
Software Architecture
6
 Focus that the software has both functional and non-functional qualities
which it must fulfill.
 Functional Requirements
• System functionalities
• What we want to do
• Easy to capture – tangible
(Laptop: certain applications can be installed and used.)
 Non-functional Requirements
• System properties
• How we need to do
• Not easy to capture – intangible
(Laptop: persistence, cost, performance)
Image source: https://s-media-cache-ak0.pinimg.com/236x/eb/a6/4c/eba64c8d3572d4340879a27066f0117e
Aerodynamic Analysis and Design Lab.
Software Architecture
7
 Traditionally, when satisfying system’s requirements, engineers try to
solve functional requirements first.
 For complex systems like flight simulators, engineers must first consider
how their system will meet its non-functional goals by which architecture
and then how to implement the desired functionality within that
architecture.
• Structural modeling
 Deal with systems at the level of
• computational components,
• their connections,
• their patterns of structure, and
• their restrictions on usage.
Aerodynamic Analysis and Design Lab.
Flight Simulator: ABC
8
ABC – Architecture Business Cyc
Aerodynamic Analysis and Design Lab.
Structural Modeling
9
 A reusable collection of software structures (objects) of levels of
abstraction proving the basis from which flight simulator software is
derived.
 Includes an object-oriented design to model the subsystems and
controllers and adds them real-time scheduling to control the execution
order of subsystems.
 Properly limits
• Unconstrained communication/data passing which object-oriented
programming affords
• Types of objects from which a system may be constructed and how these
types may be composed.
Aerodynamic Analysis and Design Lab.
Flight Simulator: Structural Modeling
10
 The FS architecture can be divided into two phases: executive and
application.
 The executive handles coordination (i.e., creation, communication,
synchronization) issues such as real-time scheduling, event
management, data sharing, data integrity by:
• Periodic sequencer
• Event handler
• Timeline synchronizer
 The application handles
computation:
• Sub-systems
• Components
Aerodynamic Analysis and Design Lab.
Flight Simulator: Structural Modeling
11
Aerodynamic Analysis and Design Lab.
Flight Simulator: Structural Modeling
12
Piano roll – pre-defined
scheduling table
containing a list of sub-
system invocations
required to achieve the
desired mode.
Aerodynamic Analysis and Design Lab.
FlightGear Simulator
13
 The open source flight simulator FlightGear has come a long way since
first being showcased at LinuxWorld in San Jose.
 In April 1996, David Murr proposed a new flight simulator developed by
volunteers over the Internet. It was to be distributed free of charge via
the Internet and similar networks. Curt Olson made a multi-platform
release of FlightGear in July 1997.
 The FG architecture is based on an infinite loop called the “main loop”.
 Unlike the main loop of typical event-driven programs
• Runs in idle, polling for users’ inputs.
 FG main loop is responsible for periodically ordering components to
update themselves since many components are working in the
background, regardless of inputs.
Aerodynamic Analysis and Design Lab.
FlightGear Simulator
14
 With all components controlled from within
one loop, FlightGear was a single thread
application.
 Rendering is the most resource intensive
process and may cause frequency of main
loop to be slower than the frame rate.
 This effect the frequency at which other
components such as FDM can run.
 The core components must be run in a
time-critical manner.
Aerodynamic Analysis and Design Lab.
FlightGear Flight Simulator
15
 FlightGear code is refactored using MVC (Model-View-Controller)
architecture.
• A software architecture in which the data model, user interface, and control
logic are separated into distinct components.
 Under MVC scheme, FlightGear has two primary independent
components:
• one being an FDM, server, and
• the other rendering and controlling components, client.
Picture source: https://daveh.io/blog/the-model-view-controller-pattern
Aerodynamic Analysis and Design Lab.
FlightGear MVC Architecture
16
 Client
• Controller/view without any simulation calculation components
• Process inputs from user
• Forward them to the server, listen to the
servers and display objects in the scene
• Provide visual and audio cues to the user
and manage communications between user and
FDM
• Two threaded loops: handling I/O and rendering
 FDM Server
• Provide services to simulate the flight
dynamics and systems of multiple aircraft.
ModelView/Controller
Aerodynamic Analysis and Design Lab.
FlightGear: Main/main.cxx
17
Aerodynamic Analysis and Design Lab.
FlightGear: Main/main.cxx
18
Aerodynamic Analysis and Design Lab.
Flight Dynamics & Control Toolbox
19
 Open source developed by M.O. Rauw
 A MATLAB and Simulink-based software developed specifically for the
design and analysis of aircraft dynamics and control systems.
 Is implemented around a general nonlinear aircraft model developed
using a modular design approach.
 Features a detailed mathematical model for a general aviation aircraft
but can be easily reconfigured for that of any aircraft at the desired level
of accuracy with linear or non linear aerodynamic modeling.
Aerodynamic Analysis and Design Lab.
Flight Dynamics & Control Toolbox
20
Aerodynamic Analysis and Design Lab.
FDC Toolbox as AFCS Design Cycle
21AFCS: Automatic Flight Control Systems
Aerodynamic Analysis and Design Lab.
FDC Toolbox Library
22
Aerodynamic Analysis and Design Lab.
FDC Toolbox – Equations of Motion
23
Aerodynamic Analysis and Design Lab.
FDC Toolbox: Beaver’s Equations
24
Aerodynamic Analysis and Design Lab.
Aerospace Blockset
25
 Produced and distributed by the Mathworks
 Extends Simulink with blocks for modeling and
simulating aircrafts
 Presents a collection of features and blocks
for the solution of
• Aircraft equations of motion
• Modeling of all different forces and moments
 Visualize vehicle flight dynamics using
MATLAB graphics-based 3DoF and 6DoF
animation blocks or other third party.
Aerodynamic Analysis and Design Lab.
Aerospace Blockset
26
Aerodynamic Analysis and Design Lab.
References
27
 M. R. Napolitano, “Aircraft Dynamics from Modeling to Simulation,”
Chap. 9, 2011.
 A. Wesley, “Software Architecture in Practice 2nd Edition,” Chap. 8, 2003.
 AJ MacLeod et. al., “A New Architecture for FlightGear Flight Simulator”,
Technical Reports, 2006.
 M. Rauw, “FDC 1.2 – A Simulink Toolbox for Flight Dynamics and
Control Analysis,” 2001.
 R. Kazman, “Distributed Flight Simulation: A Challenge for Software
Architecture,” 1996.
 G. D. Abow et. al., “Structural Modeling: An Application Framework and
Development Process for Flight Simulators,” 1993.
 The FDC Toolbox, http://dutchroll.sourceforge.net/fdc.html
 FlightGear GitHub, https://github.com/FlightGear/flightgear
Aerodynamic Analysis and Design Lab.
Flight Simulation Seminar
Thank you!
28

More Related Content

What's hot

Aircraft maintenance and manuals week 2
Aircraft maintenance and manuals week 2Aircraft maintenance and manuals week 2
Aircraft maintenance and manuals week 2
Jairo Gutierrez
 
Aircraft inspections
Aircraft inspectionsAircraft inspections
Aircraft inspections
Agustin Limachi
 
Aircraft Maintenance Documentation
Aircraft Maintenance DocumentationAircraft Maintenance Documentation
Aircraft Maintenance Documentation
FAA Safety Team Central Florida
 
Understanding How Flight simulation works
Understanding How Flight simulation worksUnderstanding How Flight simulation works
Understanding How Flight simulation works
Parthiban Vijayaraghavan
 
13 master configuration deviation list a-320
13   master configuration deviation list a-32013   master configuration deviation list a-320
13 master configuration deviation list a-320
Francisco Buenrostro
 
Aircraft Dynamic Stability and Equation of motion
Aircraft Dynamic Stability and Equation of motionAircraft Dynamic Stability and Equation of motion
Aircraft Dynamic Stability and Equation of motion
Dhruv Panchal
 
Aircraft ctrl systems
Aircraft ctrl systemsAircraft ctrl systems
Aircraft ctrl systems
KUMARESAN ARUNAGIRI
 
Preflight
PreflightPreflight
Landing gear
Landing gearLanding gear
Introduction to airline reservation systems
Introduction to airline reservation systemsIntroduction to airline reservation systems
Introduction to airline reservation systems
Java and .NET Architect
 
Ppt 2 (1)
Ppt 2 (1)Ppt 2 (1)
Ppt 2 (1)
HimanshuLakhara5
 
Aerodynamics slide
Aerodynamics slideAerodynamics slide
Aerodynamics slide
Linda Jaquiline
 
Introduction to Radio Controlled Planes
Introduction to Radio Controlled PlanesIntroduction to Radio Controlled Planes
Introduction to Radio Controlled Planes
Mostafa Eid
 
LANDING GEAR
LANDING GEARLANDING GEAR
LANDING GEAR
Narendra verma
 
Drone Building 101
Drone Building 101Drone Building 101
Drone Building 101
Aaron Buma
 
fly-by-light control system
fly-by-light control systemfly-by-light control system
fly-by-light control system
Christos Syropoulos
 
Flight basics
Flight basicsFlight basics
Flight basics
Sri Ramya
 
Aircraft instrumentsystems
Aircraft instrumentsystemsAircraft instrumentsystems
Aircraft instrumentsystems
Mahnil
 
Aircraft flap system
Aircraft flap systemAircraft flap system
Aircraft flap system
amineshinobie
 
Avionics Systems Instruments
Avionics Systems InstrumentsAvionics Systems Instruments
Avionics Systems Instruments
Michael Bseliss
 

What's hot (20)

Aircraft maintenance and manuals week 2
Aircraft maintenance and manuals week 2Aircraft maintenance and manuals week 2
Aircraft maintenance and manuals week 2
 
Aircraft inspections
Aircraft inspectionsAircraft inspections
Aircraft inspections
 
Aircraft Maintenance Documentation
Aircraft Maintenance DocumentationAircraft Maintenance Documentation
Aircraft Maintenance Documentation
 
Understanding How Flight simulation works
Understanding How Flight simulation worksUnderstanding How Flight simulation works
Understanding How Flight simulation works
 
13 master configuration deviation list a-320
13   master configuration deviation list a-32013   master configuration deviation list a-320
13 master configuration deviation list a-320
 
Aircraft Dynamic Stability and Equation of motion
Aircraft Dynamic Stability and Equation of motionAircraft Dynamic Stability and Equation of motion
Aircraft Dynamic Stability and Equation of motion
 
Aircraft ctrl systems
Aircraft ctrl systemsAircraft ctrl systems
Aircraft ctrl systems
 
Preflight
PreflightPreflight
Preflight
 
Landing gear
Landing gearLanding gear
Landing gear
 
Introduction to airline reservation systems
Introduction to airline reservation systemsIntroduction to airline reservation systems
Introduction to airline reservation systems
 
Ppt 2 (1)
Ppt 2 (1)Ppt 2 (1)
Ppt 2 (1)
 
Aerodynamics slide
Aerodynamics slideAerodynamics slide
Aerodynamics slide
 
Introduction to Radio Controlled Planes
Introduction to Radio Controlled PlanesIntroduction to Radio Controlled Planes
Introduction to Radio Controlled Planes
 
LANDING GEAR
LANDING GEARLANDING GEAR
LANDING GEAR
 
Drone Building 101
Drone Building 101Drone Building 101
Drone Building 101
 
fly-by-light control system
fly-by-light control systemfly-by-light control system
fly-by-light control system
 
Flight basics
Flight basicsFlight basics
Flight basics
 
Aircraft instrumentsystems
Aircraft instrumentsystemsAircraft instrumentsystems
Aircraft instrumentsystems
 
Aircraft flap system
Aircraft flap systemAircraft flap system
Aircraft flap system
 
Avionics Systems Instruments
Avionics Systems InstrumentsAvionics Systems Instruments
Avionics Systems Instruments
 

Similar to Study for flight simulation environments

Supporting Flight Test And Flight Matching
Supporting Flight Test And Flight MatchingSupporting Flight Test And Flight Matching
Supporting Flight Test And Flight Matching
j2aircraft
 
Software Modeling and Verification
Software Modeling and VerificationSoftware Modeling and Verification
Software Modeling and Verification
RamnGonzlezRuiz2
 
Ch10
Ch10Ch10
Ch10
Ch10Ch10
Ch7
Ch7Ch7
Ch7
Ch7Ch7
An Algorithm Based Simulation Modeling For Control of Production Systems
An Algorithm Based Simulation Modeling For Control of Production SystemsAn Algorithm Based Simulation Modeling For Control of Production Systems
An Algorithm Based Simulation Modeling For Control of Production Systems
IJMER
 
4213ijsea06
4213ijsea064213ijsea06
4213ijsea06
ijseajournal
 
SIMULATION-BASED APPLICATION SOFTWARE DEVELOPMENT IN TIME-TRIGGERED COMMUNICA...
SIMULATION-BASED APPLICATION SOFTWARE DEVELOPMENT IN TIME-TRIGGERED COMMUNICA...SIMULATION-BASED APPLICATION SOFTWARE DEVELOPMENT IN TIME-TRIGGERED COMMUNICA...
SIMULATION-BASED APPLICATION SOFTWARE DEVELOPMENT IN TIME-TRIGGERED COMMUNICA...
IJSEA
 
Drone simulators, advancements and challenges
Drone simulators, advancements and challengesDrone simulators, advancements and challenges
Drone simulators, advancements and challenges
Nile University
 
Knowledge-based simulation model generation for control law design applied to...
Knowledge-based simulation model generation for control law design applied to...Knowledge-based simulation model generation for control law design applied to...
Knowledge-based simulation model generation for control law design applied to...
Angelo State University
 
Controller Software Verification Using AVM Meta and HybridSAL
Controller Software Verification Using AVM Meta and HybridSALController Software Verification Using AVM Meta and HybridSAL
Controller Software Verification Using AVM Meta and HybridSAL
Joseph Porter
 
Design the implementation of CDEx Robust DC Motor.
Design the implementation of CDEx Robust DC Motor.Design the implementation of CDEx Robust DC Motor.
Design the implementation of CDEx Robust DC Motor.
Ankita Tiwari
 
Chap 03.pdf
Chap 03.pdfChap 03.pdf
Chap 03.pdf
ssuser24265e
 
A multidisciplinary teaching method in the aerospace engineering systems fiel...
A multidisciplinary teaching method in the aerospace engineering systems fiel...A multidisciplinary teaching method in the aerospace engineering systems fiel...
A multidisciplinary teaching method in the aerospace engineering systems fiel...
Altair
 
Chapter Six: Design and impelementation.
Chapter Six: Design and impelementation.Chapter Six: Design and impelementation.
Chapter Six: Design and impelementation.
AbdikariimShiekhabdi
 
Modelon Modelica executable requirements Ansys Conference 2016
Modelon Modelica executable requirements Ansys Conference 2016Modelon Modelica executable requirements Ansys Conference 2016
Modelon Modelica executable requirements Ansys Conference 2016
Modelon
 
MOD_Design_Implementation_Ch7_summary.pdf
MOD_Design_Implementation_Ch7_summary.pdfMOD_Design_Implementation_Ch7_summary.pdf
MOD_Design_Implementation_Ch7_summary.pdf
Tigabu Yaya
 
Model based design-Hardware in loop-software in loop
Model based design-Hardware in loop-software in loopModel based design-Hardware in loop-software in loop
Model based design-Hardware in loop-software in loop
Mahmoud Hussein
 
MIL_SIL.pdf
MIL_SIL.pdfMIL_SIL.pdf
MIL_SIL.pdf
JaspreetKaur957115
 

Similar to Study for flight simulation environments (20)

Supporting Flight Test And Flight Matching
Supporting Flight Test And Flight MatchingSupporting Flight Test And Flight Matching
Supporting Flight Test And Flight Matching
 
Software Modeling and Verification
Software Modeling and VerificationSoftware Modeling and Verification
Software Modeling and Verification
 
Ch10
Ch10Ch10
Ch10
 
Ch10
Ch10Ch10
Ch10
 
Ch7
Ch7Ch7
Ch7
 
Ch7
Ch7Ch7
Ch7
 
An Algorithm Based Simulation Modeling For Control of Production Systems
An Algorithm Based Simulation Modeling For Control of Production SystemsAn Algorithm Based Simulation Modeling For Control of Production Systems
An Algorithm Based Simulation Modeling For Control of Production Systems
 
4213ijsea06
4213ijsea064213ijsea06
4213ijsea06
 
SIMULATION-BASED APPLICATION SOFTWARE DEVELOPMENT IN TIME-TRIGGERED COMMUNICA...
SIMULATION-BASED APPLICATION SOFTWARE DEVELOPMENT IN TIME-TRIGGERED COMMUNICA...SIMULATION-BASED APPLICATION SOFTWARE DEVELOPMENT IN TIME-TRIGGERED COMMUNICA...
SIMULATION-BASED APPLICATION SOFTWARE DEVELOPMENT IN TIME-TRIGGERED COMMUNICA...
 
Drone simulators, advancements and challenges
Drone simulators, advancements and challengesDrone simulators, advancements and challenges
Drone simulators, advancements and challenges
 
Knowledge-based simulation model generation for control law design applied to...
Knowledge-based simulation model generation for control law design applied to...Knowledge-based simulation model generation for control law design applied to...
Knowledge-based simulation model generation for control law design applied to...
 
Controller Software Verification Using AVM Meta and HybridSAL
Controller Software Verification Using AVM Meta and HybridSALController Software Verification Using AVM Meta and HybridSAL
Controller Software Verification Using AVM Meta and HybridSAL
 
Design the implementation of CDEx Robust DC Motor.
Design the implementation of CDEx Robust DC Motor.Design the implementation of CDEx Robust DC Motor.
Design the implementation of CDEx Robust DC Motor.
 
Chap 03.pdf
Chap 03.pdfChap 03.pdf
Chap 03.pdf
 
A multidisciplinary teaching method in the aerospace engineering systems fiel...
A multidisciplinary teaching method in the aerospace engineering systems fiel...A multidisciplinary teaching method in the aerospace engineering systems fiel...
A multidisciplinary teaching method in the aerospace engineering systems fiel...
 
Chapter Six: Design and impelementation.
Chapter Six: Design and impelementation.Chapter Six: Design and impelementation.
Chapter Six: Design and impelementation.
 
Modelon Modelica executable requirements Ansys Conference 2016
Modelon Modelica executable requirements Ansys Conference 2016Modelon Modelica executable requirements Ansys Conference 2016
Modelon Modelica executable requirements Ansys Conference 2016
 
MOD_Design_Implementation_Ch7_summary.pdf
MOD_Design_Implementation_Ch7_summary.pdfMOD_Design_Implementation_Ch7_summary.pdf
MOD_Design_Implementation_Ch7_summary.pdf
 
Model based design-Hardware in loop-software in loop
Model based design-Hardware in loop-software in loopModel based design-Hardware in loop-software in loop
Model based design-Hardware in loop-software in loop
 
MIL_SIL.pdf
MIL_SIL.pdfMIL_SIL.pdf
MIL_SIL.pdf
 

Recently uploaded

How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
Antonios Katsarakis
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
Jason Packer
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
Edge AI and Vision Alliance
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
saastr
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
Jakub Marek
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
Postman
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
AstuteBusiness
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Alpen-Adria-Universität
 
A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024
Intelisync
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
Zilliz
 
Public CyberSecurity Awareness Presentation 2024.pptx
Public CyberSecurity Awareness Presentation 2024.pptxPublic CyberSecurity Awareness Presentation 2024.pptx
Public CyberSecurity Awareness Presentation 2024.pptx
marufrahmanstratejm
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
Ivanti
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Wask
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 

Recently uploaded (20)

How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
 
A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
 
Public CyberSecurity Awareness Presentation 2024.pptx
Public CyberSecurity Awareness Presentation 2024.pptxPublic CyberSecurity Awareness Presentation 2024.pptx
Public CyberSecurity Awareness Presentation 2024.pptx
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 

Study for flight simulation environments

  • 1. Aerodynamic Analysis and Design Lab. Flight Simulation Seminar Wai Nwe Tun 23rd January, 2017 Flight Simulation Codes
  • 2. Aerodynamic Analysis and Design Lab. Contents 2  Flight Simulation Environment  Flight Simulator • Characteristics • Software architecture – Structural Modelling  FlightGear Simulator • Architecture • fgMainInit function  Flight Dynamics & Control (FDC) Toolbox  Aerospace Blockset
  • 3. Aerodynamic Analysis and Design Lab. Flight Simulation Environment 3  Needs at least three components 1) Input device such as yoke, rudder pedals, or even keyboard 2) Simulation environment 3) Graphic environment  Simulation environment • Full nonlinear and coupled aircraft equations of motion are solved as driven by the different forces and moments acting on the aircraft (Flight Dynamics Model) 1 2 3
  • 4. Aerodynamic Analysis and Design Lab. Flight Simulator: Characteristics 4  Real-time performance constraints • Flight simulators must meet hard real-time deadlines for fidelity and coordination.  Continuous development and modification  Large size and high complexity  Developed in geographically distributed areas  Very expensive debugging, testing, and modification  Unclear mapping between software structure and aircraft structure
  • 5. Aerodynamic Analysis and Design Lab. Generic Flight Simulator 5
  • 6. Aerodynamic Analysis and Design Lab. Software Architecture 6  Focus that the software has both functional and non-functional qualities which it must fulfill.  Functional Requirements • System functionalities • What we want to do • Easy to capture – tangible (Laptop: certain applications can be installed and used.)  Non-functional Requirements • System properties • How we need to do • Not easy to capture – intangible (Laptop: persistence, cost, performance) Image source: https://s-media-cache-ak0.pinimg.com/236x/eb/a6/4c/eba64c8d3572d4340879a27066f0117e
  • 7. Aerodynamic Analysis and Design Lab. Software Architecture 7  Traditionally, when satisfying system’s requirements, engineers try to solve functional requirements first.  For complex systems like flight simulators, engineers must first consider how their system will meet its non-functional goals by which architecture and then how to implement the desired functionality within that architecture. • Structural modeling  Deal with systems at the level of • computational components, • their connections, • their patterns of structure, and • their restrictions on usage.
  • 8. Aerodynamic Analysis and Design Lab. Flight Simulator: ABC 8 ABC – Architecture Business Cyc
  • 9. Aerodynamic Analysis and Design Lab. Structural Modeling 9  A reusable collection of software structures (objects) of levels of abstraction proving the basis from which flight simulator software is derived.  Includes an object-oriented design to model the subsystems and controllers and adds them real-time scheduling to control the execution order of subsystems.  Properly limits • Unconstrained communication/data passing which object-oriented programming affords • Types of objects from which a system may be constructed and how these types may be composed.
  • 10. Aerodynamic Analysis and Design Lab. Flight Simulator: Structural Modeling 10  The FS architecture can be divided into two phases: executive and application.  The executive handles coordination (i.e., creation, communication, synchronization) issues such as real-time scheduling, event management, data sharing, data integrity by: • Periodic sequencer • Event handler • Timeline synchronizer  The application handles computation: • Sub-systems • Components
  • 11. Aerodynamic Analysis and Design Lab. Flight Simulator: Structural Modeling 11
  • 12. Aerodynamic Analysis and Design Lab. Flight Simulator: Structural Modeling 12 Piano roll – pre-defined scheduling table containing a list of sub- system invocations required to achieve the desired mode.
  • 13. Aerodynamic Analysis and Design Lab. FlightGear Simulator 13  The open source flight simulator FlightGear has come a long way since first being showcased at LinuxWorld in San Jose.  In April 1996, David Murr proposed a new flight simulator developed by volunteers over the Internet. It was to be distributed free of charge via the Internet and similar networks. Curt Olson made a multi-platform release of FlightGear in July 1997.  The FG architecture is based on an infinite loop called the “main loop”.  Unlike the main loop of typical event-driven programs • Runs in idle, polling for users’ inputs.  FG main loop is responsible for periodically ordering components to update themselves since many components are working in the background, regardless of inputs.
  • 14. Aerodynamic Analysis and Design Lab. FlightGear Simulator 14  With all components controlled from within one loop, FlightGear was a single thread application.  Rendering is the most resource intensive process and may cause frequency of main loop to be slower than the frame rate.  This effect the frequency at which other components such as FDM can run.  The core components must be run in a time-critical manner.
  • 15. Aerodynamic Analysis and Design Lab. FlightGear Flight Simulator 15  FlightGear code is refactored using MVC (Model-View-Controller) architecture. • A software architecture in which the data model, user interface, and control logic are separated into distinct components.  Under MVC scheme, FlightGear has two primary independent components: • one being an FDM, server, and • the other rendering and controlling components, client. Picture source: https://daveh.io/blog/the-model-view-controller-pattern
  • 16. Aerodynamic Analysis and Design Lab. FlightGear MVC Architecture 16  Client • Controller/view without any simulation calculation components • Process inputs from user • Forward them to the server, listen to the servers and display objects in the scene • Provide visual and audio cues to the user and manage communications between user and FDM • Two threaded loops: handling I/O and rendering  FDM Server • Provide services to simulate the flight dynamics and systems of multiple aircraft. ModelView/Controller
  • 17. Aerodynamic Analysis and Design Lab. FlightGear: Main/main.cxx 17
  • 18. Aerodynamic Analysis and Design Lab. FlightGear: Main/main.cxx 18
  • 19. Aerodynamic Analysis and Design Lab. Flight Dynamics & Control Toolbox 19  Open source developed by M.O. Rauw  A MATLAB and Simulink-based software developed specifically for the design and analysis of aircraft dynamics and control systems.  Is implemented around a general nonlinear aircraft model developed using a modular design approach.  Features a detailed mathematical model for a general aviation aircraft but can be easily reconfigured for that of any aircraft at the desired level of accuracy with linear or non linear aerodynamic modeling.
  • 20. Aerodynamic Analysis and Design Lab. Flight Dynamics & Control Toolbox 20
  • 21. Aerodynamic Analysis and Design Lab. FDC Toolbox as AFCS Design Cycle 21AFCS: Automatic Flight Control Systems
  • 22. Aerodynamic Analysis and Design Lab. FDC Toolbox Library 22
  • 23. Aerodynamic Analysis and Design Lab. FDC Toolbox – Equations of Motion 23
  • 24. Aerodynamic Analysis and Design Lab. FDC Toolbox: Beaver’s Equations 24
  • 25. Aerodynamic Analysis and Design Lab. Aerospace Blockset 25  Produced and distributed by the Mathworks  Extends Simulink with blocks for modeling and simulating aircrafts  Presents a collection of features and blocks for the solution of • Aircraft equations of motion • Modeling of all different forces and moments  Visualize vehicle flight dynamics using MATLAB graphics-based 3DoF and 6DoF animation blocks or other third party.
  • 26. Aerodynamic Analysis and Design Lab. Aerospace Blockset 26
  • 27. Aerodynamic Analysis and Design Lab. References 27  M. R. Napolitano, “Aircraft Dynamics from Modeling to Simulation,” Chap. 9, 2011.  A. Wesley, “Software Architecture in Practice 2nd Edition,” Chap. 8, 2003.  AJ MacLeod et. al., “A New Architecture for FlightGear Flight Simulator”, Technical Reports, 2006.  M. Rauw, “FDC 1.2 – A Simulink Toolbox for Flight Dynamics and Control Analysis,” 2001.  R. Kazman, “Distributed Flight Simulation: A Challenge for Software Architecture,” 1996.  G. D. Abow et. al., “Structural Modeling: An Application Framework and Development Process for Flight Simulators,” 1993.  The FDC Toolbox, http://dutchroll.sourceforge.net/fdc.html  FlightGear GitHub, https://github.com/FlightGear/flightgear
  • 28. Aerodynamic Analysis and Design Lab. Flight Simulation Seminar Thank you! 28