Ohiou1090939388.Pdf (573.32
Total Page:16
File Type:pdf, Size:1020Kb
A RE-CONFIGURABLE HARDWARE-IN-THE-LOOP FLIGHT SIMULATOR A thesis presented to the faculty of the Russ College of Engineering and Technology of Ohio University in partial fulfillment of the requirements for the degree Master of Science Eric Root June 2004 This Thesis Entitled A RE-CONFIGURABLE HARDWARE-IN-THE-LOOP FLIGHT SIMULATOR BY ERIC ROOT has been approved for the School of Electrical Engineering and Computer Science and the Russ College of Engineering and Technology by Maarten Uijt de Haag Assistant Professor of Electrical Engineering and Computer Science R. Dennis Irwin Dean, Russ College of Engineering and Technology ROOT, ERIC. M.S. June 2004. EECS A Re-Configurable Hardware-in-the-Loop Flight Simulator (70pp) Director of Thesis: Maarten Uijt de Haag This thesis describes the development of a fixed base flight simulator capable of hardware-in-the-loop testing of aviation electronics, or “avionics”. The system is composed of a pilot controlled 6 degree-of-freedom aircraft model, a flight display, and a hardware interface to an ARINC 429 avionics databus. Avionics can be connected to this databus for testing. These systems are combined in a modular fashion allowing easy re- configuration for use with various aircraft models, and testing of avionics using databuses other than ARINC 429. This modular design is achieved by using an aircraft model constructed in Matlab’s Simulink, and by relaying the model data to the display and ARINC 429 interface using the UDP network protocol. Approved: Maarten Uijt de Haag Assistant Professor of EECS Acknowledgments I would like to thank Dr. Maarten Uijt de Haag, whose help and guidance made my completion of this thesis and the associated project possible. I would also like to thank Dr. William Kaufman for serving as my college representative, and Dr. James Rankin and Dr. Douglas Lawrence for serving on my thesis committe. Furthermore, I would like to thank Joris Koeners and Dr. Erik T Theunissen from Delft University of Technology for their help in providing me with the necessary insight in the DELPHINS software. Dedication I dedicate this thesis to my wife, Melanie, who keeps me going with her support, patience, and love. I dedicate it to my parents, who have always been there to do the same. And I dedicate it to Melanie’s family, who have been there to do so both directly and through Melanie. 6 Contents Abstract...............................................................................................................................3 Acknowledgments ..............................................................................................................4 Dedication ...........................................................................................................................5 List of Figures.....................................................................................................................8 List of Tables ....................................................................................................................10 List of Abbreviations .......................................................................................................11 Chapter 1 Introduction....................................................................................................13 1.1 Avionics ...................................................................................................14 1.2 Aircraft databuses ....................................................................................14 1.3 Flight simulators ......................................................................................16 1.4 Thesis overview .......................................................................................19 Chapter 2 Hardware-in-the-Loop ..................................................................................21 2.1 Existing implementations.........................................................................21 2.2 Goals for this project................................................................................23 Chapter 3 DELPHINS display........................................................................................26 3.1 Application of DELPHINS display .........................................................28 7 3.2 Data transmission ....................................................................................28 Chapter 4 Aircraft model................................................................................................31 4.1 RCAM......................................................................................................32 4.2 Model frames of referance.......................................................................34 4.3 RCAM and Simulink ...............................................................................35 4.4 Real-Time Windows Target.....................................................................37 4.5 Joystick ....................................................................................................37 4.6 Flight-data conversions............................................................................40 4.7 Data transmission.....................................................................................42 4.8 Simulink model overview........................................................................43 Chapter 5 ARINC transmission .....................................................................................46 5.1 Simulink-to-ARINC interface..................................................................46 5.2 ARINC 429 ..............................................................................................48 5.3 The CEI-520.............................................................................................52 5.4 Condor transmission application .............................................................55 Chapter 6 Operation and verification............................................................................58 6.1 Operation..................................................................................................58 6.2 Verification ..............................................................................................61 6.3 Re-configuration ......................................................................................62 Chapter 7 Summary, conclusions, and recommendations...........................................65 Bibliography .....................................................................................................................67 8 List of Figures 1.1 VMS flight simulator exterior and cockpit ..................................................................17 1.2 MOTUS 6 series flight simulator and cockpit .............................................................18 1.3 Micorsoft Flight Simulator 2004 (left) and FlightGear (right) ....................................19 2.1 MFS cockpit exterior and interior................................................................................23 2.2 RT-Lab’s Testflight system and intrument display .....................................................23 2.3 Overall system organization ........................................................................................25 3.1 DELPHINS PFD (right) and ND (left) ........................................................................27 3.2 UDP structure...............................................................................................................29 3.3 System organizaion with display .................................................................................30 4.1 Coordinate frames for RCAM .....................................................................................35 4.2 RCAM model interface................................................................................................36 4.3 Joystick input conversions ...........................................................................................40 4.4 Distance for one degree of latitude ..............................................................................42 4.5 Distance for one degree of longitude...........................................................................42 4.6 DELPHINS IP data dialog box....................................................................................43 4.7 Full Simulink system ...................................................................................................45 5.1 ARINC 429 data word structure ..................................................................................48 5.2 Label encoding examples.............................................................................................49 5.3 Example of BCD word.................................................................................................50 5.4 BNR data encoding example .......................................................................................51 5.5 Bit ordering fo CEI-520 transmission..........................................................................54 6.1 Entries in STATIONS.CFG configuration file ............................................................60 9 6.2 JcAIR databus analyzer................................................................................................62 10 List of Tables 4.1 RCAM inputs...............................................................................................................33 4.2 RCAM states................................................................................................................33