SlideShare a Scribd company logo
1 of 5
Download to read offline
IOSR Journal of Electronics and Communication Engineering (IOSR-JECE)
e-ISSN: 2278-2834,p- ISSN: 2278-8735.Volume 5, Issue 5 (Mar. - Apr. 2013), PP 66-70
www.iosrjournals.org
www.iosrjournals.org 66 | Page
Digital Implementation of Fuzzy Logic Controller for Real Time
Position Control Applications
Umarani P #1
, Vasanthmohan S#2
1(
Department of Electronics and Communication Engineering, Mount Zion College of Engineering &
Technology/Anna university, India )
2()
Department of Electronics and Communication Engineering, Mount Zion College of Engineering &
Technology/Anna university, India)
Abstract: Fuzzy Logic Controller (FLC) systems have emerged as one of the most promising areas for
Industrial Applications. The highly growth of fuzzy logic applications led to the need of finding efficient way to
hardware implementation. Field Programmable Gate Array (FPGA) is the most important tool for hardware
implementation due to low consumption of energy, high speed of operation and large capacity of data storage.
In this paper, instead of an introduction to fuzzy logic control methodology, we have demonstrated the
implementation of a FLC through the use of the Very high speed integrated circuits Hardware Description
Language (VHDL) code. FLC is designed for position control of BLDC Motor. VHDL has been used to develop
FLC on FPGA. A Mamdani type FLC structure has been used to obtain the controller output. The controller
algorithm developed synthesized, simulated and implemented on FPGA Spartan 3E board.
Keywords – BLDC Motor, FLC, Hardware Implementation, Spartan3 FPGA, VHDL
I. Introduction
The past few years have witnessed a rapid growth in the number and variety of application of fuzzy
logic. The application ranges from consumer products such as cameras, washing machines, cars and in industry
for medical instrumentation, underground trains and robots. Unlike the conventional controller FLC design is
not based on the mathematical model of the plant or system. A FLC is an automatic controller that controls an
object in accordance with desire behaviour. For a complex system whose mathematical model is very difficult to
define or the transfer function of a plant is undefined, fuzzy logic controllers are very useful in that case [1, 2].
The control action of FLC is defined in terms of simple human friendly “if - then rules”. These set of rules are
describe the system behaviour. These set of rules are called the knowledge base of fuzzy controller. We can
easily change the rules accordance with our desire output. So the development time for a new controller can be
significantly reduced as compared to conventional one [3]. The motivation behind the implementation of a FLC
in VHDL was driven by the need for an inexpensive hardware implementation of a generic fuzzy controller for
use in industrial and commercial applications [4]. We have taken a simple FLC for position control of BLDC
motor. Position Error and Angular position has been used as two inputs to FLC. For both the inputs 3 Gaussian
membership function has been selected and coded in VHDL. An algorithm has been developed in VHDL to
fuzzify the crisp digital values of Position error and Angular position. Mamdani type FLC structure has been
used to obtain the controlled output. The controller algorithm developed synthesized, simulated and
implemented on FPGA Spartan 3E board. The FLC has been design using system generator approach. The
results of the FLC implemented on FPGA have been compared with the results obtained using FLC on
MATLAB Simulink.
II. System Description
A Brushless DC motor has a permanent magnet rotor and a wound stator. Furthermore, there are two
types of brushless motors; the type that has an outer rotating magnet or the type that has an inner rotating
magnet assembly. In a brushless DC motor the position of the coils (phases), with respect to the permanent
magnet field, are sensed and the current switched electronically (commutated) to the appropriate phases. Hall
Effect sensors are typically used to sense the rotor position. The Brushless Direct Current (BLDC) motor is
rapidly gaining popularity by its utilization in various industries, such as Appliances, Automotive, Aerospace,
Consumer, Medical, Industrial Automation Equipment and Instrumentation. As the name implies, the BLDC
motors do not use brushes for commutation; instead, they are electronically commutated [5] [6]. The BLDC
motors have many advantages over brushed DC motors and induction motors. A few of these are Better speed
versus torque response, High dynamic response, High efficiency, Long operating life, Noiseless operation,
Higher speed ranges.
Digital Implementation of Fuzzy Logic Controller for Real Time Position Control Applications
www.iosrjournals.org 67 | Page
2.1 BLDC drives operation with inverter
Basically it is an electronic motor and requires a three-phase inverter in the front end a shown in Fig.1.
In self control mode the inverter acts like an electronic commutator that receives the switching logical pulse
from the absolute position sensors. The drive is also known as an electronic commutated motor. Basically the
inverter can operate in the following two modes.
• 2π/3 angle switch-on mode
• Voltage and current control PWM mode
Fig.1. Brushless dc motor drive system
Table 1: Parameters of BLDC Motor
TYPE BLDC MOTOR
VOLTAGE 48 volts
CURRENT 15.625 A
POWER 750 watts
SPEED 1000rpm
III. Implementation Of Flc In Vhdl
Fuzzy logic control attempts to design the informal nature of the control design process. The Mamdani
architecture is the way to design a fuzzy control system. The Mamdani architecture for fuzzy logic control is
proposed by E. H. Mamdani in 1974, is that, in the absence of an explicit plant model and-or clear statement of
control design objectives, informal knowledge of the operation of the given plant can be coded in terms of IF-
THEN or condition-action, rules and form the basis for the linguistic control strategy, for example, a fuzzy rule
IF Position Error is ok AND Angular Position is Middle THEN Control signal is No Action. where the Position
Error and Angular Position are input variables and on the other hand, Control signal is an output variable. Ok,
Middle and No Action are fuzzy sets, and the first two sets are input fuzzy sets and the last one is the output
fuzzy set.
3.1 Fuzzification
The first component in the FLC is the fuzzifier that converts crisp inputs into a set of membership
values in the interval [-1,1] in the corresponding fuzzy sets. In this paper, Gaussian membership functions are
used for two inputs Position Error and Angular Position . Each of inputs is represented by 3 membership
functions, which are Negative, ok, Positive and Negative, Middle, Positive as shown in Fig.2 and Fig.3.
Digital Implementation of Fuzzy Logic Controller for Real Time Position Control Applications
www.iosrjournals.org 68 | Page
Fig.2. Membership Function for position error
Fig.3. Membership Function for angular position
3.2 Rule Inference
The degree of membership is determined in the fuzzification stage. The next step is to create rules to
decide what action should be taken in response to the given set of degree of membership function. The “AND”
an ”OR” fuzzy operators are best used for rules with multiple antecedents. The fuzzy operator, “OR” is used to
evaluate the disjunction of the rules antecedents and “AND” is used to evaluate the conjunction of the rules
antecedents. “AND” fuzzy operator is since it is required to evaluate the conjunction of the rules antecedents.
Since “AND” is the minimum operation between multiple antecedents, the minimum function is used. The
“OR" fuzzy operator also can be used when more than one rules involved with the same output. The rule base of
system is defined in Table 1.
Table 1. Rule base of fuzzy-logic controller
Input Output
Position error Angular
position
Control signal
Negative Negative Negative
Ok Middle No action
Positive Positive Positive
3.3 Rule Evaluation
Rule1: position(1)<=maximum(minimum (u1(0), u2(1)),
minimum (u1(1), u2(0)));
A total number of rules that should be produced to describe the complete fuzzy control strategy can be
calculated by multiplying the input membership function with the output membership function. Although there
are number of possible rules, most of them can be discarded as long as the design is able to determine how the
fuzzy control system should be operated.
3.4 Defuzzification
After the output for the each rule has been identified, the next step is to combine all the output into a
single value that can used to control the motors. This process is done through defuzzification. The
defuzzification technique used in Mamdani method is Centre of gravity. This is done by multiplying fuzzy
output obtained from the rules evaluation with its corresponding singleton value, then sum of this value is
Digital Implementation of Fuzzy Logic Controller for Real Time Position Control Applications
www.iosrjournals.org 69 | Page
divided by the sum of all fuzzy output obtained from the rules evaluation. The result from this calculation is the
final single output which can be used to control the motor movements. Since there is no division symbol
supported by Xilinx ISE Compiler, a divider circuit has to be designed to perform defuzzification.
IV. Simulation And Results
4.1 Simulation in MATLAB
Simulations have been done for BLDC motor using FLC in MATLAB/SIMULINK. The simulink
diagram of FLC is shown in Fig.4
Fig.2. Simulink based block diagFig.5. Simulink Diagram of FLC ram of position control system
Fig.4. Simulink Diagram of FLC
Fig.5. output waveform
5.2 Simulation in Xilinx ISE
Simulations have been done in Xilinx ISE.Fig.6 and Fig.7 shows that Test Bench Waveform and RTL
view of FLC using VHDL respectively. In this figure the outputs have calculated according to input Position
Error and Angular Position.
Digital Implementation of Fuzzy Logic Controller for Real Time Position Control Applications
www.iosrjournals.org 70 | Page
Fig.6. Waveforms of the implemented Fuzzy Logic with PWM Module
Fig.7. RTL view of FLC using VHDL
V. Conclusion
For designing FLC, a high- level modelling approach in VHDL have to be used. The advantages of this
are reducing the design time, evaluation of the design functionality in a short time and quickly exploring of
different design choices. Once the basic design of the fuzzy logic control system has been defined, the
implementation of the fuzzy logic controller is very straight forward by coding each component of the fuzzy
inference system in VHDL according to the design specifications. By simply changing some parameters in the
codes and design constraint on the specific synthesis tool, one can experiment with different design circuitry to
get the best result in order to satisfy the system requirement. From the results, we saw that the response of FLC
using VHDL is better than the response of FLC using MATLAB. The peak overshoot and settling time both are
better than others.
References
[1]. S. Assilian and E.H. Mamdani,―An Experiment in Linguistic Synthesis with Fuzzy Logic Controller‖, Int. Journal on Man machine
studies. Vol. 7,pp. 1-13,1975.
[2]. R. Palm, ―Scaling of Fuzzy Controller using the cross correlation‖, IEEE Trans. Fuzzy Syst., Vol. 3, pp. 116-123, Feb. 1995
[3]. Sameep and Kuldip S. Rattan, ―Implementation of a Fuzzy Controller on an FPGA using VHDL‖, 22nd International Conference
(NAFIPS), pp. 110-115, March 2003.
[4]. H. X. Li and H. B. Gatland, ―Conventional Fuzzy Control and its enhancement‖, IEEE Trans. Syst., Man, Cyber., Vol. 26, pp. 791-
797, 1996.
[5]. Andrew Kusiak,”Fuzzy Logic”, The University of Iowa, Iowa City 2004.
[6]. Yodyium Tipsuwan and Mo-Yuen Chow, ―Fuzzy logic Microcontroller Implementation For DC Motor Speed control‖, IEEE, pp.
1271-1276, 1999
[7]. Kwon, C.J., Han, W.Y., Kim, S.J. and Lee C.G., Speed controller with adaptive fuzzy tuning for BLDC motor drive under load
variations. SICE Annual Conference, 3118-3121, 2003
[8]. Daijin Kim, ―An Implementation of Fuzzy Logic Controller on the Reconfigurable FPGA System‖, IEEE Transaction on Industrial
Electronics, Vol. 47, No. 3, pp. 703-715, June 2000.
[9]. Philip T. Voung, Asad M. Madni and Jim B. Vuong, ―VHDL Implementation for a Fuzzy Logic Controller‖, World Automation
Congress (WAC), July 24-26, 2006.
[10]. Clive Max field, Design Warrior Guide to FPGAs, Elsevier publications 2004.
[11]. Dr. Peter R. Wilson, Design recipes for FPGAs, Embedded technology series, Elsevier publication 2007.
[12]. Moe Shahdad,―An Overview of VHDL Language and Technology‖. 23rd Conference on Design Automation, pp.320-326, 1986.

