• No results found

Modelling and Control of Quad-rotor MAV Using Motion Tracking System

N/A
N/A
Protected

Academic year: 2020

Share "Modelling and Control of Quad-rotor MAV Using Motion Tracking System"

Copied!
10
0
0

Loading.... (view fulltext now)

Full text

(1)

AENSI Journals

Australian Journal of Basic and Applied Sciences

ISSN:1991-8178

Journal home page: www.ajbasweb.com

Corresponding Author: Dr. Dwi Pebrianti, Robotic and Unmanned System Laboratory, Faculty of Electrical and Electronics Engineering, University Malaysia Pahang, Pekan Campus, Pahang Darul Makmur, Malaysia. Post Code : 26600.

E-mail: [email protected]. Ph: +60-9-424-6127.

Modelling and Control of Quad-rotor MAV Using Motion Tracking System

1D. Pebrianti, 1Z.M. Zain, 1M.F. Abas, 2L. Bayuaji and 3K. Nonami

1Senior Lecturer, Robotic and Unmanned System Laboratory, Faculty of Electrical and Electronics Engineering, University Malaysia

Pahang, Malaysia

2Senior Lecturer, Multimedia Computing and Vision System Laboratory, Faculty of Computer Systems and Software Engineering,,

University Malaysia Pahang, Malaysia

3

Emeritus Professor, Robotics and System Control Laboratory, Faculty of Artificial System Science, Chiba University, Japan

A R T I C L E I N F O A B S T R A C T Article history:

Received 15 September 2014 Accepted 5 October 2014 Available online 25 October 2014

Keywords:

Quad - rotor MAV, Motion Tracking System, Linear Quadratic Gaussian (LQG) Controller, Trajectory Following

Background: Quad-rotor MAV is a potential tool for many kind of application ranging from civil to military application. Due to its small size, MAV is difficult to be controlled, especially when certain kinds of disturbance appears, e.g. wind gust. An accurate model is needed to be developed to construct a robust controller. Objectives: This paper describes a new method for positioning control of a quad-rotor MAV. The position is obtained from a motion tracking system which has accuracy in mm range. This information is then combined with a Linear Quadratic Gaussian (LQG) controller for the position control. Result: The experiment shows that the system has very good performance. The achieved accuracy of the position control is about 10 mm. Additionally, while the platform is given a reference which is generated randomly from another object which acts as a leader, the platform can follow the given trajectory. In the future, the model obtained in this work can be applied for the formation flight control of more than one quad-rotor MAV.

© 2014 AENSI Publisher All rights reserved. To Cite This Article: D. Pebrianti, Z.M. Zain, M.F. Abas, L. Bayuaji and K. Nonami., Modelling and Control of Quad-rotor MAV Using Motion Tracking System. Aust. J. Basic & Appl. Sci., 8(15): 292-301, 2014

INTRODUCTION

Research on Unmanned Aerial Vehicles, UAVs and Micro Aerial Vehicles, MAVs has rapidly increasing in over the past several years. This is since UAVs-MAVs have many advantages not only in the field of military and reconnaissance, but also for applications such as terrain and utilities inspection, disaster monitoring, environmental surveillance, search and rescue, law enforcement and traffic surveillance, communication relay, media services and remote sensing, planetary exploration, agriculture, indoor application and etc.(Nonami et al., 2010; Kendoul et al., 2007)

Research on UAV - MAV is varying from the design of the platform (Pounds et al., 2002; Nice et al., 2004; Pounds et al., 2004), modeling and control (Nonami et al., 2010; Boubdallah et al., 2004; Pounds et al., 2006; Hoffman et al., 2007; Hoffman et al., 2008; Kendoul et al., 2009), vision based autonomous flight(Nonami et al., 2010; Altug et al., 2003; S.Azrad et al,. 2010; Pebrianti et al., 2010; Kendoul et al., 2009), GPS based autonomous flight (Nonami et al., 2010; Puls et al., 2009), IR and ultrasonic based autonomous flight (Iwakura

et al., 2010}, indoor and outdoor application, etc.

Due to its size, controlling an MAV is a challenging task. In order to develop an accurate controller, a model that represents the nature of the MAV should be derived. This paper describes a new method which is using a motion tracking system in order to collect the data for deriving a model of a quad-rotor MAV. The motion tracking system is known to have accuracy in mm range. By using this motion capture system, not only the dynamics model of the aerial vehicle and the development of the controller, but also the development of coordination control algorithm between aerial and ground vehicle was conducted in this research.

(2)

Experimental Setup and Methods:

The platform used in this research is an off-the-shelf quad-rotor type MAV, X-3D-BL platform from Ascending Technology.

