FUZZY LOGIC CONTROL OF AN AUTONOMOUS MOBILE ROBOT WAN NOR SYAHIRA BINTI WAN ALI

Similar documents
Solving Tracking Problem of a Nonholonomic Wheel Mobile Robot Using Backstepping Technique

Signature :.~... Name of supervisor :.. ~NA.lf... l.?.~mk.. :... 4./qD F. Universiti Teknikal Malaysia Melaka

INTEGRATION OF CUBIC MOTION AND VEHICLE DYNAMIC FOR YAW TRAJECTORY MOHD FIRDAUS BIN MAT GHANI

DETECTION OF WORMHOLE ATTACK IN MOBILE AD-HOC NETWORKS MOJTABA GHANAATPISHEH SANAEI

ISOGEOMETRIC ANALYSIS OF PLANE STRESS STRUCTURE CHUM ZHI XIAN

THE COMPARISON OF IMAGE MANIFOLD METHOD AND VOLUME ESTIMATION METHOD IN CONSTRUCTING 3D BRAIN TUMOR IMAGE

HARDWARE AND SOFTWARE CO-SIMULATION PLATFORM FOR CONVOLUTION OR CORRELATION BASED IMAGE PROCESSING ALGORITHMS SAYED OMID AYAT

BLOCK-BASED NEURAL NETWORK MAPPING ON GRAPHICS PROCESSOR UNIT ONG CHIN TONG UNIVERSITI TEKNOLOGI MALAYSIA

SMART AQUARJUM (A UTOMATIC FEEDING MACHINE) SY AFINAZ ZURJATI BINTI BAHARUDDIN

A LEVY FLIGHT PARTICLE SWARM OPTIMIZER FOR MACHINING PERFORMANCES OPTIMIZATION ANIS FARHAN BINTI KAMARUZAMAN UNIVERSITI TEKNOLOGI MALAYSIA

HIGH SPEED SIX OPERANDS 16-BITS CARRY SAVE ADDER AWATIF BINTI HASHIM

ENHANCEMENT OF UML-BASED WEB ENGINEERING FOR METAMODELS: HOMEPAGE DEVELOPMENT CASESTUDY KARZAN WAKIL SAID

AUTOMATIC DETECTION TEMPERATURE TRANSMITTER FOR CALIBRATION PROCESS USING THERMOCOUPLE MUHAMAD FARID BIN A.WAHAB

AUTOMATIC APPLICATION PROGRAMMING INTERFACE FOR MULTI HOP WIRELESS FIDELITY WIRELESS SENSOR NETWORK

MICRO-SEQUENCER BASED CONTROL UNIT DESIGN FOR A CENTRAL PROCESSING UNIT TAN CHANG HAI

CMPUT 412 Motion Control Wheeled robots. Csaba Szepesvári University of Alberta

CHAPTER 3 MATHEMATICAL MODEL

10/11/07 1. Motion Control (wheeled robots) Representing Robot Position ( ) ( ) [ ] T

This item is protected by original copyright

Motion Control (wheeled robots)

AN IMPROVED PACKET FORWARDING APPROACH FOR SOURCE LOCATION PRIVACY IN WIRELESS SENSORS NETWORK MOHAMMAD ALI NASSIRI ABRISHAMCHI

Parallel Robots. Mechanics and Control H AMID D. TAG HI RAD. CRC Press. Taylor & Francis Group. Taylor & Francis Croup, Boca Raton London NewYoric

THREE BIT SUBTRACTION CIRCUIT VIA FIELD PROGRAMMABLE GATE ARRAY (FPGA) NOORAISYAH BINTI ARASID B

Kinematics, Kinematics Chains CS 685

DESIGN AND IMPLEMENTATION OF A MUSIC BOX USING FPGA TAN KIAN YIAK

IMPLEMENTATION OF UNMANNED AERIAL VEHICLE MOVING OBJECT DETECTION ALGORITHM ON INTEL ATOM EMBEDDED SYSTEM

PRIVACY FRIENDLY DETECTION TECHNIQUE OF SYBIL ATTACK IN VEHICULAR AD HOC NETWORK (VANET) SEYED MOHAMMAD CHERAGHI

