Hardware-in-the-Loop Simulation for UAV Based on MATLAB

Author
SongZuo
Advisor
ZuJiaKui
School
Nanjing University of Aeronautics and Astronautics
Major
Navigation,Guidance and Control
Classification
V227 Control system
Degree
Master's thesis
Year
2008
Downloads
543
Citations
5

Request the full text

Abstract

Recently, Unmanned Aerial Vehicle(UAV)and its flight control technology have drawn considerable attention, due to their promising benefits in both civilian and military applications. This field has been studied quite extensively in the recent years. The advanced control system is the key of improving system performance, security and efficiency. Hardware-in-the-loop simulation provides us a good means to recognize problems as early as possible in the developing process of UAV flight control system. Simultaneity, such a control system testing environment also provides a technical means to optimize its hardware and software under real-time conditions.According to the characteristics and new technical requirements of UAV flight control system, this thesis is engaged in researching on the hardware-in-the-loop simulation techniques of UAV flight control system based on MATLAB.This paper elaborated the essential technology and the realization method based on host PC and target PC model which can be established to provide the functions such as flight control system hardware-in-the-loop simulation platform. Firstly, system is established by Simulink; then, the RTW and the xPC Target toolboxes based on MATLAB are adopted to translate these models into real-time codes, and to construct the hardware-in-the-loop simulation platform through the actual hardware I/O interface; Finally, an actual system of hardware-in-the-loop simulation for a certain UAV is developed and realized, the results is presented, which is also validating the excellent performances of the simulation system.The results of its simulation, prove that the technique of hardware-in-the-loop simulation via Matlab is available and feasible for flight control system of UAV. This technique can transform PC into the real-time system, and takes it as the realization platform of flight control system, it also has the characteristics of general, fast, extendible, low cost, and so on. The successful research of this technique has a significant project and application values in flight control system simulation of UAV.

Table of contents

Abstract 4-5 Abstract 5-17 first chapter 17-27 1.1 Introduction 17 1.2 system simulation technology 17-19 1.2.1 System Simulation Overview 17-18 1.2.2 hardware in the loop simulation Research 18-19 1.3 UAV flight control system simulation technology needs 19-22 1.3.1 on the flight control system design of the proposed new requirements 19-21 1.3.2 UAV flight control system simulation technology roadmap 21-22 1.4 MATLAB-based hardware-in-the-loop technology 22-25 1.4.1 Technical feasibility and advantages 23-25 1.4.2 research status 25 1.5 this research work Summary 25-27 Chapter II system design 27-35 2.1 Introduction 27 The programs 2.2 Background research objectives and technical goals 27-28 2.2.1 program design background and research objectives 27 2.2.2 technical objectives 27-28 2.3 hardware implementations of the loop 28-31 2.3.1 stand-alone mode The 28 2.3.2 double machine mode 28-29 2.3.3 multi-machine mode 29-31 2.4 technology to achieve the main content and key points 31-33 2.4.1 object characteristics model 31-32 2.4.2 equivalent flight control technology 32 2.4.3 hardware interface technology 32 2.4.4 Real-time communication technology 32-33 2.4.5 Real-time embedded code generated 33 2.4.6 real-time simulation requirements 33 2.5 simulation system verification program 33-34 2.6 This chapter Summary 34-35 Chapter modeling and implementation of object properties 35-46 3.1 Introduction 35 3.2 UAV nonlinear mathematical model (Anglo-American coordinate system) 35-39 3.3 aerodynamic force / torque calculation 39 the modeling 3.4 MATLAB environment to achieve 39-41 3.5 UAV modeling technology 41-44 3.5.1 C MEX S-Function implementation technology 41-42 UAV 3.5.2 Simulink model library 42-43 3.5.3 UAV model to achieve 43-44 3.6 sensor executing agency simulation technology 44-45 3.7 This chapter Summary 45-46 equivalent flight control implementation techniques 46-55 4.1 Introduction 46 the achieve content of 4.2 equivalent flight control technology 46-52 4.2.1 Flight Management System 48-49 4.2.2 mission management 49-50 4.2.3 flight control law 50-52 4.2.4 Input / output interface 52 4.3 equivalent flight control technology implementations 52-54 4.3.1 Equivalent fly control functions into software modules 53 4.3.2 Human Interface 53-54 4.4 This chapter Summary 54-55 the the the xPC goal I / O interface technology 55-65 5.1 Introduction 55 5.2 xPC Target I / O interface types 55-56 5.2.1 ISA bus devices 55-56 5.2.2 PCI bus devices 56 5.3 xPC Target I / O interface to achieve principle and use instructions 56-58 5.3.1 xPC Target under the composition and function of the device driver modules 56-57 5.3.2 device driver modules to achieve the main function 57 5.3.3 device driver modules 57-58 5.4 custom device driver achieve 58-61 5.4.1 implementation process of self-defined device drivers 58-59 5.4.2 DAQ device 59-60 5.4.3 Multiport Serial device 60-61 5.5 simulation implementation and testing of the system I / O interface library 61-64 5.6 xPC Target I / O interface functionality extensions 64 5.7 This chapter Summary 64-65 Chapter VI system integration and embedded process 65-85 6.1 Introduction 65 6.2 system integration 65-71 6.2.1 system integration 65-66 6.2.2 hardware interface 66-71 6.3 extensions 71-76 6.3.1 MATLAB-based software testing and remote telemetry 71-73 6.3.2 VC-based testing and remote telemetry software 73-74 6.3.3 MATLAB-based virtual reality functions 74-76 6.4 embedded achieve foundation 76-80 6.4.1 MATLAB RTW System Overview 77-78 the steps 6.4.2 Simulink simulation 78 6.4.3 of real-time operating 78-80 the the 6.5 embedded code running and monitoring 80-84 6.5.1 xPC Target kernel start 80-82 6.5.2 embedded code to download and run 82-84 the the 6.5.3 target in code monitoring 84 6.6 Chapter Summary 84-85 Chapter VII system testing and validation 85-97 7.1 Introduction 85 7.2 build test platforms 85-90 7.2.1 System Configuration 85 7.2.2 system initial setup 85-87 7.2.3 Simulink system model 87-89 7.2.4 on the target program monitoring and data acquisition 89-90 7.3 simulation, test 90-94 7.3.1 pure digital 90-91 7.3.2 double machine mode 91-92 7.3.3 multi-machine mode 92-94 7.4 Simulation results analysis 94-96 7.4.1 Simulink pure digital simulation test 94 7.4.2 xPC Target Dual mode the target interface shorting simulation test 94-95 7.4.3 xPC Target multi-mode hardware in the loop simulation test 95 7.4.4 authentication scheme, a comprehensive analysis of 95-96 7.5 Chapter Summary 96-97 Chapter VIII Summary and Outlook 97-99 8.1 this study summarizes 97-98 8.2 follow-up research outlook 98-99 the References 99-102 Acknowledgements 102-103 papers published during the study period 103-104 Appendix 104-107