The platform was chosen because it is advantageous of light weight, good durability when minor crashes happened, and its high performance in terms of payload and stability required for the control.

A Vicon MX motion capture system provides position and attitude data for the vehicle in the testbed (Vicon, 2006). By attaching lightweight reflective markers to the vehicle's structure, the motion tracking system tracks and computes vehicle's and other object's position and attitude at 100 Hz.

The Vicon motion capture subsystem is composed of 8 cameras, 1 MX Ultranet units, and a Windows 7 based server PC. The cameras are connected to an MX Ultranet unit through a proprietary network. The Windows 7 based server PC is also designed to be a development PC as well.

The system architecture used in this research is shown in Figure 1. While, Figure 2 shows the quad-rotor MAV while in the autonomous flight by using the motion capture system.

Fig. 1: System Architecture.

Fig. 2: Autonomous Flight of a Quad-rotor Using Motion Tracking System.

Mav Model and Controller:

In this section, we will discuss about the development of attitude, orientation, horizontal position and altitude model of the quad-rotor MAV.

The basic motion of a quad-rotor is generated by tilting the helicopter. As the rotor speeds decrease, the helicopter tilts toward that direction, which enables acceleration along that direction. For this reason, control of tilt angles and the motion of the helicopter are closely related and estimation of the attitude (roll and pitch) is critical.

The system is divided into two loops, which is inner-loop for attitude control and outer-loop for position control. The block diagram of the system is shown in Figure 3.

1. Attitude and Orientation Model:

Firstly, attitude model for roll and pitch and orientation model, yaw is designed. The data was obtained from manual flight conducted by a professional RC flyer.

The input of the system is the change of roll, pitch and yaw channel value from the joystick which is available in PPM signal, while the output of the system is the angular velocity. We assumed that the relationship between the input and the output data is 2nd order with time delay. The equation is shown in Equation (1). From the angular velocity, we applied an integrator in order to get the angular data.

(1) with Y(s) is the output, angular velocity and U(s) is the input which is the change of roll, pitch and yaw channel value from the joystick. For each roll, pitch and yaw, the values of K, ω, ζ and Td are shown in Table 1. The

(3)

Fig. 3: Block Diagram of (a) X, Y and (b) Z Control Loop.

Table 1: Parameter Values for Attitude and Orientation Model.

2. Position Model:

The position controller is considered to have three plants. First is the X position model which is influenced by the change of pitch angle. Second is Y position model which is influenced by the change of roll angle. And last is the Z position model which is influenced by the change of thrust applied on the quad-rotor.

2.1 Horizontal Position Model:

The horizontal position model is designed by considering that the movement along X and Y position is affected by the change of pitch and roll angle, respectively.

As mentioned in Figure 3, there are two loops when we conduct the control of quad-rotor. The position control is the outer loop of the system. The inner loop which is the attitude control gives reference attitude angle for the outer loop.

Boubdallah mentioned that the model of acceleration along X and Y axis is expressed in Equation (2). (Bouabdallah et al., 2004)

(2) Therefore, the model from angle to position is simply derived by using Equation (3).

(3)

with g is the gravitational acceleration. The values of position X and Y, the values of pitch and roll angle, θ and

ϕ and the values of angular velocities ̇ and can be measured.

The model verification for both X and Y position rate model is shown in Figure 5 (a) and (b).

2.2 Altitude Model:

Different from the X and Y, the Z position model is derived from the change of throttle as the control input. From the change of throttle to the linear velocity along Z direction is modeled by a first order system as shown in Equation 4. From the linear velocity to the Z position is modeled simply by using an integrator.

(4)

with Y(s) is the output which is linear velocity along the Z direction and U(s) is the input which is the change of throttle. The parameters kp, tp are 1.130 and 0.081, respectively.

(4)

Fig. 4: Attitude Rate and Orientation Model Verification.

Fig. 5: Position Rate Model Verification (a) X rate (b) Y Rate and (c) Z Rate.

3. Linear Quadratic Gaussian Controller:

The controller for attitude, orientation and positions are derived by using optimal state feedback control. Basically, all of the models can be written in general form as shown in Equation (5).

(5)

In order to design the Linear Quadratic Gaussian controller, a new state condition which is an integration error between reference and output yn(t) = Cnx(t) is constructed, xr(t) = ∫(r-yn(t))dt. Therefore, the extended

(5)

(6) It is considered that the state feedback control input is as shown in Equation (7).

(7)

Q and R are selected so that the cost function, Equation (8) is minimal.

(8) Where [ T T]

a r

xx x .

Since the controller is based on state feedback, there is a need to feedback all the state conditions. However, not all the state conditions of the system can be measured. Therefore, for the state conditions that cannot be measured, Kalman filter is used for the estimation. The block diagram of the system is shown in Figure 6.

