An Automatic Posture Planning Software of Arc Robot Based on SolidWorks API

Similar documents
A Comprehensive Introduction to SolidWorks 2011

Path planning and kinematics simulation of surfacing cladding for hot forging die

Operation Trajectory Control of Industrial Robots Based on Motion Simulation

Shape Control of Cubic H-Bézier Curve by Moving Control Point

Keyword: Quadratic Bézier Curve, Bisection Algorithm, Biarc, Biarc Method, Hausdorff Distances, Tolerance Band.

Study on Gear Chamfering Method based on Vision Measurement

Geometric Modeling Systems

Based on the cross section contour surface model reconstruction

Flank Millable Surface Design with Conical and Barrel Tools

Design and Communication Graphics

Virtual Engineering: Model based Off-line Programming Method for Industrial Robot

101. Design and realization of virtual prototype of shotcrete robot based on OpenGL

7 Fractions. Number Sense and Numeration Measurement Geometry and Spatial Sense Patterning and Algebra Data Management and Probability

Properties of a Circle Diagram Source:

Interactive Graphics. Lecture 9: Introduction to Spline Curves. Interactive Graphics Lecture 9: Slide 1

LECTURE #6. Geometric Modelling for Engineering Applications. Geometric modeling for engineering applications

Module 1: Basics of Solids Modeling with SolidWorks

Research on Measuring and Optimization Method of Dynamic Accuracy of CNC Machine Tools

Computergrafik. Matthias Zwicker Universität Bern Herbst 2016

Rational Bezier Curves

Note on Industrial Applications of Hu s Surface Extension Algorithm

A story about Non Uniform Rational B-Splines. E. Shcherbakov

Study on Tool Interference Checking for Complex Surface Machining

Computergrafik. Matthias Zwicker. Herbst 2010

NURBS: Non-Uniform Rational B-Splines AUI Course Denbigh Starkey

Reconstruction of 3D Interacting Solids of Revolution from 2D Orthographic Views

MOTION TRAJECTORY PLANNING AND SIMULATION OF 6- DOF MANIPULATOR ARM ROBOT

Research of Multi-axis NC Machining Method of Cylindrical Cam Based on UG NX

CAGD PACKAGE FOR MATHEMATICA AND ITS USAGE IN THE TEACHING

Bezier Curves. An Introduction. Detlef Reimers

Computer Graphics. Curves and Surfaces. Hermite/Bezier Curves, (B-)Splines, and NURBS. By Ulf Assarsson

ISE 422/ME 478/ISE 522 Robotic Systems

Design considerations

Cmm-based Profile Measuring Method for Unknown Screw Compressor Rotor

Until now we have worked with flat entities such as lines and flat polygons. Fit well with graphics hardware Mathematically simple

OUTLINE. Quadratic Bezier Curves Cubic Bezier Curves

Space Robot Path Planning for Collision Avoidance

Research on time optimal trajectory planning of 7-DOF manipulator based on genetic algorithm

Trajectory planning in Cartesian space

Virtual Interaction System Based on Optical Capture

Intro to Modeling Modeling in 3D

COMPUTER AIDED ENGINEERING DESIGN (BFF2612)

Review 1. Richard Koch. April 23, 2005

Module 1 Session 1 HS. Critical Areas for Traditional Geometry Page 1 of 6

Curves and Surfaces 1

Central issues in modelling

Progressive Surface Modeling Based On 3D Motion Sketch

Fall CSCI 420: Computer Graphics. 4.2 Splines. Hao Li.

PITSCO Math Individualized Prescriptive Lessons (IPLs)

Modeling Body Motion Posture Recognition Using 2D-Skeleton Angle Feature

Parameter Modeling for Single Screw Pump Based On CATIA Secondary Development Platform Heng Fu 1,a, Yanhua Gu 2,b *, Xiaoyu Wang 3,b, Xiu Fang Zhang 4

Geometric Entities for Pilot3D. Copyright 2001 by New Wave Systems, Inc. All Rights Reserved

3D Modeling Parametric Curves & Surfaces

Real-Time 3D Tool Path Generation for Numerical Control

COLLISION-FREE TRAJECTORY PLANNING FOR MANIPULATORS USING GENERALIZED PATTERN SEARCH

GDL Toolbox 2 Reference Manual