ENHANCING TIME-STAMPING TECHNIQUE BY IMPLEMENTING MEDIA ACCESS CONTROL ADDRESS PACU PUTRA SUARLI

SLANTING EDGE METHOD FOR MODULATION TRANSFER FUNCTION COMPUTATION OF X-RAY SYSTEM FARHANK SABER BRAIM UNIVERSITI TEKNOLOGI MALAYSIA

RECOGNITION OF PARTIALLY OCCLUDED OBJECTS IN 2D IMAGES ALMUASHI MOHAMMED ALI UNIVERSITI TEKNOLOGI MALAYSIA

IMPLEMENTATION AND PERFORMANCE ANALYSIS OF IDENTITY- BASED AUTHENTICATION IN WIRELESS SENSOR NETWORKS MIR ALI REZAZADEH BAEE

MODELLING AND REASONING OF LARGE SCALE FUZZY PETRI NET USING INFERENCE PATH AND BIDIRECTIONAL METHODS ZHOU KAIQING

Centre for Autonomous Systems

Table of Contents. Chapter 1. Modeling and Identification of Serial Robots... 1 Wisama KHALIL and Etienne DOMBRE

SOLUTION AND INTERPOLATION OF ONE-DIMENSIONAL HEAT EQUATION BY USING CRANK-NICOLSON, CUBIC SPLINE AND CUBIC B-SPLINE WAN KHADIJAH BINTI WAN SULAIMAN

Fundamental problems in mobile robotics

FINGERPRINT DATABASE NUR AMIRA BINTI ARIFFIN THESIS SUBMITTED IN FULFILMENT OF THE DEGREE OF COMPUTER SCIENCE (COMPUTER SYSTEM AND NETWORKING)

DYNAMIC TIMESLOT ALLOCATION TECHNIQUE FOR WIRELESS SENSOR NETWORK OON ERIXNO

THE DEVELOPMENT OF EMBEDDED BAND-STOP FILTER FOR VIBRATION CONTROL OF A FLEXIBLE MANIPULATOR NOOR HAZREEN BT SUTOMOH

