Академический Документы
Профессиональный Документы
Культура Документы
Juba University
College of Engineering and Architecture
Electrical Engineering Department
Juba, Republic of South Sudan
martino.ajangnay16@gmail.com
Abstract: This paper proposed a computed Torque Control for robot manipulator. The significant of
the proposed control is in tuning of controller parameters based on the desired time domain
requirements. The control design exploits compensation of inverse dynamic of robot manipulator to
linearization and controller parameters selection to decouple the manipulator dynamics. The main
objective of the proposed control approach is to ensure the robot manipulator motion of joint position
follow the desired joint position value closely. The performance of the selected optimal control
parameters was verified through MATLAB/SIMULINK software.
Equation (5) is of second order system whose 𝑥 𝑇 [𝐾𝑑 − 𝜀𝐼]𝑧 > 0 ∀𝑥 ≠ 0 ∈ 𝑅 𝑛 (9)
convergence of the tracking error to zero is
This means that the matrix 𝐾𝑑 − 𝜀𝐼 is positive
guaranteed by choosing appropriate values of 𝐾𝑑
definite. Given the above consideration, we can
and 𝐾𝑝 based on second-order system time
conclude that
domain characteristics (bandwidth, rise time,
time to overshoot, steady state error etc.). 𝐾𝑝 + 𝜀𝐾𝑑 − 𝜀 2 𝐼 > 0. (10)
The values of 𝐾𝑑 and 𝐾𝑝 determine the Let us choose the total energy of the system as
performance of error signal such as bandwidth of Lyapunov function
error signal and damping ratio. Usually the values
1 1
of 𝐾𝑑 and 𝐾𝑝 are chosen as a diagonal positive 𝑉(𝑒, 𝑒̇ ) = 2 𝑒̇ 𝑇 𝑒̇ + 2 𝑒 𝑇 [𝐾𝑝 + 𝜀𝐾𝑑 ]𝑒 +
definite matrix gain to ensure decoupling and to 𝜀𝑒 𝑇 𝑒̇ (11)
guarantee the stability of the error system.
Taking the derivative of Eq. (11):
The selection of controller parameters in Eq. (5)
are chosen such that the robot position output 𝑉̇ (𝑒, 𝑒̇ ) = 𝑒̇ 𝑇 𝑒̈ + 𝑒 𝑇 (𝐾𝑝 + 𝜀𝐾𝑑 )𝑒̇ + 𝜀𝑒 𝑇 𝑒̈ +
tracks the desired position output closely. As it is 𝜀𝑒̇ 𝑇 𝑒̇ (12)
Using Eq. (5) in Eq. (12) yields 𝐶21 (𝑞) = 𝑚2 𝑙1 𝑙𝑐2 𝑞1̇ sin(𝑞2 )
5. Result
𝐶11 (𝑞) = −𝑚2 𝑙1 𝑙𝑐2 𝑞2̇ sin(𝑞2 ) Figure (2), illustrates time response of the actual
joint positions against the desired joint positions.
𝐶12 (𝑞) = −𝑚2 𝑙1 𝑙𝑐2 (𝑞1̇ + 𝑞2̇ )sin(𝑞2 )
The figure shows that the actual joint position 2
Angular velocity: q1ddot & q1dot
0
Figure (3) compares the actual joint velocities
-1
and desired joint velocities. The figure shows that -2
0 1 2 3 4 5 6 7 8 9 10
the actual velocities converged to the desired Time [sec]
Angular position: q2ddot & q2dot
joint velocities perfectly. 4
-1
6. Conclusion
-2
Choosing the controller gains 𝐾𝑑 𝑎𝑛𝑑 𝐾𝑝 as
diagonal matrices results in decoupled -3
1
8
7
0.5
6
Torque [Nm]
0
0 1 2 3 4 5 6 7 8 9 10 5
Time [sec]
4
Position: q2d & q2
2
3
q2d
1.5 q2 2
postion [rad]
1 1
0.5 0
0 1 2 3 4 5 6 7 8 9 10
Time [sec]
0
0 1 2 3 4 5 6 7 8 9 10
Time [sec]
Figure 4: Input torque
Figure 2: First and second link desired and
actual position signal
2. E. Margrini, F. Flacco and A. De Luca,
desired and actual psoition
“Control of Generalized Contact Motion
input torque
desired position,velocity and acceleration
qd_2dot
Add
K*uvec
Kp
angular velocity
Conference on Robotics and Automation
q
q
desired signal
K*uvec
u_PD
M(q)
M(q)
u
q_dot
(ICRA), Seattle, Washington, 2015, pp.
Add3 Robot Manipulator
Add2 Kd Add1
2298-2304.
g(q)
g(q) q
3. N. Kumar,. Panwar, N. Sukavanam, S. P.
C(q)
q
Sharma and J Borm, “Neural Network
C(q,qdot)
q_dot
Based Hybrid Force/Position Control for
Robot Manipulator, International Journal
of Precision Engineering and
Manufacturing, Vol. 12 No. 3, pp. 419-
Figure 5: Computed-Torque control Simulink 426.
block diagram 4. R. Kelly, V. Santibanez and A. Loria,
“Control of Robot Manipulators in Joint
Space”, Springer-Verlag London
Limited, 2005.
5. Z. Jiang and T. Ishita, “A Neural
Table (1): Two link robot manipulator Network Controller for Trajectory
parameters. Control of Industrial Robot
Manipulators”, Journal of Computers,
Description Paramete Value Unit Vol. 3, NO. 8 August 2008.
r 6. V. Panwar and N. Sukavanam, “Design
Length of Link 1 l1 0.26 m of Optimal Hybrid Position/Force
Length of Link 2 l2 0.26 m
Controller for a Robot Manipulator using
Distance of centre of lc1 0.0983 m
mass of link 1 Neural Network”, Mathematical
Distance of centre of lc2 0.0229 m Problems in Engineering, Vol. 2007
mass of link 2 7. L. F. Baptista, J. M. C. Sousa and J. M.
Mass of link 1 m1 6.5225 kg G.Sa da Costa, “Predictive Force Control
Mass of link 2 m2 2.0458 kg
Inertia rel. to centre of I1 0.1213 Kg of Robot Manipulators in Nonrigid
mass of link 1 m2 Environments”, Industrial Robotics:
Inertia rel. to centre of I2 0.0116 Kgm2 Theory, Modeling and Control, p. 964,
mass of link 2 Dec 2006.
8. H. Lee, D. Nam and C. H. Park, “A
Sliding Mode Controller using Neural
Networks for Robot Manipulator”,
REFERENCES European Symposium on Artificial
Neural Networks, Belgium, 28-30 April,
1. B. Siciliano, L. Sciavicco, L. Villani and pp. 193-198.
G. Oriolo, “Robotics: Modeling, 9. L. Huang, S. S. Ge and T. H. Lee, “Fuzzy
Planning and Control”, Springer-Vertag Unidirectional Force Control of
London Limited, 2009. Constrained robotic Manipulators”,
Fuzzy Sets and Systems 134, Elsevier, He was working with Sudan University of
(2003), pp. 135-146. Science and Technology from 1992 to 2011. He
10. H. D. Patino, R. Carelli and B. R. was Assistant Professor and Head of Electrical
Kuchen, “Neural Networks for Engineering at College of Engineering, Sudan
Advanced Control of Robot University of Science and technology. He worked
Manipulators”, IEEE Transactions on as Manager of Project and Facilities at Dar
Neural Networks, Vol. 13, No. 2 March Petroleum Operating Company (Oil and Gas
2002. company) since 2011 to 2017. Currently he works
11. S. Chiaverini, B. Sicilino and L. Villani, as Assistant Professor with Juba University,
“A Survey of Robot Interaction Control College of Engineering and Architecture,
Schemes with Experimental Electrical Engineering Department, South Sudan.
Comparison”, IEEE/ASME Transactions
on Mechatronics, Vol. 4, No. 3, Sep
1999.
12. S. S. Ge, C. C. Hang and C. L.oon,
“Adaptive Neural Network Control of Appendix
Robot Manipulators in Task Space”,
% Robot model
IEEE Transactions on Industrial function[sys,x0]=martino_model(t,x,u,flag,Link1,Link2,xx
Electronics, Vol. 44, No. 6, December 0)
m1=Link1(1);
1997. l1=Link1(2);
lc1=Link1(3);
I1=Link1(4);
m2=Link2(1);
l2=Link2(2);
lc2=Link2(3);
I2=Link2(4);
if flag==0
x0=xx0;
sys=[4,0,4,2,0,1];
elseif flag==1
M11=m1*lc1^2+m2*(l1^2+lc2^2+2*l1*lc2*cos(x(2)))+I1
+I2;
M12=m2*(lc2^2+l1*lc2*cos(x(2)))+I2;
Dr Martino Ojwok Ajangnay obtained a Bachelor M21=M12;
M22=m2*lc2^2+I2;
of Science in Electrical Engineering (BSc., Mq=[M11 M12;M21 M22];
honours, 1st Class, “Control”) in 1992 from C11=-m2*l1*lc2*sin(x(2))*x(4);
C12=-m2*l1*lc2*sin(x(2))*(x(3)+x(4));
Electrical Engineering, Sudan University of C21=m2*l1*lc2*sin(x(2))*x(3);
Science and Technology, Khartoum, Sudan C22=0;
Cq=[C11 C12;C21 C22];
He obtained PhD and MSc in Digital System
G1=(m1*lc1+m2*l1)*9.8*sin(x(1))+m2*lc2*9.8*sin(x(1)+
Engineering from Computing and Electrical x(2));
Engineering, Heriot-Watt University- Edinburgh, G2=m2*lc2*9.8*sin(x(1)+x(2));
Gq=[G1;G2];
United Kingdom in 2004 and 2000 respectively. dx1=x(3);
His research interest is in digital control systems dx2=x(4);
dx34=inv(Mq)*([u(1);u(2)]-Cq*[x(3);x(4)]-Gq);
and its application in robotic manipulators
dx3=dx34(1);
modeling, mobile robot modeling and control. dx4=dx34(2);
sys=[dx1;dx2;dx3;dx4];
elseif flag==3 m1=Link1(1);
sys=[x(1);x(2);x(3);x(4)]; l1=Link1(2);
else lc1=Link1(3);
sys=[]; I1=Link1(4);
end m2=Link2(1);
l2=Link2(2);
lc2=Link2(3);
% Coriolis and Centripetal force I2=Link2(4);
function[sys,x0]=martino_C(t,x,u,flag,Link1,Link2) if flag==0
m1=Link1(1); x0=[];
l1=Link1(2); sys=[0,0,2,4,0,1];
lc1=Link1(3); elseif flag==3
I1=Link1(4);
m2=Link2(1); M11=m1*lc1^2+m2*(l1^2+lc2^2+2*l1*lc2*cos(u(2)))+I1
l2=Link2(2); +I2;
lc2=Link2(3); M12=m2*(lc2^2+l1*lc2*cos(u(2)))+I2;
I2=Link2(4); M21=M12;
M22=m2*lc2^2+I2;
if flag==0 Mq=[M11 M12;M21 M22];
x0=[]; uM=Mq*[u(3);u(4)];
sys=[0,0,2,4,0,1]; sys=[uM(1);uM(2)];
elseif flag==3 else
C11=-m2*l1*lc2*sin(u(2))*u(4); sys=[];
C12=-m2*l1*lc2*sin((2))*(u(3)+u(4)); end
C21=m2*l1*lc2*sin(u(2))*u(3);
C22=0;
Cq=[C11 C12;C21 C22];
uC=Cq*[u(3);u(4)];
sys=[uC(1);uC(2)];
else
sys=[];
end
% Gravitational forces
function[sys,x0]=martino_G(t,x,u,flag,Link1,Link2)
m1=Link1(1);
l1=Link1(2);
lc1=Link1(3);
I1=Link1(4);
m2=Link2(1);
l2=Link2(2);
lc2=Link2(3);
I2=Link2(4);
if flag==0
x0=[];
sys=[0,0,2,2,0,1];
elseif flag==3
G1=(m1*lc1+m2*l1)*9.8*sin(u(1))+m2*lc2*9.8*sin(u(1)+
u(2));
G2=m2*lc2*9.8*sin(u(1)+u(2));
sys=[G1;G2];
else
sys=[];
end
% Inertia Matrix
function[sys,x0]=martino_M(t,x,u,flag,Link1,Link2)