Sunteți pe pagina 1din 40

Design of Fuzzy Logic Controller for

Electrical Drives Using MATLAB

Dr.M.MURUGANANDAM,M.E.,Ph.D
Associate Professor ,
Department of Electrical and Computer
Engineering,
Wollega University,
Nekemte, Oromia, Ethiopia.
TOPICS TO BE DISCUSSED
What is electronics?
What is power electronics?
About simulation
What is MATLAB?
MATLAB SIMULINK
Mathematic operation
Power Electronic converter circuit
Power Electronic Drive circuit
Fuzzy Logic Controller Design

01.08.2016 muruganm1@gmail.com 2
Electronics
• Electronics deals with the study of
Semiconductor devices and circuits

01.08.2016 muruganm1@gmail.com 3
Power Electronics
• Power electronics is the applications of solid-state
electronics for the control , conversion and
conditioning of electric power

• Electronics , Power and Control

01.08.2016 muruganm1@gmail.com 4
Power electronics devices
• Thyratrons, Ignitrons and Mercury arc rectifier
• POWER DIODE
• THYRISTOR (SCR)
• POWER TRANSISTOR(BJT)
• POWER MOSFET
• IGBT
• GTO
• TRIAC
• DIAC
01.08.2016 muruganm1@gmail.com 5
Applications of power electronics
• Static Circuit Breaker
• Soft Start Circuit
• Solid State Tap Changer
• Industrial Drives
• Electric traction
• RPS
• UPS
• SMPS
• etc…
01.08.2016 muruganm1@gmail.com 6
Power Converters

• AC/DC converters (rectifiers)


• DC/DC converters (Chopper)
• DC/AC converters (inverters)
• AC/AC converters (Voltage controller /
Cycloconverter)

01.08.2016 muruganm1@gmail.com 7
POWER MODULATOR FOR
DC DRIVES

a)RECTIFIER (ac-to-dc) b)CHOPPER (dc-to-dc)


CONVERTERS EQUATION
RECTIFIER
For Single phase semi converter

CHOPPER
For Step down chopper

INVERTER
V0= m X Vs m= Ar / Ac

AC VOLTAGE CONTROLLER
1
1  Sin 2  2
V0 RMS  Vs       
   2 
Power Electronic Drives

• A machine is driven by a power electronic


converter is called power electronic drives.

Electrical drives are


• AC drives
• DC drives

01.08.2016 muruganm1@gmail.com 10
ELECTRICAL DRIVES

BLOCK DIAGRAM OF DRIVE SYSTEM

SOURCE POWER
MODULATOR
MOTOR
AC/DC

INPUT COMMAND SENSING


CONTROL UNIT UNIT
SIMULATION

What is simulation?
simulation is the discipline of designing a model of an
actual or theoretical physical system, executing the model on a
digital computer, and analyzing the execution output.

Simulation embodies the principle of ``learning by doing'‘


to learn about the system we must first build a model of some
sort and then operate the model.
In other words the process of limitating a real
phenomenon with a set of mathematical formulas.
SIMULATION

Why simulation?

Simulation is often essential in the following cases:

1) The model is very complex with many variables and


interacting components
2) The underlying variables relationships are nonlinear
3) There is no wastage of money due to damage of circuit
components.
4) No limitation in the parameters range during simulation.
The different simulation software
• MATLAB
• OrCAD PSPICE
• MiPower
• Pscad
• Mathcad
• ETAP
• LABVIEW
• Proteus
01.08.2016 muruganm1@gmail.com 14
DC MOTOR
EQUIVALENT CIRCUIT

where J- Moment of Inertia


B- Friction coefficient
Kt- Torque constant
Kb- Back emf constant
TL- Load torque applied
Eb io- Armature current
Vo- Armature voltage applied
R- Armature resistance and
VOLTAGE EQUATION L- Armature inductance
Eb= Back EMF
DC MOTOR EQUATIONS
VOLTAGE EQUATION

TORQUE EQUATION
TRANSFER FUNCTION FOR DC MOTOR

Motor Parameters
J=0.011;D=0.004
R=0.6 ;L=0.008
K=0.55
DC MOTOR IN
MATLAB SIMULATION

01.08.2016 muruganm1@gmail.com 18
DESIGN OF DC MOTOR USING MATLAB
Fuzzy Logic Controller Design

01.08.2016 muruganm1@gmail.com 20
Heuristics Method
of Control - FUZZY method

 Fuzzy logic is a way to make machines


