QUADROTOR ROLL AND PITCH STABILIZATION USING SYSTEM IDENTIFICATION BASED REDESIGN OF EMPIRICAL CONTROLLERS

Similar documents
Construction and signal filtering in Quadrotor

Control System Design for Tricopter using Filters and PID controller

Modeling And Pid Cascade Control For Uav Type Quadrotor

Design of Attitude Control System for Quadrotor

A 3D Gesture Based Control Mechanism for Quad-copter

Classical Control Based Autopilot Design Using PC/104

Design of a Flight Stabilizer System and Automatic Control Using HIL Test Platform

STUDY OF FIXED WING AIRCRAFT DYNAMICS USING SYSTEM IDENTIFICATION APPROACH

Module 2: Lecture 4 Flight Control System

Controlling of Quadrotor UAV Using a Fuzzy System for Tuning the PID Gains in Hovering Mode

FLCS V2.1. AHRS, Autopilot, Gyro Stabilized Gimbals Control, Ground Control Station

QUADROTOR STABILITY USING PID JULKIFLI BIN AWANG BESAR

Frequency-Domain System Identification and Simulation of a Quadrotor Controller

Design of Self-tuning PID Controller Parameters Using Fuzzy Logic Controller for Quad-rotor Helicopter

Stability Control of a Quad-Rotor Using a PID Controller

Estimation and Control of a Tilt-Quadrotor Attitude

Active Fault Tolerant Control of Quad-Rotor Helicopter

A Simple Approach on Implementing IMU Sensor Fusion in PID Controller for Stabilizing Quadrotor Flight Control

302 VIBROENGINEERING. JOURNAL OF VIBROENGINEERING. MARCH VOLUME 15, ISSUE 1. ISSN

EMBEDDED ONBOARD CONTROL OF A QUADROTOR AERIAL VEHICLE 5

Introducing the Quadrotor Flying Robot

OBSTACLE DETECTION AND COLLISION AVOIDANCE USING ULTRASONIC DISTANCE SENSORS FOR AN AUTONOMOUS QUADROCOPTER

Location Holding System of Quad Rotor Unmanned Aerial Vehicle(UAV) using Laser Guide Beam

OS3D-FG MINIATURE ATTITUDE & HEADING REFERENCE SYSTEM MINIATURE 3D ORIENTATION SENSOR OS3D-P. Datasheet Rev OS3D-FG Datasheet rev. 2.

The Next Generation Design of Autonomous MAV Flight Control System SmartAP

Design and Implementation of FPGA Based Quadcopter

Teleoperation of a Tail-Sitter VTOL UAV

Hopper Spacecraft Simulator. Billy Hau and Brian Wisniewski

Development of an Experimental Testbed for Multiple Vehicles Formation Flight Control

Extended Kalman Filtering

Experimental Study of Autonomous Target Pursuit with a Micro Fixed Wing Aircraft

Development of Hybrid Flight Simulator with Multi Degree-of-Freedom Robot

TEAM AERO-I TEAM AERO-I JOURNAL PAPER DELHI TECHNOLOGICAL UNIVERSITY Journal paper for IARC 2014

Hardware in the Loop Simulation for Unmanned Aerial Vehicles

Modeling and Control of a Robot Arm on a Two Wheeled Moving Platform Mert Onkol 1,a, Cosku Kasnakoglu 1,b

Flapping Wing Micro Air Vehicle (FW-MAV) State Estimation and Control with Heading and Altitude Hold

Integrated Navigation System

Adaptive Fuzzy Control of Quadrotor

Robot Joint Angle Control Based on Self Resonance Cancellation Using Double Encoders

3DM-GX4-45 LORD DATASHEET. GPS-Aided Inertial Navigation System (GPS/INS) Product Highlights. Features and Benefits. Applications

TigreSAT 2010 &2011 June Monthly Report

Development of Fuzzy Logic Controller for Quanser Bench-Top Helicopter

드론의제어원리. Professor H.J. Park, Dept. of Mechanical System Design, Seoul National University of Science and Technology.

