Modelcore
Quadrotor dynamics
Also called quadcopter model.
A rigid body in SE(3) driven by four rotor thrusts that give a total thrust along the body axis and three moments.
A quadrotor is an aerial robot with four rotors in a plane, each of which pushes along the same body axis. The standard model treats it as one rigid body that moves in space, in the group SE(3) of positions and orientations, with the four rotor thrusts as the inputs. The rotors give a total thrust along the body axis and three moments about the body axes. So the vehicle has six degrees of freedom and only four inputs: it cannot push sideways, and it must tilt to accelerate in a horizontal direction. Opposite rotors spin the same way and neighbor rotors spin the other way, so that their drag moments cancel at hover, and a difference in their speeds turns the vehicle about its vertical axis. This page uses a world frame with the axis up and m/s². Some sources, such as Lee, Leok and McClamroch, use down; the equations here are converted.
The machine
State. The position of the center of mass in the world frame (m), its velocity (m/s), the attitude SO(3), whose columns are the body axes in world coordinates, and the body angular velocity (rad/s). The state space has dimension 12.
Inputs. The thrusts of the four rotors (N). Each rotor at speed gives the thrust along , and a drag moment about against its direction of spin. Write (m).
Parameters. The mass (kg), the inertia matrix about the center of mass in body coordinates (kg m²), the arm length from the center to each rotor (m), and .
Equations. With , these are the Newton-Euler equations for the body:
Here is the skew-symmetric matrix of , is the total thrust and is the moment in body coordinates.
The mixer. In the "+" layout, rotor 1 is on the arm, rotor 2 on , rotor 3 on and rotor 4 on . Rotors 1 and 3 spin clockwise seen from above, and rotors 2 and 4 counterclockwise. Then
The rows of and are the moments of the forces at the rotor positions . The last row is the sum of the drag moments. For the matrix is invertible:
In the "×" layout, the arms are at to , and each moment row has all four rotors with factors ; the matrix is still invertible.
Standing assumptions. The body is rigid and symmetric enough that is constant. The rotor thrust changes at once when the command changes; in reality a motor needs some tens of milliseconds. The thrust is along with no sideways part. The model leaves out rotor drag and blade flapping, which grow with the airspeed, the gyroscopic moments of the rotors, the ground effect near the floor, and wind. Mahony, Kumar and Corke discuss these effects.
What it counts
The model predicts the motion of the vehicle for given rotor thrusts, and so it gives the thrusts that a wanted motion needs. Three cases can be checked by hand, for kg, m and m.
- Hover. With (or any rotation about ), and , the state is constant if and only if and , which gives N for each rotor.
- Tilt. To hold the height with tilted by an angle from the vertical, the vertical part of the thrust must be , so . For , this is N, and the horizontal acceleration is m/s².
- Yaw. A yaw moment N m at hover thrust needs N and N.
Energy (theorem). Let . Along every solution, . Proof. From the equations, , the derivative of is , and because . So with the rotors off, the energy is constant. A simulator that does not keep it constant has an integration error.
Relation to other models
- The rigid body. The model is the free rigid body with a body-fixed force along one axis and a body moment. It is a special case of the Newton-Euler equations and of floating-base dynamics with no limbs.
- The planar quadrotor. Restricting the motion to a vertical plane gives 3 degrees of freedom with 2 inputs, thrust and moment. It shows the same tilt-to-move behavior and is a common teaching model.
- The point mass with a thrust vector. If the attitude loop is much faster than the position loop, the vehicle acts as a point mass with a thrust vector that the controller can point in any upward direction. Trajectory planners such as minimum snap use this view, and the flatness map makes it exact.
- Linearization at hover. With small roll , pitch and yaw , , so , and . This linear model is controllable and is the base of the LQR and PID designs.
- Attitude charts. Euler angles have a singular set; unit quaternions double cover the rotations. The model above uses itself.
- Other multirotors. Hexarotors and octorotors have more rotors; their mixer is a wide matrix, and the choice among its many solutions can handle a failed rotor.
Known results in the model
- Underactuation. Four inputs for six degrees of freedom: the horizontal force comes only from tilting, and the vehicle cannot hold a tilted attitude and a fixed position at once.
- Differential flatness. The position and the yaw angle are flat outputs: the whole state and the inputs are functions of them and their derivatives up to the fourth, when the thrust is not zero. See differential flatness of the quadrotor.
- Geometric tracking control. A law on follows a position and heading reference, with exponential stability of the attitude error for errors below 90 degrees and almost global convergence of the attitude. See geometric tracking control on SE(3).
- Input limits. With , the reachable form a box mapped by the mixer, a parallelepiped. A large yaw moment takes thrust from two rotors, so yaw is the first axis to saturate on most vehicles.
- Thrust margin. A common design rule asks for a maximum total thrust of about twice the hover thrust , to leave room for tilting and for control moments (heuristic).
References
- Robert Mahony, Vijay Kumar and Peter Corke, Multirotor aerial vehicles, modeling, estimation, and control of quadrotor, IEEE Robotics and Automation Magazine 19(3), pp. 20-32 (the rigid body model, the rotor thrust and drag moment, the map from rotor forces to thrust and moments, and the aerodynamic effects that the basic model leaves out)
- Daniel Mellinger and Vijay Kumar, Minimum snap trajectory generation and control for quadrotors, Proceedings of the 2011 IEEE International Conference on Robotics and Automation, the model section (a z-up world frame, thrust along the body z axis, and the rotor forces and moments)
- Taeyoung Lee, Melvin Leok and N. Harris McClamroch, Geometric tracking control of a quadrotor UAV on SE(3), Proceedings of the 49th IEEE Conference on Decision and Control, the dynamic model (with the z axis down, which this page converts to z up)
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag VFWRCA Edit this page History Report an error Markdown