Documente Academic
Documente Profesional
Documente Cultură
Keywords:
INTRODUCTION
The RV-M1 Movemaster from Mitsubishi Electric is
a 5-axis, vertically articulated robotic arm suitable
not only to light-duty industrial settings, but also to
educational and scientific laboratories. Schematically
shown in Figure 1, Mitsubishi Electric maintains that
the RV-M1 is the best-selling educational robot in the
world [1,2]. The RV-M1 offers both direct robotic
control by means of a Teach Pendant and programmable robotic control by a personal computer (PC)
Correspondence to C. Hamilton (hamiltbc@muohio.edu).
2007 Wiley Periodicals Inc.
206
HAMILTON
Figure 1
207
208
HAMILTON
systems with new drive units and software. Unfortunately, with the market price of a used RV-M1 system
approximately $25,000, the budgetary pressure when
considering the need for multiple units makes this
recourse somewhat improbable in short-term planning
[3]. However, to immediately address and overcome
the shortcomings of the DOS-based interface environment, MME Department set forth to identify a new
interface system for the robotics lab with the following objectives:
1. To introduce a new interface language/environment that is compatible with WindowsXP and
that reflects the current educational experience
of students at Miami University.
2. To introduce a new interface language/environment that is will increase the functionality of the
RV-M1 robotic arms and more accurately reflect
configurations in todays industry.
In Spring 2004, the MME Department at Miami
University introduced at new first-year level course in
Problem Solving and Design. A primary educational
objective of the course was to expose students
in the Engineering discipline to MATLAB as a tool
for problem solving, analysis, design and modeling.
The formation of the new course was part of a greater
objective of the department to utilize MATLAB
throughout the Engineering curriculum, including
the first-year follow on class in Engineering Design
and Computer Graphics. To assess the student familiarity with MATLAB, a survey was given to the same
fourth-year student population and asked to rate their
209
SERIAL COMMUNICATION
The MATLAB software did not actually offer serial
port communication until the debut of Release 12 in
2000 [4]. Now, MATLAB is fully functional in RS-232
communication, and for recent computer models that
only offer USB connections, USB/RS-232 adapters are
readily available. Serial communication in MATLAB
can be established in either the Command Window
or in the M-file Editor through the following lines of
code:
s serial(COM1);
fopen(s)
The first line assigns the communication port,
COM1, to the variable, s, while the second line of
code simply opens the port for writing data from the
PC to the instrument (in this case the drive unit of the
RV-M1). It should be noted that in MATLAB
the default condition for the flow of data between
the PC and the instrument is none. Under this
condition, the user can write data from the PC to the
instrument Buffer, but cannot read or access data from
the Buffer. Many commands in the RV-M1 language
require data to be read from the Buffer of the drive
210
HAMILTON
211
212
HAMILTON
Figure 8 MATLAB graphical user interface for finding world space coordinates.
SIMULATION OF CONTINUOUS
PATH CONTROL
The RV-M1 accomplishes tasks by moving between
predefined positions. Motion between consecutive
points of interest occurs under point-to-point control
with the RV-M1 drive unit interpolating the shortest
linear path between positions. The RV-M1, however,
does not offer direct continuous path control for which
circular interpolations are feasible for contoured
motion. If desired, the user could teach the robot
numerous points along a curvilinear path such that
continuous path control is simulated during program
execution. This approach, however, is not very practical
and would be quite inefficient. With MATLAB as the
interface language, it is possible to simulate continuous
path control through the programming structure
and leveraging MATLABs superior data manipulation. In the following example, the program executes
the Where command to determine the current coordinates of the robot position and then moves the robot
in a circular path in the xz plane centered about
the current position with a radius determined by the
user:
fprintf(s,WH)
wh(1,:) floor(str2num(fscanf (s)));
R input(Enter the Radius: );
for theta 0:10: 360
x floor(R*cos(theta*pi()/180))
wh(1,1);
z floor(R*sin(theta*pi()/180))
wh(1,3);
fprintf(s,sprintf (MP%1.0f,
%1.0f,%1.0f,%
1.0f,%1.0f,x,wh(1,2),z,
wh(1,4), wh(1,5)));
end
In this program, the coordinates from the Where
command are captured into a single row matrix and
rounded down to the nearest whole number by means
of the floor function. After the user enters the desired
radius of circular motion, the new x and z coordinates
are iteratively calculated, rounded down and written
back to the drive unit with the original values of the
other indices. The program employs the Move Position,
MP, command from the RV-M1 language to move
the arm to the location of the assigned coordinate
values. This program is just a single demonstration of
the added functionality MATLAB can bring to the
RV-M1 and other robotic systems [810].
CONCLUSION
The RV-M1 Movemaster is an excellent educational
robot for students as they learn to program automated
tasks and simulate various manufacturing processes. Students, however, often face great frustration when they work with the QBASIC interface
language in the unfamiliar DOS operating system
common to the RV-M1 platform. The Windowsbased MATLAB program is an alternative interface language that successfully overcomes the
limitations of the QBASIC/DOS environment and
increases the functionality of the RV-M1. This
article presented the necessary steps to introduce
MATLAB as the interface language and the required
procedure to establish serial port communication
between the PC and the drive unit of the RV-M1.
Also presented are detailed examples of the
enhanced capabilities MATLAB brings to the
robotic arm, including the utilization of GUIs and
the simulation of continuous path control. With
greater functionality and flexibility, the RV-M1 more
accurately represents actual manufacturing processes and accomplishes more demanding tasks.
Ultimately, MATLAB equips the instructor with
the ability to create and assign projects that
enhance the student experience with the RV-M1
and gives them greater insight into robotic applications. Miami University will officially introduce
MATLAB as the interface language during the
spring semester of 2006 and will survey students
to assess the efficacy of the change and their
impressions.
BIOGRAPHY
Carter Hamilton is an assistant professor in
the Department of Mechanical and Manufacturing Engineering at Miami University,
Oxford, Ohio. Even though he earned his
PhD from the Georgia Institute of Technology in Metallurgical Engineering, Dr. Hamilton thoroughly enjoys teaching classes in
advanced manufacturing, statistical quality
control, statics, and introduction to engineering and design. He views MATLAB as a
critical tool to young engineers and integrates the program into all
course curricula. His other research interests include friction stir
welding and the development of aluminum alloys.
213
REFERENCES
[1] Mitsubishi Electric Corporation, Industrial MicroRobot System Model RV- M1: Instruction Manual,
Nagoya, Japan, 1991.
[2] Mitsubishi Electric Industrial Automation, Official
Website www.mitsubishi-automation.com, Vernon
Hills, IL, 2005.
[3] Rixan Associates, Inc., Official Website www.
roboticsonline.com, Dayton, OH, 2005.
[4] J. A. Piepmeier, K. A. Knowles, and B. E. Bishop,
The use of MATLAB for robotic control in an
undergraduate robotics laboratory, Comput Educ J 13
(2003), 6875.
[5] S. S. Joshi, Development and implementation of a
MATLAB simulation project for a multidisciplinary
graduate course in autonomous robotics, Comput Appl
Eng Educ 12 (2004), 5464.
[6] K. Erenturk, MATLAB-based GUIs for fuzzy logic
controller design and applications to PMDC motor and
AVR control, Comput Appl Eng Educ 13 (2005),
1025.
[7] L. Zhongming and C. J. Quinn, MATLAB in teaching a
robotics course, Comput Educ J 4 (1994), 5257.
[8] J. N. Pires, Interfacing industrial R&A equipment using
MATLAB, IEEE Robot Autom Mag 7 (2000), 3241.
[9] P. I. Corke, A robotics toolbox for MATLAB, IEEE
Robot Autom Mag 3 (1996), 2432.
[10] A. Breijs, B. Klaasens, and R. Babuska, Automated
design environment for serial industrial manipulators,
Ind Robot 32 (2005), 3234.