How acceleration sensors and gyroscopes make drones fly more stable(part 3)

Dec 30, 2021

Lämna ett meddelande

Autonomous Flight Control of Quadrotor UAV

 

Accurate track tracking of quadrotor UAVs is the basic requirement to realize autonomous flight of UAVs. Due to the coupling relationship between attitude and translation of the quadrotor UAV itself, as well as the uncertainty of model parameters and external disturbances, effective tracking of the track can only be achieved by achieving stable attitude control.

 

In the autonomous control system of the quad-rotor UAV, the attitude stability control is the basis for the autonomous flight of the aircraft. Its task is to control the three attitude angles (pitch angle, roll angle, yaw angle) of the four-rotor UAV to track the desired attitude signal stably, and to ensure that the closed-loop attitude system has the desired dynamic characteristics. Due to the coupling characteristics of the quadrotor UAV's attitude and translation, the analysis shows that only when the attitude is ensured to achieve stable control, can the total rotor lift produce a component in the desired direction, and then control the aircraft to fly along the desired trajectory direction. In the actual flight environment, the attitude of the four-rotor UAV is affected by external interference, parameter errors of inaccurate models, measurement noise and other unmodeled dynamics on the control effect. Therefore, it is necessary to introduce appropriate observers and controllers to estimate and compensate for the total uncertainty, and to compensate for the estimated errors, to ensure that the quadrotor UAV can effectively track the attitude in the presence of external interference.

 

The attitude control of the quad-rotor UAV should be based on its actual working characteristics and dynamics model, and then the attitude controllers should be designed for the three attitude channels (pitch, roll and yaw), and each channel should be introduced correspondingly. The controller, its flow is as follows.


This method can basically ensure that the actual attitude value of each channel tracks the expected value. However, when only considering the control of the model itself, the impact of external uncertainties on the closed-loop system is not considered. When the micro drone is flying, due to its small body and strong motor vibration, it is easy to be disturbed by the external environment. Therefore, there must be uncertain factors in the entire channel, such as model errors, environmental interference, observation errors, etc. These uncertainties will reduce the closed-loop performance of the system. Therefore, when designing an unmanned aerial vehicle control system, the anti-jamming performance of the system must be considered, that is, the robustness of the closed-loop system. Therefore, it is necessary to design a certain interference compensator to approximate and compensate the interference in order to achieve stable tracking of the attitude angle.

 

Only when it is ensured that the aircraft attitude can remain stable can we further discuss how to control the path to remain stable. Analysis on the time scale shows that the frequency of the aircraft attitude angle change is greater than the frequency of the aircraft position. Therefore, the inner and outer double-loop control should be used for trajectory tracking, the inner loop controls the attitude angle, and the outer loop controls the position.


IMU inertial measurement unit

 

The current flight controller uses an IMU composed of a three-axis gyroscope, a three-axis accelerometer, a three-axis geomagnetic sensor and a barometer, also called an inertial measurement unit. So what is a three-axis gyroscope, what is a three-axis accelerometer, what is a three-axis geomagnetic sensor, and what is a barometer? What role do they play on the plane, and which three axes are these three axes?

11


The three axes of the three-axis gyroscope, three-axis accelerometer, and three-axis geomagnetic sensor refer to the three axes of the aircraft left and right, front and rear vertical directions, and are generally represented by XYZ. The left-right direction is called roll in an airplane, the front-rear direction is called pitch in an airplane, and the vertical direction is the Z axis. Gyros know that they have basically played with them when they were young. It is difficult to stand on the ground without turning. Only when turning will it stand on the ground, or a bicycle. The bigger and heavier the wheel, the more stable the car. , When turning, you can obviously feel a resistance. This is the gyro effect. According to the gyro effect, the gyroscope invented by smart people. The earliest gyroscope was a high-speed spinning top, which was fixed in a frame through three flexible shafts. No matter how the outer frame rotates, the high-speed spinning top always maintains a posture. Data such as the degree of rotation of the outer frame can be calculated by the sensors on the three axes.

 

Due to the high cost and complexity of the mechanical structure, they are now replaced by electronic gyroscopes. The advantages of electronic gyroscopes are low cost, small size and light weight, only a few grams in weight, and higher stability and accuracy than mechanical gyroscopes. Speaking of this, everyone will understand the role of the gyroscope in the flight control, it is to measure the inclination of the three axes of XYZ.

 

So what does the three{{0}}axis accelerometer do? I just said that the three-axis gyroscope is the three axes of XYZ, and now it goes without saying that the three-axis accelerometer is also the three axes of XYZ. When we start driving, we will feel a thrust behind it. This thrust is acceleration. Acceleration is the ratio of the change in speed to the time this change occurs. It is a physical quantity that describes how fast an object changes. Meters are every second square second. For example, when a car is stopped, its acceleration is 0. After starting, it takes 10 seconds to go from 0 meters per second to 10 meters per second. This is the acceleration of the car. If the speed of the car is 10 meters per second When driving, its acceleration is 0. Similarly, if it decelerates from 10 meters per second to 5 meters per second in 10 seconds, then its acceleration is a negative number. The three-axis accelerometer measures the acceleration of the aircraft's XYZ axes.


https://www.liocrebif.com/inertial-measurement-unit/gun-hard-mems-imu.html

Skicka förfrågan