Design and Implementation of Inertial Navigation System

School of Surveying & Spatial Information Systems, UNSW, Sydney, Australia

Vehicle Speed Estimation Using GPS/RISS (Reduced Inertial Sensor System)

Thrust estimation by fuzzy modeling of coaxial propulsion unit for multirotor UAVs

3DM -CV5-10 LORD DATASHEET. Inertial Measurement Unit (IMU) Product Highlights. Features and Benefits. Applications. Best in Class Performance

GPS-Aided INS Datasheet Rev. 2.6

A Reconfigurable Guidance System

If you want to use an inertial measurement system...

Based on the ARM and PID Control Free Pendulum Balance System

A New Perspective to Altitude Acquire-and- Hold for Fixed Wing UAVs

IMU Platform for Workshops

DESIGN & FABRICATION OF UAV FOR DATA TRANSMISSION. Department of ME, CUET, Bangladesh

Embedded Robust Control of Self-balancing Two-wheeled Robot

Testing Autonomous Hover Algorithms Using a Quad rotor Helicopter Test Bed

Flight Control Laboratory

OPTIMAL AND PID CONTROLLER FOR CONTROLLING CAMERA S POSITION IN UNMANNED AERIAL VEHICLES

Control System for a Segway

SENLUTION Miniature Angular & Heading Reference System The World s Smallest Mini-AHRS

GPS-based Position Control and Waypoint Navigation System for Quadrocopters

An Application of 4-Rotor Unmanned Aerial Vehicle: Stabilization Using PID Controller

Reconnaissance micro UAV system

WARPWING: A complete open source control platform for miniature robots

Design of Accurate Navigation System by Integrating INS and GPS using Extended Kalman Filter

GPS-Aided INS Datasheet Rev. 2.3

International Journal of Scientific & Engineering Research, Volume 8, Issue 1, January ISSN

Vibration Control of Flexible Spacecraft Using Adaptive Controller.

DATA ACQUISITION SYSTEM & VISUAL SURVEILLANCE AT REMOTE LOCATIONS USING QUAD COPTER

OughtToPilot. Project Report of Submission PC128 to 2008 Propeller Design Contest. Jason Edelberg

Jurnal Teknologi IMPROVEMENT OF QUADROTOR PERFORMANCE WITH FLIGHT CONTROL SYSTEM USING PARTICLE SWARM PROPORTIONAL-INTEGRAL-DERIVATIVE (PS-PID)

Implementing a Kalman Filter on FPGA Embedded Processor for Speed Control of a DC Motor Using Low Resolution Incremental Encoders

ZJU Team Entry for the 2013 AUVSI. International Aerial Robotics Competition

University of Florida. Jordan Street Fred Taylor

INTRODUCTION TO VEHICLE NAVIGATION SYSTEM LECTURE 5.1 SGU 4823 SATELLITE NAVIGATION

Development of An Experimental Setup for the Altitude Control of A Ball in A Pipe Şeyma AKYÜREK 1,a,GizemSezin ÖZDEN 1,b, Coşku KASNAKOĞLU 1,c

The Research on Servo Control System for AC PMSM Based on DSP BaiLei1, a, Wengang Zheng2, b

ARDUINO BASED CALIBRATION OF AN INERTIAL SENSOR IN VIEW OF A GNSS/IMU INTEGRATION

Sensor set stabilization system for miniature UAV

Implementation and Performance Evaluation of a Fast Relocation Method in a GPS/SINS/CSAC Integrated Navigation System Hardware Prototype

Trajectory Tracking and Payload Dropping of an Unmanned Quadrotor Helicopter Based on GS-PID and Backstepping Control

IPRO 312: Unmanned Aerial Systems

MEM380 Applied Autonomous Robots I Winter Feedback Control USARSim

ADMA. Automotive Dynamic Motion Analyzer with 1000 Hz. ADMA Applications. State of the art: ADMA GPS/Inertial System for vehicle dynamics testing