More Related Content

What's hot

Novel Robot Manipulator Adaptive Artificial Control: Design a Novel SISO Adap...
Novel Robot Manipulator Adaptive Artificial Control: Design a Novel SISO Adap...Novel Robot Manipulator Adaptive Artificial Control: Design a Novel SISO Adap...
Novel Robot Manipulator Adaptive Artificial Control: Design a Novel SISO Adap...CSCJournals
 
Study the performance of anfis controller for flexible link manipulator
Study the performance of anfis controller for flexible link manipulatorStudy the performance of anfis controller for flexible link manipulator
Study the performance of anfis controller for flexible link manipulatorIAEME Publication
 
Decentralized supervisory based switching control for uncertain multivariable...
Decentralized supervisory based switching control for uncertain multivariable...Decentralized supervisory based switching control for uncertain multivariable...
Decentralized supervisory based switching control for uncertain multivariable...ISA Interchange
 
Design Adaptive Fuzzy Inference Sliding Mode Algorithm: Applied to Robot Arm
Design Adaptive Fuzzy Inference Sliding Mode Algorithm: Applied to Robot ArmDesign Adaptive Fuzzy Inference Sliding Mode Algorithm: Applied to Robot Arm
Design Adaptive Fuzzy Inference Sliding Mode Algorithm: Applied to Robot ArmWaqas Tariq
 