more intelligent enabling them to
reason in a fuzzy manner like humans.

 Fuzzy logic, proposed by Lotfy Zadeh in


1965, emerged as tool to deal with
uncertain, imprecise or qualitative
decision making problems.

01.08.2016 muruganm1@gmail.com 21
Fuzzy Logic Systems
 The term “Fuzzy” refers the ability of dealing
mathematically with imprecise or vague inputs
usually employed by humans.

 Fuzzy logic is a technique to embody human-like


thinking into a control system.

 It is a multi-valued logic that extends Boolean


logic usually employed in computer science.

 Instead of using complex mathematical equations


fuzzy logic uses linguistic description to define the
relationship between the input information and the
output action.

01.08.2016 muruganm1@gmail.com 22
Fuzzy Logic Systems
 Fuzzy logic is a powerful tool that is pervading
every field and signing successful implementations

 The model uses human language, so it’s reasonably


understandable.

 Just as fuzzy logic can be described simply as


“Computing with words rather than numbers”,
fuzzy control can be described simply as “Control
with sentences rather than equations”.

Video

01.08.2016 muruganm1@gmail.com 23
STRUCTURE OF A FUZZY
CONTROLLER

Structure Video
01.08.2016 muruganm1@gmail.com 24
STEPS IN FUZZY SYSTEM
 Identify the inputs and their ranges and name them

 Identify the outputs and their ranges and name them

 Create the degree of fuzzy membership function for each


input and output

 Construct the rule base that the system will operate under

 Decide how the action will be executed by assigning


strengths to the rules

 Combine the rules and defuzzify the output

01.08.2016 muruganm1@gmail.com 25
Fuzzy Sets
We give things a degree of membership between 0 and 1 in
several sets (to a combined total of 1).
We then label these sets using human terms.
Encapsulates terms with no consensus definition, but we might
use surveys to define them.

1
Degree of membership

Membership
Young Middle Old function
0.5
Aged

0 50 90 Age
38yr old = 10% Young + 90% Middle Aged
Different Shape of Membership
functions

01.08.2016 muruganm1@gmail.com 27
Fuzzy Logic Model Design
We give our variables as membership functions, and
express the membership functions as nouns (“Length”,
“Weight”, “Time”, “Temperature”) or adjectives (“Long”,
“Short”, “Hot”, “Cold” etc.)

We can then build up linguistic equations (“IF length


long, AND temperature hot, THEN open Window”).
Fuzzy Controller Design with
MATLAB

01.08.2016 muruganm1@gmail.com 29
FUZZY LOGIC CONTROLLER FOR DC
DRIVE

01.08.2016 muruganm1@gmail.com 30
MATLAB CIRCUIT FOR FUZZY
CONTROLLED DC DRIVE

01.08.2016 muruganm1@gmail.com 31
FUZZY SPEED CONTROLLER

01.08.2016 muruganm1@gmail.com 32
INPUT MEMBERSHIP FUNCTION
PLOTS FOR ERROR

01.08.2016 muruganm1@gmail.com 33
INPUT MEMBERSHIP FUNCTION
PLOTS FOR CHANGE IN ERROR

01.08.2016 muruganm1@gmail.com 34
OUTPUT MEMBERSHIP
FUNCTION PLOTS

01.08.2016 muruganm1@gmail.com 35
FUZZY RULE TABLE

Video

01.08.2016 muruganm1@gmail.com 36
MATLAB SOFTWARE

01.08.2016 muruganm1@gmail.com 37
Advantages of fuzzy control
 It can work with less precise inputs
 Fuzzy logic is conceptually easy to
understand.
 It doesn’t need fast processors
 It needs less data storage in form of
membership functions and rules than
conventional lookup table for non-linear
control
 The mathematical concepts behind fuzzy
reasoning are very simple.

01.08.2016 muruganm1@gmail.com 38
Advantages of fuzzy control
 Fuzzy logic is flexible.
 We can create a fuzzy system to match
any set of input-output data.
 Fuzzy systems don't necessarily replace
conventional control methods. In
 Fuzzy logic is based on natural language.
 It is more robust than other non-linear
controllers

01.08.2016 muruganm1@gmail.com 39
Learn by Doing
Excel Thru Experimentation
Lead by Example

Acquire skills and get employed

Update skills and stay employed

THANK YOU
M.MURUGANANDAM
muruganm1@wollegauniversity.edu.et
+91-9965768327 (India)
+251-949529493 (Ethiopia)

01.08.2016 muruganm1@gmail.com 40

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