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
  • UAV Operation Flow Arrangement

    UAV Operation Flow Arrangement

    March 26, 2018Personnel assigned to each post after the flight of the pilot's flight inspection is essential. Motor, propeller, GPS is installed correctly, installed firmly. Power battery, remote control battery, b...view
  • The Future of Selfies Drones

    The Future of Selfies Drones

    April 25, 2018Why didn't the earlier UAVs go into the mass consumer market? Size is one reason, another important reason is the complex manipulation. Can you imagine a beautiful girl with a heavy and complicated re...view
  • Indoor Mini Drone is Still Areas to be Excavated

    Indoor Mini Drone is Still Areas to be Excavated

    August 21, 2018It's no surprise to see the drone flying in the square. But it's rare to see a drone flying indoors, and not a test flight but a mission.Most of the news about drones refers to outdoor drones.So what ...view
  • How to Choose Four, Six or Eight Rotor Wings of Drones?

    How to Choose Four, Six or Eight Rotor Wings of Drones?

    October 18, 2018There is no doubt that artificial intelligence draws more an more attention from people all over the world, drones are widely used now, they are keeping optimizing, refining and intelligent. Are you c...view