Professional Documents
Culture Documents
Abstract
This paper describes the development of a fuzzy logic control on controlling dc
motor rotation is implemented on an 8-bit microcontroller Intel's 8031. The program has
been set up fuzzy logic routine in assembly language. Fuzzy logic control here has two
inputs that change the speed error signal and error, and has an output that is a change in
the voltage applied to the dc motor driver. Both input and output has five labels in its
membership fuction, and 25 fuzzy if-then rules are used in this system. The design of
membership functions and fuzzy rules, here using an approach of the control system
performance berfeedback.
Driver dc motor using pulse width modulation technique (PWM), and the feedback
signal obtained from the optical encoder signals are coupled to a dc motor shaft. Control
response generated by setting-point step function with load variations imposed on the
motor shaft and the removal of some of the fuzzy rules also performed. Responses can
control output to follow a given load variations, as well as the removal of some fuzzy
rules, do not make the system significantly degraded. This shows that the fuzzy control
is quite tolerant of errors, and show the phenomenon of redundant. Implementation of
fuzzy control in multi-function microcontroller is reasonably priced and does not require
special fuzzy processors.
PLANING SYSTEM
In figure 1 is shown a block
diagram of a system in which the
blocks are:
1. Minimum
System
8031
software with fuzzy inference
system. Process control is
performed
by
the
microcontroller, ranging from
signal capture setting point, the
feedback signal, the error signal
calculation, calculation of fuzzy
logic process and issue the
results are used to excite the
motor
2. ADC circuit that functions as a
converter from analog to digital
scale magnitude, this ADC
circuit receives input SP (setting
point) on channel 0 and PV
(Present Value) on channel 1 in
the form of a feedback signal
output motor rotation.
3. The circuit DAC is used to
convert digital scale to scale
fuzzy calculation results for the
analog voltage is then fed to the
dc motor driver.
4. The series of F / V convert the
output frequency is generated by
the optical encoder of the motor
servo voltage to the voltage then
this is the price of Present Value
(PV) received by the ADC.
5. Drivers of motor function to
provide
excitation
voltage
anchor servo motor, which is
coupled to the motor shaft belt
mechanism for memutarpiringan
potters. This motor driver gets
input analog voltage from the
DAC.
6. LCD display is used to display
the value of the SP and PV and
process parameters for the fuzzy
Figure 1.
System Block Diagram
a.
Planing Hardware
Figure 2.
Sketch of Mechanical Systems
Planned mechanical system can be seen
in Figure 2, which consists of:
a. The framework is a tool holder
and the motor shaft is made of
angle iron with a size of 3 x 3.
b. The transmission belt is a device
that connects a DC motor with a
pulley pulley pottery player.
S
P
Figure 3
Membership function
Which shows the typical response of
a control system and the division of
baited behind division [2], the next
rule is 10 additional rules to refine
the typical system response and 6
complementary rule to be used in
extreme conditions. Each rule in the
rule is derived from the additional
points that are between two points
of reference. 9 fuzzy control rule
base is presented in Table 1, 10
additional rule fuzzy control are
presented in table 2, 6 while the last
rule is presented in Table 3.
Figure 4
Typical System Response and
Distribution Area
Table 1. Fuzzy Control Rule Rule Basic
Figure 5
Flow Chart of Main Program
Listing Main Program :
START
LCALL
DELAY
MOV
SP,#4FH
;INIT PPI
MOV
A,#080H
MOV
DPTR,#CW
MOVX
@DPTR,A
;INIT OUTPUT = 0
MOV
OUTPUT,#00H
MOV
A,OUTPUT
MOV
DPTR,#PORTA
MOVX
@DPTR,A
LCALL INISIALISASI_LCD
LCALL TAMPIL_SP_PV
;INIT SERIAL
MOV
TCON,#01000000B
MOV
TMOD,#00100010B
MOV
PCON,#00H
MOV
TH1,#0FDH
MOV TL1,#0FDH
MOV
SCON,#01000000B
;INIT INT0
SETB
IT0
SETB
EA
SETB
EX0
; INIT TAMPIL SP AND PV
MOV
CONTROL,#00H
MOV
A,#00H
MOV
DPTR,#ADC_SP
MOVX
@DPTR,A
ULANG
LCALL
COUNT_ERR_DERR
;FUZZY INFERENCE SYSTEM
LCALL
FIS
LCALL
OUTDATA
LCALL
TAMPIL_RPM
LCALL
DELAY
; SEND DATA ACQUISITION
LCALL
CONNECTION
LJMP ULANG
Figure 7
System Response to Setting Point
Fixed
From the figure it can be seen that
the response time of the system has
a very fast rise time of
approximately 3-4 seconds to shoot
over approximately 5-10 RPM.
Steady State Error response of the
system is also very small + 1 RPM.
Figure 13 shows the system
response to variations in setting
point. Setting point change from 200
RPM then lowered to 150 RPM, 100
RPM, and the last 50 RPM. In
contrast to the 14 images shown
boosts the system responds to
Setting Point.
Figure 8
System Response to Variation SP,
The load 10 Kg
Figure 9.
System Response to Variation SP,
The load 10 Kg.
From the figure it can be seen that it
takes time + 2 seconds to achieve
any change in Setting Point. With a
reach of 5-10 RPM overshoot.
Response systems with varying load
can be seen in Figure 15.
Figure 10
Response System to Load Variation
Given the load gradually, first 5 Kg
and then added another 5 Kg. Rule used
is a basic rule, the additional rule and
complementary rule with a total of 25
rules.
The figures show that the fuzzy
logic controller response is very fast, to
changes in load. The time needed to
reach
the
setting
point
after
experiencing the addition of load
between 1-2 seconds.
b. Response System with rule 19
Figure 11 shows the response of the
system with only the rule number 19,
Figure 11
Response System with rule 19, SP =
200 RPM, The load 10 Kg
From the Figure it can be seen
that the reduction rules do not affect
the response of the system
significantly. Figure 17 and Figure
18 shows the system response to
variations setting point.
Figure 12.
Response System with Rule 19 of the
Variation SP, Load 10 Kg
Figure 13.
Response System with Rule 19 of the
Load Variation, SP = 200 RPM
From Figure 17, Figure 18 and
Figure 19 it can be seen that the system
response to variations in Setting Point
and load variations with the basic rules
and additional rules, amounting to 19,
there are no significant changes,
although to achieve the desired setting
point slowdown around + 1 sec. To
Steady State Error of each image equal
to the Steady State Error in system
response with rule number 25.
CONCLUSION
Based on the results that have been
obtained, it can be a number of
conclusions, among others:
1. Fuzzy Logic Controller is a system
that is relatively easy to control its
design, because it takes no exact
mathematical model of the system. With
the rule-based approach and a common
sense system designed and built.
2. At this plant 9 basic rules (basic
rules) is the principal rule is used on
vertices, 10 additional rule is used to
refine the system response and 6
complementary rule is used when the
system is experiencing extreme
disruption.
3. Fuzzy Logic control has a redundant
and fault tolerant nature, in which the
reduction rule does not lead to an
uncontrollable system. He still can be
controlled by degraded.
BIBLIOGRAPHY
1. Klir, George J, Fuzzy Sets and
Fuzzy Logics : Theory and
Applications, NJ : Prentice Hall,
1995.
PERTANYAAN:
1. Apa itu fuzzy logic?
2. Bagaimana cara mnggunakan
software PetraFuz51?
3. Menggapa fuzzy logic dapat
melakukan pengaturan terhadap
motor dc?
Sumber:
http://puslit2.petra.ac.id/eportfolio/artef
act/file/download.php?file=147683