Sunteți pe pagina 1din 2

Developing and simulation of a fuzzy controller for a

DC motor operation
Gabriela Garca Gamarra, Marcelo Garca Muro, Josemara Gmez Scola
School of Electronic Engineering, Universidad Peruana de Ciencia Aplicadas
Lima, Peru
U710183@upc.edu.pe
U @upc.edu.pe
U @upc.edu.pe

Abstract. In everyday life, humans not always thinks in


radical options, there are not always a yes or no as an
answer, based in different conditions. That is why that if
we want a machines looks even more similar than humans,
and get more intelligence, we have to give them a sufficient
intelligence to think as we do. In engineering we call this
kind of thought as a Fussy Logic, this allows us to design
controllers similar than human logic, with a range of
decisions based in different conditions. In this paper we
will design a controller of a DC motor, in order to control
the motor speed based on different options in the
environment.

Membership function

The membership function represents the grade of


membership in the input variables. It is composed for a
universe of discussion (values range that adopt the linguistic
variable), a linguistic variable and fuzzy groups (that indicates
the variable state, represented in linguistic terms). Here you
can find part of a membership function and how it is assigned
the grade of membership with an x0 input.

In the first part of the present work it will be explained the


theoretical framework, where it will contain all the basics
concepts that are needed to understand the present paper.
There are concepts as membership function, fuzzy operations
and centroid method; also it will be explain the different steps
we need to follow to design a fussy control. In the second part
it will be shown all the work that has been done, the
application of the theory previously explained.
Fig.1 Membership function

I. THEORETICAL FRAMEWORK
The Fussy logic was first induced for the mathematical
professor Lofti A. Zadeh, in the Berkeley University in 1965.
Fuzzy logic give us many advantages in order to design new
controllers in engineering. The most important characteristic
of this logics is that it can think with inexact information and
never lose the effectiveness and optimal working. Also it
allows us to implement complex algorithm of nonlinear
systems.

A.

Fuzzy operations

It is possible to manipulate fussy groups with fuzzy


operations. The most important operations are union and
intersection, like in logic. Here are these operations
respectively presented in the Figure 2.

Basics Concepts

The main work in this paper is the design of a DC motor


controller based on Fuzzy Logic. That is why it is necessary to
review some basic concepts that will help us in the design of
this controller.

Fig.2

Left: Union operation. Right: Intersection operation

Centroid method

The process of defuzzification uses most commonly the


centroid method to get the final result of a fuzzy logic
algorithm. The centroid method is not the only method to
solve a fuzzy algorithm, but it is the one we will use to control
the DC engine in this paper. The equation of this method is:

It is important to mention that usually a denormalization


should be applied to the output variable, to put it in a valid
range.

II. WORK DEVELOPMENT AND ANALYSIS

(1.1)
III.

B.

Steps to implement a fuzzy logic controller

System analysis

First of all, the programmer should learn everything


related of the system to think in the solution. The designer is
always an expert in the topic because is the one who will tell
the machine what to do. Also, this person on charge should
share this information with the team in charge of the project
because all the persons who work in this project should reach
the same opinion about the solution logic.

Determination of the input/output variables

After the system sis analyzed, you have to define the input
and out variables of the solution. Also, it is important to define
the linguistic variables.

Determination of the discursion universe of each


variable

In this step it is determined the numeric range on each


linguistic variable. The numeric range is the minimum and
maximum operation value that each variable will get.

Membership functions structuration

After defining the linguistic variables and universes for


each one, it is time to elaborate the membership functions. In
this step it is determined the fuzzy groups, ranges and forms.

Establishment of the Fuzzy rules and elaboration


of the Fuzzy Associative Memory (FAM)

Fuzzy rules are based in the experiences picked from the


system. Based on the input conditions it is assigned the output
behavior. After this step, the FAM is established to define the
behavior of the system and the fuzzy controller.

Fuzzy Operations

The operations of union and intersection to obtain the


fuzzy value.

Defuzzification and denormalization

After proceeding with the previous steps, the centroid


method will obtain the final result.
I

CONCLUSIONES

IV. BIBLIOGRAFA
[1]ARNEZ. Enrique. Material del Curso Robtica e
Inteligencia Artificial del Aula Virtual. Lima. UPC
[2]OSCANOA, Julio y TASAYCO, Pool. Lgica Difusa.
Lima. UPC

S-ar putea să vă placă și