DC Motor Position Control Using Fuzzy Proportional-Derivative Controllers Wit...
DC Motor Position Control Using Fuzzy Proportional-Derivative Controllers Wit...DC Motor Position Control Using Fuzzy Proportional-Derivative Controllers Wit...
DC Motor Position Control Using Fuzzy Proportional-Derivative Controllers Wit...IOSR Journals
 
Rotor Resistance Adaptation Scheme Using Neural Learning Algorithm for a Fuzz...
Rotor Resistance Adaptation Scheme Using Neural Learning Algorithm for a Fuzz...Rotor Resistance Adaptation Scheme Using Neural Learning Algorithm for a Fuzz...
Rotor Resistance Adaptation Scheme Using Neural Learning Algorithm for a Fuzz...IOSR Journals
 
Hybrid PI-Fuzzy Controller for Brushless DC motor speed control
Hybrid PI-Fuzzy Controller for Brushless DC motor speed controlHybrid PI-Fuzzy Controller for Brushless DC motor speed control
Hybrid PI-Fuzzy Controller for Brushless DC motor speed controlIOSR Journals
 
On an LAS-integrated soft PLC system based on WorldFIP fieldbus
On an LAS-integrated soft PLC system based on WorldFIP fieldbusOn an LAS-integrated soft PLC system based on WorldFIP fieldbus
On an LAS-integrated soft PLC system based on WorldFIP fieldbusISA Interchange
 
Adaptive Functional-Based Neuro-Fuzzy-PID Incremental Controller Structure
Adaptive Functional-Based Neuro-Fuzzy-PID Incremental Controller StructureAdaptive Functional-Based Neuro-Fuzzy-PID Incremental Controller Structure
Adaptive Functional-Based Neuro-Fuzzy-PID Incremental Controller Structureijeei-iaes
 
DC Drive Speed Control using Fuzzy Logic Controller
DC Drive Speed Control using Fuzzy Logic ControllerDC Drive Speed Control using Fuzzy Logic Controller
DC Drive Speed Control using Fuzzy Logic ControllerTridib Bose
 
Design of Model Free Adaptive Fuzzy Computed Torque Controller for a Nonlinea...
Design of Model Free Adaptive Fuzzy Computed Torque Controller for a Nonlinea...Design of Model Free Adaptive Fuzzy Computed Torque Controller for a Nonlinea...
Design of Model Free Adaptive Fuzzy Computed Torque Controller for a Nonlinea...Waqas Tariq
 
A New Estimate Sliding Mode Fuzzy Controller for Robotic Manipulator
A New Estimate Sliding Mode Fuzzy Controller for Robotic ManipulatorA New Estimate Sliding Mode Fuzzy Controller for Robotic Manipulator
A New Estimate Sliding Mode Fuzzy Controller for Robotic ManipulatorWaqas Tariq
 
Design and Implementation of DC Motor Speed Control using Fuzzy Logic
Design and Implementation of DC Motor Speed Control using Fuzzy LogicDesign and Implementation of DC Motor Speed Control using Fuzzy Logic
Design and Implementation of DC Motor Speed Control using Fuzzy LogicWaleed El-Badry
 

What's hot (18)

Novel Robot Manipulator Adaptive Artificial Control: Design a Novel SISO Adap...
Novel Robot Manipulator Adaptive Artificial Control: Design a Novel SISO Adap...Novel Robot Manipulator Adaptive Artificial Control: Design a Novel SISO Adap...
Novel Robot Manipulator Adaptive Artificial Control: Design a Novel SISO Adap...
 
Br4301389395
Br4301389395Br4301389395
Br4301389395
 
Study the performance of anfis controller for flexible link manipulator
Study the performance of anfis controller for flexible link manipulatorStudy the performance of anfis controller for flexible link manipulator
Study the performance of anfis controller for flexible link manipulator
 
Decentralized supervisory based switching control for uncertain multivariable...
Decentralized supervisory based switching control for uncertain multivariable...Decentralized supervisory based switching control for uncertain multivariable...
Decentralized supervisory based switching control for uncertain multivariable...
 
Gl3311371146
Gl3311371146Gl3311371146
Gl3311371146
 
Design Adaptive Fuzzy Inference Sliding Mode Algorithm: Applied to Robot Arm
Design Adaptive Fuzzy Inference Sliding Mode Algorithm: Applied to Robot ArmDesign Adaptive Fuzzy Inference Sliding Mode Algorithm: Applied to Robot Arm
Design Adaptive Fuzzy Inference Sliding Mode Algorithm: Applied to Robot Arm
 
Performance Study of Enhanced Non-Linear PID Control Applied on Brushless DC ...
Performance Study of Enhanced Non-Linear PID Control Applied on Brushless DC ...Performance Study of Enhanced Non-Linear PID Control Applied on Brushless DC ...
Performance Study of Enhanced Non-Linear PID Control Applied on Brushless DC ...
 
DC Motor Position Control Using Fuzzy Proportional-Derivative Controllers Wit...
DC Motor Position Control Using Fuzzy Proportional-Derivative Controllers Wit...DC Motor Position Control Using Fuzzy Proportional-Derivative Controllers Wit...
DC Motor Position Control Using Fuzzy Proportional-Derivative Controllers Wit...
 
Rotor Resistance Adaptation Scheme Using Neural Learning Algorithm for a Fuzz...
Rotor Resistance Adaptation Scheme Using Neural Learning Algorithm for a Fuzz...Rotor Resistance Adaptation Scheme Using Neural Learning Algorithm for a Fuzz...
Rotor Resistance Adaptation Scheme Using Neural Learning Algorithm for a Fuzz...
 
Hybrid PI-Fuzzy Controller for Brushless DC motor speed control
Hybrid PI-Fuzzy Controller for Brushless DC motor speed controlHybrid PI-Fuzzy Controller for Brushless DC motor speed control
Hybrid PI-Fuzzy Controller for Brushless DC motor speed control
 