Geometry. Cluster: Experiment with transformations in the plane. G.CO.1 G.CO.2. Common Core Institute

ME 115(b): Final Exam, Spring

Dgp _ lecture 2. Curves

Gardener s spline curve

Strategy. Using Strategy 1

Lecture 9: Introduction to Spline Curves

3D Modeling Parametric Curves & Surfaces. Shandong University Spring 2013

Curves. Computer Graphics CSE 167 Lecture 11

Design of three-dimensional photoelectric stylus micro-displacement measuring system

Mathematically, the path or the trajectory of a particle moving in space in described by a function of time.

An introduction to interpolation and splines

BobCAD CAM V25 4 Axis Standard Posted by Al /09/20 22:03

YEAR AT A GLANCE Student Learning Outcomes by Marking Period

Content Standard 1: Numbers, Number Sense, and Computation

Chapter 1. Linear Equations and Straight Lines. 2 of 71. Copyright 2014, 2010, 2007 Pearson Education, Inc.

ME COMPUTER AIDED DESIGN COMPUTER AIDED DESIGN 2 MARKS Q&A

Computer Animation. Rick Parent

MACHINING OF ARCHIMEDEAN SPIRAL BY PARAMETRIC PROGRAMMING

Calypso Construction Features. Construction Features 1

3.3 Interpolation of rotations represented by quaternions

COMPUTER AIDED GEOMETRIC DESIGN. Thomas W. Sederberg

user manual vol. 2: modeling

VALLIAMMAI ENGINEERING COLLEGE

Curves and Surfaces Computer Graphics I Lecture 10

Trajectory Optimization of Composite-pipe Cutting Based on Robot. Harbin , China. Abstract

Off-Line Programming Design of Robots Based on DXF Files Zhaoxin Chen 1,a, Jiming Yi 1,b*, Jun Liu 1,c, Yanfeng Lin 2,3,d

Robots are built to accomplish complex and difficult tasks that require highly non-linear motions.

GEOMETRIC MODELING AND DYNAMIC SIMULATION OF INVOLUTE GEAR BY GENERATING METHOD

Dynamic Balance Design of the Rotating Arc Sensor Based on PSO Algorithm

Unit 1: Area Find the value of the variable(s). If your answer is not an integer, leave it in simplest radical form.

Design and Development of a High Speed Sorting System Based on Machine Vision Guiding

Journal of Chemical and Pharmaceutical Research, 2015, 7(3): Research Article

Cs602-computer graphics MCQS MIDTERM EXAMINATION SOLVED BY ~ LIBRIANSMINE ~

B-Spline and NURBS Surfaces CS 525 Denbigh Starkey. 1. Background 2 2. B-Spline Surfaces 3 3. NURBS Surfaces 8 4. Surfaces of Rotation 9

Quadric Surfaces. Six basic types of quadric surfaces: ellipsoid. cone. elliptic paraboloid. hyperboloid of one sheet. hyperboloid of two sheets

Constructing Blending Surfaces for Two Arbitrary Surfaces

Make geometric constructions. (Formalize and explain processes)

CS559 Computer Graphics Fall 2015

Unit Activity Correlations to Common Core State Standards. Geometry. Table of Contents. Geometry 1 Statistics and Probability 8

Body Mold Setting and Motion Emulation Analysis of Steering Mechanism of Two Power Flow Tracked Vehicle based on CATIA

Offset Triangular Mesh Using the Multiple Normal Vectors of a Vertex

Measuring Lengths The First Fundamental Form

Using Algebraic Geometry to Study the Motions of a Robotic Arm

- number of elements - complement linear, simple quadratic and cubic sequences - exponential sequences and - simple combinations of these

Transcription:

