The Design and Establishment of the SUAV Autopilot Development Board Based on Homemade CPU

Author
LiXiaoGuang
Advisor
ChangZuo , ZhangLiJie
School
Inner Mongolia University of Technology
Major
Applied Computer Technology
Classification
V249 Flight control system and navigation
Degree
Master's thesis
Year
2007
Downloads
201
Citations
0

Request the full text

Abstract

At the present, SUAV (Small Unmanned Aerial Vehicle) plays more and more important role in the military and civil field, but the core control chip of the SUAV Autopilot is not homemade, which limits its application immensely. So, it is essential to design SUAV Autopilot based on homemade CPU.This thesis derives from SUAV Autopilot based on homemade CPU project in IMKLEMC(Inner Mongolia Key Laboratory of Electro_Mechanical Control). The Arca GT2000 architecture is analyzied, and ArcaFlying2 development board is realized in this thesis. Through researching Arca instruction set and relative development kits, the questions are solved, including how to write a program with Arca Assembly and C,how to access GT2000 registers with C program,how to debug flash program, how to write interrupt program and so on. On this base, through designing Bootloader program, system interrupt structure, arrangement memory method and function library for ArcaFlying2, an expandable, maintainable development platform is built.In addition, in order to design a control system for the SUAV Autopilot based on homemade CPU project, GPS module, digital compass HMR3300 module and servo system are connected with ArcaFlying2, and drive program is designed respectively to every module in this thesis. At last, by the experiment of automaticaly driving the small car with designed system in this thesis, not only the function of the development platform is validated, but also the control algorithm of SUAV autopilot is studied elementarily.

Table of contents

Abstract 3-4 Abstract 4-9 The first chapter 9-13 1.1 project background 9-10 1.2 small UAV autopilot system components 10-11 1.3 content of this study 11-12 1.4 thesis is organized 12-13 Chapter Ark GT2000 hardware resources and how to use 13-31 2.1 GT2000 performance characteristics 13-14 2.2 Ark instruction set 14-16 2.2.1 Ark basic instruction set 14-15 2.2.2 Fangzhou Hong compilation instructions and opcodes 15-16 2.3 Exception Handling 16-19 2.3.1 Exception Type 16-17 2.3.2 Exception Control Registers 17-18 2.3.3 Exception vector 18-19 2.3.4 Exception processing 19 2.4 memory management unit (MMU) 19-22 2.4.1 address mapping 19-21 2.4.2 MMU control register 21-22 2.5 Interrupt Controller (INTC) 22-26 2.5.1 Interrupt Control Register Settings 22-23 2.5.2 External Interrupt setting 23-24 2.5.3 Interrupt Control analysis 24-26 2.6 Clock Generation Unit (CGU) 26-30 2.6.1 CGU system architecture 26-27 2.6.2 clock frequency control register (CFCR) 27-28 2.6.3 Clock setting method 28-30 2.7 Summary 30-31 The third chapter is based on the Ark of the CPU software programming, compiling, and debugging method 31-39 3.1 Ark cross compiler tool chain 31-34 3.1.1 cross compiler tool chain Introduction 31 3.1.2 Ark cross compiler tool chain installation and establish 31-32 3.1.3 Ark cross compiler tool chain to use 32-34 3.2 software debugging method 34-35 3.2.1 Using the JTAG debugging tools 34 3.2.2 design debug function 34-35 3.3 CPU based on the Ark of the c language and assembly language programming methods nested 35-37 3.3.1 c assembler language subroutines called methods 35-36 3.3.2 c program inline assembler 36-37 3.4 data types 37-38 3.5 Summary 38-39 Chapter ArcaFlying2 development board design and debug 39-49 4.1 ArcaFlying2 development board overall structure 39-40 4.2 Debug Interface Module (JTAG) 40-42 4.3 storage system design 42-44 4.3.1 FLASH module 42-43 4.3.2 SRAM module 43-44 4.4 peripheral circuit design 44-45 4.4.1 UART module 44 4.4.2 LED test light 44-45 4.5 start the clock, boot mode and configuration data organization format 45-47 4.5.1 hardware circuit design 45 4.5.2 configuration 45-47 4.6 ArcaFlying2 development board debugging 47 4.6.1 FLASH debugging 47 4.6.2 LED lights and general I / O port debugging 47 4.6.3 UART1 and UART2 debugging 47 4.7 Chapter Summary 47-49 Chapter flight control system software development platform to build 49-63 5.1 software development platform source system 49-50 5.2 bootloader initialization design 50-53 5.3 software system interrupt structure 53-55 5.4 storage organization 55-56 5.5 Arcaflying2 library design and implementation 56-62 5.5.1 Exception routine function 56-57 5.5.2 interrupt related functions 57-58 5.5.3 General Purpose I / O port operation function 58-60 5.5.4 timer operation function 60-62 5.5.5 register output function 62 5.6 Chapter Summary 62-63 Chapter UAV control system peripherals driver design 63-81 6.1 GPS, HMR3300 data collection 63-72 6.1.1 GT2000 serial communication 63-68 6.1.2 GPS data packet receiving and decoding 68-71 6.1.3 HMR3300 packet reception 71-72 6.2 servo control and drive 72-78 6.2.1 Basic Principle and servo control method 72-73 6.2.2 servos based ArcaFlying2 peripheral control circuit design 73-74 6.2.3 servo control software design 74-78 6.3 remote control car to achieve autonomous driving 78-80 6.3.1 experimental system structure 78 6.3.2 Control algorithm design 78-80 6.4 Chapter Summary 80-81 Chapter Summary and Outlook 81-83 7.1 Full Summary 81-82 7.2 Prospects 82-83 References 83-84 Appendix 84-89 break into the debugger 84-85 LED lights and I / O port debugger 85-86 UART debugger 86-89 Appendix II 89-97 instruction format 89-90 instruction details 90-97 Thanks 97-98 during the reading research 98-99 Author 99

