Rapid Prototyping a Two Channel Autopilot for a Generic Aircraft

Similar documents
Fokker 50 - Automatic Flight Control System

Digiflight II SERIES AUTOPILOTS

Operating Handbook For FD PILOT SERIES AUTOPILOTS

Classical Control Based Autopilot Design Using PC/104

Small Unmanned Aerial Vehicle Simulation Research

EMBRAER 135/145 Autopilot

SECTION 2-19 AUTOPILOT

17 Wellington Business Park Crowthorne Berkshire RG45 6LS England. Tel: +44 (0)

Dash8-200/300 - Automatic Flight AUTOMATIC FLIGHT CONTROLS AND INDICATORS. Page 1

Modeling and simulation of naval radar scenarios using imported target data in Adapt MFR and v software release notes

CHAPTER 5 AUTOMATIC LANDING SYSTEM

Hardware-in-the-Loop Simulation for a Small Unmanned Aerial Vehicle A. Shawky *, A. Bayoumy Aly, A. Nashar, and M. Elsayed

Digiflight II SERIES AUTOPILOTS

Post-Installation Checkout All GRT EFIS Models

Desktop real time flight simulator for control design

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

FlyRealHUDs Very Brief Helo User s Manual

AUTOMATIC FLIGHT CONTROL SYSTEM TABLE OF CONTENTS CHAPTER 4

Flight Detector Indicator

Flight control system for a reusable rocket booster on the return flight through the atmosphere

Multi-Axis Pilot Modeling

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

Operating Handbook. For. Gemini Autopilot

Operating Handbook. For. Gemini Autopilot

MGL Avionics. iefis. Integrated Autopilot. User and installation manual. Manual dated 14 November Page 1

Flight Dynamics AE426

Matlab/Simulink Tools for Teaching Flight Control Conceptual Design: An Integrated Approach

A Mini UAV for security environmental monitoring and surveillance: telemetry data analysis

This page is intentionally blank. GARMIN G1000 SYNTHETIC VISION AND PATHWAYS OPTION Rev 1 Page 2 of 27

Aerospace Sensor Suite

GPS Flight Control in UAV Operations

SkyView. Autopilot In-Flight Tuning Guide. This product is not approved for installation in type certificated aircraft

VOR/DME APPROACH WITH A320

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

Safety Enhancement SE (R&D) ASA - Research Attitude and Energy State Awareness Technologies

AUTOMATIC FLIGHT CONTROL SYSTEM TABLE OF CONTENTS CHAPTER 4

NAVIGATION INSTRUMENTS - BASICS

Module 2: Lecture 4 Flight Control System

Page Chg

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

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

Page Chg

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

UAV: Design to Flight Report

Page Chg

MGL Avionics EFIS. Integrated Autopilot. User and installation manual. Manual dated 24 May 2010

Cockpit Visualization of Curved Approaches based on GBAS

412 th Test Wing. War-Winning Capabilities On Time, On Cost. Lessons Learned While Giving Unaugmented Airplanes to Augmentation-Dependent Pilots

HAZARD AVOIDANCE. Displaying traffic on the Navigation Map. Displaying traffic information (PFD Inset Map):

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

Page Chg

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

GPS System Design and Control Modeling. Chua Shyan Jin, Ronald. Assoc. Prof Gerard Leng. Aeronautical Engineering Group, NUS

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

FAA APPROVED AIRPLANE FLIGHT MANUAL SUPPLEMENT FOR. Trio Pro Pilot Autopilot

AUTOMATIC FLIGHT CONTROL SYSTEM

AIRCRAFT AVIONIC SYSTEMS

Table of Contents. Introduction 3. Pictorials of the 40 and 50 Systems 4. List of Applicable Acronyms 6

Dash8 - Q400 - Autoflight

GRT Autopilot User Guide. All GRT EFIS Systems

and using the step routine on the closed loop system shows the step response to be less than the maximum allowed 20%.

New functions and changes summary

STC FLIGHT FUNCTIONAL TEST

NAVIGATION AND PITOT-STATIC SYSTEMS

Automatic Recovery and Autonomous Navigation of Disabled Aircraft After Control Surface Actuator Jam

FLIGHT DATA MONITORING

Recent Progress in the Development of On-Board Electronics for Micro Air Vehicles

STUDY OF FIXED WING AIRCRAFT DYNAMICS USING SYSTEM IDENTIFICATION APPROACH

Various levels of Simulation for Slybird MAV using Model Based Design

Tiny Flight Tracker & Viewer Manual

Instrument Flight Procedures - Glass Cockpits

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

Detrum MSR66A Receiver

How to Intercept a Radial Outbound

Flight Simulation for Tomorrow's Aviation

Steering a Flat Circular Parachute They Said It Couldn t Be Done

SD3-60 AIRCRAFT MAINTENANCE MANUAL

Neural Flight Control Autopilot System. Qiuxia Liang Supervisor: dr. drs. Leon. J. M. Rothkrantz ir. Patrick. A. M. Ehlert

GX Pilot Series Autopilots

Module 13 Aircraft Aerodynamics, Structures and Systems

