Desktop real time flight simulator for control design

Similar documents
Hardware in the Loop Simulation for Unmanned Aerial Vehicles

Classical Control Based Autopilot Design Using PC/104

Various levels of Simulation for Slybird MAV using Model Based Design

HELISIM SIMULATION CREATE. SET. HOVER

University of Minnesota. Department of Aerospace Engineering & Mechanics. UAV Research Group

The J2 Universal Tool-Kit - Linear Analysis with J2 Classical

Rapid Prototyping a Two Channel Autopilot for a Generic Aircraft

vstasker 6 A COMPLETE MULTI-PURPOSE SOFTWARE TO SPEED UP YOUR SIMULATION PROJECT, FROM DESIGN TIME TO DEPLOYMENT REAL-TIME SIMULATION TOOLKIT FEATURES

ŞahinSim: A Flight Simulator for End-Game Simulations

Design of a Remote-Cockpit for small Aerospace Vehicles

Keywords: Aircraft Systems Integration, Real-Time Simulation, Hardware-In-The-Loop Testing

Design of FBW Flight Control Systems for Modern Combat Aircraft Shyam Chetty Former Director, CSIR-NAL Bangalore

Development of a MATLAB Data Acquisition and Control Toolbox for BASIC Stamp Microcontrollers

Linear Motion Servo Plants: IP01 or IP02. Linear Experiment #0: Integration with WinCon. IP01 and IP02. Student Handout

COMPARING MATRIXx AND MATLAB FOR MODELING, DESIGNING AND SIMULATING FLIGHT CONTROL SYSTEMS

DESIGN OF A SCHWEIZER 1-26 FLIGHT SIMULATOR

Real-Time Pilot-in-the-Loop and Hardware-in-the-Loop Simulation at Gulfstream

CRAFT UAV CRAFT CUSTOMIZABLE SIMULATOR

Model-Based Design for Sensor Systems

Small Unmanned Aerial Vehicle Simulation Research

Software Computer Vision - Driver Assistance

Aeromechanics Safety Support Team Providing Aeromechanical Engineering Resources and Support for Aircraft Incidents and Mishap Investigations

Virtual Environment Simulation Using The Virtual Reality Toolbox

If we want to show all the subsystems in the platform, we got the following detailed block diagrams of the platform.

Flight Simulation for Tomorrow's Aviation

ATPE Simulator: Simulation Tool for Onboard GNC Development and Validation

CRAFT HELI CRAFT CUSTOMIZABLE SIMULATOR. Customizable, high-fidelity helicopter simulator designed to meet today s goals and tomorrow s needs.

CHAPTER 7 HARDWARE IMPLEMENTATION

LabVIEW and MatLab. E80 Teaching Team. February 5, 2008

PC-Based Human-In-the-Loop Simulation for Flight

Modeling and Simulation Made Easy with Simulink Carlos Osorio Principal Application Engineer MathWorks Natick, MA

MATLAB: Basics to Advanced

SMART BIRD TEAM UAS JOURNAL PAPER

Sikorsky S-70i BLACK HAWK Training

Module 2: Lecture 4 Flight Control System

Development of a Novel Low-Cost Flight Simulator for Pilot Training

E90 Project Proposal. 6 December 2006 Paul Azunre Thomas Murray David Wright

Model Based AOCS Design and Automatic Flight Code Generation: Experience and Future Development

UAV CRAFT CRAFT CUSTOMIZABLE SIMULATOR

Design of All Digital Flight Program Training Desktop Application System

MULTI AERIAL SYSTEM STABILIZED IN ALTITUDE FOR INFORMATION MANAGEMENT

Synthetic Aperture Radar (SAR) Imaging using Global Back Projection (GBP) Algorithm For Airborne Radar Systems

Digital Control of MS-150 Modular Position Servo System

Modeling a Hybrid Electric Vehicle and Controller to Optimize System Performance

Lab 2: Quanser Hardware and Proportional Control

30 DAY TRIAL READ MORE INSIDE INTRODUCTION TO. ProSim737. Professional Simulator Suite

Marine Robotics. Alfredo Martins. Unmanned Autonomous Vehicles in Air Land and Sea. Politecnico Milano June 2016

Laboratory set-up for Real-Time study of Electric Drives with Integrated Interfaces for Test and Measurement

FLCS V2.1. AHRS, Autopilot, Gyro Stabilized Gimbals Control, Ground Control Station

Massachusetts Institute of Technology Unmanned Aerial Vehicle Team

A New Perspective to Altitude Acquire-and- Hold for Fixed Wing UAVs

Addendum Handout for the ECE3510 Project. The magnetic levitation system that is provided for this lab is a non-linear system.

Artificial Neural Networks based Attitude Controlling of Longitudinal Autopilot for General Aviation Aircraft Nagababu V *1, Imran A 2

CATS METRIX 3D - SOW. 00a First version Magnus Karlsson. 00b Updated to only include basic functionality Magnus Karlsson