Related dissertations

  1. Damping Actuator and Autopilot Design of BTT Missile
    ZhangZhuo ·Harbin Institute of Technology ·2012 ·Master's thesis
  2. Research on Finite-time Convergent Sliding-mode Guidance Law
    ZhangYunXi ·Nankai University ·2013 ·Doctoral dissertation
  3. Automatic driving gain scheduling method in the design of control parameters of the instrument
  4. Mini UAV Ground Station System Design and Reseach Based on LaBVIEW
  5. Research on the Longitudinal Inner Loop Configuration in ACLS
    DongRan ·Harbin Engineering University ·2013 ·Master's thesis
  6. Design of Vehicle Autopilot Control System
    XuZhaoSheng ·Anhui University ·2012 ·Master's thesis
  7. Study on Test and Simulation System of Ship Autopilot
    HanHeTai ·Dalian Maritime University ·2012 ·Master's thesis
  8. Design of the Data Link System and Reseach on Simulation Platform of Small Unmanned Helicopter
    LeiLiDong ·South China University of Technology ·2012 ·Master's thesis
  9. The Research of Ship Heading Dynamic Sliding Variable Structure Control System
    ZouJian ·Chongqing University ·2012 ·Master's thesis
  10. Guidance for Endo-atmosphiric TBM Interceptros
    TangZhiWei ·Harbin Institute of Technology ·2013 ·Master's thesis
  11. Guidance Laws of Homing Missiles Based on Dynamic Surface Control
    QuPingPing ·Harbin Institute of Technology ·2013 ·Doctoral dissertation
  12. Design and Research on μ-Synthesis Controller of Air-to-Air Missile
  13. The Miniaturization Design of Autopilot
  14. Small Gas Helicopter Autopilot Design
  15. Research of Control System of Autopilot for Unmanned Aerial Vehicle
    SunBo ·Harbin Engineering University ·2012 ·Master's thesis
  16. Design of Autopilot for Unmanned Airship Based on RT-Linux
    HuYanXiong ·Shanghai Jiaotong University ·2013 ·Master's thesis
  17. Research on Control System of High-Altitude Long-Endurance UAV
    XieZuo ·Hunan University ·2011 ·Master's thesis
  18. Research of Struction’s Autopilot Simulation of Unmanned Aerial Vehicl
  19. Unmanned Aerial Vehicle Flight Attitude Detection and Control Research
    HuZhanShuang ·Shenyang Aerospace University ·2013 ·Master's thesis
  20. Research on Indoor Airship Autopilot
    LiuChengQiang ·Shenyang Aerospace University ·2012 ·Master's thesis