On an LAS-integrated soft PLC system based on WorldFIP fieldbus
On an LAS-integrated soft PLC system based on WorldFIP fieldbusOn an LAS-integrated soft PLC system based on WorldFIP fieldbus
On an LAS-integrated soft PLC system based on WorldFIP fieldbus
 
Adaptive Functional-Based Neuro-Fuzzy-PID Incremental Controller Structure
Adaptive Functional-Based Neuro-Fuzzy-PID Incremental Controller StructureAdaptive Functional-Based Neuro-Fuzzy-PID Incremental Controller Structure
Adaptive Functional-Based Neuro-Fuzzy-PID Incremental Controller Structure
 
DC Drive Speed Control using Fuzzy Logic Controller
DC Drive Speed Control using Fuzzy Logic ControllerDC Drive Speed Control using Fuzzy Logic Controller
DC Drive Speed Control using Fuzzy Logic Controller
 
The Effect of Parameters Variation on Bilateral Controller
The Effect of Parameters Variation on Bilateral ControllerThe Effect of Parameters Variation on Bilateral Controller
The Effect of Parameters Variation on Bilateral Controller
 
Design of Model Free Adaptive Fuzzy Computed Torque Controller for a Nonlinea...
Design of Model Free Adaptive Fuzzy Computed Torque Controller for a Nonlinea...Design of Model Free Adaptive Fuzzy Computed Torque Controller for a Nonlinea...
Design of Model Free Adaptive Fuzzy Computed Torque Controller for a Nonlinea...
 
A New Estimate Sliding Mode Fuzzy Controller for Robotic Manipulator
A New Estimate Sliding Mode Fuzzy Controller for Robotic ManipulatorA New Estimate Sliding Mode Fuzzy Controller for Robotic Manipulator
A New Estimate Sliding Mode Fuzzy Controller for Robotic Manipulator
 
Design and implementation of variable and constant load for induction motor
Design and implementation of variable and constant load for induction motorDesign and implementation of variable and constant load for induction motor
Design and implementation of variable and constant load for induction motor
 
Design and Implementation of DC Motor Speed Control using Fuzzy Logic
Design and Implementation of DC Motor Speed Control using Fuzzy LogicDesign and Implementation of DC Motor Speed Control using Fuzzy Logic
Design and Implementation of DC Motor Speed Control using Fuzzy Logic
 

Viewers also liked

Performance Analysis of Various Symbol Detection Techniques in Wireless MIMO ...
Performance Analysis of Various Symbol Detection Techniques in Wireless MIMO ...Performance Analysis of Various Symbol Detection Techniques in Wireless MIMO ...
Performance Analysis of Various Symbol Detection Techniques in Wireless MIMO ...IOSR Journals
 
Mechanical Properties of Tere-Phthalic Unsaturated Polyester Resin Reinforced...
Mechanical Properties of Tere-Phthalic Unsaturated Polyester Resin Reinforced...Mechanical Properties of Tere-Phthalic Unsaturated Polyester Resin Reinforced...
Mechanical Properties of Tere-Phthalic Unsaturated Polyester Resin Reinforced...IOSR Journals
 
20131116 creators meetup
20131116 creators meetup20131116 creators meetup
20131116 creators meetupSeigo Tanaka
 
Evaluation Question 3
Evaluation Question 3Evaluation Question 3
Evaluation Question 3D_owootomo
 
TREBALL AMB MATERALS A P5
TREBALL AMB MATERALS A P5TREBALL AMB MATERALS A P5
TREBALL AMB MATERALS A P5jocbolainicial
 
Guidance
GuidanceGuidance
GuidanceZyra Ü
 
Evaluation question 4
Evaluation question 4Evaluation question 4
Evaluation question 4D_owootomo
 
Referencias bibliograficas
Referencias bibliograficasReferencias bibliograficas
Referencias bibliograficasvaleriatoro
 
Createjs jp study #4 20130726
Createjs jp study #4 20130726Createjs jp study #4 20130726
Createjs jp study #4 20130726Seigo Tanaka
 
Bestfriends forever
Bestfriends foreverBestfriends forever
Bestfriends foreverMarlon Cook
 
Effective Pixel Interpolation for Image Super Resolution
Effective Pixel Interpolation for Image Super ResolutionEffective Pixel Interpolation for Image Super Resolution
Effective Pixel Interpolation for Image Super ResolutionIOSR Journals
 
El Monstre de Colors de l'Anna Llenas a l'Escola Joc de la Bola
El Monstre de Colors de l'Anna Llenas a l'Escola Joc de la BolaEl Monstre de Colors de l'Anna Llenas a l'Escola Joc de la Bola
El Monstre de Colors de l'Anna Llenas a l'Escola Joc de la Bolajocbolainicial
 
20140920 CreatorsMeetup20
20140920 CreatorsMeetup2020140920 CreatorsMeetup20
20140920 CreatorsMeetup20Seigo Tanaka
 

Viewers also liked (20)

Performance Analysis of Various Symbol Detection Techniques in Wireless MIMO ...
Performance Analysis of Various Symbol Detection Techniques in Wireless MIMO ...Performance Analysis of Various Symbol Detection Techniques in Wireless MIMO ...
Performance Analysis of Various Symbol Detection Techniques in Wireless MIMO ...
 
Mechanical Properties of Tere-Phthalic Unsaturated Polyester Resin Reinforced...
Mechanical Properties of Tere-Phthalic Unsaturated Polyester Resin Reinforced...Mechanical Properties of Tere-Phthalic Unsaturated Polyester Resin Reinforced...
Mechanical Properties of Tere-Phthalic Unsaturated Polyester Resin Reinforced...
 
PROGRAM PERCABANGAN
PROGRAM PERCABANGANPROGRAM PERCABANGAN
PROGRAM PERCABANGAN
 
القيادة
القيادةالقيادة
القيادة
 
Decorem fulles
Decorem fullesDecorem fulles
Decorem fulles
 
20131116 creators meetup
20131116 creators meetup20131116 creators meetup
20131116 creators meetup
 
Evaluation Question 3
Evaluation Question 3Evaluation Question 3
Evaluation Question 3
 
Group 2 malli
Group 2 malliGroup 2 malli
Group 2 malli
 
TREBALL AMB MATERALS A P5
TREBALL AMB MATERALS A P5TREBALL AMB MATERALS A P5
TREBALL AMB MATERALS A P5
 
Guidance
GuidanceGuidance
Guidance
 
H0614448
H0614448H0614448
H0614448
 
