To ensure that the Quadrotor system remains stable, most importantly, it must lie flat on the ground. This requires some knowledge of the physics of the system, as well as some controller designs.
To start, we need to define some variables to be controlled. Below is a diagram of the quad-copter with some definitions.
Before we starting, we need to define some variables to check. Below is a quadcopter figure with some of definitions.
As you can see, the Euler Pitch and Roll angles are used to explain how the system is oriented laterally and how the Yaw angle rotates. For a stable flight, all of this angles must be in stable position.
The controller of drone will decide RPM values of engines. For changing roll angle number 1 and number 3 engines together, number 2 and number 4 engines RPM values must be changed. Th change pitch value all engines RPM values must be changed.
The yaw rotation is uses engines centrifugal forces. As we can see below pictures mutul both engines have same rotation direction. One pair of motor will rotate Clock Wise, other pair will rotate Counter Clock Wise.
Newton's third law says : every force have an equal and opposite force. Applying a torque to the parts applies a torque along the drone. It also gives the controller the ability to influence the stretching position. Qualitatively, this seems good; But, these principles must be measured to design a flight controller.
Using a free body diagram to obtain some dynamic equations will always help. The following example shows the forces that influence rotation from the rear viewpoint in rolling.
At each end of the plane there is gravity that pulls the center of mass and two thrust forces down. The thrust forces are divided into two parts: duty cycle and proportion constant kf. The duty cycle is the value 0-1, which is calculated by the controller and represents the minimum and maximum pressure. The proportionality constant represents the transformation of power between the duty cycle (circuit and air dynamics are not considered).
Equasition of sum of moments is below :
The same equations can be applied to the pitch variable because the drone is symmetrical on both sides. For the wobble movement, it is only slightly different. Below is a diagram showing the torques generated by each engine. It means that the motor rotates clockwise, that is, the counter-torque felt by the drone is counter-clockwise.
Equasition of sum of torques is below :
Because the drone is simple and linear, it is quite simple to obtain these equations. But, it is important to understand them, especially when it comes to designing the controller. Current sensory feedback of controller design, noise, digitization constraints and consider the structure and physical dynamics of the embedded system.Burak Hamdi TUFAN