Recent Progress in the Development of On-Board Electronics for Micro Air Vehicles

Cooperative navigation (part II)

Job Sheet 2 Servo Control

Dynamically Adaptive Inverted Pendulum Platfom

The need for autonomous vehicles has been widely demonstrated for tasks such as search and rescue,

Satellite and Inertial Attitude. A presentation by Dan Monroe and Luke Pfister Advised by Drs. In Soo Ahn and Yufeng Lu

Measurement Level Integration of Multiple Low-Cost GPS Receivers for UAVs


SELF STABILIZING PLATFORM

Simulation of GPS-based Launch Vehicle Trajectory Estimation using UNSW Kea GPS Receiver

Oakland University Microraptor 2009 AUVSI Student UAS Competition Entry

Auto-Balancing Two Wheeled Inverted Pendulum Robot

Cooperative localization (part I) Jouni Rantakokko

Small Unmanned Aerial Vehicle Simulation Research

CENG 5931 HW 5 Mobile Robotics Due March 5. Sensors for Mobile Robots

Transcription:

QUADROTOR ROLL AND PITCH STABILIZATION USING SYSTEM IDENTIFICATION BASED REDESIGN OF EMPIRICAL CONTROLLERS ANIL UFUK BATMAZ 1, a, OVUNC ELBIR 2,b and COSKU KASNAKOGLU 3,c 1,2,3 Department of Electrical Engineering, TOBB University of Economics and Technology, Ankara, Turkey ABSTRACT Unmanned Aerial Vehicles (UAVs) are currently one of the hot topics of study which have numerous applications such as remote sensing, aerial surveillance, exploration, search and rescue, transport, scientific research and armed attacks. In this work we consider a test-bed for the design of a low cost flight controller for a quadrotor and we demonstrate the design of the roll and pitch controllers on an experimental setup through the stages of data collection, modeling, control design and verification. The procedure consists of four stages: 1) Experimental determination of controller coefficients, 2) Data collection, 3) System identification, 4) Controller redesign by tuning coefficients with a numerical search. It is observed that the system designed as such is capable of achieving satisfactory pitch and roll stabilization, and coefficient tuning on the identified model noticeably improves the settling time and steady state oscillation amplitude. to improve empirically determined controllers so as to improve the overall closed-loop response of the system. This involves identifying a transfer function around the desired equilibrium (which is the horizontal axis for roll or pitch stabilization) and performing a numerical search using this model to tune the coefficients. The rest of the paper will explain the methodology, present experimental results and discuss the findings. 2. Methodology The basic quadrotor model used in the study is shown in. Figure 1. F,F,F and F are the forces applied by the motors. By effects of these forces, pitch angle (, roll angle ( ) and yaw angle ( are produced. KEY WORDS Discrete time, linear estimation, aerial vehicles, quadrotor, UAV, four rotor helicopter, vehicle control. 1. Introduction Unmanned Aerial Vehicles (UAVs) have by now gained great importance in both military and civil sector [1-4]. With each passing day, new controller designs emerge in this field [5-7]. An important subset of UAVs is quadrotors, which have become popular recently due to their small size and maneuverability. Studies on quadrotors include attitude stabilization, estimation and multi-vehicle configurations [8-10]. In the present work we attempt to demonstrate roll and pitch-axes stabilizing controller design approach on an experimental test-bed in an attempt to form a foundation for our ultimate research goals of building a unique quadrotor system from bottom up. For this purpose we built custom quadrotor hardware and implemented software procedures to drive the servomotors, carry out measurements, communicate data, and control the attitude of the UAV, using reasonable cost and commonly available electronic components. An important contribution of this paper is to illustrate a simple process 2.1 Hardware Design Figure 1: Simple Quadrotor Model The general overview of the hardware design can be seen in Figure 2. Figure 2. General Overview of the Hardware Design

For the IMU we utilize Microstrain-3DM-GX2, which contains a triaxial accelerometer, triaxial gyro, triaxial magnetometer, and an on-board processor running a sensor fusion algorithm. For the communication block we implement a voltage level converter in order to map the output of the IMU into UART voltage levels. As for the microprocessor, a PIC32MX795F512L has been used which can operate up to 80 MHz. The test platform hardware is shown in Figure 3. As mentioned previously, for the sake of example we shall individually consider the stabilization of the roll angle or pitch angleθ; hence, the quadrotor has been fixed in the setup to allow for rolling or pitching behavior only. Figure 3. Experimental Quadrotor Test Platform After the roll and pitch controllers are designed and tested, we shall disassemble the test bed and connect only a few ropes to the floor; this allows for the UAV to hover freely in two dimensions while limiting its maximum altitude since we are yet to design an altitude controller. 2.2 Software Design The pitch angle θ and roll angle is calculated from the outputs of the IMU using the following equations θ tan a a (1) a a sin θ a cos θ where, and are the accelerations read from the inertial sensors in the x, y, z axis respectively. This calculated angle is then processed by a Kalman filter so as to obtain a cleaner and more precise measurement. The process and measurement noise covariances of the filter were obtained empirically as 1 and 3. Following filtering, the measurements enter a PID controller, whose block diagram is illustrated in Figure 4. (2) Figure 4. Block Diagram of the PID Controller Note from the figure that for better numerical accuracy, the derivative term is used directly from the angular velocity measurements obtained from the IMU instead of numerically differentiating the error signal. Note also the minus sign in front of the D term since for a constant roll angle reference we have ref err err. The method we employ in determining the PID coefficients consists of four stages: 1) Experimental determination of the PID coefficients, 2) Data collection, 3) System identification, 4) Controller redesign by tuning coefficients with a numerical search. For the first stage we run the experimental setup and use heuristic rules of thumb, such as slowly increasing P until the system somewhat oscillates around the horizontal, then adding a D term to reduce oscillations and finally adding an I term to eliminate the steady state error. The values resulting from this procedure are 0.35, 0.01 and 0.05, which produced in a closed loop system capable of stabilizing the roll and pitch angle, but the response was slower than desired and quite jittery. For this reason we proceed with the extra tasks described below. 2.3 System Identification We perform system identification using experimental data obtained from the PID coefficients mentioned above with the goal of producing a linear model around the operating point 0 and θ 0. The system input is selected as the mean-shifted pulse width modulation value (PWM) that is fed to the servomotors rotating the propellers. The outputs are the roll angle and the pitch angle θ. Numerous system identification techniques were applied to the data through the use of MATLAB System Identification Toolbox, but the best results were achieved with subspace identification (N4SID) [11], and the transfer functions for these models are shown in (3) and (4). The sampling period is 0.029, which is the rate that we process data for our particular hardware/software configuration.