Abstract An Automatic Posture Planning Software of Arc Robot Based on SolidWorks API Junfeng Li, Liangyu Li, Zheng Dong & Dongmei Song Advanced Mechatronics Equipment Technology Tianjin Area Laboratory Tianjin Polytechnic University, Tianjin, 300160, China E-mail: iamvp@163.com An automatic posture planning software is presented in this paper. The main function of this software is posture planning of the welding torch. This software is developed based on the programming platform SolidWorks API. The four components of the software are path generation module, posture generation module, posture adjustment module and date out put module. This software could supplement a posture planning function to ROBOGUIDE. Some planning experiments are executed to prove the validity of the software. Keywords: Arc robot, Off-Line programming software, Posture planning 1. Introduction It is crucial that the path and posture planning function in the off-line program of arc robot. The result of path and posture planning must track the welding seam continually and smoothly. Therefore, the path and posture planning module of welding torch coordinate are a critical parts in the off-line program software. In order to improve the path and posture planning efficiency of arc torch, a program is presented in this paper. It is developed in the API function of SolidWorks. The result of the planning could be used in the off-line program software ROBOGUIDE. With the API programming function, the real curve can be approximated by a B-spline curve, and all of the corresponding data presenting the curve the can be obtained by recursive computation. In SolidWorks 2006, the representation of curves is open-uniform B-spline. For quadratic curves, such as circles, parabolas and hyperbolas, non-uniform non-rational B-spline is adopted. For cubic curves, non-uniform rational B-spline is introduced. In SolidWorks 2006, there are many the parameters that describing the structure and the properties of a B-spline curve. The parameters include a set of control points, the degree of the polynomial, the weight vector, and the knot vector of a B-spline. 2. The main function of path and posture planning module ROBOGUIDE is developed by FANUC a robot company. The main functions of this software are robot modeling, layout planning, the coordinate of robot inputting and outputting, the work process simulating, and communicating with FANUC robot. But the ROBOGUIDE can t generate the path points and postures of complicated space curve automatically. Therefore the practicability of this software is greatly weakened. As the data file of path and posture in ROBOGUIDE could be read freely, the problem above could be solved by the developing a path and posture automatic generating software for ROBOGUIDE. The main functions of this software are: 1) Extract the path information which generated by three-dimensional CAD software, and then generate the in formation of path points. 2) Plan the postures of welding torch coordinate according to the actual situation. 3) Show the results of planned welding torch coordinate system in three-dimensional CAD software. Judge and modify the planning results artificially. 4) Generate the path and posture file according to the format of ROBOGUIDE. The SolidWorks is a kind of CAD software; the three-dimensional shape could be drawn by it. It has re-exploit function that could be used in generate the data of path and posture planning result automatically. And the drawing operation of 121

Vol. 3, No. 7 Modern Applied Science this software is convenience. The information such as structural curve and intersecting curve of the 3-D shape could be obtained in IGES file. So the SolidWorks is chosen to exploit the path and posture software. The operation process of the path and posture software is follows: 3. Realizations of each module functions At first the panel of these functional modules should be determined according to the functions of each module; then these functional modules should be programmed according to flowchart plan and program function. The function modules of this software are: Path points generating module, posture generating module, posture adjusting module, data output module 3.1 Path points generating module Because of the complexity and dynamicity of spatial path curves of welding seam, the data of the spatial curves couldn t be expressed by a certain formula. The IGES graphics standard could provide the data of the curve by a universal formula. The IGES standard data file of 3-D drawing could be obtained from the SolidWorks. At first, work piece is drawn; then the path curve for welding would be picked up and saved as igs file format. The file could be loaded in path points generating module. The data file will be read by program; the program could calculate the path points automatically according to the type of the curve. There are three entity types could represents the welding path in the SolidWorks, straight-line portion, arc and rational b-spline curve. The type of the curve must be chosen before the program calculating; and the number of path points is inputted. Generally the more point is calculated out by program, the more accurate the expression of curve will be. But the excessive path points will increase workload for off-line programming software at follow step work. So it is very important to choose the suitable quantities points in program according to the size and shape of model. Then the data of path points will be generated automatically by computer program. The expression of straight-line is: 110,X1,Y1,Z1,X2,Y2,Z2; in the expression the data could express the two ending points of line. The expression of arc is 100, ZT, X1, Y1, X2, Y2, X1, Y1; these data must be combined with another entity to express the space arc. The conversion matrix entity is used to describe the posture of the arc in the space. x x x R R R T x x x 1 2 m 11 12 13 1 1 2 3 y 1 y 2 y m R21 R22 R23 T 2 y1 y2 y 3 = z 1 z 2 z m R31 R32 R33 T 3 zt zt z T 1 1 1 0 0 0 1 1 1 1 The rational b-spline curve is the complex entity in all three entities. It expression is:126,k,m,prop1,prop2,prop3,prop4,t(-m)-t(n+m),w(0)-w(k),x0,y0,z0-xk,ykzk,v(0),v(1),xnorm,yn ORM,ZNORM. (2) n wpb k k k, d( u) k = 0 Pu ( ) = u n min u u wb ( u) k = 0 k k, d max Where p k is the coordinate of the k th control point, and w k is the corresponding weight factor of the k th control point. Values of umin and umax are the minimum value, and the maximum of the knot vector respectively. In general, umin is set to 0, and u max is set to 1. The value of parameter d is 2 for lines, 3 for quadratic curves, and 4 for cubic curves. Bkd, ( u ) is the blending function defined as: (1) B k,1 1, if uk u u ( u) = 0, otherwise k+ 1 u u u u B ( u) = B ( u) + B ( u) k k+ d kd, kd, 1 kd, 1 uk+ d 1 uk uk+ d uk+ 1 Where u j is the j th knot value in the knot vector which is a monotonic decreasing sequence? The software could be programmed according to the expression above, (3) (4) 122