MathWorks Announces Built-in Simulink Support for Arduino, BeagleBoard, and LEGO MINDSTORMS NXT

Design of a Flight Stabilizer System and Automatic Control Using HIL Test Platform

U-Pilot can fly the aircraft using waypoint navigation, even when the GPS signal has been lost by using dead-reckoning navigation. Can also orbit arou

Mission Specific Embedded Training Using Mixed Reality

Real-Time Testing Made Easy with Simulink Real-Time

Design of Missile Two-Loop Auto-Pilot Pitch Using Root Locus

Autonomous Mobile Robot Design. Dr. Kostas Alexis (CSE)

A New Simulation Technology Research for Missile Control System based on DSP. Bin Tian*, Jianqiao Yu, Yuesong Mei

BLACKBOARD ARCHITECTURE FOR AN UNMANNED AERIAL VEHICLE CONTROLLER USING FUZZY INFERENCE SYSTEMS SWETHA PANDHITI

A Model-Based Development Environment and Its Application in Engine Control

STUDY OF FIXED WING AIRCRAFT DYNAMICS USING SYSTEM IDENTIFICATION APPROACH

DLR Project ADVISE-PRO Advanced Visual System for Situation Awareness Enhancement Prototype Introduction The Project ADVISE-PRO

Control Design Made Easy By Ryan Gordon

Implementation of Hardware-in-the-loop Simulation (HILS) Method for Control Engineering Education

Multiparadigm Design, Validation and Verification by Simulation in Flight Control System Development

3DExplorer Quickstart. Introduction Requirements Getting Started... 4

Creating High Quality Interactive Simulations Using MATLAB and USARSim

Real-Time AOCS EGSE Using EuroSim and SMP2-Compliant Building Blocks

COMPARATIVE STUDY OF PID AND FUZZY CONTROLLER ON EMBEDDED COMPUTER FOR WATER LEVEL CONTROL

VLA Experimental Resource for Testing Innovative Configurations and Lightings (VERTICAL)

International Journal of Advance Engineering and Research Development. Aircraft Pitch Control System Using LQR and Fuzzy Logic Controller

Based on the ARM and PID Control Free Pendulum Balance System

THE DEVELOPMENT OF A LOW-COST NAVIGATION SYSTEM USING GPS/RDS TECHNOLOGY

ELECTRIC MOTION SPECIALISTS

Institut Supérieur de l Aéronautique et de l Espace. Master of Science in Aerospace Engineering ISAE-SUPAERO

Microsoft ESP Developer profile white paper

Short Course on Computational Illumination

ABSTRACT. academia to warrant further research.

What's New in MATLAB and Simulink for Signal Processing? Daniel Aronsson, Application Engineer

Getting Started with EAA Virtual Flight Academy

CHAPTER 5 CONTROL SYSTEM DESIGN FOR UPFC

How to build an autonomous anything

SPACE. (Some space topics are also listed under Mechatronic topics)

FEATURES BENEFITS MUSE TM. Capabilities. Realistic Dynamic Simulation. Mission Scenario Development. Real-world Digital Terrain Database

AIRCRAFT CONTROL AND SIMULATION

Controller based Electronic Speed Controller for MAV Propulsion System

FRAUNHOFER INSTITUTE FOR OPEN COMMUNICATION SYSTEMS FOKUS COMPETENCE CENTER VISCOM

Overview of current developments in haptic APIs

DESIGN AND CAPABILITIES OF AN ENHANCED NAVAL MINE WARFARE SIMULATION FRAMEWORK. Timothy E. Floore George H. Gilman

Enhanced Vision System

Role of NI Products in Thermophysical & Optical Instrumentation

PROGRESS ON THE SIMULATOR AND EYE-TRACKER FOR ASSESSMENT OF PVFR ROUTES AND SNI OPERATIONS FOR ROTORCRAFT

Arduino Interfacing And Signal Processing By Yury Magda

MUSE FEATURES BENEFITS. Capabilities. Realistic Dynamic Simulation. Mission Scenario Development. Real-world Digital Terrain Database

SenseMaker IST Martin McGinnity University of Ulster Neuro-IT, Bonn, June 2004 SenseMaker IST Neuro-IT workshop June 2004 Page 1

EE25266 ASIC/FPGA Chip Design. Designing a FIR Filter, FPGA in the Loop, Ethernet

Transcription:

Desktop real time flight simulator for control design By T Vijeesh, Technical Officer, FMCD, CSIR-NAL, Bangalore C Kamali, Scientist, FMCD, CSIR-NAL, Bangalore Prem Kumar B, Project Assistant,,FMCD, CSIR-NAL, Bangalore A A Pashilkar, Group head Flight simulation, FMCD, CSIR-NAL, Bangalore 2012 The MathWorks, Inc. 1

Overview Introduction Aircraft model Control/AP design Pilot inputs and Code generation GUI design Visualization, data logging and plotting Integrating the components 2

