+86-755-21539034
Touch The FutureContact Us
Shenzhen TitanFlying Technology Co., Ltd.

The First Step Of GD32F103+MPU9150 Quad-Rotor Aircraft: Attitude Fusion Algorithms

Compared with the helicopters, the mechanical structure of the quad-rotor and even the multiple rotor aircraft is simple, flexible and stable. The volume of it can be smaller or larger centainly. It transforms the helicopter’s difficulties of the complex mechanical design to the electronic circuits and algorithms, so the design of the quad-rotor aircraft is easier and much more popular.

The core of the quad-rotor aircraft’s software consists of two parts: attitude fusion algorithms and control algorithms. The cores of the hardware are MCU and sensor. The attitude fusion algorithms is to mix the 3 axis acceleration, the 3 axis angular velocity and the 3 axis magnetic field strength into the quaternion, and then convert the number of quaternion into the Euler angles. Finally, transport the Euler angles to all the motors as controlled quantity to control the attitude of the aircraft. Euler angles include angle Yaw, angle Pitch and angle Roll. AHRS Update is integrated with gyroscopes, accelerometer and magnetometers, while IMU Update is only integrated with gyroscopes and accelerometer. As far as the advantages and disadvantages are concerned, the IMU update algorithm only combines the accelerometer and the data of the gyroscope. It also needs the complementary filtering algorithm to fuse the magnetometer to correct the angle Yaw. Otherwise the aircraft could not find true direction. But there is a problem in this complementary filter. If the range of the angle Yaw is about 0 to 360 degrees, the head of the aircraft will go through 0 degrees (360 degrees) when the head is about 1 degrees north by west to 364 degrees north by east. However, AHRS update can solve this problem very well. But when the sensor is disturbed by a strong peripheral magnetic field, because AHRS update integrates the magnetometer data into all Euler angles, it may lose a full-scale control, and cause the crash.
News Related
  • Folding Drone is Coming

    Folding Drone is Coming

    August 21, 2018The drone is equipped with a 1500 mAh detachable lithium polymer battery that provides 20 minutes of flight time on a single charge (the actual flight time is affected by environmental conditions) and...view
  • Prospect of Wifi selfies drone development

    Prospect of Wifi selfies drone development

    April 25, 20181 MiniaturizationThe Wifi selfies drone has has been applied wider and wider, with small size, small volume, light weight, large function area, it is easy to take and easy to control. It can act as a ...view
  • The Heat of Drones will Turn to Professional Level

    The Heat of Drones will Turn to Professional Level

    May 21, 2018The announcement on strengthening the export control of dual-purpose items issued by the official website of the Ministry of Commerce has aroused a lot of public opinion in the industry. The announcem...view
  • Is the selfies drone a weapon in the market for consumer drones?

    Is the selfies drone a weapon in the market for consumer drones?

    April 25, 2018The concept of selfies drone can be traced back to the earliest appearance of Lily "selfie" drone in May 2015.On the surface, its indicators, such as altitude, speed, are far worse than the same leve...view
  • TEL:+86-755-21539034
  • FAX:0086-755-86181421
  • EMAIL:info@titanflying.com
  • ADDRESS:NO.15 Chaoyang road, Yanluo street, Songgang town, Baoan District, Shenzhen