Flight Control System Software Design for Small-Scale UAVs Based on μC/OS-II
- Author
- JiangYinQing
- Advisor
- LiChunTao
- School
- Nanjing University of Aeronautics and Astronautics
- Major
- Control Theory and Control Engineering
- Classification
- V249.1 Flight control
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 219
- Citations
- 11
Abstract
A flight control and management software for a small UAV (Unmanned Aerial Vehicle) based on ARM architect andμC/OS-Ⅱis designed in this paper. Its aim is to provide software platform for demonstrations of integrated bus-architecture flight control technology.The scheme of software is developed according to functional requirements of flight control software. With the consideration of software function and performance, the whole flight control software is divided into eight parts to guarantee the clarity, the extendibility and the maintainability for the whole software. According to the scheme, board support package(BSP) and application driver program is designed and developed based onμC/OS-Ⅱto complete the goal hardware initialization,A/D sampling,the serial port communication and CAN bus communication. In addition, highly effective and simplified interrupt service routine is designed using the IRQ interrupt managed byμC/OS-Ⅱ, which enhanced real-time performance of software.With the foundation of hardware driver and in view ofμC/OS-Ⅱoperating system multi-duty mechanism, nine tasks such as the control law task etc. is developed to solve key technologies including fixed point computation on ARM processor, function reenterability, task behavior synchronization and task resources synchronization, and it has realized automatic control of UAV for entire flight process from take-off to landing. Based on the differences between target machine and development board, software is transplanted to target machine by setting H-JTAG, FLASH and the dispersion load description document.At last, the experiment is carried out for evaluating of entire performance and the functional of the software under LabVIEW real-time simulation system. The results show the whole system is qualified for the design requirements.
Table of contents
Abstract 4-5
ABSTRACT 5-13
first chapter 13-17
1.1 purpose and significance of 13 < br /> 1.2 research status and problems to be solved 13-16
1.2.1 Situation abroad 13-15
1.2.2 intends to address the key issues 15-16
1.3 summary of this research work 16-17
Chapter ΜC/OS- Ⅱ -based flight control software overall design 17-21 < br /> 2.1 flight Control software features Overview 17
2.2 flight control software design 17-18
2.3 flight control software development platform to build 18-20 < br /> 2.3.1 software development platform to build 18-19
2.3.2 μC/OS- Ⅱ operating system EASYARM2200 the transplant 19-20
2.4 chapter Summary 20-21
Chapter ΜC/OS- Ⅱ -based flight control software driver design 21-30
3.1 target system initialization 21-23 < br /> 3.1.1 ARM startup code 21-22
3.1.2 ARM boot process 22-23
3.2 application Layer driver Development 23-26
3.2.1 serial driver design 23-24
3.2.2 A / D driver design 24
3.2.3 CAN bus driver design 24-26
3.3 interrupt service routine design 26-29
3.3.1 interrupt priority arrangements 26-27
3.3.2 design of the interrupt service routine 27-29
3.4 Summary 29-30
Chapter ΜC/OS- Ⅱ -based flight control software application design 30-43 <br / > 4.1 flight control software task analysis 30-33
4.1.1 task partitioning 30-31
4.1.2 task priority arrangements 31 - 32
4.1.3 data communication between tasks 32-33
4.2 flight control software, the task of detailed design 33-42
4.2.1 scheduling administrative tasks 33-34
4.2.2 GPS data receiving task 34-35
4.2.3 CAN bus data receiving task 35
4.2.4 A / D channel data acquisition task 35-36
4.2.5 route management tasks 36-37
4.2.6 navigation tasks 37
4.2.7 control law mission 37-41
4.2.8 remote task 41
4.2.9 telemetry mission 41-42
4.3 chapter Summary Chapter 42-43
flight control software porting and curing 43-50
5.1 target board hardware resources introduced 43-44
5.2 breadboard and objectives board resource similarities and differences 44
5.3 software to the target board transplant 44-47
5.3.1 dual CPU H-JTAG setting 45 <br / > 5.3.2 program load Settings 45
5.3.3 add drivers 45-47
5.4 software curing 47-49
5.5 chapter Summary 49-50
Chapter VI software integration testing 50-63
6.1 software performance testing 50-54
6.1.1 μC/OS- II real-time performance test 50-52
6.1.2 task performance test 52-54
6.2 flight semi-physical simulation platform to build 54-55 <br / > 6.3 semi-physical simulation test flight validation 55-62
6.3.1 software simulation of the module verification 56-59
6.3.2 fully autonomous flight simulation 59-62
6.4 Chapter Summary 62-63
Chapter Summary and Outlook 63-67
7.1 this paper summarizes the research work 63 < br /> 7.2 this article features 63-64
7.3 topics of the problems encountered and solutions 64-65
7.4 for further research work 65 -67
References 67-70
Thanks 70-71
during the study period and the results of research papers published 71
Related dissertations
- Application Research of Data Acquisition Platform Based on ARM and μC/OS-Ⅱ
- The Research and Design of Infrared Sensor Monitoring System Based on STM32
- Design and Realization of Eco-hydrological Data Acquisition System Based on SDI-12Interface
- Wireless environmental monitoring system based on multi sensor data fusion
- The Design and Implementation of SIP Based Managing and Control System for Smart Electricity
- Design and Implementation of Ethernet Transfer Based on ARM
- The Research and Implementation of Embedded TCP/IP Stack Based on F28M35HX
- The Artillery Battlefield Environment Information Management System Research and design
- Design of Wireless Sensor Network System Based on Multi-sensor
- Design and Implementation of Video Transmission System in Underground Coal Mine Based on WiFi Technology
- Study of Automatic Bus Transfer System for Substation Based on ARM
- Research on the Design and Control Method of Electric Vehicle Charging Pile
- Design and implementation of embedded software of high frequency charger
- Research on Battery Management System for Hybrid Electric Bus
- A Large Parking Area Guidance System Based on STM32
- Study on Maneuvering Penetration, Guidance and Control Problems for Ballistic Missile
- Reserch on Optimal Controller Design for UAV
- Design of Intelligent Four Aircraft with Automatic Obstacle Avoidance System
- Research on the Flight Control System of Quad Tilt Rotor's Helicopter Mode
- Flight Control System for Small UAVs Based on VxWorks