Design of an Attitude Detecting System Based on GMR Sensor

Author
LinYaKun
Advisor
QianZhengHong
School
Hangzhou University of Electronic Science and Technology
Major
Circuits and Systems
Classification
TN966 Navigation systems of the various institutional
Degree
Master's thesis
Year
2014
Downloads
8
Citations
0

Request the full text

Abstract

The accurate measurement of vehicle attitude plays an important role in aerospace, robotics,navigation, human motion analysis and human-computer interaction etc. The traditional electroniccompass can accurately measure the vehicle attitude information in the static environment,including the head angle, the pitch angle and the roll angle. Using electronic compass to measurevehicle attitude has poor measurement precision and noise problem in the dynamic environment,because electronic compass is easily affected by the acceleration. Gyroscope has the advantages ofhigh frequency response, so it can track the changes of carrier well. So the gyroscope can be used asthe main sensitive device in the attitude detecting system.AHRS is a traditional attitude detecting system for the aviation and aerospace field, whichusually uses the high precision fiber optic gyro and laser gyro as the main inertial device. Thecharacteristics of the system are high measurement accuracy, large volume and high price,respectively. The above characteristics finally caused that it can be only used in the military field,but not promoted in the civilian field. Nowadays, as the emergence of inertial gyroscope based onMEMS, the novel GMR sensor and microcontroller, it is possible to design an attitude detectingsystem with characteristics of miniaturization, low power consumption, high integration.Under the background of the strong demand of such an attitude detecting system in the civilianfield, the system which uses STM32as the core processor and inertial gyroscope MPU6050basedon MEMS, a triaxial GMR sensor as the sensing element are designed. The microcontroller STM32is used for processing date, executing data fusion algorithm and calculating the attitude informationof the vehicle. Then STM32outputs the attitude information of vehicle to3D attitude displaysoftware on the host computer through the serial port. In this way the researcher can intuitivelyobserve the change of attitude information of the vehicle in real time. Meanwhile, it can provideevidences for the control of the vehicle in the next step.This paper mainly studies the basic principle and method of attitude measurement basedon inertial technology. By comparing the Euler method, direction cosine method and quaternionmethod with which we can give a description about attitude information, we determine to usequaternion method as the expression method of attitude information. This paper derives the datafusion method based on quaternion and attitude calculation method and gives the magnetic fieldcompensation method for magnetic field data used before. Finally, the system’s static testing, jittertesting, stability testing and the accuracy of the test data show two results. Firstly, data fusionprogram and the attitude measurement system can correct the gyro drift effectively. Compared with the electronic compass, the system has better anti-jitter performance, which will be more suitablefor dynamic vector attitude measurement. Secondly, in static environment, heading anglemeasurement error is less than1degree. Pitch angle and roll angle measurement error is less than0.4degrees. Our design output more stable attitude data than electronic compass does.

Table of contents