3.2 posture generating module The major function of this module is calculating the posture of the corresponding welding torch coordinate with data of path points from the path points generating module. Then the data of posture will be inputted in the posture file. The data is expressed in two type posture expression format, the WPR expression and directional cosine expression. The general theory of welding torch coordinates calculating is below. Each path points tangential direction is used to represent the moving direction of the welding torch. Then rectify the posture and position of the originality welding torch coordinate in the world coordinate frame. The row and pitch angles of the torch coordinate revolving could be worked out. The originality torch coordinate frame is changed to torch coordinate frame 1. At last the coordinate frame 1 is rotated about x axis of itself with an applicable angle, then the torch coordinate frame 1 is changed into aim torch coordinate frame. Through the change steps above the torch coordinate above could be obtained. Before the program calculation, the value of rotation angle of starting and ending welding point would be input; the program will automatically calculate a series of gradual rotation angle between first and last points; finally, the data could be worked out and the posture data would be outputted. After the program calculation, function of graphics is used to display the planning result in SolidWorks panel. It also could display the serial number of each welding torch coordinate. The operator could use this information to estimate the planning result, and make a decision whether need to use the posture adjusting module. The direction of torch x axis in straight-line is the vector of two ending points. The x axis direction of arc entity and rational b-spline curve is the tangent direction of corresponding point. The tangent direction of arc could be counted through the expression below: ox 0 1 0 nx o y 1 0 0 n = y o z 0 0 1 n z It expresses the fact that the tangent direction of corresponding points is uprightness with the vector direction between the centre of a circle and itself. In the condition of rational b-spline curve, the tangent direction could be obtained by solve the derivative of the expression. pik, = f1( u) pi+ f2( u) pi+ 1+ f3( u) pi+ 2 (6) pik, = f1'( u) pi+ f2'( u) pi+ 1+ f3'( u) pi+ 2 (7) The expression of original frame turn to frame 1 is: T1 = Rot(, z R) Rot(, y PT ) (8) The aim frame could be obtained by the expression below: Ttorch = Rot(, z R) Rot(, y P) TRot( x ', θ ) (9) 3.3 posture adjusting module After the operation above, the first planning information could be shown; the users could judge the feasibility of scheme according to the experience and practical situation of welding work pieces. If there is some posture of welding point is not suitable; users could input the starting and ending serial number and the new posture of these points into this module. The new posture also could display in SolidWorks. This step could be used repeatedly, until the planning result could satisfy the practice demand. Table 1 shows the tolerance of the sample points on the saddle s seam shown in Fig.3. X, Y and Z are the coordinates calculated by this method; w, p, r are the used to describe the posture of torch frame. 3.4 data output module The main function of the data output module is output the planning result to the ROBOGUIDE. The planning result obtained through the step above, could be used in some off-line program, such as RBOBGUIDE. But the user must input the data manually, so that the work efficiency could be reduced seriously. Because path record files *.layout and *.ini of ROBOGUIDE could be read and written freely. This module could change data of planning result to the data format of ROBOGUIDE. 4. Experimental Results Following the work above, any space curve of the work piece could be worked out. The pictures below are some examples of the planning result. The work piece in fig.4-(a) shows three intersecting pipes; one pipe intersects vertically with main pipe and another pipe intersects obliquely with main pipe. The main difficulty of this planning work is the (5) 123

