Professional Documents
Culture Documents
101 2221 E 11 105 (Poster)
101 2221 E 11 105 (Poster)
Abstract—This paper presents the position control of a possible to decouple the polynomial further into two
3-DOF 3-RRR planar parallel manipulator by using the model quadratic equations, describing the position and orientation
predictive control. Not only the numerical simulations are of the end-effector, respectively [10]. Cha et al. presented the
demonstrated but also an experimental hardware-in-the-loop singularity avoidance of the manipulator using kinematic
system is constructed. The experimental results are used to
redundancy [11]. Arakelianan and Smith discussed the
verify the simulation results. The entire system is designed as a
semi-closed loop system. The manipulator is driven by three DC development of the reactionless manipulators, which apply
motors, and each motor has an encoder to measure the rotating no reaction forces or moments to the mounting base during
angles of the motors. The controller receives the encoder signals motion [12].
as inputs to produce singles driving the motors. The results Control of the manipulators has a limited number of
demonstrate that the position of the manipulator is fulfilled. publications in the literature. Noshadi et al. presented a
Besides, the simulation and experimental results are compared,
and they are good in agreement. method to control the manipulator using an active force
control strategy [13]. The authors also implemented a two
I. INTRODUCTION level fuzzy tuning resolved acceleration control to the
manipulators to demonstrate the stable response of the
P ARALLEL manipulators are essentially closed-loop
kinematics chain mechanisms, and an end-effector is
manipulator in performing trajectory tracking tasks in the
absence of the disturbances [14]. Nasa and Bandyopadhyay
linked to the base of the manipulator by several independent
presented a strategy, which enables the manipulator to trace a
kinematics chains [1]. The first parallel manipulator
curve containing singularities by virtue of allowing its
developed by Gough and Whitehall is a six-linear jack system
orientation to change [15].
for use as a universal tire-testing machine [2]. Later, a
platform manipulator for use as an aircraft simulator was
developed by Stewart [3]. After these two manipulators were
presented, there are numerous parallel manipulators
developed for various industrial applications, such as
assembly, packaging and machining operations. [4-6].
A 3-DOF 3-RRR planar parallel manipulator is typical
robot arm designed to manipulate precision positioning tasks.
Gosselin and Angeles investigated the manipulator from a
kinematic viewpoint and established four different design
criteria to produce designs having optimum characteristics
[7]. Yang et al. focused on the forward singularity analysis of
the manipulator and proposed a simple geometric approach
based on the concept of instantaneous center [8]. Arsenault Fig. 1. A planar parallel manipulator
and Boudreau presented the synthesis of the manipulator
using a genetic algorithm [9]. Oetomo et al. presented the This paper presented the position control of the 3-DOF
direct kinematic solution of the manipulators, where they are 3-RRR planar parallel manipulator by using the model
predictive control. One uses a real-time embedded system
Manuscript received Aug 30, 2013. This work was supported in part by the
CompactRio (manufactured by National Instruments Corp.)
National Science Council under Grant NSC 101-2221-E-011-105. as a controller and three DC motors with encoders to
Yong-Lin Kuo is with Graduate Institute of Automation and Control, construct a hardware-in-the-loop experimental platform. One
National Taiwan University of Science and Technology, Taipei, Taiwan
(corresponding author; phone: 886-2-27303696; fax: 886-2-27301265; e-mail: also designs a semi-closed loop system. The controller uses
kuo@mail.ntust.edu.tw). the signals of the encoders as feedback signals and produces
Tsu-Pin Lin was with Graduate Institute of Automation and Control,
National Taiwan University of Science and Technology, Taipei, Taiwan.
signals to drive the motors. A graphic interface is designed,
(e-mail: bryan780316@gmail.com). which is based on the software LabVIEW. This paper presents
Chun Yu Wu is with Graduate Institute of Automation and Control, numerical simulation and experimental results, and both
National Taiwan University of Science and Technology, Taipei, Taiwan.
(e-mail: w790320@gmail.com). results are compared to each other. This paper is organized as
Tsung-Liang Wu is with Mechanical and Systems Laboratories, Industrial follows. Section II investigates the kinematics analysis of the
Technology Research Institute, Hsinchu, Taiwan (e-mail: wut@itri.org.tw).
manipulator. Section III introduces the model predictive l 2 l 2 ( c a ) 2 ( c a ) 2
control. Section IV presents the experimental setup and 1 2 ix ix iy iy
i cos 1
testing. Section V illustrates the simulation and experimental 2
2l1 ( cix aix ) ( ciy aiy ) 2
(3)
results. Section VI summarizes the significant conclusions.
cix x r cos i , ciy y r sin i
(4)
1 / 6, 2 5 / 6, 3 / 2 (5)
A1 (0,0), A2 ( 3R,0), A3 ( 3R / 2,3R / 2)
(6)
Note that the subscripts i are 1, 2 and 3, and R is the radius of
the circle formed by the positions of the three motors.
Using Eqs. (1) to (6), the rotating angles i of the motors
can be determined.
B. Direct kinematics
For the direct kinematics, the rotating angles i of the
motors are given, and the position P(x,y) and the orientation
of the end-effector need to be determined. Based on Fig. 2,
one has the following algebraic equations as
(c1 x b1x ) 2 ( c1 y b1 y ) 2 l2 2
(7)
2 2 2
(c2 x b2 x ) (c2 y b2 y ) l2
(8)
Fig. 3. The workspace of the end-effector of the manipulator 2
(c3x b3 x ) ( c3 y b3 y ) l22
2
(9)
A. Inverse kinematics where
The inverse kinematics implies that the position P(x, y) (c2 x , c2 y ) (c1x 3r cos , c1 y 3r sin ) (10)
and the orientation of the end-effector are given, and the (c3x , c3 y ) ( c1x 3r cos( / 3),
rotating angles i of the motors need to be determined. (11)
Consider one set of links A1B1C1 and define a coordinate c1 y 3r sin( / 3))
system shown in Fig. 2. Based on this figure and the Substitute Eqs. (10) and (11) into (8) and (9), and then
trigonometric formulas, one obtain substrate them by (7). One can obtain two equations in terms
i i i (1) of two unknowns c1x and c1y, so these two variables can be
where obtained but in terms of angle . Substituting them into Eq. (8)
ciy aiy leads to an equation in terms of angle , so the angle can be
i tan 1 ( ) determined.
cix aix (2)
C. Workspace
To determine the workspace of the end-effector, Eq. (3) can
be rewritten as
l12 l2 2 ( cix aix ) 2 ( ciy aiy ) 2 Define a new state variable as
1 (12) x ( k ) [x mT (k ) y ( k ) ]T (22)
2l1 ( cix aix ) 2 ( ciy aiy ) 2
Then, a new state-space model can be obtained as
which can be further reduced as x ( k 1) Ax ( k ) Bu ( k )
( x xi ) 2 ( y yi ) 2 (l1 l2 ) 2 (13) (23)
y ( k ) Cx ( k )
where (24)
x1 r cos( / 6) , y1 r sin( / 6) (14) where
x2 D r cos( / 6) , y2 r sin( / 6) (15) A OmT Bm
A m , B , C Om 1 (25)
x3 D / 2 r sin , y3 3D / 2 r cos (16) Cm Am 1 Cm Bm
Note that D is the distance between any two motors. Note that Om is a 1n1 zero vector.
Based on Eq. (13), the workspace of the end-effector can be Define two vectors as
obtained and shown in Fig. 3.
Y y ( k 1) y ( k 2) y ( k N p ) T (26)
U u( k ) u ( k 1) u (k N c 1) T
(27)
where Np and Nc are called the prediction horizon and the
control horizon, respectively.
Real-Time controller Using Eqs. (23) to (27), one obtains
Y Fx (k ) U (28)
where
CA
CA2
F (29)
Np
CA
CB 0 0
CAB CB 0
(30)
N p 1 N p 2 N N
Fig. 5. A real-time embedded control system CA B CA B CA p c B
Define a vector as
RsT [11 N p ]r ( k ) (31)
where [11 N p ] is a 1×Np one matrix, and r(k) is a reference
signal.
Define a cost function as
J ( Rs Y )T ( Rs Y ) U T R U (32)
Fig. 6. The hardware-in-the-loop of the control system of the manipulator where R rw I (rw > 0) is a weighting matrix, and I is a
N c N c identity matrix.
Substituting Eq. (28) into (32) leads to
III. MODEL PREDICTIVE CONTROL
J ( Rs Fx ( k )) T ( Rs Fx (k ))
Consider an SISO discrete-time system as (33)
xm (k 1) Am xm (k ) Bm u(k ) 2U T T ( Rs Fx ( k )) U T ( T R ) U
(17)
To obtain the optimal control vector U , the cost function
y (k ) C m x m ( k ) (18) is minimized by taking derivative with respect to U and
where u is an input, y is an output, xm is a vector in terms of n1 then is set to zero, so one obtains
state variables. J
Define new variables as 2 T ( Rs Fx (k )) 2( T R ) U 0 (34)
U
xm ( k ) xm ( k ) xm (k 1) (19) Eq. (34) reduces to the optimal control vector as
u (k ) u( k ) u( k 1) (20) U ( T R )T T ( Rs Fx ( k )) (35)
Then, Eq. (17) can be rewritten as Although the optimal control vector U contains the
xm ( k 1) Am xm ( k ) Bm u( k ) (21) controls u(k ) , one only implements the first sample of the
control sequence. This procedure is called the receding treated as feedback signals. The control of each motor is
horizon control. dominated by an individual controller. The difference of a
command signal and a feedback encoder signal is treated as
an input of a controller. The controller outputs drive the three
G(s)
Angle motors. In addition to the experimental manipulator, one
G(S) utilizes some hardware components, including a personal
Input Driver Moter Output
computer, a real-time embedded system CompactRIO
InInp Drive Motor Outpu (manufactured by National Instruments Corp.), and a power
supply. The CompactRIO system consists of an embedded
Fig. 7. The block diagram of a driver and a motor
controller for communication and processing, a
reconfigurable chassis housing the user-programmable
FPGA, hot-swappable I/O modules, and graphical LabVIEW
software for rapid real-time, Windows, and FPGA
programming, so the system includes a reconfigurable
chassis (cRIO 9112), a real-time embedded controller (eRIO
9022) and three servo motor drivers (NI 9505). The system is
illustrated in Fig. 6.
B. Motor Drivers
Fig. 8. The graphic interface of the inverse kinematics The motor drivers includes two parts. One generates PWM
signals, and the other one decodes the signals of the encoders.
The driver codes are included in the FPGA, which generates
Motor 3 PWM signals. The signals are delivered and received by the
Workspace module NI 9505. The oscillation frequency of the FPGA is 40
MHz, and it can generate a square wave with 20 kHz. For the
PWM signals, the wave crest can be adjusted, so the
Final position percentage of the duration of the wave crest in a square wave
decides the voltage applied to the motors. The PWM codes
Initial position are also stored in the FPGA. After testing, the accuracy of the
encoder is 0.367 degrees.
Motor 1 Motor 2 C. System Identification of Motors and Drivers
For the purpose of the controller design, it is necessary to
know the mathematical model of the motors. Since one uses
the PWM signals to drive the motors, the driver and the
motor are represented as a transfer function. The block
Fig. 9. The workspace of the manipulator diagram is illustrated in Fig. 7. One uses 0-30% PWM
signals as an input and the rotating angle of the motor as an
output, and there are 15 sets of data collected to complete the
IV. EXPERIMENTAL SETUP AND TESTING system identification of the driver and the motor. One also
applies MATLAB System Identification Toolbox to process
A. Experimental Setup the model as
Based on the planar parallel manipulator shown in Fig. 1, Kp
G ( s) e Td s (36)
an experimental manipulator is designed as Fig. 4 (top view). s (T p s 1)
The manipulator consists of six links, an end-effector, and
where Kp, Tp and Td are three parameters to be determined.
three DC motors. The manipulator is driven by three DC
After processing the system identification, the three
motors, and they are mounted under the platform. Each
parameters in Eq. (36) are determined and shown in Table 1.
motor is also attached with an encoder to measure the
rotating angle of the motor. The connections between the D. Kinematics Simulations
links are revolute joints. The positions of the three motors Based on the formulations in Section II, one uses the
form an equilateral triangle. The shape of the end-effector is software LabVIEW to generate a graphic interface shown in
also an equilateral triangle. Both triangles can individually Fig. 8 for the kinematics analysis of the manipulator. For the
form two circles, and their radius are 26.5 and 6 cm. The purpose of application, the graphic interface is for the inverse
length of each link is 18 cm.
kinematics. (An graphic interface of the direct kinematics is
One intends to construct a semi-closed-loop experimental
also generated for verification, but it is not shown in this
platform. The hardware-in-the-loop is illustrated in Fig. 5.
The rotating angles of the motors are measured and are paper.) One can input the position and the rotating angle of
the end-effector through the graphic interface, and the
Simulation
rotating angle of the motors and the positions of points Bi and Experiment w/ links
Ci can be calculated and shown. Besides, the configuration of Experiment w/o
Angle (deg)
Time (sec)
(b)
Angle (deg)
(a)
Simulation
Experiment w/ links
Experiment w/o
Time (sec)
(c)
Fig. 11. The time responses of the rotating angles of the three motors, (a) motor
1, (b) motor 2, (c) motor 3
157-182.
[5] C. Reinholtz and D. Gokhale, “Design and analysis of variable geometry
truss robot,” Proc. 9th Applied Mechanisms Conference, Stillwater, OK,
USA, 1987.
Simulation [6] R. Clavel, “A fast robot with parallel geometry,” Proc. 18th international
Experiment w/ links
Experiment w/o links
Symposium on Industrial Robots, Sydney, Australia, 1988, pp. 91-100.
[7] C. Gosselin and J. Angeles, “The optimum kinematic design of a planar
Time (sec)
three-degree-of-freedom parallel manipulator,” Journal of Mechanisms,
(a) Transmissions and Automation in Design, 1988, vol. 110, pp. 35-41.
[8] G. Yang, W. Chen and I-M. Chen, “A geometrical method for the
singularity analysis of 3-RRR planar parallel robots with different
End-effector
actuation schemes,” Int. Conference on Intelligent Robots and Systems,
2002, vol. 3.
[9] M. Arsenault and R. Boudreau, “The synthesis of three-degree-of-freedom
planar parallel mechanisms with revolute joints (3-RRR) for an optimal
y coordinate (cm)
VI. CONCLUSIONS
This paper presents the position control of a 3-DOF 3-RRR
planar parallel manipulator using the model predictive
control. The tasks in this paper is divided into two parts. The
first part is the numerical simulation, which provides a basis
of the controller design. The second part is an experimental
implementation. A semi-closed loop system is constructed,
and the system consists of the manipulator, three DC motors
with encoders, and a real-time embedded controller
CompactRio by National Instruments. The software is based
on the LabVIEW. The results show that the design can fulfill
the position control of the manipulator, and the simulation