2.881 2.501 0.1687 0.3733 1.51 0.9951 0.8117 0.006187 0.02259 0.3682 0.201 0.298 2.402 z 1.522 z z 0.6012 z 0.07561 z 0.01995 z 0.03405 z 0.04376 z 0.04997 (3) (4) Figure 5. Measured output (top) and simulated model output (bottom) for pitch angle Figure 6. Measured output (top) and simulated model output (bottom) for roll angle One can observe a good agreement between the output measured from experiments and the output simulated from the model, which are compared in Figure 5 and Figure 6. 2.4 Controller Redesign With the model of the system at hand, we now proceed to redesign the controller so as to improve the performance of the closed loop system, in particular, the time it takes for the system to settle. For this purpose we set up a numerical search problem in MATLAB within a five percent neighborhood of the empirical coefficient values, and look for a solution that minimizes the settling time. This process yields the coefficient values 0.4, 0.03 and 0.05, using which we form the discrete time PID controller 1 z T C z K K 1 z 2 K 1 z (5) T where the derivation in discrete time is approximated as y k and the integration in discrete time is approximated as y k y k 1 T.

3. Experimental Results After the design of pitch and roll controllers, the quadrotor was detached from the test setup (Figure 3) and was started directly from the floor as shown in Figure 7. Ropes were tied to the sides for security purposes in case something unexpected happens; they are normally loose and do interfere with the quadrotor s motion. Figure 7. Experimental Quadrotor Test Platform Figure 9. Experimental results showing the pitch angle θ with empirical PID coefficients (top) and PID coefficients tuned on the identified model (bottom) Figure 8 and Figure 9 show a comparison between two sets of the experimental results: the response of the closed-loop system with the empirical PID coefficients and the response of the closed-loop system with the PID coefficients tuned on the model obtained from system identification. It can clearly be seen that the tuned coefficients have improved the closed-loop response significantly; the roll and the pitch angle settle much faster, and once amplitude of the steady state oscillations are lower. 4. Conclusions and Future Works Figure 8. Experimental results showing the roll angle with empirical PID coefficients (top) and PID coefficients tuned on the identified model (bottom) This paper presented a quadrotor roll and pitch axes control system based on a PID controller. The controller was first tuned experimentally so that the response stays around the horizontal, after which mean-shifted servomotor PWM values, and the roll and pitch angle readings from IMU were stored to form the input-output