Introduction Flight simulation is an essential tool in any aircraft development program. It is inevitable for control design and algorithm developments. It can also be used for pilot training purposes. Desktop based flight simulation eases implementation and validation of flight control strategies. Users can work within the same environment from the requirement analysis to the flight simulation and controller design and implementation This presentation brings the highlights of how a desktop flight simulator is developed at NAL for control design. 3

Role of flight simulation in aircraft design 4

Composition of flight simulation 5

DFS Applications Affordable aircraft simulator in all educational institutions imparting aerospace studies Aircraft autopilot control design and evaluation Guidance and navigation algorithm development Terrain data integrity studies Enhanced synthetic vision studies Human factor studies 6

DFS Aircraft Model Aircraft Simulation model is developed on MATLAB/Simulink platform. This includes: Six degrees of freedom equations of motion for aircraft dynamics Propulsion model Aerodynamic model Structural model Propulsion Airframe Atmospheric model Sensor model Pilot inputs Equations of Motion Sensor Model Pilot inputs Aerodynamics Stability 7

DFS Control/Autopilot design Control/Autopilot design is carried out using the linearised models obtained from the aircraft open loop simulation model. The control addressed in this presentation involves only proportional, proportional-integral and proportional-integral derivative control. The design and implementation of all autopilot modes are carried out in MATLAB/SIMULINK platform. Propulsion Airframe Joystick Equations of Motion Sensor Model Aerodynamics Stability Actuators Autopilot/Control Law 8

DFS Pilot inputs and code generation USB joystick is interfaced with the flight model. This is achieved using Analog Input block available in Real Time Windows Target toolbox. This block is configured as Standard Devices joystick Real Time Windows Target kernel is generated from the (closed loop aircraft) simulink model Windows RTWT Kernel Propulsion Airframe Joystick Equations of Motion Sensor Model Aerodynamics Stability Actuator s Autopilot/Control Law 9

DFS MATLAB SIMULINK MODEL 10

Why RTWT? Designers may find it difficult to use legacy codes for aircraft model and control algorithms in a real time simulation. RTWT provides features to run simulink and state flow models in real time on desktop or laptop PCs. The RTWT includes I/O device drivers to support an extensive selection of I/O boards (for e.g analog inputs/outputs from Analog devices, National Instruments data acquisition cards) and also UDP socket interfaces. This enables the designers to interface the system to sensors, actuators and other devices for experimentation, development and testing of the real time systems. 11

Graphical User Interface A Visual C++ based GUI is developed that enables code generation, loading the kernel and to control the simulation execution. GUI includes autopilot panel that interacts with the flight model in real time. MATLAB Engine API is used to interact with the model 12

Why Visual C ++ Graphical User Interface? MATLAB GUI with RTWT Crashes frequently Limited customization of instrument panels MATLAB provides APIs that can be used in C/C++ application Hence VC++ GUI is highly flexible for the present application 13

Instrumentation The Primary flight display is developed using VAPS XT and interfaced to the GUI. VAPS XT (Virtual Applications Prototyping System Extended) is a software tool for the rapid development of dynamic, interactive, real-time graphical Human Machine Interface(HMIs) OpenGL Viewport is created in MFC dialog and the VAPS object is loaded in to that viewport. 14

Visualization Out of the window visualization is required for the pilot to get the motion cues. Various COTS tools are available for visualization. To obtain a cost effective solution open source tools are used. For the present application, one could use flightgear. If customization is required one can resort to tools like OpenSceneGraph(OSG). In this work OSG based visualization software is developed. 15

Generation of Visual Images Generate the terrain database from height information and geo referenced ground textures. Modeling airport including runways and buildings Rendering - translating the virtual world for viewing from a particular view point - that of the pilot s eye-point and projecting 3D world on a 2D monitor screen by appropriate coordinate transformation. 16

Tools used for Visual Images The following tools are used for this application: GDAL (geo referencing the textures) VirtualPlanetBuilder (creating the terrain database) Presagis Creator (Airport 3D modeling) Delta3D (real time rendering) 17

Real time plotting and data logging Real time plotting and data logging is required for analysis. Real time plotting is achieved using QT. For data logging file write is performed in QT application. 18

Integrating the components to MATLAB environment Intercommunication between the above components are achieved by- RTWT UDP Block is added to the simulink model to communicate with the OTW visuals in real time. (Adding multiple UDP blocks slows down the communication) GUI will interact with the model using constant blocks and scope objects. (MATLAB GUI can use event listeners for getting data out from model) 19

Block diagram of DFS Windows MATLAB RTWT Kernel OpenSceneGraph visuals Joystick Propulsion Equations of Motion Airframe Sensor Model Aerodynamics Stability Actuators Autopilot/Control Law VC++GUI, VAPS PFD 20

Snapshot of DFS 21

Conclusions Cost effective desktop flight simulator is built around the MATLAB environment. Work exhibits capability of integrating several open source tools to MATLAB. Design evaluation and real time flying can all be performed in a single desktop PC. 22

Thank You 23