Fig. 6: Block Diagram of LQG Controller.

RESULTS AND DISCUSSION

In this section, we will discuss about the experimental result of the designed controller.

We conducted the experiment indoor. The conducted experiment is including the autonomous hovering, autonomous horizontal and vertical circle trajectory following and the random trajectory following.

1. Autonomous Hovering:

The procedure of the experiment is to guide the quad-rotor to do autonomous take-off. After it reaches a 600 mm of height, then it will be commanded to conduct an autonomous hovering. The result of X, Y and Z position is shown in Figure 7. From this result, one can see that the performance of the designed controller is very good with the accuracy of 20 mm on the X position, 100 mm on the Y position and below 40 mm on the Z position.

The plot of X versus Y position is shown in Figure 8. Here, one can see that the performance of the system is good, where the hovering data is inside a circle with radius 60 mm.

2. Autonomous Circle Trajectory Following:

In this experiment, we evaluated the designed controller to conduct a circle trajectory following task. The circle trajectory is divided into two which is the horizontal circle and vertical circle.

2.1 Horizontal Circle:

The updated trajectory is on the X and Y position while the Z position is constant. The equation of the trajectory is shown in Equation (9).

(6)

where t is the time for updating the new position of the trajectory and r is the radius of the circle, assigned to be 500 mm.

The time plot of X, Y and Z position during the horizontal circle trajectory is shown in Figure 9. While the X and Y position is shown in Figure 10.

Fig. 7: X, Y and Z Position During Autonomous Hovering.

Fig. 8: X Vs Y Position During Autonomous Hovering.

From this result, one can see that the system can follow the given trajectory. It can be said that the controller has a quite good performance. Additionally, from Figure 10, one can see that the trajectory of the system is more or less looked like a circle with 500 mm of radius. However, there is still some overshoot when the position is changing and delay appears in the experiment which is 0.5 second and 1.3 second on the X and Y axis, respectively.

2.2 Vertical Circle:

(7)

(10)

where t is the time for updating the new position of the trajectory and r is the radius of the circle, assigned to be 500 mm.

Fig. 9: X, Y and Z Position During Autonomous Horizontal Circle Trajectory Following.

Fig. 10: X Vs Y Position During Autonomous Horizontal Circle Trajectory Following.

The time plot of X, Y and Z position during the horizontal circle trajectory is shown Figure 11. While the Y and Z position is shown in Figure 12.

From this result, one can see that the controller has a quite good performance where the system can follow the given trajectory. However, there is delay appears when the system follow the given trajectory. From Figure 12, one can see that the trajectory of the system is more or less looked like a circle. However, the quad-rotor still cannot follow the trajectory accurately.

3. Autonomous Random Trajectory Following:

(8)

Therefore, the equation of the platform position reference is shown in Equation (11). The process is illustrated by using Figure 13.

(11)

where XRef, YRef, ZRef are X, Y, and Z reference for quad-rotor, respectively. While XLeader, YLeader and ZLeader are

the X, Y and Z position of the leader, respectively.

Fig. 11: X, Y and Z Position During Autonomous Vertical Circle Trajectory Following.

Fig. 12: Y Vs Z Position During Autonomous Vertical Circle Trajectory Following.

The result of X, Y and Z position is shown in Figure 14. Here, one can see that the performance of the system is very good. The quad-rotor can follow the leader. However, there is still some vibration which is about 100 mm on the X axis, 150 mm on the Y axis and 60 mm on the Z axis. Additionally, one can observe about 10% of overshoot on the X and Y position when the position is changing.

(9)

Fig. 14: X, Y and Z Position During Random Trajectory Following.

Conclusion:

In this paper, we designed a quad - rotor model and a controller for accurate positioning purpose.

The model for quad-rotor type MAV was designed. The verification between model and the real input – output data showed an accurate result. The Linear Quadratic Gaussian (LQG) controller was designed for the purpose of autonomous hovering, autonomous trajectory tracking and preliminary leader following task.

The experiment on the autonomous hovering, autonomous circle trajectory following and a prelimenary step on the leader follower experiment showed a good result.

On the autonomous hovering, the accuracy achieved is 20 mm on the X position, 100 mm on the Y position and 40 mm on the Z position. During the horizontal and vertical circle trajectory following and also the random trajectory following, which is here considered as the preliminary step for the leader follower experiment, the accuracy of the controller is around 100 to 150 mm on the X and Y axis which is considered to be good enough. However, in order to do more complicated task such as autonomous recharging task, a more precise position controller should be designed. This task will be our future work. Additionally, a leader follower algorithm will be developed as the other future work.

ACKNOWLEDGEMENT

