Design of A Fuzzy Logic Controller For A 2-DOF Robot Manipulator
Design of A Fuzzy Logic Controller For A 2-DOF Robot Manipulator
net/publication/271436688
CITATIONS READS
6 835
3 authors:
İsmail H. Altas
Karadeniz Technical University
194 PUBLICATIONS 2,613 CITATIONS
SEE PROFILE
All content following this page was uploaded by Yahya Danayiyen on 13 February 2023.
Robot arms or manipulators which are mechanical devices where e(t) is the error signal.
driven by electrical motors or actuators have been used in
many applications in industry such as painting, drilling, 2. 2-DOF ROBOT MANIPULATOR DYNAMICS
material handling and pick and place. Since the main aim is
to increase the productivity in these fields, the control of A 2-DOF robot manipulator is shown in Fig. 1. Since
manipulators come into prominence. mobility of this manipulator is two, two actuators are required
The most commonly used industrial controllers are in order to control the manipulator. The abbreviations of the
proportional-integral-derivative (PID) controllers of which parameters used in Fig. 1 and their equivalents are defined in
the first tuning method is proposed by Ziegler and Nichols Table 1.
[1]. Although advanced controllers are available, PID
controller have been preferred because of its simple and easy
to understand structure in industrial applications where the
performance is satisfactory. However, due to their constant
parameters, PID controllers are not able to handle the control
process of the systems with uncertainties and nonlinearities
as the adaptive controllers do. In order to achieve adaptivity
in the controllers, novel controllers such as Fuzzy-PID [2],
Neuro PID [3] and PSO-PID [4] controller have been
developed and used during last decades.
Since fuzzy logic deals with the uncertainty and
vagueness, it is superior to PID controller whose parameters
are tuned according to precise mathematical model and the
effectiveness of Fuzzy Logic Controller (FLC) has been
proven in non-linear complex systems [2, 5, 6]. Figure 1. The 2-DOF robot manipulator
Using Lagrange equations, motion equations of the τƟ1 = M1L22 (Ɵ̈1+Ɵ̈2) + M2L1L2 cosƟ2(2Ɵ̈1+Ɵ̈2 )
2-DOF manipulator can be calculated. Equations 14 and 15
+(M1+M2) L12Ɵ̈1 - M2L1L2Ɵ̇22sinƟ2
show the necessary torque to be applied the actuators in order
to reach the required reference point. - 2 M2L1L2Ɵ̇1Ɵ̇2 sinƟ2 + M2gL2 cos(Ɵ1+ Ɵ2)
+ (M1+M2)gL1cosƟ1 (14)
x1=L1 cosƟ1 (2)
τƟ2 = M2L2 (Ɵ̈1+Ɵ̈2) + M2L1L2 Ɵ̈1cosƟ2
2
266
Inference system calculate the fuzzy result obtained Table3. The results obtained by trial error method
from the rule base according to the input values. Mamdani,
Theta 1
Max-min, max-dot, and Takagi-Sugeno-Kang are the
common methods used in industrial fuzzy logic controllers. PID Kp Ki Kd ISE
Mamdani fuzzy reasoning is used in this study. 23 7 0.8 4288
The output of the inference system which is a fuzzy FLC 4060
value is convert to the crisp output value using the methods Theta 2
such as center of area (COA) and center of gravity(COG) in PID 28 6 0.4 1586
defuzzification part. COA is used as defuzzification method FLC 1210
in this study.
The inside structure of the developed FLC is given
in Fig. 4. The details of the developed FLC is clarified in [8]. Theta 1
50
45
40
ref
35 FLC
PID
Position (degree)
30
25
20
15
10
0
0 1 2 3 4 5 6 7 8 9 10
time (sec)
4. RESULTS
30
267
5. CONCLUSION
6. REFERENCES
268