Professional Documents
Culture Documents
Modeling Analysis and Simulation of 2-DOF Robotic Manipulator
Modeling Analysis and Simulation of 2-DOF Robotic Manipulator
UAE
Abstract—Robotics is a very active field that crosses the Then by using the Langrangian equation of motion we obtain
traditional boundaries of engineering. The field combines the dynamics of the system. The final dynamical equation is
various engineering disciplines and merges numerous linearized around nominal equilibrium points to get the state
engineering applications. Robotics manipulators present a space matrices.
complex area of study related to kinematics, dynamics, computer
vision and control. In this paper we present the mathematical A. Forward Kinematics by Denavit Hartenberg Convention
model of a 2-DOF robotic arm using Denavit Hartenberg A typical approach for obtaining the forward kinematics of
convention and the Langrangian equation of motion. The 2-DOF a robotic planner is through the Denavit Hartenberg (DH)
robotic arm is a highly dynamic nonlinear system that requires convention [2].
complex methods of control. In our paper we attempted to
linearize the mathematical model around nominal equilibrium
points we then utilized the linearized state space equations in the
measurement of three qualitative analysis defined by stability,
controllability and observability. According to the qualitative
analysis results we designed two types of controllers; full state
feedback controller and LQR in addition to a full order observer.
0 0 1 0 0 0
0 0 0 1 0 0
= (38)
0.7870 −0.0426 0 0 1 0
0.04285 0.1349 0 0 0 1
0 0 1 0
III. QUALTIATIVE ANALYSIS OF THE 2-DOF ROBOTIC
0 0 0 1
MANIPULATOR
−4.4560 −0.6196 0 0
The qualitative analysis of nonlinear systems is important 0.2485 −6.6174 0 0
for highlighting some of the key concepts of stability in O=
−4.4560 −0.6196 0 0
nonlinear dynamics [4]. For the 2-DOF robotic arm system we 0.2485 −6.6174 0 0
measure the three qualitative analysis respectively of the 0 0 −4.4560 −0.6196
linearized state space model. 0 0 0.2485 −6.6174
A. Stablity of 2-DOF Robotic Planner 0 0 −4.4560 −0.6196
0 0 0.2485 −6.6174
The internal and external stability of the linear state space
model was examined by determining the poles and eigenvalues 19.7020 6.8611 0 0
respectively using MATLAB software. −2.7517 43.6360 0 0
(43)
For BIBO stability we extract the poles of the system The matrix has full row rank which indicates that the linearized
through the command pole (sys). state space model is observable.
0 + 2.12 2) 0 − 2.12 3) 0 + 2.5581 4)0 −
2.5581 (39) IV. CONTROLLER AND OBSERVOR DESIGN FOR 2-DOF ROBOTIC
All the obtained poles have zero real parts which indicate MANIPULATOR
that the linearized model is not BIBO stable since the zero real The qualitative analysis of the linearized model provided
parts are repeated [6]. the basis to design a full state feedback controller and a linear
For Internal stability we use the command eig (A) to obtain quadratic regulator followed by the design of a full order
the eigenvalues of (A) matrix and determine the type of observer. Using Simulink we combine the full order observer
stability. with the state feedback controller to get a full order
1)0 + 2.12 2) 0 − 2.12 3) 0 + 2.5581 4)0 − 2.5581 compensator as shown in figure (2).
(40)
Since all the eigenvalues have zero real parts we check the
Jordan form of matrix (A) using the command Jordan (A).
0 + 2.12 0 0 0
0 0 − 2.12 0 0
(41)
0 0 0 + 2.5581 0
0 0 0 0 − 2.5581
The associated Jordan blocks of the zero eigenvalues are of
order one which indicates that the system is
marginally/Lyapunov stable.
B. Controllablity of 2-DOF Robotic Planner
The command ctrb (sys) in MATLAB was used to
calculate the controllability matrix of the state space model
[6].
=
1 0 0.7870 −0.6196 0 0 −3.5334 2.6774
0 0 0.0428 0.1349 0 0 −3.5334 −1.0467
0.7870 −0.6196 0 0 −3.5334 2.6774 0 0 Fig. 2. Full order compensator of 2-DOF Robotic Arm
0.0428 0.1349 0 0 −0.0877 −1.0467 0 0
(42) A. State Feedback Controller
The matrix has full row rank which indicates that the linearized As stated by stability measurement, the linear model
state space model is controllable. requires a state feedback controller using pole placement
C. Observablity of 2-DOF Robotic Planner method to drive it to be BIBO and asymptotically stable [5, 6].
The linearized model of the system is controllable which
The command obsv (A, C) in MATLAB was used to permit the design of state feedback controller.
calculate the Observability matrix of the state space model [4].
2016 IEEE 59th International Midwest Symposium on Circuits and Systems (MWSCAS), 16-19 October 2016, Abu Dhabi, UAE
V. CONCLUSION
In this paper we presented the modeling, analysis and
simulation of a 2-DOF robotic manipulator. The linear
mathematical model of the system was used in the
measurement of three fundamental qualitative analysis.
According to the analysis results we attempted to improve the
system performance through the implementation and
simulation of two different types of controllers: state feedback
controller and LQR followed by a full order observer using
Fig. 4. Output response of theta one and two with respect to LQR.
MATLAB/Simulink.
Choosing different values of Q and R result in different REFERENCES
responses of the system [8]. In our design we fixed the value
[1] M. Xie, Fundamentals of Robotics: Linking Perception to Action,
of R to 0.01 while the Q matrix was computed in MATLAB World Scientific Publishing Co Pte Ltd, 2003..
using the following equation [2] S. H. M. V. Mark W. Spong, Robot Modeling and Control, WILEY,
= × × (44) December 2005.
[3] A. M. M. &. A. AL-SAIF, "Modeling, Simulation and Control of 2-R
Where P is a scaling factor with a value of 50. Figure (4) Robot," Global Journal of Researches in Engineering:Robotics &
shows the output responses of and with respect to step Nano-Tech, vol. 14, no. 1, 2014.
inputs after implementing LQR. The response towards [4] C.-T. CHEN, Linear System Theory and Design, vol. Fourth Edition,
versus input one and the response of versus input two both New York: Oxford University Press, 2013.
[5] E. A. Mattar, "Neural Net Control of High Nonlinear 2-DOF
suffer from an overshoot percentage. In addition to steady Nonlinear Robotic Arm," in IACSIT 2014, Dubai, May-2012.
state error which can be resolved as stated in previous section. [6] P. M. P. b. N. S. Amit Kumara, "Trajectory control of a two DOF
The pole placement and LQR approaches have both rigid–flexible space robot by a virtual space," Robotics and
Autonomous Systems, pp. 473-482, 2013
induced a stabilized system however a key difference was the [7] Shahab, M. (2008). 2DOF Robotic Manipulator Control Design &
Simulation.-Dahran
[8] Z. J. A. B. H. a. M. R. T. Teng Fonga, "Design and Analysis of
Linear Quadratic Regulator for a Non-Linear Positioning System,"
Applied Mechanics and Materials, vol. 761, pp. 227-232, 2015.