SlideShare ist ein Scribd-Unternehmen logo
1 von 8
Downloaden Sie, um offline zu lesen
Long Paper
ACEEE Int. J. on Electrical and Power Engineering, Vol. 4, No. 2, Aug 2013

FPGA Optimized Fuzzy Controller Design for
Magnetic Ball Levitation using Genetic Algorithms
Basil Hamed1, Hosam Abu Elreesh2
Electrical Engineering Department, Islamic University of Gaza, Gaza, Palestine
1
Email: bhamed@iugaza.edu
2
Email: m_hossam@hotmail.com
Abstract— This paper presents an optimum approach for
designing of fuzzy controller for nonlinear system using
FPGA technology with Genetic Algorithms (GA) optimization
tool. A magnetic levitation system is considered as a case study
and the fuzzy controller is designed to keep a magnetic object
suspended in the air counteracting the weight of the object.
Fuzzy controller will be implemented using FPGA chip.
Genetic Algorithm (GA) is used in this paper as optimization
method that optimizes the membership, output gain and inputs
gains of the fuzzy controllers. The design will use a highlevel programming language HDL for implementing the fuzzy
logic controller using the Xfuzzy tools to implement the fuzzy
logic controller into HDL code. This paper, advocates a novel
approach to implement the fuzzy logic controller for magnetic
ball levitation system by using FPGA with GA.
Index Terms: — Fuzzy Control, PI, FPGA, Genetic Algorithms
Magnetic Levitation Ball, VHDL.

smooth control surfaces. Vuong et al [4]; described a
methodology of implementing FLS using very high speed
integrated circuit hardware description language (VHDL). The
main advantages of using HDL are rapid prototyping and
allowing usage of powerful synthesis tools such as Xilinx
ISE, Synopsys, Mentor Graphic, or Cadence to be targeted
easily and efficiently. S. Ravi and P. A. Balakrishnan [5]
presented Genetic Algorithm based Fuzzy Logic Controller
for temperature control in a plastic extrusion is developed
and tested through a simulation study. A novel GA based
FLC method is implemented to design a practicable advanced
controller. Mohanad Alata, Mohammad Molhem and Khaled
Al Masri [6] presented a solution of first, second, and third
order systems, using the absolute average error as a fitness
function, the genetic algorithm manipulate all parameters of
the fuzzy controller to find the optimum solution.

I. INTRODUCTION

II. FUZZY CONTROL

Fuzzy Control applies fuzzy logic to the control of
In the recent years Fuzzy controller is used to control
processes by utilizing different categories, usually ‘error’ and
complex engineering problems which are difficult to solve by
‘change of error’, for the process state and applying rules to
classical methods. Finding many different hardware
decide a level of output. There are many models of FLC, but
implementations of fuzzy logic systems (FLSs), generalthe most famous are the Mamdani model, Takagi- Sugenopurpose microprocessors and microcontrollers are mostly
Kang (TSK) model and Kosko’s additive model (SAM) [7].
used for implementing FLS in hardware, but with the complex
This paper uses Mamdani model.
systems these devices cannot perform operations assigned
to it as required. In recent years many studies emerged
illustrate the different ways to implement fuzzy control using
FPGA in different application. The advantage of using FPGA
is suitable for fast implementation and quick hardware
verification. FPGA based systems are flexible and can be
reprogrammed unlimited number of times. J.E. Bonilla, V.H.
Grisales and M.A. Melgarejo [1]; the fuzzy controller
architecture in this paper focused on the treatment of errors
and changes in errors with tuning gains. There are many
ways of how to use GA in fuzzy control. The most extended
GFS type is the genetic fuzzy rule-based system (GFRBS),
where an EA is employed to learn or tune different
components of an FRBS. The objective of a genetic tuning
Figure 1: Mamdani Model
process is to adapt a given fuzzy rule set such that the
IF (X is A) and (Y is B) … THEN (Z is C).
resulting FRBS demonstrates better performance [2]. This
Where A, and B are membership of the inputs, C is
paper presented the development of an FPGA-based
membership of the output as shown in Figure 1. Mamdani
proportional-differential (PD) fuzzy LUT controller. The fuzzy
model block consist of three stages.
inference used a 256-value LUT. This method was used due
 Fuzzification: - Fuzzification means converting a crisp
to its reduced computation time cost. McKenna and
value of process variable into a fuzzy set. In order to
Wilamowski [3] have investigated method to implement fuzzy
make it compatible with the fuzzy set representation of
logic controller (FLC) on a field FPGA and obtained very
58
© 2013 ACEEE
DOI: 01.IJEPE.4.2.1384
Long Paper
ACEEE Int. J. on Electrical and Power Engineering, Vol. 4, No. 2, Aug 2013



the process state variable.
Fuzzy Associative Memory (FAM): - FAM is a set of
fuzzy associations between the input and the output [6].
This stage consists of two parts:

dedicated blocks such as memories RAM, multipliers cabled
PCI interfaces and processor cores. The design of control
architectures is done using CAD tools. There are two
commonly used languages, Very high speed integrated VHDL
and Verilog. These two languages are standardized and
compatible with all FPGA technologies previously introduced.
Figure 3 shows the FPGA programming steps. This paper will
use the Spartan 3e FPGA from Xilinx company.

A. Knowledge base
Knowledge base contains a data base and rule base. Data
base provides necessary definitions for linguistic rules, and
the rules base consist of the IF-THEN rules, which can be
derived by using four ways:
1. Expert Experience and control engineering
knowledge.
2. Based on fuzzy modeling of human operators central
action.
3. Based on learning
4. Based on fuzzy model of a process.
B. Decision-Making
Decision-Making means choosing the most appropriate
action from several possible actions.
 Defuzzification: - Defuzzification strategy is aimed at
producing a non-fuzzy control action, or we can say
defuzzification means the conversion of the fuzzy output
values into crisp values.
III. FPGA
FPGA is digital integrated circuits (ICs) that have
electronics blocks which can be programmed, and these
blocks have configurable interconnection between them.
These blocks can be used by the designed engineer to
perform a huge range of tasks.
Xilinx has been designed first FPGA in 1984 but started
being in use by the engineers in 1990 [8]. Every FPGA has
three major components, configurable logic blocks (CLBs),
input/output blocks (IOBs), and interconnects, Figure 2
shows theses blocks. CLBs are responsible for building the
logical circuit for the user. IOBs are responsible for the
interface between package pins and internal signal lines.
Interconnects are responsible for routing paths to connect
the inputs and outputs of the CLB and IOB [9].

Figure 3: Programming a FPGA

IV. GENETIC ALGORITHMS
Genetic Algorithms are reliable and robust methods for
searching solution spaces [10]. GA is general purpose search
algorithm which uses principles inspired by neutral genetic
to find solutions to problems [11][12] by using Survival of
the fittest principle. The basic idea is to maintain a population
of chromosomes, which represent candidate to the concrete
problems that will be solve, through a process of computation
and controlled variation. Each structure of chromosome in
the population represent one of the possible solution of the
problem and the fitness test of these chromosomes can
determine which chromosomes are used to form a new
chromosomes that will be used in computational process. As
in natural the new chromosomes are created by some
operations such as crossover and mutations. There is another
operation which called reproduction. This operation is added
to achieve the survival of the fittest principle. In recent years,
GA is used in many applications specially in optimization
and search problems and had a great measure of success;
the main reason of this success that it can start from any
solutions, and generate other solutions that converge to the
optimal solution in less time versus other classical search
tools (enumerative, heuristic). “GA is theoretically and
empirically proven to provide a robust search in complex
spaces; thereby offering a valid approach to problems
requiring efficient and effective searches” [2]. Figure 3 shows
the steps of GA.

Figure 2: FPGA Architecture

These days, FPGAs offer the possibility of using
© 2013 ACEEE
DOI: 01.IJEPE.4.2.1384

59
Long Paper
ACEEE Int. J. on Electrical and Power Engineering, Vol. 4, No. 2, Aug 2013
parameter that effect on the membership shape. For example
every triangular membership can represents be three genes
because it has three parameters that control of its shape (center
edge, left edge and right edge). If the inputs of fuzzy controller have seven triangular memberships, then every chromosome of the population will have twenty one genes (7x3).
The main problem in GA is how to choose fitness function.
Minimize output error is one of importance aims in control
systems. In control applications there are different fitness
function that may be used [15].
1-

Sum of squared error (1)

Where (e) is the error signal, this function can track error
quickly, but easily gives rise to oscillation.

Figure 4: The basic Genetic Algorithm

1. Selection: In this process the developer will choose the
pairs of parents that will be crossed. There are many methods
can be used such as Roulette Wheel Selection. Rank Selection
and Stochastic Universal Sampling [13].
2. Crossover: Crossover is the process that takes two parents
of solutions and generates a new offspring. There are many
methods can be used such as Single-Point Crossover (Figure
5), two-point crossover and uniform crossover [13].

2-

Sum of absolute error (2)

This function can obtain good response, but its selection
performance is not good.
3-

Sum of time weighted

squared error
(3)
This function can gives fast tracking and good response.
In this paper the sum of absolute value of error will be used
as fitness function.
V. SIMULATION
The CE 152 Magnetic Levitation Model is one of the
ranges of educational scale models offered by Humusoft
Company for teaching system dynamics and control
engineering principles. The model belongs to the range of
teaching systems directly controllable by a PC computer in
real time. The CE 152 Magnetic Levitation model is one
dimensional strongly unstable system designed for studying
system dynamics and experimenting with number of different
control algorithms based on classical and control theory.
Figure 6 shows CE 152 model [16].
The model shown in Figure 6 consists of the following
blocks:
1. D/A converter.
2. Power amplifier.
3. Ball & coil subsystem.
4. Position sensor.
5. A/D converter.

Figure 5: Single Point Crossover

3. Mutation: Mutation means swap one bit in binary coding
or changes one number if the chromosome consists of
numbers [13].
There are many optimization methods, but GA has some
advantages over these methods such as [14]:
1- GA does not deal with data directly but works with
encoded data.
2- GA uses least information such as fitness function to
solve problems does not need derivation.
3- GA uses probability laws rather than certain laws.
4- GA generate populations of answer not just one answer.
5- Almost all conventional optimization techniques search
from a single point but GA always operates on a whole
population of points (parallelism).
In this paper the fuzzy membership inputs and output
membership functions will be used as variables that will be
optimized using GA. Every triangular membership has three
variable can effect on the shape of it; so the each chromosome will has the number of genes every genes refer to one
© 2013 ACEEE
DOI: 01.IJEPE.4.2.1384

