Design and Implementation of FPGA Based Quadcopter

Similar documents
Control System Design for Tricopter using Filters and PID controller

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

Classical Control Based Autopilot Design Using PC/104

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

Introducing the Quadrotor Flying Robot

A 3D Gesture Based Control Mechanism for Quad-copter

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

SELF STABILIZING PLATFORM

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

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

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

Hardware in the Loop Simulation for Unmanned Aerial Vehicles

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

Nautical Autonomous System with Task Integration (Code name)

Modeling And Pid Cascade Control For Uav Type Quadrotor

GPS System Design and Control Modeling. Chua Shyan Jin, Ronald. Assoc. Prof Gerard Leng. Aeronautical Engineering Group, NUS

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

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

Multitasking quad copter with hand gesture technology

QUADROTOR STABILITY USING PID JULKIFLI BIN AWANG BESAR

INTELLIGENT LANDING TECHNIQUE USING ULTRASONIC SENSOR FOR MAV APPLICATIONS

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

Construction and signal filtering in Quadrotor

ISSUE 5 VOLUME 3 ISSN: INTERNATIONAL JOURNAL FOR ENGINEERING APPLICATIONS AND TECHNOLOGY

IMU: Get started with Arduino and the MPU 6050 Sensor!

Study of M.A.R.S. (Multifunctional Aero-drone for Remote Surveillance)

Four Quadrant Speed Control of DC Motor with the Help of AT89S52 Microcontroller

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

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

Testing Autonomous Hover Algorithms Using a Quad rotor Helicopter Test Bed

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

Controller based Electronic Speed Controller for MAV Propulsion System

PRODUCTS AND LAB SOLUTIONS

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

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

U.A.R.C. Unmanned Aerial Reconnaissance Copter Summer Critical Design Review. Group# 9 Clint Mansfield Edwin Giraldo Jeremy Brooks

Speed Control of BLDC Motor Using FPGA

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

A Simple Design of Clean Robot

Flight control Set and Kit

Teleoperation of a Tail-Sitter VTOL UAV

Advanced User Manual

Safe Landing of Autonomous Amphibious Unmanned Aerial Vehicle on Water

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

Undefined Obstacle Avoidance and Path Planning

MICRO AERIAL VEHICLE PRELIMINARY FLIGHT CONTROL SYSTEM

Small Unmanned Aerial Vehicle Simulation Research

Multi-rotor flight stabilization & Autopilot System Installation & Operation Guide. Guilin Feiyu Electronic Technology Co., Ltd

Gesture Identification Using Sensors Future of Interaction with Smart Phones Mr. Pratik Parmar 1 1 Department of Computer engineering, CTIDS

MEMS Accelerometer sensor controlled robot with wireless video camera mounted on it

Frequency-Domain System Identification and Simulation of a Quadrotor Controller

Attack on the drones. Vectors of attack on small unmanned aerial vehicles Oleg Petrovsky / VB2015 Prague

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

Implementation of Kalman Filter on PSoC-5 Microcontroller for Mobile Robot Localization

Rocking Drones with Intentional Sound Noise on Gyroscopic Sensors

PID CONTROL FOR TWO-WHEELED INVERTED PENDULUM (WIP) SYSTEM

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

ChRoMicro - Cheap Robotic Microhelicopter HOWTO (EN)

Heterogeneous Control of Small Size Unmanned Aerial Vehicles

Practical Approach to Rudder Control System for UAV using Low Cost MEMS Sensors

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

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

Design of Joint Controller Circuit for PA10 Robot Arm

Stability Control of a Quad-Rotor Using a PID Controller

Design and Control of a Self-Balancing Autonomous Underwater Vehicle with Vision and Detection Capabilities

PRODUCTS AND LAB SOLUTIONS

Dynamically Adaptive Inverted Pendulum Platfom

SELF-BALANCING MOBILE ROBOT TILTER

Design of Attitude Control System for Quadrotor

ARKBIRD-Tiny Product Features:

Design of double loop-locked system for brush-less DC motor based on DSP

Sensor system of a small biped entertainment robot

HAND GESTURE CONTROLLED ROBOT USING ARDUINO

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

STUDY OF FIXED WING AIRCRAFT DYNAMICS USING SYSTEM IDENTIFICATION APPROACH

University of Florida. Jordan Street Fred Taylor

Extended Kalman Filtering

Requirements Specification Minesweeper

DEVELOPMENT OF AN AUTONOMOUS SMALL SCALE ELECTRIC CAR

DelFly Versions. See Figs. A.1, A.2, A.3, A.4 and A.5.

DC motor control using arduino

FY-91Q DREAMCATCHER TECH. Multi-rotor flight stabilization & Autopilot System Installation & Operation Guide

Microprocessor-Controlled Aerial Research Team Final Report

AN ALGORITHM FOR OBSTACLE AVOIDANCE CONTROLLER USING ULTRASONIC SENSOR FOR MINI AIRCRAFT APPLICATIONS

DESIGN CONSTRAINTS ANALYSIS