This research is partly supported by INTER REHA CO. LTD, Japan and University Malaysia Pahang (UMP) Research Grant.

REFERENCES

Altug, E., J.P. Ostrowski, C.J. Taylor, 2003. Quadrotor Control Using Dual Camera Visual Feedback, Proceedings of the 2003 IEEE International Conference on Robotics \& Automation, Taipei, Taiwan.

Azrad, S., F. Kendoul and K. Nonami, 2010. Visual Servoing of Quadrotor Micro-Air Vehicle Using Color-Based Tracking Algorithm, Journal of System Design and Dynamics, 4(2).

Boubdallah, S., P. Murrieri, R. Siegwart, 2004. Design and Control of an Indoor Micro Quadrotor, In Proc. of the 2004 IEEE International Conference on Robotics and Automation, pp: 4393-4398.

Hoffman, G., H. Huang, S.L. Waslander, C.J. Tomlin, 2007. Quadrotor Helicopter Flight Dynamics and Control: Theory and Experiment, In the Conference of the American Institute of Aeronautics and Astronautics. Hilton Head, South Carolina.

Hoffman, G.M., S.L. Waslandery, C.J. Tomlinz, 2008. Quadrotor Helicopter Trajectory Tracking Control, AIAA Guidance, Navigation and Control Conference and Exhibit, Honolulu, Hawaii.

Iwakura, D., W. Wang, K. Nonami, M. Halley, 2010. Precise Landing of Quad-rotor MAV with Movable Outer Sensors(Mechanical Systems), Transactions of the Japan Society of Mechanical Engineers. C, 76: 61-68.

Kendoul, F., 2007. Modelling and Control of Unmanned Aerial Vehicles and Development of a Vision Based Autopilot for Small Rotorcraft Navigation, Doctoral Dissertation.

(10)

Kendoul, F., Z. Yu, K. Nonami, 2009. Guidance and Nonlinear Control System for Autonomous Flight of Unmanned Minirotorcraft Unmanned Aerial Vehicles, Journal of Field Robotics Guidance and Nonlinear Control System for Autonomous, 27(3).

Nice, E.B., 2004. Design of a Four Rotor Hovering Vehicle, Master Thesis, Graduate School of Cornell University.

Nonami, K., F. Kendoul, S. Suzuki, W. Wang, D. Nakazawa, "Autonomous Flying Robots: Unmanned Aerial Vehicles and Micro Aerial Vehicles", Springer, ISBN 978-4-431-53855-4.

Nonami, K., H. Nishimura, M. Hirata, 1998. •gControl system design by MATLAB (in Japanese)•h, Tokyo Denki University Press, ISBN4-501-31940-2.

Pebrianti, D., F. Kendoul, S. Azrad and K. Nonami, 2010. Autonomous Hovering and Landing of a Quad-rotor Micro Aerial Vehicle by Means of On Ground Stereo Vision System , Journal of System Design and Dynamics, 4(2).

Pounds, P., R. Mahony, J. Gresham, 2004. Towards Dynamically-Favourable Quad-Rotor Aerial Robots, Australasian Conference on Robotics and Automation, Canberra, Australia.

Pounds, P., R. Mahony, P. Corke, 2006. Modelling and Control of a Quad-Rotor Robot, Proc. 2006 Australasian Conference on Robotics and Automation, Auckland.

Pounds, P., R. Mahony, P. Hynes, J. Roberts, 2002. Design of a Four-Rotor Aerial Robot, Proc. 2002 Australasian Conference on Robotic and Automation, Auckland.

Puls, T., M. Kemper, R. Kuke, A. Hein, 2009. GPS-based position control and waypoint navigation system for quadrocopters, Proceedings of the 2009 IEEE/RSJ international conference on Intelligent robots and systems, St. Louis, MO, USA.

References

Related documents

Christ before Pilate at the trial of Jesus revealed one of his last claims. Jesus and his word are ultimate truth. The Pontius Pilate and Jesus exchange set the two positions

The aim of this study was to evaluate the current vac- cination status of the HCWs in all of the Departments different from the Department for the Health of Women and Children of one

The concept of lifelong learning by including all learning activities which include formal, non-formal and informal learning activities, comes largely in the form of formal

[r]

expanding host range of DMV, testified by the present report and by numerous cases of DMV infection reported in the last 5 years in the Mediterranean Sea ( Mazzariol et al., 2013,

All of the participants were faculty members, currently working in a higher education setting, teaching adapted physical activity / education courses and, finally, were

huxleyi reached higher peak abundances when decalcified cells were allowed to rebuild their coccosphere before entering cell division phase and being exposed to the virus,

The corona radiata consists of one or more layers of follicular cells that surround the zona pellucida, the polar body, and the secondary oocyte.. The corona radiata is dispersed