Figure 6: CE152 Magnetic Levitation Model

60
Long Paper
ACEEE Int. J. on Electrical and Power Engineering, Vol. 4, No. 2, Aug 2013
TABLE I. FUZZY CONTROL RULE B ASE OF MAGNETIC LEVITATION

The mathematical equation of this model is:
e

ln

mn

sn

z

sp

mp

lp

ln

ln

ln

ln

ln

mn

sn

z

mn

ln

ln

ln

mn

sn

z

sp

sn

ln

ln

mn

sn

z

sp

mp

z

ln

mn

sn

z

sp

mp

lp

sp

mn

sn

z

sp

mp

lp

lp

mp

sn

z

sp

mp

lp

lp

lp

lp

z

sp

mp

lp

lp

lp

lp

ce

Where
x1 ball position, x2 ball velocity and x3 coil current
mk = ball mass [kg].
g = gravity acceleration constant [m.s-2].
kfv= viscose friction.
x0 = coil bias [m].
Kc= coil constant.
A. Fuzzy Controller Design for CE152 Model
To apply the fuzzy logic controller to the magnetic
levitation CE 152, certain properties of the system are exploited
so that the design of the controller can be made easier. As the
system is symmetrical, it is assumed that symmetrical
membership functions about the y-axis will provide a valid
controller. A symmetrical rule-base is also assumed. The fuzzy
controller of magnetic levitation uses Mamdani model. The
FLC has two inputs which are error and change of error and
the output is the change of voltage. Figure 7 shows the
membership functions of fuzzy controller using Fuzzy Toolbox
of Matlab software. The ranges of the inputs and output is [1 1]. All have 7 membership functions.

(a)

Figure 7: Memberships of Inputs and Output Fuzzy Controller

The next step is to write the rules of the fuzzy controller.
These rules are chosen based on knowledge base and experts.
Table 1 shows the rules base as a matrix After designing
fuzzy controller, the controller will be connected to the CE152
magnetic levitation Matlab Simulink model. Figure 8 a, b and
c shows the fuzzy controller, proportional integral controller
(PI) subsystems and all system respectively. The integral
part is used to convert the change of voltage value that come
from fuzzy controller to real voltage which will act on the
magnetic levitation CE152. Using tuning method the good
proportional gain is 0.1 and the integral gain is 1.
Figure 9 shows the output of the magnetic levitation after
connecting to the fuzzy controller. The set point is unit step
has value 0.5 which is in the center of the gap; this point is
one of the equilibrium points of magnetic levitation CE152
model. There is no overshoot and the settling time is nearly
0.2 sec, rising time is 0.106 sec.
© 2013 ACEEE
DOI: 01.IJEPE.4.2.1384

(b)

Figure 10 and Figure 11 show the output response with
two additional set points. These figures show that the fuzzy
controller can keep the stability of the system with various
set points.
B. VHDL Fuzzy Controller Implementation
To program FPGA Xfuzzy tool is used. Xfuzzy is a CAD
tool that was developed using JAVA language. This tool is a
combination of several tools that covering the four stages of
FLS design: description, tuning, verification, and synthesis
stages. The controller consists of three main parts, ADC,
FPGA, and DAC. ADC and DAC that will be used in this
paper have 8 bits resolution. The integrated circuits (ICs)
that will be used are PIC 16f877 as ADC, and DAC 0800.
61
Long Paper
ACEEE Int. J. on Electrical and Power Engineering, Vol. 4, No. 2, Aug 2013

(c)
Figure 8: a) Fuzzy Controller Subsystem - b) PI Subsystem –c) Magnetic Levitation Model

Figure 9: Step Response of the System

Figure 11: Sine Wave Output Response of the System

to fuzzy controller part.
2- Fuzzy controller is generated using Xfuzzy CAD tool and
has two inputs (error and change of error) and one output
(change of voltage).
3- PI (proportional-integral) part has one inputs (change of
voltage) and one output (effective voltage).
The last step of Xfuzzy tool is generating the VHDL code
for this controller; this code is used with “sum.vhd” and
“pi.vhd” files to complete the controller. These files will be
used with ISE 10.1 software to generate bit file that is uploaded
to FPGA. Xfuzzy tool will generate System Generator blocks
of fuzzy controller that is used with Matlab simulink. “Black
Box” block that is in the System Generator Matlab toolbox
will be used to insert the “sum.vhd” and “pi.vhd” into Matlab
Simulink.
Figure 12 shows the overall system connected with all
sub systems. After building the Simulink model of fuzzy
controller using System Generator toolbox, the system runs

Figure 10: Square Wave Output Response of the System

These two ICs have eight bits parallel interface with FPGA.
The fuzzy controller consists of three parts:
1- Summation part has two inputs set point and feedback,
and generates the error and change of error that are inputs
© 2013 ACEEE
DOI: 01.IJEPE.4.2.1384

62
Long Paper
ACEEE Int. J. on Electrical and Power Engineering, Vol. 4, No. 2, Aug 2013
at two different set points, step, and sine wave to test the
VHDL code if it works properly or not. Figure 13 shows the
output response of the system at set point equal 127. (0.5 at
normalize mode). Figure 14 shows the error and change of
error of the ball position, the two values are shifted by 255,
because the VHDL code of fuzzy controller works only in the
interval [0 510], Where 0 means that the -255 and 510 means
255, so 0 error in Matlab equal 255 in VHDL code. We need to
set the simulation time in System Generator block to be
0.00000002 sec to work as real FPGA because the FPGA clock
that is used in VHDL code is 50 MHz

Figure 15: Sine Wave Output Response Using VHDL Code

C. GA Fuzzy Controller Design for CE152 Model
There are many parameters effect on the control process
of the CE152 model as shown in Figure 8 a,b in addition to the
shape of the memberships of the inputs and output of fuzzy
controller. These parameters are p_g (proportional gain), pi_g
(integral gain), ce_g (change of error gain), err_g (error gain)
and out_g (fuzzy output gain). (See Figure 8 a,b and c) These
gain parameters can be tuned to give near optimal results.
GA is used to optimize these parameters and optimize the
shape of memberships of fuzzy controller. The GA Matlab
code uses next parameter
Population size= 50.
Number of gens in one chromosome = 13.
Crossover probability=0.9.
Mutation probability= random (0.0 to 1.0)
Stopping condition: 100 generations.
Figure 16 shows the change of the fitness values after
running the Matlab code.

Figure 12: Block Diagram of Fuzzy Controller Using VHDL Code

Figure 13: Step Response of the System Using VHDL Code

Figure 17 shows the memberships shape of the inputs and output

Figure 14: Error and Change of Error Using VHDL Code

Figure 15 shows the output response when the set point
is sine wave.
© 2013 ACEEE
DOI: 01.IJEPE.4.2.1384

Figure 18: Membership Functions of GA Fuzzy Controller

63
Long Paper
ACEEE Int. J. on Electrical and Power Engineering, Vol. 4, No. 2, Aug 2013
Table 2 shows the difference between gain parameters with
and without GA optimization

Figure 18 shows that the overshoot of step input is nearly
6%, the settling time is 0.046 sec and rising time is 0.023 sec.
Table 3 shows the comparison between the system response
with and without GA optimization.

TABLE II. G AIN VALUES WITH AND WITHOUT GA
Gains

with
GA
optimization

err_g

1.0955

1

ce_g

15.4941

15

out_g

15.4932

15

p_g

0.15797

pi_g

2.7363

TABLE III. SYSTEM RESPONSE WITH AND WITHOUT GA

without
GA
optimization

System response
for step input

With
GA
optimization

Without
GA
optimization

Overshoot

6%

No overshoot

0.1

Settling time

0.046 sec

0.2 sec

1

Rising time

0.023 sec

0.106 sec

As shown in Table 3 the Maglev response of fuzzy
controller with GA optimization method is superior to fuzzy
controller without GA.

Figures 18, 19 and 20 show the system response of step, sin
wave and square wave inputs with these new values.

VI. CONCLUSION
The real time implementation of the fuzzy logic controller
for the various driving conditions and terrains has been
achieved on a Xilinx Spartan 3E FPGA using VHDL. In this
paper the magnetic levitation CE152 Model is used as
practical example of nonlinear systems. The fuzzy controller
was designed with Matlab software and this controller was
tested with the CE152 Model. The fuzzy controller stabilized
the magnetic levitation CE152 model under different set
points. The Xfuzzy tool was used to generate the VHDL code
of fuzzy controller, this code was used with “sum.vhd” and
“pi.vhd” VHDL codes to give the overall controller of
Magnetic Levitation CE152 Model. The GA optimization
method was used to optimize the membership function of the
inputs and output of the fuzzy controller and also to optimize
the gains p_g, pi_g, ce_g, err_g and out_g. The CE152 was
tested with the new membership functions and the result
shows that is better than the results of old fuzzy controller
under different set points.

Figure 19: Step Response of the System with GA

REFERENCES
[1] J. E. Bonilla, V.H. Grisales and M.A. Melgarejo “Genetic tuned
FPGA based PD fuzzy LUT controller,” IEEE International
Conference. Fuzzy Systems, Vol 3,pp :1084 – 1087, 2001.
[2] O. Cordon, F. Herrera, F. Hoffman and L. Magdalena, “Genetic
Fuzzy System Evolutionary Tuning and Learning of Fuzzy
Knowledge Bases,” Worlds Scientific, Singapore, 2001.
[3] Michael McKenna and Bogdan M. Wilamowski,
“Implementing a Fuzzy System on a Field Programmable Gate
Array,” IEEE International Joint Conference on Neural
Networks, Volume: 1, p.189-194, 2001.
[4] T. Philip, M. Vuong, asad, Madni and b. jim Vuong, . VHDL
implementation for a fuzzy logic controller., BEI technologies,
inc. 13100 telfair avenue, sylmar, 2006.
[5] S. Ravi, and P.A. Balakrishnan, “Stable Self Tuning Genetic
Fuzzy Temperature Controller For Plastic Extrusion System,”
International Journal of Reviews in Computing, pp: 21-28
,(2009-2011 )

Figure 20: Sine Wave Output Response with GA

Figure 21: Square Wave Output Response with GA

© 2013 ACEEE
DOI: 01.IJEPE.4.2.1384