Related dissertations

  1. Research on a Small Short-range UAV Flight Control System
    HuangYi ·Nanchang University of Aeronautics and ·2013 ·Master's thesis
  2. Fault diagnosis expert system for UAV flight control system design
  3. UAV Flight Control Design and Cooperative Ground Moving Target Engagement Study
    LiXiaoJun ·Harbin Institute of Technology ·2013 ·Master's thesis
  4. Research on Dynamic Detection Hardware-in-the-loop Simulation Platform of UAV Flight Control System
  5. A Design for UAV Flight Control System and Research on Real_time Path Planning
  6. The Design for UAV Flight Control System Based on DSP
  7. Research on Fault-tolerance in Flight Control for UAVs
  8. Research and Design on Distributed Automatic Test System of Unmanned Aerial Vehicle
  9. Takeoff and landing technology research -based the decimetric guide the UAV automatically
  10. Small unmanned reconnaissance aircraft flight control system for real-time software design and flight test research
    HaoFei ·Northwestern Polytechnical University ·2006 ·Master's thesis
  11. Research on Muti-sensor Information Fusion Technology of Flight Control System
  12. Rapid Prototype Design for Flight Control Software of UAV Based on xPC Target
  13. Research on Hardware-in-the-loop Simulation Platform Based on Embedded Real-time Linux for UAV
  14. Synthetic Design and Realization of the Flight Control and Ground Test Systems of Unmanned Aerial Vehicles
  15. Uav Flight Simulation Soft Design and Validation
    QuMingHang ·Jilin University ·2010 ·Master's thesis
  16. Based on Design Pattern MBIT UAV Flight Control System Design and Implementation
  17. UAV flight control system of intelligent fault diagnosis expert system design
  18. Design of Arbitrage Strategy Based on Stock Index Futures
  19. The Design of Automatic Fire Control System Based on Hardwarc-in-the-loop-simuiation
  20. Research of Dspace-based HIL Simulation System