Linear algebra deals with matrixes: two-dimensional arrays of values. Here s a matrix: [ x + 5y + 7z 9x + 3y + 11z

LOGICAL OPERATORS AND ITS APPLICATION IN DETERMINING VULNERABLE WEBSITES CAUSED BY SQL INJECTION AMONG UTM FACULTY WEBSITES NURUL FARIHA BINTI MOKHTER

APPENDIX A. Sample of a report front cover TITLE OF PROJECT IN CAPITAL LETTERS. (Centered within prescribed margin) STUDENT S FULL NAME

Mobile Robotics. Mathematics, Models, and Methods. HI Cambridge. Alonzo Kelly. Carnegie Mellon University UNIVERSITY PRESS

UNIVERSITY OF OSLO. Faculty of Mathematics and Natural Sciences

IMPROVED IMAGE COMPRESSION SCHEME USING HYBRID OF DISCRETE FOURIER, WAVELETS AND COSINE TRANSFORMATION MOH DALI MOUSTAFA ALSAYYH

OPTIMIZE PERCEPTUALITY OF DIGITAL IMAGE FROM ENCRYPTION BASED ON QUADTREE HUSSEIN A. HUSSEIN

A TRUST MODEL FOR BUSINESS TO CUSTOMER CLOUD E-COMMERCE HOSSEIN POURTAHERI

A NEW STEGANOGRAPHY TECHNIQUE USING MAGIC SQUARE MATRIX AND AFFINE CIPHER WALEED S. HASAN AL-HASAN UNIVERSITI TEKNOLOGI MALAYSIA

Signature : IHSAN BIN AHMAD ZUBIR. Date : 30 November 2007

MAC PROTOCOL FOR WIRELESS COGNITIVE NETWORK FARAH NAJWA BINTI MOKHTAR

SUPERVISED MACHINE LEARNING APPROACH FOR DETECTION OF MALICIOUS EXECUTABLES YAHYE ABUKAR AHMED

Dynamic Object Tracking Control for a Non-Holonomic Wheeled Autonomous Robot

HARDWARE/SOFTWARE SYSTEM-ON-CHIP CO-VERIFICATION PLATFORM BASED ON LOGIC-BASED ENVIRONMENT FOR APPLICATION PROGRAMMING INTERFACING TEO HONG YAP

ENHANCING SRAM PERFORMANCE OF COMMON GATE FINFET BY USING CONTROLLABLE INDEPENDENT DOUBLE GATES CHONG CHUNG KEONG UNIVERSITI TEKNOLOGI MALAYSIA

AMBA AXI BUS TO NETWORK-ON-CHIP BRIDGE NG KENG YOKE UNIVERSITI TEKNOLOGI MALAYSIA

Automatic Control Industrial robotics

PROBLEMS ASSOCIATED WITH EVALUATION OF EXTENSION OF TIME (EOT) CLAIM IN GOVERNMENT PROJECTS

FUZZY NEURAL NETWORKS WITH GENETIC ALGORITHM-BASED LEARNING METHOD M. REZA MASHINCHI UNIVERSITI TEKNOLOGI MALAYSIA

Chapter 4 Dynamics. Part Constrained Kinematics and Dynamics. Mobile Robotics - Prof Alonzo Kelly, CMU RI

UNIVERSITY OF OSLO. Faculty of Mathematics and Natural Sciences

AUTOMATIC RAILWAY GATE CONTROLLERUSING ZIGBEE NURLIYANA HAZIRAH BINTI MOHD SAFEE (B )

SECURE-SPIN WITH HASHING TO SUPPORT MOBILITY AND SECURITY IN WIRELESS SENSOR NETWORK MOHAMMAD HOSSEIN AMRI UNIVERSITI TEKNOLOGI MALAYSIA

TOWER BASE STATION SAFETY SYSTEM USING GSM TECHNOLOGY NIZAR ZACARIYYA BIN SHAPHERI

UNIVERSITY OF OSLO. Faculty of Mathematics and Natural Sciences

MEM380 Applied Autonomous Robots Winter Robot Kinematics

Mobile Robot Kinematics

BORANG PENGESAHAN STATUS TESIS

1. Introduction 1 2. Mathematical Representation of Robots

Written exams of Robotics 2

ADAPTIVE LOOK-AHEAD ROUTING FOR LOW LATENCY NETWORK ON-CHIP NADERA NAJIB QAID AL AREQI UNIVERSITI TEKNOLOGI MALAYSIA


ADAPTIVE ONLINE FAULT DETECTION ON NETWORK-ON-CHIP BASED ON PACKET LOGGING MECHANISM LOO LING KIM UNIVERSITI TEKNOLOGI MALAYSIA

RGB COLOR IMAGE WATERMARKING USING DISCRETE WAVELET TRANSFORM DWT TECHNIQUE AND 4-BITS PLAN BY HISTOGRAM STRETCHING KARRAR ABDUL AMEER KADHIM

UNIVERSITI MALAYSIA PAHANG

HERMAN. A thesis submitted in fulfilment of the requirements for the award of the degree of Doctor of Philosophy (Computer Science)

IRIS RECOGNITION USING ARTIFICIAL NEURAL NETWORK FATIN ZURIAH BINTI MOHAMMAD ZUHARY

AUTOMATIC PET FEEDER WITH CLIENT/SERVER APPLICATION KHAIRUL ANWAR B MOHD YAKOP UNIVERSITI MALAYSIA PAHANG

Unit 2: Locomotion Kinematics of Wheeled Robots: Part 3

SYSTEMATIC SECURE DESIGN GUIDELINE TO IMPROVE INTEGRITY AND AVAILABILITY OF SYSTEM SECURITY ASHVINI DEVI A/P KRISHNAN

SEMANTICS ORIENTED APPROACH FOR IMAGE RETRIEVAL IN LOW COMPLEX SCENES WANG HUI HUI

Neuro Fuzzy Controller for Position Control of Robot Arm

LOCALIZING NON-IDEAL IRISES VIA CHAN-VESE MODEL AND VARIATIONAL LEVEL SET OF ACTIVE CONTOURS WITHTOUT RE- INITIALIZATION QADIR KAMAL MOHAMMED ALI

DEVELOPMENT OF SPAKE S MAINTENANCE MODULE FOR MINISTRY OF DEFENCE MALAYSIA SYED ARDI BIN SYED YAHYA KAMAL UNIVERSITI TEKNOLOGI MALAYSIA

COLOUR IMAGE WATERMARKING USING DISCRETE COSINE TRANSFORM AND TWO-LEVEL SINGULAR VALUE DECOMPOSITION BOKAN OMAR ALI

A Simplified Vehicle and Driver Model for Vehicle Systems Development

Table of Contents Introduction Historical Review of Robotic Orienting Devices Kinematic Position Analysis Instantaneous Kinematic Analysis

IRIS RECOGNITION SYSTEM USING HISTOGRAM ANALYSIS NORHUDA BINTI OTHMAN

HOME APPLIANCE CONTROL SYSTEM TAN WEI SYE

LINK QUALITY AWARE ROUTING ALGORITHM IN MOBILE WIRELESS SENSOR NETWORKS RIBWAR BAKHTYAR IBRAHIM UNIVERSITI TEKNOLOGI MALAYSIA

STUDY OF FLOATING BODIES IN WAVE BY USING SMOOTHED PARTICLE HYDRODYNAMICS (SPH) HA CHEUN YUEN UNIVERSITI TEKNOLOGI MALAYSIA

COPYRIGHTED MATERIAL INTRODUCTION CHAPTER 1

PORTABLE ELECTRONICS QUEUE CONTROL SYSTEM WONG CHUN YUAN UNIVERSITY MALAYSIA PAHANG

DYNAMIC MOBILE SERVER FOR LIVE CASTING APPLICATIONS MUHAMMAD SAZALI BIN HISHAM UNIVERSITI TEKNOLOGI MALAYSIA

INTELLIGENT NON-DESTRUCTIVE CLASSIFICATION OF JOSAPINE PINEAPPLE MATURITY USING ARTIFICIAL NEURAL NETWORK

DESIGN AND MODELLING OF A 4DOF PAINTING ROBOT

UNSTEADY AERODYNAMIC WAKE OF HELICOPTER MAIN-ROTOR-HUB ASSEMBLY ISKANDAR SHAH BIN ISHAK UNIVERSITI TEKNOLOGI MALAYSIA

A SEED GENERATION TECHNIQUE BASED ON ELLIPTIC CURVE FOR PROVIDING SYNCHRONIZATION IN SECUERED IMMERSIVE TELECONFERENCING VAHIDREZA KHOUBIARI

TUITION CENTRE MANAGEMENT SYSTEM (TCMS) ZARIFAH BINTI MOHD PAHMI UNIVERSITI TEKNIKAL MALAYSIA MELAKA

NMT EE 589 & UNM ME 482/582 ROBOT ENGINEERING. Dr. Stephen Bruder NMT EE 589 & UNM ME 482/582

Location Based Selling Platform for Mobile Buyers

Transcription:

ii FUZZY LOGIC CONTROL OF AN AUTONOMOUS MOBILE ROBOT WAN NOR SYAHIRA BINTI WAN ALI This report is submitted in partial fulfillment of the requirements for the award of Bachelor Electronic Engineering (Computer Engineering) With Honours Faculty of Electronic and Computer Engineering Universiti Teknikal Malaysia Melaka April 2010

iii I hereby declare that this report is the result of my own work except for quotes as cited in the references. Signature :.. Author :.. Date :.

iv I hereby declare that I have read this report and in my opinion this report is sufficient in terms of the scope for the award of Bachelor of Electronic Engineering (Computer Engineering) With Honours. Signature : Supervisor s Name: PUAN SHARATUL IZAH SAMSUDIN Date :

For my beloved family and my fellow friends. v

vi ACKNOWLEDGEMENTS My first thanks for my supervisor, Puan Sharatul Izah Samsudin, whose constant support, patience and unbounded enthusiasm were of invaluable help. Her devotion to the needs of the students and the encouragements has made working with him a true delight. Thanks for helping me to kick start this research by providing insights and his work as reference. My sincere thankful to fellow friends in time spend sharing the similar research interests. I appreciated with the concern of helping me in enriching ideas in this project. Lastly, my sincere thanks to all those who are helping me in completely finish this thesis possible. Warmest regards to my mother, father, sister and brother for their seamless caring encouragement and moral support that has made this journey possible.

vii ABSTRACT Nowadays, various control techniques have been proposed and are being researched to solve the motion control problems, but, the most reported designs rely on intelligent control approaches such as fuzzy logic and neural networks. In this project, based on the Fuzzy Logic Technique, this project will develop a tracking controller for the dynamic model of a unicycle mobile robot by integrating a kinematics controller and a torque controller. The tracking controller for the dynamic model will use a control law such that the mobile robot kinematics (velocity) reach the given velocity inputs and a fuzzy logic controller provided the required torques for the actual mobile robot. Computer simulations will be done using Matlab software, confirming the performance of the tracking controller and its application to different navigation problems. Since there are two types of method in fuzzy logic control, which are Mamdani and Sugeno. The Mamdani s approach will also differentiate with Sugeno s method in the scope of performance.

viii ABSTRAK Pada masa kini, terdapat banyak jenis teknik kawalan yang telah dikenalpasti dan dikaji untuk mengatasi masalah kawalan, tetapi, rekabentuk yang dihasilkan oleh kawalan pintar biasanya berpusat pada Logik Fuzzi dan rangkaian saraf. Berdasarkan tenik logic fuzzy, projek ini akan membangunkan satu model kawalan pelancakan untuk model dinamik robot dengan mengintegrasikan kawalan kinematik dengan kawalan tork. Kawalan pelancakan untuk model dinamik akan menggunakan satu undang-undang kawalan sehingga kinematik pada robot (iaitu kelajuan) menjangkau kelajuan input dan kawalan Logik Fuzzi akan memberikan nilai tork yang sebenar pada robot yang sebenar. Simulasi computer akan digunakan dengan menggunakan Matlab untuk menentukan prestasi pelancakan kawalan dan aplikasi untuk masalah yang lain. Oleh kerana terdapat dua jenis kaedah dalam Logik Fuzzi iaitu Sugeno dan Mamdani, kedua-dua kaedah ini akan dibezakan melalui prestasi kedua-dua kaedah ini.

ix CONTENTS CHAPTER TITLE PAGE PROJECT TITLE REPORT STATUS CONFRIMATION FORM AUTHOR DECLARATION SUPERVISOR APPROVAL DEDICATION ACKNOWLEDGEMENT ABSTRACT ABSTRAK TABLE OF CONTENT LIST OF TABLES LIST OF FIGURES LIST OF APPENDICES i ii iii iv v vi vii viii ix xii xiii xv I INTRODUCTION 1.1 Background Study 1 1.2 Problem Statement 2 1.3 Objectives 2 1.4 Scopes of project 3 1.5 Methodology 3 II LITERATURE REVIEW 2.1 The Mobile Robot 5

x 2.2 Nonholonomic Constraints on Kinematics 6 Model 2.3 Kinematic Equations 6 2.4 Control of the Kinematics Model 8 2.5 Dynamic Equations 9 2.6 Fuzzy logic 13 2.6.1 The Sugeno Method 15 2.6.2 The Mamdani Method 16 2.6.3 Comparison Between Sugeno and Mamdani Method 17 2.6.4 Fuzzy Logic Membership Function 18 2.6.5 Fuzzy Logic Rule-base System 20 2.6.6 Fuzzy Logic Inference System 22 2.7 Fuzzy Logic Control in Matlab 24 III METHODOLOGY 3.1 Prove the Mathematical Model 26 3.2 Reconstruct the Tracking Controller 27 3.3 Fuzzy Logic Controller Design 27 3.4 Comparison between Mamdani s and Sugeno s Method 28 IV RESULTS AND DISCUSSION 4.1 Mathematical Model and the Tracking Controller 29 4.2 Sugeno Fuzzy Logic Controller 33 4.3 Mamdani Fuzzy Logic Controller 37 4.4 Sugeno s Simulation Result 40 4.5 Mamdani s Simulation Result 43

xi 4.5.1 The Application of Rule Base and Membership Function Based on Sugeno s Method. 43 4.5.2 The Application of Similar Rule Base of Sugeno s Method with Different Membership Function 44 4.5.3 The Application of Similar Membership Function of Sugeno s Method with Different Rule Base 45 4.5 Differentiation between Sugeno and Mamdani Method. 48 V CONCLUSION AND SUGGESTION 50 REFERENCES 51 APPENDIX A 52 APPENDIX B 53 APPENDIX C 54

xii LIST OF TABLES NO TITLE PAGE 4.1 The parameter of Fuzzy Logic Controller 35 4.2 Fuzzy Rule Set 35 4.3 The values of %OS, ζ and T s of Sugeno s Output Waveform. 42 4.4 The New Fuzzy Rule Set 46

xiii LIST OF FIGURES NO TITLE PAGE 1.1 Basic Flowchart of the Project 4 2.1 The Autonomous Mobile Robot 5 2.2 Unicycle Mobile Robot with Xm-Ym Coordinate System 6 2.3 Unicycle Robot with Velocity Vector (v,ω ) and angle θ 7 2.4 Trigonometry Theorem 7 2.5 Fuzzy Logic Control System 13 2.6 The General Description of a Fuzzy System (left) and a Specific Fuzzy System (right). 14 2.7 Sugeno s Method Rule Operation 16 2.8 Example of trimf and trapmf Fuzzy Membership Function 18 2.9 Example of gaussmf, gauss2mf and gbellmf Fuzzy Membership Function. 19 2.10 Example of sigmf, dsigmf and psigmf Fuzzy Membership Function. 20 2.11 Example of zmf, pimf and smf Fuzzy Membership Function. 20 2.12 Interpretation Diagram of Fuzzy Inference 24 3.1 Steps in Designing Fuzzy Logic Controller 27 4.1 Mathematical Model of the Tracking Controller 29 4.2 Simulink Block Diagram of the System. 30 4.3 Mobile Robot Subsystem 30 4.4 Desired Value Subsystem 31

xiv 4.5 Position Error Subsystem 31 4.6 Auxilary Velocity Control 32 4.7 The subsystem of Vc 1 32 4.8 The subsystem of Wc 1 32 4.9 Input and Output of Sugeno Fuzzy Logic Controller 33 4.10 Sugeno s Input Membership Function 34 4.11 Sugeno s Output Membership Function 34 4.12 Fuzzy Rule Set in Matlab (Rule Editor) 29 4.13 Rule Viewer of the Sugeno Fuzzy Logic Controller 36 4.14 Surface Viewer of the Sugeno Fuzzy Logic Controller 37 4.15 Mamdani s Input and Output Fuzzy Logic Controller 37 4.16 Inputs of Membership Function for Mamdani Fuzzy Logic 38 Controller 4.17 Outputs of Membership Function for Mamdani Fuzzy Logic 38 Controller 4.18 Rule Viewer of Mamdani s Fuzzy Logic Controller 39 4.19 Surface Viewer of Mamdani s Fuzzy Logic Controller 39 4.20 Position error and orientation error with respect to reference values for Sugeno method. 40 4.21 The c max value of Sugeno s output waveform. 41 4.22 Velocity error of Sugeno s method. 42 4.23 Position error and orientation error with respect to reference values for Mamdani method. 43 4.24 Velocity error of Mamdani method. 44 4.25 The New Membership Function 44 4.26 Position Error with New Membership Function. 45 4.27 Velocity Error with New Membership Function. 45 4.28 New Rule Base for Mamdani s method 46 4.29 Position Error when the Rule Base is changed 47 4.30 Velocity Error when the Rule Base is changed 47

xv LIST OF APPENDICES NO TITLE PAGE A Fuzzy Inference System 52 B Fuzzy Inference System (FIS) in Simulink 53 C Fuzzy Membership Function in Simulink 54

1 CHAPTER I INTRODUCTION 1.1 Introduction Mobile robots are mechanical devices capable of moving in an environment with a certain degree of autonomy and posses nonholonomic properties caused by nonintegrable differential constraints while Autonomous robots are robots which can perform desired tasks in unstructured environments without continuous human guidance. Many kinds of robots have some degree of autonomy. Different robots can be autonomous in different ways. A high degree of autonomy is particularly desirable in fields such as space exploration, cleaning floors, mowing lawns, and waste water treatment. Besides, various control techniques have been proposed and are being researched to solve the motion control problems, but, the most reported designs rely on intelligent control approaches such as fuzzy logic and neural networks. In particular, fuzzy logic has proven to be a convenient tool for handling real world uncertainty and knowledge representation. Fuzzy logic is also a true extension of conventional logic, and fuzzy logic controllers are a true extension of linear control models. Hence anything that was built using conventional design techniques can be

2 built with fuzzy logic, and vice-versa. However, in a number of cases, conventional design methods would have been overly complex and, in many cases, might prove simpler, faster and more efficient. The key to successful use of fuzzy logic is clever combination with conventional techniques. Also, a fuzzy system is time-invariant and deterministic. Therefore any verification and stability analysis method can be used with fuzzy logic too. Therefore, in this project, based on the Fuzzy Logic Technique, this project will develop a tracking controller for the dynamic model of a unicycle mobile robot by integrating a kinematics controller and a torque controller. The tracking controller for the dynamic model will use a control law such that the mobile robot kinematics (velocity) reach the given velocity inputs and a fuzzy logic controller provided the required torques for the actual mobile robot. Computer simulations will be done using Matlab software, confirming the performance of the tracking controller and its application to different navigation problems. The Mamdani s approach will also be applied and differentiate with Sugeno s method. 1.2 Objectives In this project, one of the objectives is to develop a tracking controller for the dynamic model of a unicycle mobile robot by integrating a kinematics controller and a torque controller. Besides, its purpose is to simulate and differentiate between Mamdani s method and Sugeno s method in fuzzy logic control system. 1.3 Problem Statement When advanced autonomous robots navigate in indoor environments, they have to be endowed with the ability to move through corridors, to follow walls, to turn corners and to enter open areas of the rooms. In attempts to formulate

3 approaches that can handle real world uncertainty, researchers are frequently faced in developing systems that are difficult to control. Nowadays, there are many researchers have carried out a lot solution and design to improve the autonomous unicycle mobile robots. However, most of the research only focused on kinematics models of mobile robot. Those robots have the controlled velocity inputs, but it is not focused to the controlled problem of nonholonomic dynamic system, where forces and torques are the true input. Therefore, this project will be done to develop a tracking controller for the dynamic model of a unicycle mobile robot by integrating a kinematics controller and a torque controller, in order to solve this problem. Since there is two methods of fuzzy logic control systems, which is Mamdani s and Sugeno s method, this project will also compare the performance of both methods. Matlab software will be used to analysis this project in order to confirm the performance of the tracking navigation problems and its application to different navigation problems. 1.4 Scopes of the Project A tracking controller for the dynamic model of a unicycle mobile robot based on the Fuzzy Logic technique will be developed. Besides, computer simulations are done by using Matlab software to confirm the performance of the tracking controller and its application to different navigation problem. Lastly, the comparison between Mamdani s method and Sugeno s method also will be done. 1.5 Methodology In order to make sure that this project is finished and done systematically, some methodology needs to be applied and well arranged. The project consists of

4 two controllers, which is the tracking controller for the mobile robot and the Fuzzy Logic controller of the mobile robot. The overall flowchart of the methodology that is being used is shown as in Figure 1.1 below: Figure 1.1: Basic flowchart of the project

5 CHAPTER II LITERATURE REVIEW 2.1 The Mobile Robot The term autonomous robot has been ascribed to robotic systems to function without human supervision. [3] In this project, we assume that it is a unicycle mobile robot. The robot body is symmetrical around the perpendicular axis and the center of mass is at the geometric center of the body. It has two driving wheels fixed to the axis that passes through C and one passive oriental wheel that is placed in front of the axis and normal to it. The two fixed wheels are controlled independently by motors, and the passive wheel prevents the robot from tipping over as it moves on a plane. In what follows, we assume that the motion of passive wheel can be ignored in the dynamics of the mobile robot. Figure 2.1: The autonomous mobile robot

6 2.2 Nonholonomic Constraints on Kinematics Model. Non holonomic robots are most prevalent because of their simple design and ease of control. By their nature, non holonomic mobile robots have fewer degrees of freedom than holonomic mobile robots. These few actuated degrees of freedom in non holonomic mobile robots are often independently controllable or mechanically decoupled, further simplifying the low-level control of the robot. Since they have fewer degrees of freedom, there are certain motions they cannot perform. This creates difficult problems for motion planning and implementation of reactive behaviours. Holonomic however, offer full mobility with the same number of degrees of freedom as the environment. This makes path planning easier because there aren t constraints that need to be integrated. Implementing reactive behaviours is easy because there are no constraints which limit the directions in which the robot can accelerate. [4] Normally, a unicycle mobile robot is said as nonholonomic because the constraints of the system impose on their kinematics. Besides, the order of the system is second order system, since the robot is nonholonomic. [6] 2.3 Kinematic Equation [6] Firstly, the Xm Ym coordinate system is fixed to the unicycle mobile robot with C at the origin as below: [6] Figure 2.2: Unicycle Mobile Robot with Xm-Ym Coordinate System [6]

7 Then, the robot is assumed to move in a linear velocity, v which is in the same direction of Xm axis and ω is the angular velocity of it. Figure 2.2 shows the angle,θ is representing the heading direction of the robot. Figure 2.3: Unicycle Robot with Velocity Vector (v,ω ) and angle θ From figure 2.3, we can generate the coordinates by using the trigonometry theorem as below: Figure 2.4: Trigonometry Theorem From Figure 2.4, the polar coordinates of v and θ can be converted to the Cartesian coordinates of x and y by using the trigonometric function as: x& = cos θ y& = sin θ The angle, θ

8 & θ = ω We know that q= & ( x&, y&, & θ ) for robot position Therefore, Factoring x& vcosθ q & = y & = & vsinθ θ cosθ 0 v q& = θ sin 0 ω 0 1 Therefore, the planar motion of mobile robot under nonholonomic constraint of ideal rolling condition is: cosθ 0 v q& = θ sin 0 (2.1) ω 0 1 2.4 Control of the Kinematics Model [6] Based on the equation (2.1), the desired trajectory, q d (t) should satisfy as equations above: [6] q cosθ 0 d vd d ( t) = θ sin d 0 (2.2) ωd 0 1 The error coordinates can be defined as (2.3): e = T e (q d -q),

9 e e x y e θ = cosθ sinθ 0 sinθ cosθ 0 0 xd x 0 yd y 1 θ d θ (2.3) Based on Leslie Austudillo s control objective, we know that the mobile robot that the mobile robot can be controlled in stable if there is no error between the real-time trajectory, q (t) and the desired trajectory, q d (t). The controller applies adequate torque must fulfill this condition. Therefore, the τ (t) is derived as below, into specific v c (t) that controls the steering system. v c = f c (e,v d ), v c ω = c w d v d + v k + cose d 2 θ + k e e + v k y d 1 3 x sin e θ (2.4) 2.5 Dynamic Equation [6] Most of the nonholonomic system is described by the dynamic equations based on the Euler Lagrange formulation. The equation is shown as below: M (q) q& & + C (q, q& ) q& + g(q) = B(q)τ + J τ (q)λ (2.5) From the equation, M (q) is the symmetric positive-define n x n inertia matrix. The M (q) plays important role both in the robot s dynamic model as well as in control design. Besides, the C (q, q& ) is the matrix of Cariolis and centripetal forces for robot. In this project, the value of C (q, q& ) is assumed as 0, which is will be neglected. In this project the gravitational torques, g (q) is 0 because the trajectory of the mobile base is constrained to the horizontal plane.

10 The dynamical equations of mobile base can be expressed in matrix form as below: m 0 0 && x cosθ cosθ sinθ 0 m 0 1 & y = τ 1 0 0 m & θ r sinθ sinθ + θ λ R R τ cos (2.6) 2 0 Where m is the mass of the mobile robot; I is the mass moment of inertial; r is the radius of the wheel; R is the distance of the rear wheel; τ 1 and τ 2 are the torques of the left and right motors; and λ is the Lagrange multipliers of constrained forces. Hence, C (q, q& ) = 0 (2.7) g (q) = 0 (2.8) J τ (q) = sinθ cosθ 0 (2.9) m M (q) = 0 0 0 m 0 0 0 I (2.10) cosθ 1 B (q) τ = r sinθ R cosθ sinθ R (2.11) τ = τ 1 τ 2 (2.12) Solve by using equation (2.6), mx && 1 my & = I & θ r τ 1 cosθ+ τ 2 cosθ λ sinθ + τ1 sinθ+ τ 2 sinθ λ cosθ τ 0 1R τ 2R (2.13)