64
Long Paper
ACEEE Int. J. on Electrical and Power Engineering, Vol. 4, No. 2, Aug 2013
[11] D.E. Goldberg, Genetic Algorithms in Search, Optimization,
and Machine Learning, Addison-Wesley, MA, 1989.
[12] J.H. Holland, Adaptation in Natural and Artificial systems,
University of Michigan Press, Ann Arbor, 1975.
[13] S.N. Sivanandam and S.N. Deepa, Introduction to Genetic
Algorithms, Springer, New York, , 2008.
[14] A. Alibeiki and S.S. Fallahi, “Genetic Algorithm and
Comparison with Usual Optimization Methods,” World
Applied Sciences journal 11 (6):752-754, 2010.
[15] Hung-Cheng Chen† and Sheng-Hsiung Chang, “Genetic
Algorithms Based Optimization Design of a PID Controller
for an Active Magnetic Bearing,” IJCSNS International Journal
of Computer Science and Network Security, VOL.6 No.12,
December 2006.
[16] CE. 152 magnetic levitation model-education manual.
Humusofts. r.o 2002.

[6] Mohanad Alata, Mohammad Molhem and Khaled Al Masri,
“Design of A Fuzzy Logic Controller for A Plant of N-Order
Based on Genetic Algorithms,” International Conference on
Robotics, Control and Manufacturing Technology, 2011
[7] John Yen & Langari Reza, “Fuzzy Logic Intelligence Control
and Information,” Prentice-Hall, Englwood Cliffs, 1999.
[8] Maxfield, Clive, “The Design Warrior’s Guide to FPGAs,”
Newnes, 2004
[9] Hosam Abu Elreesh, Basil Hamed,”FPGA Fuzzy Controller
Design for Magnetic Ball Levitation”, IJISA, vol.4, no.10,
pp.72-81, 2012.
[10] Robert Fulle´r, “Fuzzy Reasoning and Fuzzy Optimization,”
TUCS General Publications, No. 9, Turku Centre for Computer
Science, Abo, 1998.

© 2013 ACEEE
DOI: 01.IJEPE.4.2.1384

65

Weitere ähnliche Inhalte

Was ist angesagt?

OPTIMIZATION OF HEURISTIC ALGORITHMS FOR IMPROVING BER OF ADAPTIVE TURBO CODES
OPTIMIZATION OF HEURISTIC ALGORITHMS FOR IMPROVING BER OF ADAPTIVE TURBO CODESOPTIMIZATION OF HEURISTIC ALGORITHMS FOR IMPROVING BER OF ADAPTIVE TURBO CODES
OPTIMIZATION OF HEURISTIC ALGORITHMS FOR IMPROVING BER OF ADAPTIVE TURBO CODESIAEME Publication
 
Enhancing energy efficient dynamic load balanced clustering protocol using Dy...
Enhancing energy efficient dynamic load balanced clustering protocol using Dy...Enhancing energy efficient dynamic load balanced clustering protocol using Dy...
Enhancing energy efficient dynamic load balanced clustering protocol using Dy...IJTET Journal
 
Failure prediction of e-banking application system using adaptive neuro fuzzy...
Failure prediction of e-banking application system using adaptive neuro fuzzy...Failure prediction of e-banking application system using adaptive neuro fuzzy...
Failure prediction of e-banking application system using adaptive neuro fuzzy...IJECEIAES
 
Genetic Algorithm Processor for Image Noise Filtering Using Evolvable Hardware
Genetic Algorithm Processor for Image Noise Filtering Using Evolvable HardwareGenetic Algorithm Processor for Image Noise Filtering Using Evolvable Hardware
Genetic Algorithm Processor for Image Noise Filtering Using Evolvable HardwareCSCJournals
 
IEEE 2014 JAVA DATA MINING PROJECTS A fast clustering based feature subset se...
IEEE 2014 JAVA DATA MINING PROJECTS A fast clustering based feature subset se...IEEE 2014 JAVA DATA MINING PROJECTS A fast clustering based feature subset se...
IEEE 2014 JAVA DATA MINING PROJECTS A fast clustering based feature subset se...IEEEFINALYEARSTUDENTPROJECTS
 
Performance evaluation of two degree of freedom conventional controller adopt...
Performance evaluation of two degree of freedom conventional controller adopt...Performance evaluation of two degree of freedom conventional controller adopt...
Performance evaluation of two degree of freedom conventional controller adopt...IJECEIAES
 
Application of a merit function based interior point method to linear model p...
Application of a merit function based interior point method to linear model p...Application of a merit function based interior point method to linear model p...
Application of a merit function based interior point method to linear model p...Zac Darcy
 
Full parameterization process
Full parameterization processFull parameterization process
Full parameterization processOsama Awad
 
IRJET - Implementation of Neural Network on FPGA
IRJET - Implementation of Neural Network on FPGAIRJET - Implementation of Neural Network on FPGA
IRJET - Implementation of Neural Network on FPGAIRJET Journal
 
SigOpt_Bayesian_Optimization_Primer
SigOpt_Bayesian_Optimization_PrimerSigOpt_Bayesian_Optimization_Primer
SigOpt_Bayesian_Optimization_PrimerIan Dewancker
 
Using the black-box approach with machine learning methods in ...
Using the black-box approach with machine learning methods in ...Using the black-box approach with machine learning methods in ...
Using the black-box approach with machine learning methods in ...butest
 
Static Analysis of Computer programs
Static Analysis of Computer programs Static Analysis of Computer programs
Static Analysis of Computer programs Arvind Devaraj
 
A HYBRID CLUSTERING ALGORITHM FOR DATA MINING
A HYBRID CLUSTERING ALGORITHM FOR DATA MININGA HYBRID CLUSTERING ALGORITHM FOR DATA MINING
A HYBRID CLUSTERING ALGORITHM FOR DATA MININGcscpconf
 

Was ist angesagt? (17)

OPTIMIZATION OF HEURISTIC ALGORITHMS FOR IMPROVING BER OF ADAPTIVE TURBO CODES
OPTIMIZATION OF HEURISTIC ALGORITHMS FOR IMPROVING BER OF ADAPTIVE TURBO CODESOPTIMIZATION OF HEURISTIC ALGORITHMS FOR IMPROVING BER OF ADAPTIVE TURBO CODES
OPTIMIZATION OF HEURISTIC ALGORITHMS FOR IMPROVING BER OF ADAPTIVE TURBO CODES
 
Enhancing energy efficient dynamic load balanced clustering protocol using Dy...
Enhancing energy efficient dynamic load balanced clustering protocol using Dy...Enhancing energy efficient dynamic load balanced clustering protocol using Dy...
Enhancing energy efficient dynamic load balanced clustering protocol using Dy...
 
Failure prediction of e-banking application system using adaptive neuro fuzzy...
Failure prediction of e-banking application system using adaptive neuro fuzzy...Failure prediction of e-banking application system using adaptive neuro fuzzy...
Failure prediction of e-banking application system using adaptive neuro fuzzy...
 
Genetic Algorithm Processor for Image Noise Filtering Using Evolvable Hardware
Genetic Algorithm Processor for Image Noise Filtering Using Evolvable HardwareGenetic Algorithm Processor for Image Noise Filtering Using Evolvable Hardware
Genetic Algorithm Processor for Image Noise Filtering Using Evolvable Hardware
 
IEEE 2014 JAVA DATA MINING PROJECTS A fast clustering based feature subset se...
IEEE 2014 JAVA DATA MINING PROJECTS A fast clustering based feature subset se...IEEE 2014 JAVA DATA MINING PROJECTS A fast clustering based feature subset se...
IEEE 2014 JAVA DATA MINING PROJECTS A fast clustering based feature subset se...
 
D046062030
D046062030D046062030
D046062030
 
Performance evaluation of two degree of freedom conventional controller adopt...
Performance evaluation of two degree of freedom conventional controller adopt...Performance evaluation of two degree of freedom conventional controller adopt...
Performance evaluation of two degree of freedom conventional controller adopt...
 
Application of a merit function based interior point method to linear model p...
Application of a merit function based interior point method to linear model p...Application of a merit function based interior point method to linear model p...
Application of a merit function based interior point method to linear model p...
 
54 890
54 89054 890
54 890
 
Full parameterization process
Full parameterization processFull parameterization process
Full parameterization process
 
IRJET - Implementation of Neural Network on FPGA
IRJET - Implementation of Neural Network on FPGAIRJET - Implementation of Neural Network on FPGA
IRJET - Implementation of Neural Network on FPGA
 
Fuzzy model reference learning control (1)
Fuzzy model reference learning control (1)Fuzzy model reference learning control (1)
Fuzzy model reference learning control (1)
 
J010435966
J010435966J010435966
J010435966
 
SigOpt_Bayesian_Optimization_Primer
SigOpt_Bayesian_Optimization_PrimerSigOpt_Bayesian_Optimization_Primer
SigOpt_Bayesian_Optimization_Primer
 
Using the black-box approach with machine learning methods in ...
Using the black-box approach with machine learning methods in ...Using the black-box approach with machine learning methods in ...
Using the black-box approach with machine learning methods in ...
 
Static Analysis of Computer programs
Static Analysis of Computer programs Static Analysis of Computer programs
Static Analysis of Computer programs
 
A HYBRID CLUSTERING ALGORITHM FOR DATA MINING
A HYBRID CLUSTERING ALGORITHM FOR DATA MININGA HYBRID CLUSTERING ALGORITHM FOR DATA MINING
A HYBRID CLUSTERING ALGORITHM FOR DATA MINING
 

Andere mochten auch

Application of mrac techniques to the pid controller for nonlinear magnetic...
Application of  mrac techniques to the pid  controller for nonlinear magnetic...Application of  mrac techniques to the pid  controller for nonlinear magnetic...
Application of mrac techniques to the pid controller for nonlinear magnetic...Alexander Decker
 
Autotuning of pid controller for robot arm and magnet levitation plant
Autotuning of pid controller for robot arm and magnet levitation plantAutotuning of pid controller for robot arm and magnet levitation plant
Autotuning of pid controller for robot arm and magnet levitation planteSAT Journals
 
Desmas(2014)-Preliminary Study on Magnetic Levitation Modeling Using PID Control
Desmas(2014)-Preliminary Study on Magnetic Levitation Modeling Using PID ControlDesmas(2014)-Preliminary Study on Magnetic Levitation Modeling Using PID Control
Desmas(2014)-Preliminary Study on Magnetic Levitation Modeling Using PID ControlDesmas Patriawan
 
Maglev sys modelling using FLC and PID controller
Maglev sys modelling using FLC and PID controllerMaglev sys modelling using FLC and PID controller
Maglev sys modelling using FLC and PID controllerSharath Karanth
 