Abstract 5-6 ABSTRACT 6-10 Chapter 1 Introduction 10-15 1.1 Background and Significance 10- 11 1.2 Current situation and development trend of domestic and foreign main contents of 11-13 1.3 This article 13-15 Chapter 2 attitude Measurement Fundamentals 15-25 2.1 reference coordinate system 15-16 2.2 attitude 16-17 2.3 attitude matrix Euler angles describe 17- relations 18 2.4 four elements and attitude matrix and Euler angles 18-23 2.4.1 define the four elements 18-19 2.4.2 four nature elements 19 2.4.3 describe the four elements rotate 19-20 2.4.4 four elements and the relationship between attitude matrix Euler angles 20- 23 2.5 update attitude matrix equation 23-24 2.5.1 update equation Euler angles France gesture 23 2.5.2 update equation attitude direction cosine law 23-24 2.5.3 four element method attitude updating equation 24 2.6 Chapter Summary 24-25 Chapter 3 data Fusion compensation method 25-33 3.1 geomagnetic field 25-27 3.2 gradient descent -based data fusion 27-32 3.2.1 gradient descent algorithm introduction 27-28 3.2.2 optimal convergence step 28-29 3.2.3 gradient descent in attitude measurement application [46] 29 -32 3.3 Chapter Summary 32-33 Chapter 4 hardware Design 33-44 4.1 system Overview 33 4.2 overall system design 33-34 4.3 system hardware design 34-42 4.3.1 microcontroller and its peripheral circuits 34-35 <br / > 4.3.2 SWD debug interface 35 4.3.3 sensor Module 35-38 4.3.4 data Acquisition Module 38-39 4.3 .5 radio frequency module 39-40 4.3.6 serial communication module 40 4.3.7 power Management Module 40-42 4.4 PCB production and commissioning 42-43 4.4.1 PCB production 42-43 4.4.2 PCB debugging 43 4.5 chapter Summary 43-44 Chapter 5 System software Design 44-55 5.1 system software overall design 44 5.2 lower computer software design 44-52 5.2.1 lower computer program flowchart 44-45 5.2.2 system device initialization 45-49 5.2.3 MPU6050 initialization 49-50 5.2.4 NRF24L01 initialization 50-51 5.2.5 update gesture major steps 51-52 5.3 PC software design 52-53 5.4 summary 53-55 Chapter 6, the results of experiments and analysis 55-61 Chapter 7 summary and Outlook 61-63 7.1 summarizes 61-62 7.2 Looking 62-63 Thanks 63-64 references 64-67 during the master's degree has been published or accepted papers 67

Related dissertations

  1. Research and Implementation of9-axis Sensors-based Attitude Reference System
  2. Design of Two-wheeled Self-balance Vehicles
    MaZhuoBiao ·Beijing Jiaotong University ·2014 ·Master's thesis
  3. Research on the Signal Acquisition and Processing for Air Mouse Pointer Positioning
    PengYi ·Wuhan University of Technology ·2013 ·Master's thesis
  4. Multi sensor for mobile robot localization and tracking technology based on
  5. Software Design and Implementation of Wireless Gait Analysis System
    CaoZhongKai ·Dalian University of Technology ·2013 ·Master's thesis
  6. Design and implementation of satellite TV receiving system
  7. Attitude Sensitive Technology of Magnetic Gyro Portfolio
    LeiFang ·University of North ·2009 ·Master's thesis
  8. Remote Monitoring System Using in Smart Home
  9. Wireless environmental monitoring system based on multi sensor data fusion
  10. Autonomous Mobile Wheelchair Control System of Research
  11. Research on Vision Guiding Key Technique of Industrial Robot
    ChenLiSong ·Hefei University of Technology ·2013 ·Master's thesis
  12. Research on Principle and Experiment for New Gyroscope Based on Spiral Tube
  13. Study on the Key Technologies for Inertial Human Motion Sensor
    ChenZuo ·Harbin Engineering University ·2013 ·Master's thesis
  14. Design and Research of Three-dimensional Electronic Compass Based on Magnetoresistive Sensors
    LiShuZuo ·Chang'an University ·2013 ·Master's thesis
  15. The Research of the Eddy Current Sensor Based on the Multiple Regression and Support Vector Machine (SVM)
    LiRuFa ·Donghua University ·2014 ·Master's thesis
  16. The Research of Temperature Measuring Device Based on Quartz Temperature Sensor Array and Data Fusion
  17. Research on Information Fusion Technology in Internet of Things for Context Awareness in Shmart Home
    JingYanYan ·Harbin Institute of Technology ·2012 ·Master's thesis
  18. Application of Rough Fuzzy Sets of Data Fusion in Sensor Network
    SongShengJuan ·Tianjin University ·2012 ·Master's thesis
  19. The Data Fusion Method of D-S Evidence Theory Based on the Fuzzy and Weighting Support
    LiuChunLei ·Harbin Engineering University ·2013 ·Master's thesis
  20. A Study on Bearing-only Multi-target Location Based on Data Fusion
    MaoGuanLiHua ·Zhejiang University ·2013 ·Master's thesis