Presentation KOROSI BESI
Presentation KOROSI BESIPresentation KOROSI BESI
Presentation KOROSI BESI
 
Evaluation question 4
Evaluation question 4Evaluation question 4
Evaluation question 4
 
Referencias bibliograficas
Referencias bibliograficasReferencias bibliograficas
Referencias bibliograficas
 
Createjs jp study #4 20130726
Createjs jp study #4 20130726Createjs jp study #4 20130726
Createjs jp study #4 20130726
 
Presentation1
Presentation1Presentation1
Presentation1
 
Bestfriends forever
Bestfriends foreverBestfriends forever
Bestfriends forever
 
Effective Pixel Interpolation for Image Super Resolution
Effective Pixel Interpolation for Image Super ResolutionEffective Pixel Interpolation for Image Super Resolution
Effective Pixel Interpolation for Image Super Resolution
 
El Monstre de Colors de l'Anna Llenas a l'Escola Joc de la Bola
El Monstre de Colors de l'Anna Llenas a l'Escola Joc de la BolaEl Monstre de Colors de l'Anna Llenas a l'Escola Joc de la Bola
El Monstre de Colors de l'Anna Llenas a l'Escola Joc de la Bola
 
20140920 CreatorsMeetup20
20140920 CreatorsMeetup2020140920 CreatorsMeetup20
20140920 CreatorsMeetup20
 

Similar to Digital Implementation of Fuzzy Logic Controller for Real Time Position Control Applications

D0255033039
D0255033039D0255033039
D0255033039theijes
 
Comparison of different controllers for the improvement of Dynamic response o...
Comparison of different controllers for the improvement of Dynamic response o...Comparison of different controllers for the improvement of Dynamic response o...
Comparison of different controllers for the improvement of Dynamic response o...IJERA Editor
 
FUZZY LOGIC CONTROL DESIGN FOR ELECTRICAL MACHINES
FUZZY LOGIC CONTROL DESIGN FOR ELECTRICAL MACHINESFUZZY LOGIC CONTROL DESIGN FOR ELECTRICAL MACHINES
FUZZY LOGIC CONTROL DESIGN FOR ELECTRICAL MACHINESIAEME Publication
 
Torque Ripple Minimization using Fuzzy Logic
Torque Ripple Minimization using Fuzzy LogicTorque Ripple Minimization using Fuzzy Logic
Torque Ripple Minimization using Fuzzy LogicPoojaBan
 
DC Motor Position Control Using Fuzzy Proportional-Derivative Controllers Wit...
DC Motor Position Control Using Fuzzy Proportional-Derivative Controllers Wit...DC Motor Position Control Using Fuzzy Proportional-Derivative Controllers Wit...
DC Motor Position Control Using Fuzzy Proportional-Derivative Controllers Wit...IOSR Journals
 
IRJET- Performance Analysis of Induction Motor using different Controller for...
IRJET- Performance Analysis of Induction Motor using different Controller for...IRJET- Performance Analysis of Induction Motor using different Controller for...
IRJET- Performance Analysis of Induction Motor using different Controller for...IRJET Journal
 
Closed loop performance investigation
Closed loop performance investigationClosed loop performance investigation
Closed loop performance investigationPrabhakar Captain
 
The Rapid Growth of Different Controllers for BLDC Brushless DC Motor- A Review
The Rapid Growth of Different Controllers for BLDC Brushless DC Motor- A ReviewThe Rapid Growth of Different Controllers for BLDC Brushless DC Motor- A Review
The Rapid Growth of Different Controllers for BLDC Brushless DC Motor- A Reviewijtsrd
 
A Comparative Study of PID and Fuzzy Controller for Speed Control of Brushles...
A Comparative Study of PID and Fuzzy Controller for Speed Control of Brushles...A Comparative Study of PID and Fuzzy Controller for Speed Control of Brushles...
A Comparative Study of PID and Fuzzy Controller for Speed Control of Brushles...IRJET Journal
 
IRJET- Hybrid Intelligent Controller for Interior Permanent Magnet Synchr...
IRJET-  	  Hybrid Intelligent Controller for Interior Permanent Magnet Synchr...IRJET-  	  Hybrid Intelligent Controller for Interior Permanent Magnet Synchr...
IRJET- Hybrid Intelligent Controller for Interior Permanent Magnet Synchr...IRJET Journal
 
V fuzzy logic implementation for induction motor control
V fuzzy logic implementation for induction motor controlV fuzzy logic implementation for induction motor control
V fuzzy logic implementation for induction motor controlkypameenendranathred
 
Fuzzy logic speed control of three phase
Fuzzy logic speed control of three phaseFuzzy logic speed control of three phase
Fuzzy logic speed control of three phaseaspafoto
 
Evolutionary Design of Mathematical tunable FPGA Based MIMO Fuzzy Estimator S...
Evolutionary Design of Mathematical tunable FPGA Based MIMO Fuzzy Estimator S...Evolutionary Design of Mathematical tunable FPGA Based MIMO Fuzzy Estimator S...
Evolutionary Design of Mathematical tunable FPGA Based MIMO Fuzzy Estimator S...Waqas Tariq
 
IRJET-Fuzzy Logic Based Path Navigation for Robot using Matlab
IRJET-Fuzzy Logic Based Path Navigation for Robot using MatlabIRJET-Fuzzy Logic Based Path Navigation for Robot using Matlab
IRJET-Fuzzy Logic Based Path Navigation for Robot using MatlabIRJET Journal
 
Fuzzy logic Technique Based Speed Control of a Permanent Magnet Brushless DC...
Fuzzy logic Technique Based Speed Control of a Permanent  Magnet Brushless DC...Fuzzy logic Technique Based Speed Control of a Permanent  Magnet Brushless DC...
Fuzzy logic Technique Based Speed Control of a Permanent Magnet Brushless DC...IJMER
 
Artificial Chattering Free on-line Fuzzy Sliding Mode Algorithm for Uncertain...
Artificial Chattering Free on-line Fuzzy Sliding Mode Algorithm for Uncertain...Artificial Chattering Free on-line Fuzzy Sliding Mode Algorithm for Uncertain...
Artificial Chattering Free on-line Fuzzy Sliding Mode Algorithm for Uncertain...CSCJournals
 

Similar to Digital Implementation of Fuzzy Logic Controller for Real Time Position Control Applications (20)

D0255033039
D0255033039D0255033039
D0255033039
 