Google Project Ara - The Modular Smartphone
Google Project Ara - The Modular SmartphoneGoogle Project Ara - The Modular Smartphone
Google Project Ara - The Modular SmartphoneVarun Singh
 

Andere mochten auch (7)

Application of mrac techniques to the pid controller for nonlinear magnetic...
Application of  mrac techniques to the pid  controller for nonlinear magnetic...Application of  mrac techniques to the pid  controller for nonlinear magnetic...
Application of mrac techniques to the pid controller for nonlinear magnetic...
 
Autotuning of pid controller for robot arm and magnet levitation plant
Autotuning of pid controller for robot arm and magnet levitation plantAutotuning of pid controller for robot arm and magnet levitation plant
Autotuning of pid controller for robot arm and magnet levitation plant
 
Desmas(2014)-Preliminary Study on Magnetic Levitation Modeling Using PID Control
Desmas(2014)-Preliminary Study on Magnetic Levitation Modeling Using PID ControlDesmas(2014)-Preliminary Study on Magnetic Levitation Modeling Using PID Control
Desmas(2014)-Preliminary Study on Magnetic Levitation Modeling Using PID Control
 
Maglev sys modelling using FLC and PID controller
Maglev sys modelling using FLC and PID controllerMaglev sys modelling using FLC and PID controller
Maglev sys modelling using FLC and PID controller
 
Project ara report 2
Project ara report 2Project ara report 2
Project ara report 2
 
Project soli
Project soliProject soli
Project soli
 
Google Project Ara - The Modular Smartphone
Google Project Ara - The Modular SmartphoneGoogle Project Ara - The Modular Smartphone
Google Project Ara - The Modular Smartphone
 

Ähnlich wie FPGA Optimized Fuzzy Controller Design for Magnetic Ball Levitation using Genetic Algorithms

Intelligent Controller Design for a Chemical Process
Intelligent Controller Design for a Chemical ProcessIntelligent Controller Design for a Chemical Process
Intelligent Controller Design for a Chemical ProcessCSCJournals
 
Improvement of genetic algorithm using artificial bee colony
Improvement of genetic algorithm using artificial bee colonyImprovement of genetic algorithm using artificial bee colony
Improvement of genetic algorithm using artificial bee colonyjournalBEEI
 
COMPARATIVE ANALYSIS OF CONVENTIONAL PID CONTROLLER AND FUZZY CONTROLLER WIT...
COMPARATIVE  ANALYSIS OF CONVENTIONAL PID CONTROLLER AND FUZZY CONTROLLER WIT...COMPARATIVE  ANALYSIS OF CONVENTIONAL PID CONTROLLER AND FUZZY CONTROLLER WIT...
COMPARATIVE ANALYSIS OF CONVENTIONAL PID CONTROLLER AND FUZZY CONTROLLER WIT...IJITCA Journal
 
Application of genetic algorithm and neuro fuzzy control techniques for auto
Application of genetic algorithm and neuro fuzzy control techniques for autoApplication of genetic algorithm and neuro fuzzy control techniques for auto
Application of genetic algorithm and neuro fuzzy control techniques for autoIAEME Publication
 
A Defect Prediction Model for Software Product based on ANFIS
A Defect Prediction Model for Software Product based on ANFISA Defect Prediction Model for Software Product based on ANFIS
A Defect Prediction Model for Software Product based on ANFISIJSRD
 
A Defect Prediction Model for Software Product based on ANFIS
A Defect Prediction Model for Software Product based on ANFISA Defect Prediction Model for Software Product based on ANFIS
A Defect Prediction Model for Software Product based on ANFISIJSRD
 
Performance optimization and comparison of variable parameter using genetic
Performance optimization and comparison of variable parameter using geneticPerformance optimization and comparison of variable parameter using genetic
Performance optimization and comparison of variable parameter using geneticIAEME Publication
 
An fpga implementation of the lms adaptive filter
An fpga implementation of the lms adaptive filterAn fpga implementation of the lms adaptive filter
An fpga implementation of the lms adaptive filtereSAT Publishing House
 
An fpga implementation of the lms adaptive filter
An fpga implementation of the lms adaptive filter An fpga implementation of the lms adaptive filter
An fpga implementation of the lms adaptive filter eSAT Journals
 
PERFORMANCE ASSESSMENT OF ANFIS APPLIED TO FAULT DIAGNOSIS OF POWER TRANSFORMER
PERFORMANCE ASSESSMENT OF ANFIS APPLIED TO FAULT DIAGNOSIS OF POWER TRANSFORMER PERFORMANCE ASSESSMENT OF ANFIS APPLIED TO FAULT DIAGNOSIS OF POWER TRANSFORMER
PERFORMANCE ASSESSMENT OF ANFIS APPLIED TO FAULT DIAGNOSIS OF POWER TRANSFORMER ecij
 
Number of Iteration Analysis for Complex FSS Shape Using GA for Efficient ESG
Number of Iteration Analysis for Complex FSS Shape Using GA for Efficient ESGNumber of Iteration Analysis for Complex FSS Shape Using GA for Efficient ESG
Number of Iteration Analysis for Complex FSS Shape Using GA for Efficient ESGjournalBEEI
 
Neuro-Genetic Optimization of LDO-fired Rotary Furnace Parameters for the Pro...
Neuro-Genetic Optimization of LDO-fired Rotary Furnace Parameters for the Pro...Neuro-Genetic Optimization of LDO-fired Rotary Furnace Parameters for the Pro...
Neuro-Genetic Optimization of LDO-fired Rotary Furnace Parameters for the Pro...IJERD Editor
 
Neuro-Genetic Optimization of LDO-fired Rotary Furnace Parameters for the Pro...
Neuro-Genetic Optimization of LDO-fired Rotary Furnace Parameters for the Pro...Neuro-Genetic Optimization of LDO-fired Rotary Furnace Parameters for the Pro...
Neuro-Genetic Optimization of LDO-fired Rotary Furnace Parameters for the Pro...IJERD Editor
 
Presenting an Algorithm for Tasks Scheduling in Grid Environment along with I...
Presenting an Algorithm for Tasks Scheduling in Grid Environment along with I...Presenting an Algorithm for Tasks Scheduling in Grid Environment along with I...
Presenting an Algorithm for Tasks Scheduling in Grid Environment along with I...Editor IJCATR
 
Fine-grained or coarse-grained? Strategies for implementing parallel genetic ...
Fine-grained or coarse-grained? Strategies for implementing parallel genetic ...Fine-grained or coarse-grained? Strategies for implementing parallel genetic ...
Fine-grained or coarse-grained? Strategies for implementing parallel genetic ...TELKOMNIKA JOURNAL
 
An application specific reconfigurable architecture
An application specific reconfigurable architectureAn application specific reconfigurable architecture
An application specific reconfigurable architectureeSAT Publishing House
 

Ähnlich wie FPGA Optimized Fuzzy Controller Design for Magnetic Ball Levitation using Genetic Algorithms (20)

Intelligent Controller Design for a Chemical Process
Intelligent Controller Design for a Chemical ProcessIntelligent Controller Design for a Chemical Process
Intelligent Controller Design for a Chemical Process
 
Improvement of genetic algorithm using artificial bee colony
Improvement of genetic algorithm using artificial bee colonyImprovement of genetic algorithm using artificial bee colony
Improvement of genetic algorithm using artificial bee colony
 
COMPARATIVE ANALYSIS OF CONVENTIONAL PID CONTROLLER AND FUZZY CONTROLLER WIT...
COMPARATIVE  ANALYSIS OF CONVENTIONAL PID CONTROLLER AND FUZZY CONTROLLER WIT...COMPARATIVE  ANALYSIS OF CONVENTIONAL PID CONTROLLER AND FUZZY CONTROLLER WIT...
COMPARATIVE ANALYSIS OF CONVENTIONAL PID CONTROLLER AND FUZZY CONTROLLER WIT...
 
IJCSI-2015-12-2-10138 (1) (2)
IJCSI-2015-12-2-10138 (1) (2)IJCSI-2015-12-2-10138 (1) (2)
IJCSI-2015-12-2-10138 (1) (2)
 
Application of genetic algorithm and neuro fuzzy control techniques for auto
Application of genetic algorithm and neuro fuzzy control techniques for autoApplication of genetic algorithm and neuro fuzzy control techniques for auto
Application of genetic algorithm and neuro fuzzy control techniques for auto
 
A Defect Prediction Model for Software Product based on ANFIS
A Defect Prediction Model for Software Product based on ANFISA Defect Prediction Model for Software Product based on ANFIS
A Defect Prediction Model for Software Product based on ANFIS
 
A Defect Prediction Model for Software Product based on ANFIS
A Defect Prediction Model for Software Product based on ANFISA Defect Prediction Model for Software Product based on ANFIS
A Defect Prediction Model for Software Product based on ANFIS
 
D0931621
D0931621D0931621
D0931621
 
Performance optimization and comparison of variable parameter using genetic
Performance optimization and comparison of variable parameter using geneticPerformance optimization and comparison of variable parameter using genetic
Performance optimization and comparison of variable parameter using genetic
 
An fpga implementation of the lms adaptive filter
An fpga implementation of the lms adaptive filterAn fpga implementation of the lms adaptive filter
An fpga implementation of the lms adaptive filter
 
An fpga implementation of the lms adaptive filter
An fpga implementation of the lms adaptive filter An fpga implementation of the lms adaptive filter
An fpga implementation of the lms adaptive filter
 
PERFORMANCE ASSESSMENT OF ANFIS APPLIED TO FAULT DIAGNOSIS OF POWER TRANSFORMER
PERFORMANCE ASSESSMENT OF ANFIS APPLIED TO FAULT DIAGNOSIS OF POWER TRANSFORMER PERFORMANCE ASSESSMENT OF ANFIS APPLIED TO FAULT DIAGNOSIS OF POWER TRANSFORMER
PERFORMANCE ASSESSMENT OF ANFIS APPLIED TO FAULT DIAGNOSIS OF POWER TRANSFORMER
 
Number of Iteration Analysis for Complex FSS Shape Using GA for Efficient ESG
Number of Iteration Analysis for Complex FSS Shape Using GA for Efficient ESGNumber of Iteration Analysis for Complex FSS Shape Using GA for Efficient ESG
Number of Iteration Analysis for Complex FSS Shape Using GA for Efficient ESG
 