Vol. 3, No. 7 Modern Applied Science small room where three pipes intersected, so coordinate rotation angle of these path points through area round this point should be adjusted. Fig4-(b) shows that the planning path is made up of two semi-circle arcs and two straight-line portions. The welding path is plane curve. The main difficulty is that the welding torch must avoid to colliding the outline of model. The fig.4 -(c) displays a complexity work piece; this model is found in a SolidWorks textbook. It has all kinds space curve such as straight-line portion, arc and rational b-spline curve in the program, includes the cylinder intersecting with cylinder, cylinder intersecting with sphere, plane intersecting with cylinder, plane intersecting with sphere. Further more it must considering that welding torch need to keep off pedestal of main body between joint and cylinder. Fig.4-(d) show normal structure in pipes that pipe welding on flange and welding path be a circle. 5. Conclusions This paper has presented a practical CAD-based path automatic generation method for welding robots, which is based on the B-spline approximation of the welding seam. With this method, planar seams, as well as 3D seams, especially the intersection of two free-form surfaces can be extracted. With this method, the quality, the flexibility and the productivity of the welding robots can be increased. With this method, the complexity of robot programming, the time used to programming would be reduced. It also enhanced the capacity of welding robot. Those irregular shaped and contoured parts can be welded. In addition, this method also suits for many other robot applications, such as painting robot, and grasping robot. 1) A VBA program is programmed in the SolidWorks API. The main function of this software is planning the path and posture of welding torch automatically. Some typical work pieces are used in the experimental simulation to prove the validity of this method. 2)The defects of this software are that the automation level of software is still low because the path points on the work piece must be picked up manually; and for most complex space curve, one time in program calculation only could calculate the data of one entity curve, it will increase the complexity and discontinuity. These short points could be overcome in future. References Berger, U, Lepratti, R., May, M. (2005). An approach for the automatic generation of robot paths from CAD-Data. Emerging Technologies and Factory Automation 10 th IEEE Conference, 2005. Ding, Han, Huang, Lonlin, Xiong, Youlun. (1991). Computer-aided off-line planning of robot motion. Robotics and Autonomous Systems, 1991, 7(4):67-72. GB/T 14213-93, Initial Graphics Exchange Specification. General Administration of Technology Supervision of the People s Republic of China,1993 Heng, Shengjie. (2006). Information. SolidWorks 2006 from proficiency to accidence. Beijing: E-China Youth Press,2006-9 Li, xiang. (2006). Research of off-line programming system of arc robot based on ROBOGUIDE[D]. Tianjin Polytechnic University. Liu, Yong, Wang, Kehong, Du, Shanshan, (2002). The Study of Geometric Model of Typed Workpiece Welded in Robot. MACHINE BUILDING & AUTOMATION, 2002, 2, 23-27. Prof..J D Lane. (1987). International trend in manufacturing technology. Robotic Welding, 1987: P5. Wang, Kehong, Liu, Yong, Yu, Jin, (2003). Study of geometric model and attitude of typical workpiece welded in robot. ELECTRIC WELDING MACHINE, 2003,33 (06),29-33. Zhang, Quanhuo, Zhang, Jianda, (2003). Computer Graphics. Bei Jing:, China Machine Press, 2003-8-1. Table 1. the data of planning results of two cylinders n x/mm y/mm z/mm w p r 0 30 0 40 63.5 0 0 0 90 0 10 29.87 8.01 40.10 61.65 0 3.59 0 85.25 0 20 28.91 12.43 40.80 59.8 0 9.63 0 75.93 0 50 22.59 19.84 44.63 54.25 0 16.62 0 45.03 0 90 6.45 29.29 49.58 46.85 0 6.28 0 10.84 0 124

Figure 1. the space curve obtained from SolidWorks Figure 2. the functions of the automatic posture planning software (a) the planning result of two cylinders 125

Vol. 3, No. 7 Modern Applied Science (b) the welding process simulation in ROBOGUIDE (c) the fact welding experiment Figure 3. the planning result and simulation (a) three cylinders in one work piece (b) a work piece of racetrack shape 126

(c) a complexity work piece (d) the cylinder and flange Figure 4. the planning results of some complexity work piece 127