Automobile Prototype Servo Control

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

Embedded Robust Control of Self-balancing Two-wheeled Robot

Swinburne Research Bank

ROBOTICS ENG YOUSEF A. SHATNAWI INTRODUCTION

INTRODUCTION. In the industrial applications, many three-phase loads require a. supply of Variable Voltage Variable Frequency (VVVF) using fast and

Adaptation of an Commercially Available Stabilised R/C Helicopter to a Fully Autonomous Surveillance UAV

A Mini UAV for security environmental monitoring and surveillance: telemetry data analysis

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

Application of an Inertial Navigation System to the Quad-rotor UAV using MEMS Sensors

3-Degrees of Freedom Robotic ARM Controller for Various Applications

Hardware System for Unmanned Surface Vehicle Using IPC Xiang Shi 1, Shiming Wang 1, a, Zhe Xu 1, Qingyi He 1

Project Name: Tail-Gator

Transcription:

Design and Implementation of FPGA Based Quadcopter G Premkumar 1 SCSVMV, Kanchipuram, Tamil Nadu, INDIA R Jayalakshmi 2 Assistant Professor, SCSVMV, Kanchipuram, Tamil Nadu, INDIA Md Akramuddin 3 Project Engineer-II, Centre for Development of Advanced Computing (C-DAC), Hyderabad, Telangana State, India. ABSTRACT This work aims to design and implement a digital flight controller on a FPGA prototype board for stabilizing a Quadcopter unmanned aerial vehicle (UAV). The purpose of the project was to access the feasibility of using an FPGA in the stabilized control of an under actuated aerial robotic system. Generally, FPGAs are good for implementing time critical concurrent processing functions. ESC and PWM decoder are good examples, but also IMU integration. The flight controller on the craft is custom made FPGA board.it employs Field Programmable Gate Array (FPGA) and Digital Signal Processor (DSP) technology to satisfy the requirements for more advanced vehicle behaviour in a small package. Having these two processors in the system enables custom vehicle interfacing and fast sequential processing of high-level control algorithms. KEYWORDS:UAV, FPGA, DSP, RC, IMU, PID, ESC,YPR, DMP. I.INTRODUCTION Un-manned aerial vehicles are important nowadays for many applications and experimentation activities. These UAV s are business leading systems, designed by us for many applications like 3-D modelling, volumetric analysis, mining, agriculture, surveying etc. Actually these drones are classified into 2 types, they are fixed wing and rotary wing, again this rotary wing is classified into 2 types, and they are single rotor and multi-rotor. The merits and the demerits of drone types is described in below table. Quad-copter is also called as quad-rotor. it is a multi-rotor helicopter that is lifted and propelled by four motors. By changing the speed of each rotor it is possible to specifically generate a desired total thrust, The most common rotor configuration is two rotors rotate in clockwise (CW) and other two in counter clockwise (CCW) direction the Quadcopters have many configurations like X, +, H. X is preferred when high speeds & manoeuvrability is required since only 2 rotors need to bank left or right. The quad-copter control comes from the variations in the torque from the motors and thrust, to locate for the centre of thrust both laterally and longitudinally; and to create a desired total torque, or turning force. The main advantage of this quad-rotor is vertical take off and landing. In this project we are designing the quad-copter with FPGA flight controller, also we can use the drone at night times.this quad-copter is Operable at different weather conditions, to sustain this we have to implement the PID control algorithm with high accuracy and the type of the material used for the drone frame should have more density and less weight [1]. II. Proposed system It shows the modules of the block diagram that can be implemented and run on FPGA for stable hovering of the Quadcopter. It consists of the sensors, FPGA, ESC s and the motors. The inputs to the flight controller are taken from MPU-6050, ultrasonic sensor and radio controller (RC) [3]. 558 G Premkumar, R Jayalakshmi, Md Akramuddin

Fig. 1 Block Diagram The sensor MPU-6050 is used to find theorientation of the craft using accelerometer and gyroscope, it is required to undergo testing and configuration and it requires a complimentary filter to reduce the noise and error produced. then the data and clock signal is connected to the FPGA through the I2C bus, the data is then given to the PID controller which is implemented in FPGA to stabilize and control the quadcopter, it takes the raw data from the MPU-6050 and uses the sensorfusion to get the Yaw, Pitch, Roll(YPR) and minimizes the error to maintain YPR at the set point and the other input to the PID controller is given from the ULTRASONIC sensor which detects the presence of obstacles and sends the signal to the flight controller, PID controller takes the corrective action by generating the corresponding PWM signals to the electronic speed controllers which controls the speed of the motors [4]. The outputs of the flight controller are connected to the electronic speed controllers (ESC s) to which the motors are attached. Besides, RC Receiver is the user input to flight controller, it send the user instruction to the flight controller and commands the Quadcopter to fly in desired motion. A. PWM ENCODER 1) Esc initialization: In this process the Maximum and Minimum throttle has to be processed by the ESC, Generally this is done by using the rc receiver, it is connected to the ESC and the maximum throttle signal is transmitted by the transmitter and it is detected by the esc, then it gives a beep now minimum throttle has to be transmitted by the transmitter this is done by moving the throttle gimbal to minimum position.the same process can be done by using a micro controller, it should generate the Maximum and the minimum throttle signals after the minimum signal is detected the esc again gives another beep indicating that minimum throttle has been processed.it has been implemented on FPGA the program is written in Verilog to generate the Maximum and Minimum throttles. The below waveforms shows the results of the simulation. 559 G Premkumar, R Jayalakshmi, Md Akramuddin