Neuro-Genetic Optimization of LDO-fired Rotary Furnace Parameters for the Pro...
Neuro-Genetic Optimization of LDO-fired Rotary Furnace Parameters for the Pro...Neuro-Genetic Optimization of LDO-fired Rotary Furnace Parameters for the Pro...
Neuro-Genetic Optimization of LDO-fired Rotary Furnace Parameters for the Pro...
 
Neuro-Genetic Optimization of LDO-fired Rotary Furnace Parameters for the Pro...
Neuro-Genetic Optimization of LDO-fired Rotary Furnace Parameters for the Pro...Neuro-Genetic Optimization of LDO-fired Rotary Furnace Parameters for the Pro...
Neuro-Genetic Optimization of LDO-fired Rotary Furnace Parameters for the Pro...
 
Presenting an Algorithm for Tasks Scheduling in Grid Environment along with I...
Presenting an Algorithm for Tasks Scheduling in Grid Environment along with I...Presenting an Algorithm for Tasks Scheduling in Grid Environment along with I...
Presenting an Algorithm for Tasks Scheduling in Grid Environment along with I...
 
21950
2195021950
21950
 
cuTau Leaping
cuTau LeapingcuTau Leaping
cuTau Leaping
 
Fine-grained or coarse-grained? Strategies for implementing parallel genetic ...
Fine-grained or coarse-grained? Strategies for implementing parallel genetic ...Fine-grained or coarse-grained? Strategies for implementing parallel genetic ...
Fine-grained or coarse-grained? Strategies for implementing parallel genetic ...
 
An application specific reconfigurable architecture
An application specific reconfigurable architectureAn application specific reconfigurable architecture
An application specific reconfigurable architecture
 

Mehr von IDES Editor

Power System State Estimation - A Review
Power System State Estimation - A ReviewPower System State Estimation - A Review
Power System State Estimation - A ReviewIDES Editor
 
Artificial Intelligence Technique based Reactive Power Planning Incorporating...
Artificial Intelligence Technique based Reactive Power Planning Incorporating...Artificial Intelligence Technique based Reactive Power Planning Incorporating...
Artificial Intelligence Technique based Reactive Power Planning Incorporating...IDES Editor
 
Design and Performance Analysis of Genetic based PID-PSS with SVC in a Multi-...
Design and Performance Analysis of Genetic based PID-PSS with SVC in a Multi-...Design and Performance Analysis of Genetic based PID-PSS with SVC in a Multi-...
Design and Performance Analysis of Genetic based PID-PSS with SVC in a Multi-...IDES Editor
 
Optimal Placement of DG for Loss Reduction and Voltage Sag Mitigation in Radi...
Optimal Placement of DG for Loss Reduction and Voltage Sag Mitigation in Radi...Optimal Placement of DG for Loss Reduction and Voltage Sag Mitigation in Radi...
Optimal Placement of DG for Loss Reduction and Voltage Sag Mitigation in Radi...IDES Editor
 
Line Losses in the 14-Bus Power System Network using UPFC
Line Losses in the 14-Bus Power System Network using UPFCLine Losses in the 14-Bus Power System Network using UPFC
Line Losses in the 14-Bus Power System Network using UPFCIDES Editor
 
Study of Structural Behaviour of Gravity Dam with Various Features of Gallery...
Study of Structural Behaviour of Gravity Dam with Various Features of Gallery...Study of Structural Behaviour of Gravity Dam with Various Features of Gallery...
Study of Structural Behaviour of Gravity Dam with Various Features of Gallery...IDES Editor
 
Assessing Uncertainty of Pushover Analysis to Geometric Modeling
Assessing Uncertainty of Pushover Analysis to Geometric ModelingAssessing Uncertainty of Pushover Analysis to Geometric Modeling
Assessing Uncertainty of Pushover Analysis to Geometric ModelingIDES Editor
 
Secure Multi-Party Negotiation: An Analysis for Electronic Payments in Mobile...
Secure Multi-Party Negotiation: An Analysis for Electronic Payments in Mobile...Secure Multi-Party Negotiation: An Analysis for Electronic Payments in Mobile...
Secure Multi-Party Negotiation: An Analysis for Electronic Payments in Mobile...IDES Editor
 
Selfish Node Isolation & Incentivation using Progressive Thresholds
Selfish Node Isolation & Incentivation using Progressive ThresholdsSelfish Node Isolation & Incentivation using Progressive Thresholds
Selfish Node Isolation & Incentivation using Progressive ThresholdsIDES Editor
 
Various OSI Layer Attacks and Countermeasure to Enhance the Performance of WS...
Various OSI Layer Attacks and Countermeasure to Enhance the Performance of WS...Various OSI Layer Attacks and Countermeasure to Enhance the Performance of WS...
Various OSI Layer Attacks and Countermeasure to Enhance the Performance of WS...IDES Editor
 
Responsive Parameter based an AntiWorm Approach to Prevent Wormhole Attack in...
Responsive Parameter based an AntiWorm Approach to Prevent Wormhole Attack in...Responsive Parameter based an AntiWorm Approach to Prevent Wormhole Attack in...
Responsive Parameter based an AntiWorm Approach to Prevent Wormhole Attack in...IDES Editor
 
Cloud Security and Data Integrity with Client Accountability Framework
Cloud Security and Data Integrity with Client Accountability FrameworkCloud Security and Data Integrity with Client Accountability Framework
Cloud Security and Data Integrity with Client Accountability FrameworkIDES Editor
 
Genetic Algorithm based Layered Detection and Defense of HTTP Botnet
Genetic Algorithm based Layered Detection and Defense of HTTP BotnetGenetic Algorithm based Layered Detection and Defense of HTTP Botnet
Genetic Algorithm based Layered Detection and Defense of HTTP BotnetIDES Editor
 
Enhancing Data Storage Security in Cloud Computing Through Steganography
Enhancing Data Storage Security in Cloud Computing Through SteganographyEnhancing Data Storage Security in Cloud Computing Through Steganography
Enhancing Data Storage Security in Cloud Computing Through SteganographyIDES Editor
 
Low Energy Routing for WSN’s
Low Energy Routing for WSN’sLow Energy Routing for WSN’s
Low Energy Routing for WSN’sIDES Editor
 
Permutation of Pixels within the Shares of Visual Cryptography using KBRP for...
Permutation of Pixels within the Shares of Visual Cryptography using KBRP for...Permutation of Pixels within the Shares of Visual Cryptography using KBRP for...
Permutation of Pixels within the Shares of Visual Cryptography using KBRP for...IDES Editor
 
Rotman Lens Performance Analysis
Rotman Lens Performance AnalysisRotman Lens Performance Analysis
Rotman Lens Performance AnalysisIDES Editor
 
Band Clustering for the Lossless Compression of AVIRIS Hyperspectral Images
Band Clustering for the Lossless Compression of AVIRIS Hyperspectral ImagesBand Clustering for the Lossless Compression of AVIRIS Hyperspectral Images
Band Clustering for the Lossless Compression of AVIRIS Hyperspectral ImagesIDES Editor
 
Microelectronic Circuit Analogous to Hydrogen Bonding Network in Active Site ...
Microelectronic Circuit Analogous to Hydrogen Bonding Network in Active Site ...Microelectronic Circuit Analogous to Hydrogen Bonding Network in Active Site ...
Microelectronic Circuit Analogous to Hydrogen Bonding Network in Active Site ...IDES Editor
 
Texture Unit based Monocular Real-world Scene Classification using SOM and KN...
Texture Unit based Monocular Real-world Scene Classification using SOM and KN...Texture Unit based Monocular Real-world Scene Classification using SOM and KN...
Texture Unit based Monocular Real-world Scene Classification using SOM and KN...IDES Editor
 

Mehr von IDES Editor (20)

Power System State Estimation - A Review
Power System State Estimation - A ReviewPower System State Estimation - A Review
Power System State Estimation - A Review
 
Artificial Intelligence Technique based Reactive Power Planning Incorporating...
Artificial Intelligence Technique based Reactive Power Planning Incorporating...Artificial Intelligence Technique based Reactive Power Planning Incorporating...
Artificial Intelligence Technique based Reactive Power Planning Incorporating...
 
Design and Performance Analysis of Genetic based PID-PSS with SVC in a Multi-...
Design and Performance Analysis of Genetic based PID-PSS with SVC in a Multi-...Design and Performance Analysis of Genetic based PID-PSS with SVC in a Multi-...
Design and Performance Analysis of Genetic based PID-PSS with SVC in a Multi-...
 
Optimal Placement of DG for Loss Reduction and Voltage Sag Mitigation in Radi...
Optimal Placement of DG for Loss Reduction and Voltage Sag Mitigation in Radi...Optimal Placement of DG for Loss Reduction and Voltage Sag Mitigation in Radi...
Optimal Placement of DG for Loss Reduction and Voltage Sag Mitigation in Radi...
 
Line Losses in the 14-Bus Power System Network using UPFC
Line Losses in the 14-Bus Power System Network using UPFCLine Losses in the 14-Bus Power System Network using UPFC
Line Losses in the 14-Bus Power System Network using UPFC
 
Study of Structural Behaviour of Gravity Dam with Various Features of Gallery...
Study of Structural Behaviour of Gravity Dam with Various Features of Gallery...Study of Structural Behaviour of Gravity Dam with Various Features of Gallery...
Study of Structural Behaviour of Gravity Dam with Various Features of Gallery...
 
Assessing Uncertainty of Pushover Analysis to Geometric Modeling
Assessing Uncertainty of Pushover Analysis to Geometric ModelingAssessing Uncertainty of Pushover Analysis to Geometric Modeling
Assessing Uncertainty of Pushover Analysis to Geometric Modeling
 
Secure Multi-Party Negotiation: An Analysis for Electronic Payments in Mobile...
Secure Multi-Party Negotiation: An Analysis for Electronic Payments in Mobile...Secure Multi-Party Negotiation: An Analysis for Electronic Payments in Mobile...
Secure Multi-Party Negotiation: An Analysis for Electronic Payments in Mobile...
 
Selfish Node Isolation & Incentivation using Progressive Thresholds
Selfish Node Isolation & Incentivation using Progressive ThresholdsSelfish Node Isolation & Incentivation using Progressive Thresholds
Selfish Node Isolation & Incentivation using Progressive Thresholds
 
Various OSI Layer Attacks and Countermeasure to Enhance the Performance of WS...
Various OSI Layer Attacks and Countermeasure to Enhance the Performance of WS...Various OSI Layer Attacks and Countermeasure to Enhance the Performance of WS...
Various OSI Layer Attacks and Countermeasure to Enhance the Performance of WS...
 