Comparison of different controllers for the improvement of Dynamic response o...
Comparison of different controllers for the improvement of Dynamic response o...Comparison of different controllers for the improvement of Dynamic response o...
Comparison of different controllers for the improvement of Dynamic response o...
 
FUZZY LOGIC CONTROL DESIGN FOR ELECTRICAL MACHINES
FUZZY LOGIC CONTROL DESIGN FOR ELECTRICAL MACHINESFUZZY LOGIC CONTROL DESIGN FOR ELECTRICAL MACHINES
FUZZY LOGIC CONTROL DESIGN FOR ELECTRICAL MACHINES
 
Torque Ripple Minimization using Fuzzy Logic
Torque Ripple Minimization using Fuzzy LogicTorque Ripple Minimization using Fuzzy Logic
Torque Ripple Minimization using Fuzzy Logic
 
DC Motor Position Control Using Fuzzy Proportional-Derivative Controllers Wit...
DC Motor Position Control Using Fuzzy Proportional-Derivative Controllers Wit...DC Motor Position Control Using Fuzzy Proportional-Derivative Controllers Wit...
DC Motor Position Control Using Fuzzy Proportional-Derivative Controllers Wit...
 
F010133747
F010133747F010133747
F010133747
 
IRJET- Performance Analysis of Induction Motor using different Controller for...
IRJET- Performance Analysis of Induction Motor using different Controller for...IRJET- Performance Analysis of Induction Motor using different Controller for...
IRJET- Performance Analysis of Induction Motor using different Controller for...
 
G43013539
G43013539G43013539
G43013539
 
Closed loop performance investigation
Closed loop performance investigationClosed loop performance investigation
Closed loop performance investigation
 
The Rapid Growth of Different Controllers for BLDC Brushless DC Motor- A Review
The Rapid Growth of Different Controllers for BLDC Brushless DC Motor- A ReviewThe Rapid Growth of Different Controllers for BLDC Brushless DC Motor- A Review
The Rapid Growth of Different Controllers for BLDC Brushless DC Motor- A Review
 
A Comparative Study of PID and Fuzzy Controller for Speed Control of Brushles...
A Comparative Study of PID and Fuzzy Controller for Speed Control of Brushles...A Comparative Study of PID and Fuzzy Controller for Speed Control of Brushles...
A Comparative Study of PID and Fuzzy Controller for Speed Control of Brushles...
 
IRJET- Hybrid Intelligent Controller for Interior Permanent Magnet Synchr...
IRJET-  	  Hybrid Intelligent Controller for Interior Permanent Magnet Synchr...IRJET-  	  Hybrid Intelligent Controller for Interior Permanent Magnet Synchr...
IRJET- Hybrid Intelligent Controller for Interior Permanent Magnet Synchr...
 
V fuzzy logic implementation for induction motor control
V fuzzy logic implementation for induction motor controlV fuzzy logic implementation for induction motor control
V fuzzy logic implementation for induction motor control
 
Fuzzy logic speed control of three phase
Fuzzy logic speed control of three phaseFuzzy logic speed control of three phase
Fuzzy logic speed control of three phase
 
Evolutionary Design of Mathematical tunable FPGA Based MIMO Fuzzy Estimator S...
Evolutionary Design of Mathematical tunable FPGA Based MIMO Fuzzy Estimator S...Evolutionary Design of Mathematical tunable FPGA Based MIMO Fuzzy Estimator S...
Evolutionary Design of Mathematical tunable FPGA Based MIMO Fuzzy Estimator S...
 
Dp32725728
Dp32725728Dp32725728
Dp32725728
 
IRJET-Fuzzy Logic Based Path Navigation for Robot using Matlab
IRJET-Fuzzy Logic Based Path Navigation for Robot using MatlabIRJET-Fuzzy Logic Based Path Navigation for Robot using Matlab
IRJET-Fuzzy Logic Based Path Navigation for Robot using Matlab
 
Fuzzy logic Technique Based Speed Control of a Permanent Magnet Brushless DC...
Fuzzy logic Technique Based Speed Control of a Permanent  Magnet Brushless DC...Fuzzy logic Technique Based Speed Control of a Permanent  Magnet Brushless DC...
Fuzzy logic Technique Based Speed Control of a Permanent Magnet Brushless DC...
 
Artificial Chattering Free on-line Fuzzy Sliding Mode Algorithm for Uncertain...
Artificial Chattering Free on-line Fuzzy Sliding Mode Algorithm for Uncertain...Artificial Chattering Free on-line Fuzzy Sliding Mode Algorithm for Uncertain...
Artificial Chattering Free on-line Fuzzy Sliding Mode Algorithm for Uncertain...
 
Ijetae 0912 43
Ijetae 0912 43Ijetae 0912 43
Ijetae 0912 43
 

More from IOSR Journals (20)

A011140104
A011140104A011140104
A011140104
 
M0111397100
M0111397100M0111397100
M0111397100
 
L011138596
L011138596L011138596
L011138596
 
K011138084
K011138084K011138084
K011138084
 
J011137479
J011137479J011137479
J011137479
 
I011136673
I011136673I011136673
I011136673
 
G011134454
G011134454G011134454
G011134454
 
H011135565
H011135565H011135565
H011135565
 
F011134043
F011134043F011134043
F011134043
 
E011133639
E011133639E011133639
E011133639
 
D011132635
D011132635D011132635
D011132635
 
C011131925
C011131925C011131925
C011131925
 
B011130918
B011130918B011130918
B011130918
 
A011130108
A011130108A011130108
A011130108
 
I011125160
I011125160I011125160
I011125160
 
H011124050
H011124050H011124050
H011124050
 
G011123539
G011123539G011123539
G011123539
 
F011123134
F011123134F011123134
F011123134
 
E011122530
E011122530E011122530
E011122530
 
D011121524
D011121524D011121524
D011121524
 

Recently uploaded

Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgUnit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgsaravananr517913
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionMebane Rash
 
Virtual memory management in Operating System
Virtual memory management in Operating SystemVirtual memory management in Operating System
Virtual memory management in Operating SystemRashmi Bhat
 
Industrial Safety Unit-I SAFETY TERMINOLOGIES
Industrial Safety Unit-I SAFETY TERMINOLOGIESIndustrial Safety Unit-I SAFETY TERMINOLOGIES
Industrial Safety Unit-I SAFETY TERMINOLOGIESNarmatha D
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
Industrial Safety Unit-IV workplace health and safety.ppt
Industrial Safety Unit-IV workplace health and safety.pptIndustrial Safety Unit-IV workplace health and safety.ppt
Industrial Safety Unit-IV workplace health and safety.pptNarmatha D
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptSAURABHKUMAR892774
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catcherssdickerson1
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxsiddharthjain2303
 
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONTHE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONjhunlian
 
System Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingSystem Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingBootNeck1
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...121011101441
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 

Recently uploaded (20)

Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgUnit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of Action
 
Virtual memory management in Operating System
Virtual memory management in Operating SystemVirtual memory management in Operating System
Virtual memory management in Operating System
 
Industrial Safety Unit-I SAFETY TERMINOLOGIES
Industrial Safety Unit-I SAFETY TERMINOLOGIESIndustrial Safety Unit-I SAFETY TERMINOLOGIES
Industrial Safety Unit-I SAFETY TERMINOLOGIES
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
Industrial Safety Unit-IV workplace health and safety.ppt
Industrial Safety Unit-IV workplace health and safety.pptIndustrial Safety Unit-IV workplace health and safety.ppt
Industrial Safety Unit-IV workplace health and safety.ppt
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptx
 
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONTHE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
 
System Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingSystem Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event Scheduling
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 

Digital Implementation of Fuzzy Logic Controller for Real Time Position Control Applications

  • 1. IOSR Journal of Electronics and Communication Engineering (IOSR-JECE) e-ISSN: 2278-2834,p- ISSN: 2278-8735.Volume 5, Issue 5 (Mar. - Apr. 2013), PP 66-70 www.iosrjournals.org www.iosrjournals.org 66 | Page Digital Implementation of Fuzzy Logic Controller for Real Time Position Control Applications Umarani P #1 , Vasanthmohan S#2 1( Department of Electronics and Communication Engineering, Mount Zion College of Engineering & Technology/Anna university, India ) 2() Department of Electronics and Communication Engineering, Mount Zion College of Engineering & Technology/Anna university, India) Abstract: Fuzzy Logic Controller (FLC) systems have emerged as one of the most promising areas for Industrial Applications. The highly growth of fuzzy logic applications led to the need of finding efficient way to hardware implementation. Field Programmable Gate Array (FPGA) is the most important tool for hardware implementation due to low consumption of energy, high speed of operation and large capacity of data storage. In this paper, instead of an introduction to fuzzy logic control methodology, we have demonstrated the implementation of a FLC through the use of the Very high speed integrated circuits Hardware Description Language (VHDL) code. FLC is designed for position control of BLDC Motor. VHDL has been used to develop FLC on FPGA. A Mamdani type FLC structure has been used to obtain the controller output. The controller algorithm developed synthesized, simulated and implemented on FPGA Spartan 3E board. Keywords – BLDC Motor, FLC, Hardware Implementation, Spartan3 FPGA, VHDL I. Introduction The past few years have witnessed a rapid growth in the number and variety of application of fuzzy logic. The application ranges from consumer products such as cameras, washing machines, cars and in industry for medical instrumentation, underground trains and robots. Unlike the conventional controller FLC design is not based on the mathematical model of the plant or system. A FLC is an automatic controller that controls an object in accordance with desire behaviour. For a complex system whose mathematical model is very difficult to define or the transfer function of a plant is undefined, fuzzy logic controllers are very useful in that case [1, 2]. The control action of FLC is defined in terms of simple human friendly “if - then rules”. These set of rules are describe the system behaviour. These set of rules are called the knowledge base of fuzzy controller. We can easily change the rules accordance with our desire output. So the development time for a new controller can be significantly reduced as compared to conventional one [3]. The motivation behind the implementation of a FLC in VHDL was driven by the need for an inexpensive hardware implementation of a generic fuzzy controller for use in industrial and commercial applications [4]. We have taken a simple FLC for position control of BLDC motor. Position Error and Angular position has been used as two inputs to FLC. For both the inputs 3 Gaussian membership function has been selected and coded in VHDL. An algorithm has been developed in VHDL to fuzzify the crisp digital values of Position error and Angular position. Mamdani type FLC structure has been used to obtain the controlled output. The controller algorithm developed synthesized, simulated and implemented on FPGA Spartan 3E board. The FLC has been design using system generator approach. The results of the FLC implemented on FPGA have been compared with the results obtained using FLC on MATLAB Simulink. II. System Description A Brushless DC motor has a permanent magnet rotor and a wound stator. Furthermore, there are two types of brushless motors; the type that has an outer rotating magnet or the type that has an inner rotating magnet assembly. In a brushless DC motor the position of the coils (phases), with respect to the permanent magnet field, are sensed and the current switched electronically (commutated) to the appropriate phases. Hall Effect sensors are typically used to sense the rotor position. The Brushless Direct Current (BLDC) motor is rapidly gaining popularity by its utilization in various industries, such as Appliances, Automotive, Aerospace, Consumer, Medical, Industrial Automation Equipment and Instrumentation. As the name implies, the BLDC motors do not use brushes for commutation; instead, they are electronically commutated [5] [6]. The BLDC motors have many advantages over brushed DC motors and induction motors. A few of these are Better speed versus torque response, High dynamic response, High efficiency, Long operating life, Noiseless operation, Higher speed ranges.
  • 2. Digital Implementation of Fuzzy Logic Controller for Real Time Position Control Applications www.iosrjournals.org 67 | Page 2.1 BLDC drives operation with inverter Basically it is an electronic motor and requires a three-phase inverter in the front end a shown in Fig.1. In self control mode the inverter acts like an electronic commutator that receives the switching logical pulse from the absolute position sensors. The drive is also known as an electronic commutated motor. Basically the inverter can operate in the following two modes. • 2π/3 angle switch-on mode • Voltage and current control PWM mode Fig.1. Brushless dc motor drive system Table 1: Parameters of BLDC Motor TYPE BLDC MOTOR VOLTAGE 48 volts CURRENT 15.625 A POWER 750 watts SPEED 1000rpm III. Implementation Of Flc In Vhdl Fuzzy logic control attempts to design the informal nature of the control design process. The Mamdani architecture is the way to design a fuzzy control system. The Mamdani architecture for fuzzy logic control is proposed by E. H. Mamdani in 1974, is that, in the absence of an explicit plant model and-or clear statement of control design objectives, informal knowledge of the operation of the given plant can be coded in terms of IF- THEN or condition-action, rules and form the basis for the linguistic control strategy, for example, a fuzzy rule IF Position Error is ok AND Angular Position is Middle THEN Control signal is No Action. where the Position Error and Angular Position are input variables and on the other hand, Control signal is an output variable. Ok, Middle and No Action are fuzzy sets, and the first two sets are input fuzzy sets and the last one is the output fuzzy set. 3.1 Fuzzification The first component in the FLC is the fuzzifier that converts crisp inputs into a set of membership values in the interval [-1,1] in the corresponding fuzzy sets. In this paper, Gaussian membership functions are used for two inputs Position Error and Angular Position . Each of inputs is represented by 3 membership functions, which are Negative, ok, Positive and Negative, Middle, Positive as shown in Fig.2 and Fig.3.
  • 3. Digital Implementation of Fuzzy Logic Controller for Real Time Position Control Applications www.iosrjournals.org 68 | Page Fig.2. Membership Function for position error Fig.3. Membership Function for angular position 3.2 Rule Inference The degree of membership is determined in the fuzzification stage. The next step is to create rules to decide what action should be taken in response to the given set of degree of membership function. The “AND” an ”OR” fuzzy operators are best used for rules with multiple antecedents. The fuzzy operator, “OR” is used to evaluate the disjunction of the rules antecedents and “AND” is used to evaluate the conjunction of the rules antecedents. “AND” fuzzy operator is since it is required to evaluate the conjunction of the rules antecedents. Since “AND” is the minimum operation between multiple antecedents, the minimum function is used. The “OR" fuzzy operator also can be used when more than one rules involved with the same output. The rule base of system is defined in Table 1. Table 1. Rule base of fuzzy-logic controller Input Output Position error Angular position Control signal Negative Negative Negative Ok Middle No action Positive Positive Positive 3.3 Rule Evaluation Rule1: position(1)<=maximum(minimum (u1(0), u2(1)), minimum (u1(1), u2(0))); A total number of rules that should be produced to describe the complete fuzzy control strategy can be calculated by multiplying the input membership function with the output membership function. Although there are number of possible rules, most of them can be discarded as long as the design is able to determine how the fuzzy control system should be operated. 3.4 Defuzzification After the output for the each rule has been identified, the next step is to combine all the output into a single value that can used to control the motors. This process is done through defuzzification. The defuzzification technique used in Mamdani method is Centre of gravity. This is done by multiplying fuzzy output obtained from the rules evaluation with its corresponding singleton value, then sum of this value is
  • 4. Digital Implementation of Fuzzy Logic Controller for Real Time Position Control Applications www.iosrjournals.org 69 | Page divided by the sum of all fuzzy output obtained from the rules evaluation. The result from this calculation is the final single output which can be used to control the motor movements. Since there is no division symbol supported by Xilinx ISE Compiler, a divider circuit has to be designed to perform defuzzification. IV. Simulation And Results 4.1 Simulation in MATLAB Simulations have been done for BLDC motor using FLC in MATLAB/SIMULINK. The simulink diagram of FLC is shown in Fig.4 Fig.2. Simulink based block diagFig.5. Simulink Diagram of FLC ram of position control system Fig.4. Simulink Diagram of FLC Fig.5. output waveform 5.2 Simulation in Xilinx ISE Simulations have been done in Xilinx ISE.Fig.6 and Fig.7 shows that Test Bench Waveform and RTL view of FLC using VHDL respectively. In this figure the outputs have calculated according to input Position Error and Angular Position.
  • 5. Digital Implementation of Fuzzy Logic Controller for Real Time Position Control Applications www.iosrjournals.org 70 | Page Fig.6. Waveforms of the implemented Fuzzy Logic with PWM Module Fig.7. RTL view of FLC using VHDL V. Conclusion For designing FLC, a high- level modelling approach in VHDL have to be used. The advantages of this are reducing the design time, evaluation of the design functionality in a short time and quickly exploring of different design choices. Once the basic design of the fuzzy logic control system has been defined, the implementation of the fuzzy logic controller is very straight forward by coding each component of the fuzzy inference system in VHDL according to the design specifications. By simply changing some parameters in the codes and design constraint on the specific synthesis tool, one can experiment with different design circuitry to get the best result in order to satisfy the system requirement. From the results, we saw that the response of FLC using VHDL is better than the response of FLC using MATLAB. The peak overshoot and settling time both are better than others. References [1]. S. Assilian and E.H. Mamdani,―An Experiment in Linguistic Synthesis with Fuzzy Logic Controller‖, Int. Journal on Man machine studies. Vol. 7,pp. 1-13,1975. [2]. R. Palm, ―Scaling of Fuzzy Controller using the cross correlation‖, IEEE Trans. Fuzzy Syst., Vol. 3, pp. 116-123, Feb. 1995 [3]. Sameep and Kuldip S. Rattan, ―Implementation of a Fuzzy Controller on an FPGA using VHDL‖, 22nd International Conference (NAFIPS), pp. 110-115, March 2003. [4]. H. X. Li and H. B. Gatland, ―Conventional Fuzzy Control and its enhancement‖, IEEE Trans. Syst., Man, Cyber., Vol. 26, pp. 791- 797, 1996. [5]. Andrew Kusiak,”Fuzzy Logic”, The University of Iowa, Iowa City 2004. [6]. Yodyium Tipsuwan and Mo-Yuen Chow, ―Fuzzy logic Microcontroller Implementation For DC Motor Speed control‖, IEEE, pp. 1271-1276, 1999 [7]. Kwon, C.J., Han, W.Y., Kim, S.J. and Lee C.G., Speed controller with adaptive fuzzy tuning for BLDC motor drive under load variations. SICE Annual Conference, 3118-3121, 2003 [8]. Daijin Kim, ―An Implementation of Fuzzy Logic Controller on the Reconfigurable FPGA System‖, IEEE Transaction on Industrial Electronics, Vol. 47, No. 3, pp. 703-715, June 2000. [9]. Philip T. Voung, Asad M. Madni and Jim B. Vuong, ―VHDL Implementation for a Fuzzy Logic Controller‖, World Automation Congress (WAC), July 24-26, 2006. [10]. Clive Max field, Design Warrior Guide to FPGAs, Elsevier publications 2004. [11]. Dr. Peter R. Wilson, Design recipes for FPGAs, Embedded technology series, Elsevier publication 2007. [12]. Moe Shahdad,―An Overview of VHDL Language and Technology‖. 23rd Conference on Design Automation, pp.320-326, 1986.