The Pennsylvania State University. The Graduate School. College of Engineering

Design and Simulation of Flight Path Control Systems for CHARLIE Aircraft

Long Range Wireless OSD 5.8G FPV Transmitter

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

Improving Lunar Return Entry Footprints Using Enhanced Skip Trajectory Guidance

Page 1/10 Digilent Analog Discovery (DAD) Tutorial 6-Aug-15. Figure 2: DAD pin configuration

Design of Accurate Navigation System by Integrating INS and GPS using Extended Kalman Filter

302 VIBROENGINEERING. JOURNAL OF VIBROENGINEERING. MARCH VOLUME 15, ISSUE 1. ISSN

OughtToPilot. Project Report of Submission PC128 to 2008 Propeller Design Contest. Jason Edelberg

Implementation of Nonlinear Reconfigurable Controllers for Autonomous Unmanned Vehicles

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

Project Number: 13231

SMART BIRD TEAM UAS JOURNAL PAPER

FLIGHTZOOMER 2.0 NEW FEATURES

Flight-dynamics Simulation Tools

UNDERSTANDING LTE WITH MATLAB

Development of Hybrid Flight Simulator with Multi Degree-of-Freedom Robot

KAP 140 Two Axis with Altitude Preselect Operation

ELITE Operator s Manual

Intermediate Lateral Autopilots (I) Yaw orientation control

Transcription:

Rapid Prototyping a Two Channel Autopilot for a Generic Aircraft YOGANANDA JEPPU Head R&D Systems Moog India Technology Center MATLAB EXPO India 2014

The Team Atit Mishra Basavaraj M Chethan CU Chinmayi J Manjunatha L Rao Surya Karthik Vanishree Yogananda at flights 4 fantasy, forum mall MATLAB EXPO India 2014 2

Agenda What are autopilots Design Process Aircraft Model, Trims and Envelope Control Design Mode Transition Logic Code and Test 2 Channel Operation Demo I am not here to praise Matlab but its users who have done so much with it MATLAB EXPO India 2014 3

Take away How a small team has been able to design a full fledged two channel autopilot with all the modes in a time frame of 8 months How Matlab and Simulink and the user community has helped us achieve this task Some things we have given back to the community MATLAB EXPO India 2014 4

Autopilots MATLAB EXPO India 2014 5

Autopilot Autopilot system is a mechanical, electrical or hydraulic system used to guide an airplane with minimal or no assistance from the pilot. It also reduces the fuel consumption and increases flight safety. Flight Director is a navigational aid that is overlaid on the attitude indicator that shows the pilot of an aircraft the attitude required to follow a certain trajectory. MATLAB EXPO India 2014 6

Autopilot overview MATLAB EXPO India 2014 7

MSCP Mode Select Control Panel This is developed using Matlab UI and has a real time interface with the Simulink simulation. It has a record and playback capability for system tests MATLAB EXPO India 2014 8

PFD Primary Flight Display This is developed using the simple plot program and runs in real time displaying the Simulink data MATLAB EXPO India 2014 9

Autopilot Modes MATLAB EXPO India 2014 10

Vertical Modes PAH mode This is the basic autopilot mode in vertical axis. This mode holds the current pitch angle. Altitude Hold mode This mode holds the aircraft at the current altitude reference. Speed Hold mode This mode maintains the present airspeed. Vertical Speed mode This mode is used to automatically maintain the aircraft at a selected vertical speed (climb rate) reference. Altitude Select mode This mode captures the Selected Altitude. The 3 phases are, Arming, Capture and Hold. MATLAB EXPO India 2014 11

Lateral Modes RAH mode This is the basic autopilot mode in lateral axis. This mode holds the current roll angle of the aircraft. Heading Hold mode This mode is used to hold the heading of the aircraft. Heading Select mode This mode is used to turn towards the Selected Heading. MATLAB EXPO India 2014 12

Navigational Modes Go-Around mode The Go-Around mode is used transition from an approach mode to a climb mode when a missed approach occurs. Navigation VOR - This is a type of short-range radio navigation system for aircraft which defines the radials in space for tracking. MATLAB EXPO India 2014 13

Approach Modes Approach mode This mode is used to approach the runway. Glide-slope and Localizer modes assist in vertical and lateral guidance. MATLAB EXPO India 2014 14

Autothrottle and Yaw Damper An autothrottle mode is available to ensure that the engine maintains the speed or vertical speed reference. The yaw damper mode is also available to damp out the Dutch roll oscillation in yaw and maintain a low value of sideslip angle. In the yaw damper mode the commands are given to the rudder. These modes can be engaged with the main autopilot being off MATLAB EXPO India 2014 15

Design Process MATLAB EXPO India 2014 16

Linear Models Requirements Code Linear Control Test Non Linear Shaping Flight Envelope Simulations Deploy and Test MATLAB EXPO India 2014 17

Aircraft Model, Trim, Envelope Did you just trim my Aircraft Son? MATLAB EXPO India 2014 18

Aircraft Model Airlib by Giampiero Campa MATLAB EXPO India 2014 19