Responsive Parameter based an AntiWorm Approach to Prevent Wormhole Attack in...
Responsive Parameter based an AntiWorm Approach to Prevent Wormhole Attack in...Responsive Parameter based an AntiWorm Approach to Prevent Wormhole Attack in...
Responsive Parameter based an AntiWorm Approach to Prevent Wormhole Attack in...
 
Cloud Security and Data Integrity with Client Accountability Framework
Cloud Security and Data Integrity with Client Accountability FrameworkCloud Security and Data Integrity with Client Accountability Framework
Cloud Security and Data Integrity with Client Accountability Framework
 
Genetic Algorithm based Layered Detection and Defense of HTTP Botnet
Genetic Algorithm based Layered Detection and Defense of HTTP BotnetGenetic Algorithm based Layered Detection and Defense of HTTP Botnet
Genetic Algorithm based Layered Detection and Defense of HTTP Botnet
 
Enhancing Data Storage Security in Cloud Computing Through Steganography
Enhancing Data Storage Security in Cloud Computing Through SteganographyEnhancing Data Storage Security in Cloud Computing Through Steganography
Enhancing Data Storage Security in Cloud Computing Through Steganography
 
Low Energy Routing for WSN’s
Low Energy Routing for WSN’sLow Energy Routing for WSN’s
Low Energy Routing for WSN’s
 
Permutation of Pixels within the Shares of Visual Cryptography using KBRP for...
Permutation of Pixels within the Shares of Visual Cryptography using KBRP for...Permutation of Pixels within the Shares of Visual Cryptography using KBRP for...
Permutation of Pixels within the Shares of Visual Cryptography using KBRP for...
 
Rotman Lens Performance Analysis
Rotman Lens Performance AnalysisRotman Lens Performance Analysis
Rotman Lens Performance Analysis
 
Band Clustering for the Lossless Compression of AVIRIS Hyperspectral Images
Band Clustering for the Lossless Compression of AVIRIS Hyperspectral ImagesBand Clustering for the Lossless Compression of AVIRIS Hyperspectral Images
Band Clustering for the Lossless Compression of AVIRIS Hyperspectral Images
 
Microelectronic Circuit Analogous to Hydrogen Bonding Network in Active Site ...
Microelectronic Circuit Analogous to Hydrogen Bonding Network in Active Site ...Microelectronic Circuit Analogous to Hydrogen Bonding Network in Active Site ...
Microelectronic Circuit Analogous to Hydrogen Bonding Network in Active Site ...
 
Texture Unit based Monocular Real-world Scene Classification using SOM and KN...
Texture Unit based Monocular Real-world Scene Classification using SOM and KN...Texture Unit based Monocular Real-world Scene Classification using SOM and KN...
Texture Unit based Monocular Real-world Scene Classification using SOM and KN...
 

Kürzlich hochgeladen

The Singapore Teaching Practice document
The Singapore Teaching Practice documentThe Singapore Teaching Practice document
The Singapore Teaching Practice documentXsasf Sfdfasd
 
Ultra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptxUltra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptxDr. Asif Anas
 
Patterns of Written Texts Across Disciplines.pptx
Patterns of Written Texts Across Disciplines.pptxPatterns of Written Texts Across Disciplines.pptx
Patterns of Written Texts Across Disciplines.pptxMYDA ANGELICA SUAN
 
Practical Research 1 Lesson 9 Scope and delimitation.pptx
Practical Research 1 Lesson 9 Scope and delimitation.pptxPractical Research 1 Lesson 9 Scope and delimitation.pptx
Practical Research 1 Lesson 9 Scope and delimitation.pptxKatherine Villaluna
 
How to Add a many2many Relational Field in Odoo 17
How to Add a many2many Relational Field in Odoo 17How to Add a many2many Relational Field in Odoo 17
How to Add a many2many Relational Field in Odoo 17Celine George
 
Philosophy of Education and Educational Philosophy
Philosophy of Education  and Educational PhilosophyPhilosophy of Education  and Educational Philosophy
Philosophy of Education and Educational PhilosophyShuvankar Madhu
 
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdfP4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdfYu Kanazawa / Osaka University
 
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptxSandy Millin
 
3.21.24 The Origins of Black Power.pptx
3.21.24  The Origins of Black Power.pptx3.21.24  The Origins of Black Power.pptx
3.21.24 The Origins of Black Power.pptxmary850239
 
CapTechU Doctoral Presentation -March 2024 slides.pptx
CapTechU Doctoral Presentation -March 2024 slides.pptxCapTechU Doctoral Presentation -March 2024 slides.pptx
CapTechU Doctoral Presentation -March 2024 slides.pptxCapitolTechU
 
AUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptxAUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptxiammrhaywood
 
How to Use api.constrains ( ) in Odoo 17
How to Use api.constrains ( ) in Odoo 17How to Use api.constrains ( ) in Odoo 17
How to Use api.constrains ( ) in Odoo 17Celine George
 
CAULIFLOWER BREEDING 1 Parmar pptx
CAULIFLOWER BREEDING 1 Parmar pptxCAULIFLOWER BREEDING 1 Parmar pptx
CAULIFLOWER BREEDING 1 Parmar pptxSaurabhParmar42
 
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...Nguyen Thanh Tu Collection
 
Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...raviapr7
 
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRADUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRATanmoy Mishra
 
Presentation on the Basics of Writing. Writing a Paragraph
Presentation on the Basics of Writing. Writing a ParagraphPresentation on the Basics of Writing. Writing a Paragraph
Presentation on the Basics of Writing. Writing a ParagraphNetziValdelomar1
 
Benefits & Challenges of Inclusive Education
Benefits & Challenges of Inclusive EducationBenefits & Challenges of Inclusive Education
Benefits & Challenges of Inclusive EducationMJDuyan
 

Kürzlich hochgeladen (20)

The Singapore Teaching Practice document
The Singapore Teaching Practice documentThe Singapore Teaching Practice document
The Singapore Teaching Practice document
 
Ultra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptxUltra structure and life cycle of Plasmodium.pptx
Ultra structure and life cycle of Plasmodium.pptx
 
Patterns of Written Texts Across Disciplines.pptx
Patterns of Written Texts Across Disciplines.pptxPatterns of Written Texts Across Disciplines.pptx
Patterns of Written Texts Across Disciplines.pptx
 
Practical Research 1 Lesson 9 Scope and delimitation.pptx
Practical Research 1 Lesson 9 Scope and delimitation.pptxPractical Research 1 Lesson 9 Scope and delimitation.pptx
Practical Research 1 Lesson 9 Scope and delimitation.pptx
 
How to Add a many2many Relational Field in Odoo 17
How to Add a many2many Relational Field in Odoo 17How to Add a many2many Relational Field in Odoo 17
How to Add a many2many Relational Field in Odoo 17
 
Philosophy of Education and Educational Philosophy
Philosophy of Education  and Educational PhilosophyPhilosophy of Education  and Educational Philosophy
Philosophy of Education and Educational Philosophy
 
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdfP4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
P4C x ELT = P4ELT: Its Theoretical Background (Kanazawa, 2024 March).pdf
 
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx
2024.03.23 What do successful readers do - Sandy Millin for PARK.pptx
 
3.21.24 The Origins of Black Power.pptx
3.21.24  The Origins of Black Power.pptx3.21.24  The Origins of Black Power.pptx
3.21.24 The Origins of Black Power.pptx
 
CapTechU Doctoral Presentation -March 2024 slides.pptx
CapTechU Doctoral Presentation -March 2024 slides.pptxCapTechU Doctoral Presentation -March 2024 slides.pptx
CapTechU Doctoral Presentation -March 2024 slides.pptx
 
AUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptxAUDIENCE THEORY -- FANDOM -- JENKINS.pptx
AUDIENCE THEORY -- FANDOM -- JENKINS.pptx
 
How to Use api.constrains ( ) in Odoo 17
How to Use api.constrains ( ) in Odoo 17How to Use api.constrains ( ) in Odoo 17
How to Use api.constrains ( ) in Odoo 17
 
Prelims of Kant get Marx 2.0: a general politics quiz
Prelims of Kant get Marx 2.0: a general politics quizPrelims of Kant get Marx 2.0: a general politics quiz
Prelims of Kant get Marx 2.0: a general politics quiz
 
CAULIFLOWER BREEDING 1 Parmar pptx
CAULIFLOWER BREEDING 1 Parmar pptxCAULIFLOWER BREEDING 1 Parmar pptx
CAULIFLOWER BREEDING 1 Parmar pptx
 
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
CHUYÊN ĐỀ DẠY THÊM TIẾNG ANH LỚP 11 - GLOBAL SUCCESS - NĂM HỌC 2023-2024 - HK...
 
Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...Patient Counselling. Definition of patient counseling; steps involved in pati...
Patient Counselling. Definition of patient counseling; steps involved in pati...
 
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRADUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
DUST OF SNOW_BY ROBERT FROST_EDITED BY_ TANMOY MISHRA
 
Presentation on the Basics of Writing. Writing a Paragraph
Presentation on the Basics of Writing. Writing a ParagraphPresentation on the Basics of Writing. Writing a Paragraph
Presentation on the Basics of Writing. Writing a Paragraph
 
Personal Resilience in Project Management 2 - TV Edit 1a.pdf
Personal Resilience in Project Management 2 - TV Edit 1a.pdfPersonal Resilience in Project Management 2 - TV Edit 1a.pdf
Personal Resilience in Project Management 2 - TV Edit 1a.pdf
 
Benefits & Challenges of Inclusive Education
Benefits & Challenges of Inclusive EducationBenefits & Challenges of Inclusive Education
Benefits & Challenges of Inclusive Education
 