data set. This set was subjected to system identification so as to produce transfer functions of the quadrotor system around the origin, and it was observed that the model can reproduce the system response quite acceptably. Using a numerical search procedure, the PID coefficients were then tuned around a local neighborhood of the empirical PID for a faster settling time. The coefficients obtained from this procedure were tested on the experimental setup and it was observed that the settling time as well as the steady state oscillations of the closed-loop system was improved. Future research directions include extending the results to the control the yaw axis, as well as the testing of the approach presented on different air vehicles. [7] P. Castillo, A. E. Dzul, Stabilization of a minirotorcraft having four rotors, Proceedings of the IEEE Conference on Intelligent Robots and Systems, September 28-August 2, 2004. [8] A. Tayebi, S. McGilvray, Attitude Stabilization of a VTOL Quadrotor Aircraft, IEEE Transactions on Control Systems Technology, vol. 14, No.3, May 2006. [9] M. Valenti, B. Bethke, G. Fiore, J.P. How, and E. Feron. Indoor multivehicle flight testbed for fault detection, isolation, and recovery. AIAA Guidance, Navigation, and Control Conference, Keystone, 2006. [10] M.G. Earl, R. D'Andrea, Real-time Attitude Estimation Techniques Applied to a Four Rotor Helicopter, 43rd IEEE Conference on Decision and Control. 2004. [11] P. Van Overschee and B. De Moor, Subspace identification for linear systems: Theory- Implementation-Applications, Kluwer Academic Publishers, Dordrecht, 1996. References [1] P. Pounds, Paul, R. Mahony and P. Corker, Modelling and control of a quad-rotor robot. In Proceedings Australasian Conference on Robotics and Automation, Australian Robotics and Automation Association Inc., Auckland, New Zealand, 2006. [2] S. Bouabdallah and R. Siegwart Full Control of a Quadrotor, Proceedings of the 2007 IEEE/RSJ International Conference on Intelligent Robots and Systems San Diego, CA, USA, Oct 29 - Nov 2, 2007. [3] H. Voos, Nonlinear Control of a Quadrotor Micro- UAV using Feedback - Linearization Proceedings of the 2009 IEEE International Conference on Mechatronics. Malaga, Spain, April 2009. [4] B. Erginer and E. Altuğ, Modeling and PD Control of a Quadrotor VTOL Vehicle Proceedings of the 2007 IEEE Intelligent Vehicles Symposium Istanbul, Turkey, June 13-15, 2007. [5] G. Chowdhary and S. Lorenz, Control of a VTOL UAV via Online Parameter Estimation AIAA Guidance, Navigation, and Control Conference and Exhibit 15-18 August, San Francisco, California, 2005. [6] M. Ö. Efe, Robust Low Altitude Behavior Control of a Quadrotor Rotorcraft Through Sliding Modes 2007 Mediterranean Conference on Control and Automation, July 27-29, Athens, Greece, 2007.