Aircraft Trim Equilibrium point is computed optimally for a specific velocity(mach) and Altitude Lift = Weight Thrust = Drag All rates and Accelerations = 0 MATLAB EXPO India 2014 20

Flight Envelope Mach MATLAB EXPO India 2014 21

Flight Envelope MATLAB EXPO India 2014 22

The FDC Toolbox M.O. Rauw MATLAB EXPO India 2014 23

Pitch Attitude Hold Continuous Control Model MATLAB EXPO India 2014 24

Rapid Prototyping fminsearch() MATLAB EXPO India 2014 25

Scheduled Gains MATLAB EXPO India 2014 26

Validation of Schedule Gains Scheduled gains validated against 1200 models in the flight envelope MATLAB EXPO India 2014 27

Digital PAH These models are the SDD Requirements from which the C code is hand coded. MATLAB EXPO India 2014 28

Mode Transition Logic Mode Transition table indicates the possible transitions from any operational mode to another mode due to an event. Event can be a software trigger or button press from the pilot. Condition table indicates the conditions that must be TRUE for the respective transition to occur. Conditions are tabulated in a separate table. MATLAB EXPO India 2014 29

Validated with Assertions Starting from a safe state the autopilot modes have to transition to a safe state. The correctness of the safe state is verified by reviews Violation of any assertion for all combination of states, triggers and conditions requires a redesign of that transition This amounts to 36,391,680 executions during the validation process. 2 days of weekend runs MATLAB EXPO India 2014 30

Code and Random Test MATLAB EXPO India 2014 31

C Code and Test Manual coding with the utility functions for the various blocks Build each block using the utility functions Test each block using the mex function Random sinusoidal waveforms for float signals and random toggles for Boolean signals used to test the C code with the Simulink models Overnight runs cleared the code MATLAB EXPO India 2014 32

UDP UDPIP by Giampiero Campa MATLAB EXPO India 2014 33

UDP X-planes Simulink X-plane 10 UDP by Mohamed Abdelkader MATLAB EXPO India 2014 34

Model in Loop Tests We have tried something new with the C code compiled as an exe and communicating with the Simulink model using UDP In a two channel operation we have two exe files communicating with each other and the expected result generated from the two channel stitched model MATLAB EXPO India 2014 35

Error plots MATLAB EXPO India 2014 36

Errors Moog does hand coding therefore there are going to be errors. Testing finds them! Lookup table data mismatch in the 4 th decimal place Logic errors between the model and code Input not connected properly in the model Initialization errors first frame Errors in mode transition One frame delays due to call order errors MATLAB EXPO India 2014 37

Two Channel Operation MATLAB EXPO India 2014 38

Cross Channel Sync Logic Channel A Increment Self Heart Beat HB Transmit Heart beat via CCDL HB Compute and hold offset when Both the channels are up Compute offset and compare with held offset Declare Sync if Offset = held offset Channel B Increment Self Heart Beat Declare Fail if offset!= Held offset MATLAB EXPO India 2014 39

Demo MATLAB EXPO India 2014 40

Google Maps plot_google_map - by Zohar Bar-Yehuda MATLAB EXPO India 2014 41

Real time simulation Simulink Real Time Execution - by Guy Rouleau MATLAB EXPO India 2014 42

Matlab UI Interface Simulink Signal Viewing using Event Listeners and a MATLAB UI - by Phil Goddard MATLAB EXPO India 2014 43

GPS Navigation Black is desired track. Each leg is 100 Km Red is aircraft trajectory Latitude (Deg) 39 38.8 38.6 38.4 38.2 38 37.8 37.6 37.4-124 -123.5-123 -122.5-122 -121.5-121 -120.5 Longitude (Deg) MATLAB EXPO India 2014 44

GPS Navigation 37.86 37.84 37.82 37.8 Latitude (Deg) 37.78 37.76 37.74 37.72 37.7 37.68 37.66-122.65-122.6-122.55-122.5-122.45-122.4-122.35-122.3-122.25-122.2 Longitude (Deg) MATLAB EXPO India 2014 45

Matlab Toolboxes We used these toolboxes for our design Matlab and Simulink Control System Toolbox Aerospace Blockset Real Time Coder MATLAB EXPO India 2014 46

Our Contributions We have tried to give back to the Matlab community. It has made a moderate impact going by the download rate and comments MATLAB EXPO India 2014 47

Safety Critical Blocks Safety Critical Control Elements Examples - by Chethan C U MATLAB EXPO India 2014 48

Random Signal Generation Random Signal Generationby Chethan C U MATLAB EXPO India 2014 49

Testing Safety Critical Systems Testing of Safety Critical Control Systems - by Yogananda Jeppu MATLAB EXPO India 2014 50

Final Words The idea is to try to give all the information to help others to judge the value of your contribution; not just the information that leads to judgment in one particular direction or another. - Richard P. Feynman Finally - Thank you Mathworks for making this possible jyogananda@moog.com MATLAB EXPO India 2014 51

Video 3 Mins. Questions? MATLAB EXPO India 2014 52