FPGA Optimized Fuzzy Controller Design for Magnetic Ball Levitation using Genetic Algorithms

  • 1. Long Paper ACEEE Int. J. on Electrical and Power Engineering, Vol. 4, No. 2, Aug 2013 FPGA Optimized Fuzzy Controller Design for Magnetic Ball Levitation using Genetic Algorithms Basil Hamed1, Hosam Abu Elreesh2 Electrical Engineering Department, Islamic University of Gaza, Gaza, Palestine 1 Email: bhamed@iugaza.edu 2 Email: m_hossam@hotmail.com Abstract— This paper presents an optimum approach for designing of fuzzy controller for nonlinear system using FPGA technology with Genetic Algorithms (GA) optimization tool. A magnetic levitation system is considered as a case study and the fuzzy controller is designed to keep a magnetic object suspended in the air counteracting the weight of the object. Fuzzy controller will be implemented using FPGA chip. Genetic Algorithm (GA) is used in this paper as optimization method that optimizes the membership, output gain and inputs gains of the fuzzy controllers. The design will use a highlevel programming language HDL for implementing the fuzzy logic controller using the Xfuzzy tools to implement the fuzzy logic controller into HDL code. This paper, advocates a novel approach to implement the fuzzy logic controller for magnetic ball levitation system by using FPGA with GA. Index Terms: — Fuzzy Control, PI, FPGA, Genetic Algorithms Magnetic Levitation Ball, VHDL. smooth control surfaces. Vuong et al [4]; described a methodology of implementing FLS using very high speed integrated circuit hardware description language (VHDL). The main advantages of using HDL are rapid prototyping and allowing usage of powerful synthesis tools such as Xilinx ISE, Synopsys, Mentor Graphic, or Cadence to be targeted easily and efficiently. S. Ravi and P. A. Balakrishnan [5] presented Genetic Algorithm based Fuzzy Logic Controller for temperature control in a plastic extrusion is developed and tested through a simulation study. A novel GA based FLC method is implemented to design a practicable advanced controller. Mohanad Alata, Mohammad Molhem and Khaled Al Masri [6] presented a solution of first, second, and third order systems, using the absolute average error as a fitness function, the genetic algorithm manipulate all parameters of the fuzzy controller to find the optimum solution. I. INTRODUCTION II. FUZZY CONTROL Fuzzy Control applies fuzzy logic to the control of In the recent years Fuzzy controller is used to control processes by utilizing different categories, usually ‘error’ and complex engineering problems which are difficult to solve by ‘change of error’, for the process state and applying rules to classical methods. Finding many different hardware decide a level of output. There are many models of FLC, but implementations of fuzzy logic systems (FLSs), generalthe most famous are the Mamdani model, Takagi- Sugenopurpose microprocessors and microcontrollers are mostly Kang (TSK) model and Kosko’s additive model (SAM) [7]. used for implementing FLS in hardware, but with the complex This paper uses Mamdani model. systems these devices cannot perform operations assigned to it as required. In recent years many studies emerged illustrate the different ways to implement fuzzy control using FPGA in different application. The advantage of using FPGA is suitable for fast implementation and quick hardware verification. FPGA based systems are flexible and can be reprogrammed unlimited number of times. J.E. Bonilla, V.H. Grisales and M.A. Melgarejo [1]; the fuzzy controller architecture in this paper focused on the treatment of errors and changes in errors with tuning gains. There are many ways of how to use GA in fuzzy control. The most extended GFS type is the genetic fuzzy rule-based system (GFRBS), where an EA is employed to learn or tune different components of an FRBS. The objective of a genetic tuning Figure 1: Mamdani Model process is to adapt a given fuzzy rule set such that the IF (X is A) and (Y is B) … THEN (Z is C). resulting FRBS demonstrates better performance [2]. This Where A, and B are membership of the inputs, C is paper presented the development of an FPGA-based membership of the output as shown in Figure 1. Mamdani proportional-differential (PD) fuzzy LUT controller. The fuzzy model block consist of three stages. inference used a 256-value LUT. This method was used due  Fuzzification: - Fuzzification means converting a crisp to its reduced computation time cost. McKenna and value of process variable into a fuzzy set. In order to Wilamowski [3] have investigated method to implement fuzzy make it compatible with the fuzzy set representation of logic controller (FLC) on a field FPGA and obtained very 58 © 2013 ACEEE DOI: 01.IJEPE.4.2.1384
  • 2. Long Paper ACEEE Int. J. on Electrical and Power Engineering, Vol. 4, No. 2, Aug 2013  the process state variable. Fuzzy Associative Memory (FAM): - FAM is a set of fuzzy associations between the input and the output [6]. This stage consists of two parts: dedicated blocks such as memories RAM, multipliers cabled PCI interfaces and processor cores. The design of control architectures is done using CAD tools. There are two commonly used languages, Very high speed integrated VHDL and Verilog. These two languages are standardized and compatible with all FPGA technologies previously introduced. Figure 3 shows the FPGA programming steps. This paper will use the Spartan 3e FPGA from Xilinx company. A. Knowledge base Knowledge base contains a data base and rule base. Data base provides necessary definitions for linguistic rules, and the rules base consist of the IF-THEN rules, which can be derived by using four ways: 1. Expert Experience and control engineering knowledge. 2. Based on fuzzy modeling of human operators central action. 3. Based on learning 4. Based on fuzzy model of a process. B. Decision-Making Decision-Making means choosing the most appropriate action from several possible actions.  Defuzzification: - Defuzzification strategy is aimed at producing a non-fuzzy control action, or we can say defuzzification means the conversion of the fuzzy output values into crisp values. III. FPGA FPGA is digital integrated circuits (ICs) that have electronics blocks which can be programmed, and these blocks have configurable interconnection between them. These blocks can be used by the designed engineer to perform a huge range of tasks. Xilinx has been designed first FPGA in 1984 but started being in use by the engineers in 1990 [8]. Every FPGA has three major components, configurable logic blocks (CLBs), input/output blocks (IOBs), and interconnects, Figure 2 shows theses blocks. CLBs are responsible for building the logical circuit for the user. IOBs are responsible for the interface between package pins and internal signal lines. Interconnects are responsible for routing paths to connect the inputs and outputs of the CLB and IOB [9]. Figure 3: Programming a FPGA IV. GENETIC ALGORITHMS Genetic Algorithms are reliable and robust methods for searching solution spaces [10]. GA is general purpose search algorithm which uses principles inspired by neutral genetic to find solutions to problems [11][12] by using Survival of the fittest principle. The basic idea is to maintain a population of chromosomes, which represent candidate to the concrete problems that will be solve, through a process of computation and controlled variation. Each structure of chromosome in the population represent one of the possible solution of the problem and the fitness test of these chromosomes can determine which chromosomes are used to form a new chromosomes that will be used in computational process. As in natural the new chromosomes are created by some operations such as crossover and mutations. There is another operation which called reproduction. This operation is added to achieve the survival of the fittest principle. In recent years, GA is used in many applications specially in optimization and search problems and had a great measure of success; the main reason of this success that it can start from any solutions, and generate other solutions that converge to the optimal solution in less time versus other classical search tools (enumerative, heuristic). “GA is theoretically and empirically proven to provide a robust search in complex spaces; thereby offering a valid approach to problems requiring efficient and effective searches” [2]. Figure 3 shows the steps of GA. Figure 2: FPGA Architecture These days, FPGAs offer the possibility of using © 2013 ACEEE DOI: 01.IJEPE.4.2.1384 59
  • 3. Long Paper ACEEE Int. J. on Electrical and Power Engineering, Vol. 4, No. 2, Aug 2013 parameter that effect on the membership shape. For example every triangular membership can represents be three genes because it has three parameters that control of its shape (center edge, left edge and right edge). If the inputs of fuzzy controller have seven triangular memberships, then every chromosome of the population will have twenty one genes (7x3). The main problem in GA is how to choose fitness function. Minimize output error is one of importance aims in control systems. In control applications there are different fitness function that may be used [15]. 1- Sum of squared error (1) Where (e) is the error signal, this function can track error quickly, but easily gives rise to oscillation. Figure 4: The basic Genetic Algorithm 1. Selection: In this process the developer will choose the pairs of parents that will be crossed. There are many methods can be used such as Roulette Wheel Selection. Rank Selection and Stochastic Universal Sampling [13]. 2. Crossover: Crossover is the process that takes two parents of solutions and generates a new offspring. There are many methods can be used such as Single-Point Crossover (Figure 5), two-point crossover and uniform crossover [13]. 2- Sum of absolute error (2) This function can obtain good response, but its selection performance is not good. 3- Sum of time weighted squared error (3) This function can gives fast tracking and good response. In this paper the sum of absolute value of error will be used as fitness function. V. SIMULATION The CE 152 Magnetic Levitation Model is one of the ranges of educational scale models offered by Humusoft Company for teaching system dynamics and control engineering principles. The model belongs to the range of teaching systems directly controllable by a PC computer in real time. The CE 152 Magnetic Levitation model is one dimensional strongly unstable system designed for studying system dynamics and experimenting with number of different control algorithms based on classical and control theory. Figure 6 shows CE 152 model [16]. The model shown in Figure 6 consists of the following blocks: 1. D/A converter. 2. Power amplifier. 3. Ball & coil subsystem. 4. Position sensor. 5. A/D converter. Figure 5: Single Point Crossover 3. Mutation: Mutation means swap one bit in binary coding or changes one number if the chromosome consists of numbers [13]. There are many optimization methods, but GA has some advantages over these methods such as [14]: 1- GA does not deal with data directly but works with encoded data. 2- GA uses least information such as fitness function to solve problems does not need derivation. 3- GA uses probability laws rather than certain laws. 4- GA generate populations of answer not just one answer. 5- Almost all conventional optimization techniques search from a single point but GA always operates on a whole population of points (parallelism). In this paper the fuzzy membership inputs and output membership functions will be used as variables that will be optimized using GA. Every triangular membership has three variable can effect on the shape of it; so the each chromosome will has the number of genes every genes refer to one © 2013 ACEEE DOI: 01.IJEPE.4.2.1384 Figure 6: CE152 Magnetic Levitation Model 60
  • 4. Long Paper ACEEE Int. J. on Electrical and Power Engineering, Vol. 4, No. 2, Aug 2013 TABLE I. FUZZY CONTROL RULE B ASE OF MAGNETIC LEVITATION The mathematical equation of this model is: e ln mn sn z sp mp lp ln ln ln ln ln mn sn z mn ln ln ln mn sn z sp sn ln ln mn sn z sp mp z ln mn sn z sp mp lp sp mn sn z sp mp lp lp mp sn z sp mp lp lp lp lp z sp mp lp lp lp lp ce Where x1 ball position, x2 ball velocity and x3 coil current mk = ball mass [kg]. g = gravity acceleration constant [m.s-2]. kfv= viscose friction. x0 = coil bias [m]. Kc= coil constant. A. Fuzzy Controller Design for CE152 Model To apply the fuzzy logic controller to the magnetic levitation CE 152, certain properties of the system are exploited so that the design of the controller can be made easier. As the system is symmetrical, it is assumed that symmetrical membership functions about the y-axis will provide a valid controller. A symmetrical rule-base is also assumed. The fuzzy controller of magnetic levitation uses Mamdani model. The FLC has two inputs which are error and change of error and the output is the change of voltage. Figure 7 shows the membership functions of fuzzy controller using Fuzzy Toolbox of Matlab software. The ranges of the inputs and output is [1 1]. All have 7 membership functions. (a) Figure 7: Memberships of Inputs and Output Fuzzy Controller The next step is to write the rules of the fuzzy controller. These rules are chosen based on knowledge base and experts. Table 1 shows the rules base as a matrix After designing fuzzy controller, the controller will be connected to the CE152 magnetic levitation Matlab Simulink model. Figure 8 a, b and c shows the fuzzy controller, proportional integral controller (PI) subsystems and all system respectively. The integral part is used to convert the change of voltage value that come from fuzzy controller to real voltage which will act on the magnetic levitation CE152. Using tuning method the good proportional gain is 0.1 and the integral gain is 1. Figure 9 shows the output of the magnetic levitation after connecting to the fuzzy controller. The set point is unit step has value 0.5 which is in the center of the gap; this point is one of the equilibrium points of magnetic levitation CE152 model. There is no overshoot and the settling time is nearly 0.2 sec, rising time is 0.106 sec. © 2013 ACEEE DOI: 01.IJEPE.4.2.1384 (b) Figure 10 and Figure 11 show the output response with two additional set points. These figures show that the fuzzy controller can keep the stability of the system with various set points. B. VHDL Fuzzy Controller Implementation To program FPGA Xfuzzy tool is used. Xfuzzy is a CAD tool that was developed using JAVA language. This tool is a combination of several tools that covering the four stages of FLS design: description, tuning, verification, and synthesis stages. The controller consists of three main parts, ADC, FPGA, and DAC. ADC and DAC that will be used in this paper have 8 bits resolution. The integrated circuits (ICs) that will be used are PIC 16f877 as ADC, and DAC 0800. 61
  • 5. Long Paper ACEEE Int. J. on Electrical and Power Engineering, Vol. 4, No. 2, Aug 2013 (c) Figure 8: a) Fuzzy Controller Subsystem - b) PI Subsystem –c) Magnetic Levitation Model Figure 9: Step Response of the System Figure 11: Sine Wave Output Response of the System to fuzzy controller part. 2- Fuzzy controller is generated using Xfuzzy CAD tool and has two inputs (error and change of error) and one output (change of voltage). 3- PI (proportional-integral) part has one inputs (change of voltage) and one output (effective voltage). The last step of Xfuzzy tool is generating the VHDL code for this controller; this code is used with “sum.vhd” and “pi.vhd” files to complete the controller. These files will be used with ISE 10.1 software to generate bit file that is uploaded to FPGA. Xfuzzy tool will generate System Generator blocks of fuzzy controller that is used with Matlab simulink. “Black Box” block that is in the System Generator Matlab toolbox will be used to insert the “sum.vhd” and “pi.vhd” into Matlab Simulink. Figure 12 shows the overall system connected with all sub systems. After building the Simulink model of fuzzy controller using System Generator toolbox, the system runs Figure 10: Square Wave Output Response of the System These two ICs have eight bits parallel interface with FPGA. The fuzzy controller consists of three parts: 1- Summation part has two inputs set point and feedback, and generates the error and change of error that are inputs © 2013 ACEEE DOI: 01.IJEPE.4.2.1384 62
  • 6. Long Paper ACEEE Int. J. on Electrical and Power Engineering, Vol. 4, No. 2, Aug 2013 at two different set points, step, and sine wave to test the VHDL code if it works properly or not. Figure 13 shows the output response of the system at set point equal 127. (0.5 at normalize mode). Figure 14 shows the error and change of error of the ball position, the two values are shifted by 255, because the VHDL code of fuzzy controller works only in the interval [0 510], Where 0 means that the -255 and 510 means 255, so 0 error in Matlab equal 255 in VHDL code. We need to set the simulation time in System Generator block to be 0.00000002 sec to work as real FPGA because the FPGA clock that is used in VHDL code is 50 MHz Figure 15: Sine Wave Output Response Using VHDL Code C. GA Fuzzy Controller Design for CE152 Model There are many parameters effect on the control process of the CE152 model as shown in Figure 8 a,b in addition to the shape of the memberships of the inputs and output of fuzzy controller. These parameters are p_g (proportional gain), pi_g (integral gain), ce_g (change of error gain), err_g (error gain) and out_g (fuzzy output gain). (See Figure 8 a,b and c) These gain parameters can be tuned to give near optimal results. GA is used to optimize these parameters and optimize the shape of memberships of fuzzy controller. The GA Matlab code uses next parameter Population size= 50. Number of gens in one chromosome = 13. Crossover probability=0.9. Mutation probability= random (0.0 to 1.0) Stopping condition: 100 generations. Figure 16 shows the change of the fitness values after running the Matlab code. Figure 12: Block Diagram of Fuzzy Controller Using VHDL Code Figure 13: Step Response of the System Using VHDL Code Figure 17 shows the memberships shape of the inputs and output Figure 14: Error and Change of Error Using VHDL Code Figure 15 shows the output response when the set point is sine wave. © 2013 ACEEE DOI: 01.IJEPE.4.2.1384 Figure 18: Membership Functions of GA Fuzzy Controller 63
  • 7. Long Paper ACEEE Int. J. on Electrical and Power Engineering, Vol. 4, No. 2, Aug 2013 Table 2 shows the difference between gain parameters with and without GA optimization Figure 18 shows that the overshoot of step input is nearly 6%, the settling time is 0.046 sec and rising time is 0.023 sec. Table 3 shows the comparison between the system response with and without GA optimization. TABLE II. G AIN VALUES WITH AND WITHOUT GA Gains with GA optimization err_g 1.0955 1 ce_g 15.4941 15 out_g 15.4932 15 p_g 0.15797 pi_g 2.7363 TABLE III. SYSTEM RESPONSE WITH AND WITHOUT GA without GA optimization System response for step input With GA optimization Without GA optimization Overshoot 6% No overshoot 0.1 Settling time 0.046 sec 0.2 sec 1 Rising time 0.023 sec 0.106 sec As shown in Table 3 the Maglev response of fuzzy controller with GA optimization method is superior to fuzzy controller without GA. Figures 18, 19 and 20 show the system response of step, sin wave and square wave inputs with these new values. VI. CONCLUSION The real time implementation of the fuzzy logic controller for the various driving conditions and terrains has been achieved on a Xilinx Spartan 3E FPGA using VHDL. In this paper the magnetic levitation CE152 Model is used as practical example of nonlinear systems. The fuzzy controller was designed with Matlab software and this controller was tested with the CE152 Model. The fuzzy controller stabilized the magnetic levitation CE152 model under different set points. The Xfuzzy tool was used to generate the VHDL code of fuzzy controller, this code was used with “sum.vhd” and “pi.vhd” VHDL codes to give the overall controller of Magnetic Levitation CE152 Model. The GA optimization method was used to optimize the membership function of the inputs and output of the fuzzy controller and also to optimize the gains p_g, pi_g, ce_g, err_g and out_g. The CE152 was tested with the new membership functions and the result shows that is better than the results of old fuzzy controller under different set points. Figure 19: Step Response of the System with GA REFERENCES [1] J. E. Bonilla, V.H. Grisales and M.A. Melgarejo “Genetic tuned FPGA based PD fuzzy LUT controller,” IEEE International Conference. Fuzzy Systems, Vol 3,pp :1084 – 1087, 2001. [2] O. Cordon, F. Herrera, F. Hoffman and L. Magdalena, “Genetic Fuzzy System Evolutionary Tuning and Learning of Fuzzy Knowledge Bases,” Worlds Scientific, Singapore, 2001. [3] Michael McKenna and Bogdan M. Wilamowski, “Implementing a Fuzzy System on a Field Programmable Gate Array,” IEEE International Joint Conference on Neural Networks, Volume: 1, p.189-194, 2001. [4] T. Philip, M. Vuong, asad, Madni and b. jim Vuong, . VHDL implementation for a fuzzy logic controller., BEI technologies, inc. 13100 telfair avenue, sylmar, 2006. [5] S. Ravi, and P.A. Balakrishnan, “Stable Self Tuning Genetic Fuzzy Temperature Controller For Plastic Extrusion System,” International Journal of Reviews in Computing, pp: 21-28 ,(2009-2011 ) Figure 20: Sine Wave Output Response with GA Figure 21: Square Wave Output Response with GA © 2013 ACEEE DOI: 01.IJEPE.4.2.1384 64
  • 8. Long Paper ACEEE Int. J. on Electrical and Power Engineering, Vol. 4, No. 2, Aug 2013 [11] D.E. Goldberg, Genetic Algorithms in Search, Optimization, and Machine Learning, Addison-Wesley, MA, 1989. [12] J.H. Holland, Adaptation in Natural and Artificial systems, University of Michigan Press, Ann Arbor, 1975. [13] S.N. Sivanandam and S.N. Deepa, Introduction to Genetic Algorithms, Springer, New York, , 2008. [14] A. Alibeiki and S.S. Fallahi, “Genetic Algorithm and Comparison with Usual Optimization Methods,” World Applied Sciences journal 11 (6):752-754, 2010. [15] Hung-Cheng Chen† and Sheng-Hsiung Chang, “Genetic Algorithms Based Optimization Design of a PID Controller for an Active Magnetic Bearing,” IJCSNS International Journal of Computer Science and Network Security, VOL.6 No.12, December 2006. [16] CE. 152 magnetic levitation model-education manual. Humusofts. r.o 2002. [6] Mohanad Alata, Mohammad Molhem and Khaled Al Masri, “Design of A Fuzzy Logic Controller for A Plant of N-Order Based on Genetic Algorithms,” International Conference on Robotics, Control and Manufacturing Technology, 2011 [7] John Yen & Langari Reza, “Fuzzy Logic Intelligence Control and Information,” Prentice-Hall, Englwood Cliffs, 1999. [8] Maxfield, Clive, “The Design Warrior’s Guide to FPGAs,” Newnes, 2004 [9] Hosam Abu Elreesh, Basil Hamed,”FPGA Fuzzy Controller Design for Magnetic Ball Levitation”, IJISA, vol.4, no.10, pp.72-81, 2012. [10] Robert Fulle´r, “Fuzzy Reasoning and Fuzzy Optimization,” TUCS General Publications, No. 9, Turku Centre for Computer Science, Abo, 1998. © 2013 ACEEE DOI: 01.IJEPE.4.2.1384 65