Fig. 2 Waveforms of ESC Initialization 2)PWM Signal Generation: The PWM signal has to be generated to control the speed of the BLDC motors. The ON Pulse should not be more than 2ms and less than 1ms, the time period of the signal has to be maintained as 20ms. The frequency of the signal is 50Hz [2]. Fig. 3 PWM Signal Generation B. PWM DECODER: This module decode the pwm signals from the rc receiver and read the on time period of the each pulse. Similarly it has to do for all the four channels. The waveforms of pwm decoder are shown in Fig. 4. Fig. 4 PWM Decoder 560 G Premkumar, R Jayalakshmi, Md Akramuddin

C. MPU -6050 (INERTIAL MEASUREMENT UNIT): The MPU 6050 is a 6 DOF (Degrees of Freedom) or a six-axis IMU sensor, The MPU 6050 is a sensor based on MEMS (Micro Electro Mechanical Systems) technology. Both the accelerometer and the gyroscope are embedded inside a single chip. This chip uses I2C (Inter-Integrated Circuit) protocol for communication. The MPU 6050 has a built-in DMP (Digital Motion Processor). By enabling the hardware features of this sensor the DMP processes the raw data from the accelerometer and gyroscope to give us the final YAW, PITCH and roll in degrees.[4] Fig. 5 I2C Interface of MPU 6050 with ZED Board D. PID Controller The main challenge is implementing PID. We need two PID controllers for both pitch and roll. The pitch controller will maintain the test stand at a constant angle. The farther you push the pitch gimbal, the farther the platform should tilt. This will require the accelerometer readings from the IMU. The roll controller will maintain the test stand at a constant angle. Thefarther you push the roll gimbal, the farther the platform should tilt. This will require the accelerometer readings from the IMU.[5] E. MAPPING UNIT Mapping unit is a module to map the decoded PWM signal from remote control to angles for roll, pitch and yaw command. While throttle is map to percentages value. The below are the formulae for the 4 motors duty cycle at which the motor should rotate. Fig. 6 PWM Encoder III. Conclusion In this work, the objectives achieved are, Designed a FPGA based flight controller of a Quadcopter, established a Quadcopter platform for further study and research purposes and integrated related avionics sensors into the FPGA by designing the communication interface. 561 G Premkumar, R Jayalakshmi, Md Akramuddin

Fig. 8 Motors running with the Zed Board REFERENCES [1] NoeMonterrosa, Jason Montoya, FredyJarquin, and Carlos Bran, Design, Development and Implementation of a UAV flight controller based on a state Machine approach using a FPGA embedded system, 35th Digital Avionics systems Conference (DASC), 2016 IEEE/AIAA. [2] NoeMonterrosa, Design and implementation of a motor control module based on PWM and FPGA for the development of a UAV flight controller, CHILEAN Conference on Electrical, Electronics Engineering, Information and Communication Technologies(CHILECON), 2015 IEEE, Santiago, Chile. [3] Blake Fuller, Jonathan Kok, Neil Kelson, Felipse Gonzalez, Hardware design and implementation of MAV Link interface for an FPGA based autonomous UAV flight control system, Australasian Conference on Robotics and Automation, Australian Robotics & Automation Association ARAA, Melbourne, 2014 Australia, pp.1-6. [4] BP Jeppesen, A Crosland, and T Chau, An FPGA-Based platform for integrated power and motion control, 42 ND Annual Conference of the IEEE, Industrial Electronics Society, IECON 2016, IEEE, UK.. [5] Hongyu and Wang, Ying Liu, Hardware in the Loop Based 6DoF Test Platform for Multi-rotor UAV, 4 th International Conference on Systems and Informatics(ICSAI), 2017 IEEE, Hangzhou, china. [6] HongzhuanCai, QingkaiGeng. Research on the Development Process and Trend of Unmanned Aerial Vehicle,International Industrial Informatics and Computer Engineering Conference (IIICEC 2015). [7] S. O. Madgwick, A. J. Harrison and R. Vaidyanathan,"Estimation of IMU and MARG orientation using a gradient descent algorithm," IEEE InternationalConference on Rehabilitation Robotics, 2011. [8] A. U. Darajat, M. Komarudin and S. R. S, "SISTEM TELEMETRI Unmanned Aerial Vehicle (UAV) BERBASIS Inertial Measurement Unit (IMU),"ELECTRICIAN JurnalRekayasadanTeknologiElektro, 2012. 562 G Premkumar, R Jayalakshmi, Md Akramuddin