Modelling and Control of Quadrotor Control System Using MATLAB/Simulink
Modelling and Control of Quadrotor Control System Using MATLAB/Simulink
Abstract: Generally, Quadrotor type Unmanned Aerial Vehicles are unstable in nature, so to stabilize it, the controller is used. This
paper observes the PD controller that make use of UAV to control the adjust of quadrotor UAV even as in the air. The gain parameters
of the PD controller, the proportional gain Kp and the derivative gain Kd are apply to be stable and good performance. Unmanned aerial
vehicles (UAV) are becoming increasingly common and span a huge range of size and shape. After integrating PD controllers into the
systems, quadcopter settling time of roll, pitch and yaw system. Simulations result and comparison of X, Yand Yaw control techniques
are presented at the end of this paper. This controller monitors the controlled process variable, and compares it with the reference or set
point. The difference between actual and desired value of the process variable, called the error signal. Error is applied as feedback to
generate a control action to bring the controlled process variable to the same value as the set point. Control action in which the output
is proportional to a linear combination of the input and the time rate of change of input.
Keywords: stabilization; integrating; simulations result and comparison; error signal; control action
www.ijsea.com 125
International Journal of Science and Engineering Applications
Volume 7–Issue 07,125-129, 2018, ISSN:-2319–7560
Where l is distance from the propellers to the center of mass clockwise direction while the other pair of motors (2, 4)
of the quadrotor and Q is the fan torques due to air. rotates in clockwise direction as shown in fig. The motion of
The collective lift u is the sum of the thrust generated by the quadrotor is achieved by varying the motor speed. Thus,
four propellers. increasing or decreasing the four motor's speeds together
generates vertical motion. Increasing motor (1, 2) speed or
motor (3, 4) speed produces roll rotation that results quadrotor
to bend left or bend right. The same method is used for pitch
(1) control. Varying motors (1,4) and motors (2,3) speed
conversely produce pitch rotation that results quadrotor to go
Torque produced by each axis is resulted from forward or backward. Yaw rotation can be done by the
difference in the counter-torque between each pair of motors.
(2)
(3)
(4)
(5)
(6)
Figure 1. Quadrotor concept motions description
(7)
3. CONVENTIONAL PD CONTROLLER
where rollde , pitchde and yawde Proportional-plus-derivative(PD) controllers are widely used
represent desired angular velocity. Using these in the industry [2,3]. The main reason is its relatively simple
structure, which can be easily understood and implemented in
error values in PD equation, it can be gained practice [4]. The widespread use of PD-type controllers in
industries has affected efforts in the design and tuning of
conventional PD controllers so as to achieve an optimal
performance for the control system [5] The quadrotor in
(8) nature is very unstable. In order to stabilize the quadrotor, PD
controller is needed to be developed within the system. PD
controller is the most widely used controller because of its
(9) simplicity and robustness. The mathematical equivalent of PD
control algorithm can be expressed as
(10)
(11)
Where kp and kd are the proportional, and derivative gains
respectively. To achieve stabilization, three PD controllers are
2.2 Quadrotor Configuration implemented for three different axes: roll, pitch and yaw
Quadrotor UAV can be assigned to two different respectively. For a sensor feedback, we use gyro sensor which
configurations; plus, and cross configuration. In this case, four is three axes angular rate sensor.
brushless DC motors are mounted on quadrotor UAV in cross
configuration. One pair of motors (1, 3) rotates in counter
www.ijsea.com 126
International Journal of Science and Engineering Applications
Volume 7–Issue 07,125-129, 2018, ISSN:-2319–7560
4. IMPLEMENTATION OF SIMULINK
Figure 2. Block Diagram of Simulation Figure 3. The trajectory of UAV without changing P
5. SIMULATION RESULT
The simulation result is the compared of desired and actual
value and error without changing P and with changing P. The
changing of P is high the error is high. The greater the value
of P, the higher the error becomes. This paper states the result
of this desired and actual error of X, Y and Yaw.
Type kp kd
Velocity Control 0.1 2
High Control 4 1
Altitude Control 100 1
Yaw Control 20 2
Figure 4. Plot of desired & actual value of X, Y & Yaw
www.ijsea.com 127
International Journal of Science and Engineering Applications
Volume 7–Issue 07,125-129, 2018, ISSN:-2319–7560
Figure 6. The trajectory of UAV with changing P Figure 8. Plot of error in X, Y & Yaw with changing P
www.ijsea.com 128
International Journal of Science and Engineering Applications
Volume 7–Issue 07,125-129, 2018, ISSN:-2319–7560
6. CONCLUSION 8. REFERENCES
Unmanned aerial vehicles (UAV) can provide a critical [1] Comparison of Backstepping, Fuzzy-PID, and PID
support for search and rescue operations. However, in order to Control Techniques using X8 model in relation to A*
achieve their full potential, it is necessary to properly account Path Planning Yi Zhou Singapore Institute of
for all the parameters that can affect the flight of the UAVs Technology , Singapore.
such as quality of sensory operations (that can depend on the [2] K. J. Astrom and T. Hagglund, “Automatic Tuning of
position of the UAVs for instance), energy constraints, Regulators with Specifications on Phase and Am- plitude
environmental hazards or data sharing constraints between Margins,” Journal of Automatica, Vol. 20, No. 5, 1984,
UAVs and rescue teams. pp. 645-651. doi:10.1016/0005-1098(84)90014-1.
This paper presented the design of a PD controller algorithm
to control the quadrotor system. The simulation result of the [3] W. K. Ho, O. P. Gan, E. B Tay and E. L. Ang, “Perform-
desired value and actual value of X,Y and Yaw compared ance and Gain and Phase Margins of Well-Known PID
without changing PD and with changing PD controller .Also Tuning Formulas,” IEEE Transactions on Control
the compared of this result can be improved by using others System Technology.
features. [4] Q. G. Wang, T. H. Lee, H. W. Fung, Q. Bi and Y. Zhang,
“PID Tuning for Improved Performance,” IEEE Transac-
tions on Control Systems Technology.
7. ACKNOWLEDGMENTS
I greatly appreciate to all teachers from the Department of [5] Y. C. Cheng and C. Hwang, “Stabilization of Unstable
Electronics Engineering, Technological University (Thanlyin) First-Order Time-Delay,” Journal of the Chinese Institute
who work in Research. of Engineers.
I would like to give great thanks to Research Department of [6] D. Vrancic, S. Strmcnik, J. Kocijan and P. B. M.
Electronics Engineering, Technological University (Thanlyin) Oliveira, “Improving Disturbance Rejection of PID
for kind permission to study related on-going research Controllers by Means of the Magnitude Optimum
projects. Method,” ISA Trans- actions.
www.ijsea.com 129