Fuzzy Logic Control of Quadrotor Intelligent Systems & Soft Computing 503051621 K. OYTUN YAPICI...

12
Fuzzy Logic Fuzzy Logic Control of Control of Quadrotor Quadrotor Intelligent Systems Intelligent Systems & & Soft Computing Soft Computing 503051621 503051621 K. OYTUN YAPICI K. OYTUN YAPICI 503051619 503051619 BİRKAN TUNÇ BİRKAN TUNÇ

Transcript of Fuzzy Logic Control of Quadrotor Intelligent Systems & Soft Computing 503051621 K. OYTUN YAPICI...

Page 1: Fuzzy Logic Control of Quadrotor Intelligent Systems & Soft Computing 503051621 K. OYTUN YAPICI 503051619 BİRKAN TUNÇ.

Fuzzy LogicFuzzy LogicControl of QuadrotorControl of Quadrotor

Intelligent Systems Intelligent Systems

&&

Soft ComputingSoft Computing503051621503051621

K. OYTUN YAPICIK. OYTUN YAPICI503051619503051619

BİRKAN TUNÇBİRKAN TUNÇ

Page 2: Fuzzy Logic Control of Quadrotor Intelligent Systems & Soft Computing 503051621 K. OYTUN YAPICI 503051619 BİRKAN TUNÇ.

QUADROTOR CONCEPTQUADROTOR CONCEPT

Rotate LeftRotate Left Rotate RightRotate Right

Going UpGoing Up Move RightMove Right1

A quadrotor has four motors located at the front, rear, left, and right ends of a cross frame. The quadrotor is controlled by changing the speed of rotation of each motor. The front and rear rotors rotate in a counter-clockwise direction while the left and right rotors rotate in a clockwise direction to balance the torque created by the spinning rotors.

Page 3: Fuzzy Logic Control of Quadrotor Intelligent Systems & Soft Computing 503051621 K. OYTUN YAPICI 503051619 BİRKAN TUNÇ.

DYNAMIC MODELDYNAMIC MODEL

2

C: Force to Moment Scaling Factor

Page 4: Fuzzy Logic Control of Quadrotor Intelligent Systems & Soft Computing 503051621 K. OYTUN YAPICI 503051619 BİRKAN TUNÇ.

PROPERTIES OF DYNAMIC MODELPROPERTIES OF DYNAMIC MODEL, PHYSICAL PHYSICAL VALUES & CONSTRAINTSVALUES & CONSTRAINTS

Physical Values: Constraints:

To avoid crash

is required. This is restricted with the outputs of the fuzzy logic controllers.

3

• Rotations are not affected by translations.

• Angular subsystem is linear.

• System is underactuated.

• System has coupling effects.

• System is unstable.

Page 5: Fuzzy Logic Control of Quadrotor Intelligent Systems & Soft Computing 503051621 K. OYTUN YAPICI 503051619 BİRKAN TUNÇ.

CONTROL STRATEGYCONTROL STRATEGY

4

Angular Angular SubsystemSubsystem

TranslationalTranslationalSubsystemSubsystem

X

Z

Y

θ

Total Thrust

Fx

Fz

• Angular subsystem will be controlled independent from translational subsystem with 3 fuzzy logic controllers.

• X and Y motion will be controlled through the angles θ and ψ with 2 fuzzy logic controllers.

• Z motion will be controlled with one fuzzy logic controller.

Page 6: Fuzzy Logic Control of Quadrotor Intelligent Systems & Soft Computing 503051621 K. OYTUN YAPICI 503051619 BİRKAN TUNÇ.

X AND Y CONTROLLERX AND Y CONTROLLER

5

ErrorError

Change of ErrorChange of Error

θθ , , ΨΨ

General Properties of FLCsGeneral Properties of FLCs

• Mamdani type inference

• Max-min composition

• Center of gravity defuzzification

• Two inputs, one output

• 9 rules

• Triangular MFs

Page 7: Fuzzy Logic Control of Quadrotor Intelligent Systems & Soft Computing 503051621 K. OYTUN YAPICI 503051619 BİRKAN TUNÇ.

θθ AND AND ΨΨ CONTROLLER CONTROLLER

6

ErrorError

Change of ErrorChange of ErrorRule BaseRule Base

U2 , U3U2 , U3

Page 8: Fuzzy Logic Control of Quadrotor Intelligent Systems & Soft Computing 503051621 K. OYTUN YAPICI 503051619 BİRKAN TUNÇ.

ΦΦ AND AND Z CONTROLLERZ CONTROLLER

7

ErrorError Change of ErrorChange of Error U4U4

ErrorError Change of ErrorChange of Error U1U1

Page 9: Fuzzy Logic Control of Quadrotor Intelligent Systems & Soft Computing 503051621 K. OYTUN YAPICI 503051619 BİRKAN TUNÇ.

SIMULINK BLOCK DIAGRAMSIMULINK BLOCK DIAGRAM

8

Page 10: Fuzzy Logic Control of Quadrotor Intelligent Systems & Soft Computing 503051621 K. OYTUN YAPICI 503051619 BİRKAN TUNÇ.

x

y

z

9

ANIMATION 1ANIMATION 1

Page 11: Fuzzy Logic Control of Quadrotor Intelligent Systems & Soft Computing 503051621 K. OYTUN YAPICI 503051619 BİRKAN TUNÇ.

x

y

z

10

ANIMATION 2ANIMATION 2

Page 12: Fuzzy Logic Control of Quadrotor Intelligent Systems & Soft Computing 503051621 K. OYTUN YAPICI 503051619 BİRKAN TUNÇ.

QUESTIONS ???QUESTIONS ???