Printer Friendly

Interpolation Algorithm and Mathematical Model in Automated Welding of Saddle-Shaped Weld.

1. Introduction

In the production of pressure vessels, the welding problem between the cylinder and the pipe is often encountered, and sometimes a pressure vessel needs to weld dozens or even hundreds of pipes. In the project, the intersecting line, called the three-dimensional standard saddle-shaped weld, is formed by the combination of two orthogonal cylinders. Also, according to the different groove form, the multilayer continuous welding is required [1, 2]. Saddle-shaped weld is a complex space curve. In order to complete the welding work of the saddle seam, manual welding operation is still widely adopted. However, by doing this the welding quality and efficiency requirements are uncertain. Thus, the automation of the welding process is greatly significant.

With the development of automatic welding system, obvious progress has been made in recent years. According to the welding process of saddle seam, there are two ways to build the automated welding system. One is to equip welding robots in their welding system; the other is to develop specially designed automated welding system. One of the most promising ways is to adopt proper curve interpolation algorithm in automated welding system [3]. Huo et al. [4] presented a real-time interpolation algorithm, which fits the intersecting curve with step-controllable segments. Ren et al. [5] established a geometrical model of the interpolation pipe's weld seam and integrated the posture of the welding torch. Zhiming et al. [6] presented a real-time interpolation algorithm for NURBS curves; the proposed interpolator can maintain small contour errors and feed rate fluctuations. Real-time nonuniform rational B-spline interpolation algorithms were also introduced [7-9]. Tam et al. [10] proposed an algorithm for the interpolation of hybrid curves, based on interpolation of the projection of the hybrid curve into the parametric domain. Srijuntongsiri [11] proposed a new iterative hybrid algorithm to detect all intersections in the domain for nondegenerate and non-ill-posed cases. Direct interpolation algorithms [12, 13] do not have satisfied linear velocity control ability because welding quality is very sensitive. Only interpolation algorithm with ideal trajectory precision and linear velocity control ability can meet requirements of welding.

In this paper, a spatial interpolation algorithm for the saddle-shaped curve is proposed by using the variable angle interpolation control method for the interpolation stepping angle and establishes welding torch pose model and trajectory model based on space analytic geometry. Simulation of the interpolation algorithm has been carried out to verify the correctness of the proposed algorithm and mathematical model. It demonstrates that algorithm has high trajectory precision and the mathematical model meets the requirements of welding.

2. Working Principle of Welding Machine

In this paper, the typical saddle-shaped weld is formed by the combination of two orthogonal cylinders and the pipe is taken as an example to illustrate the working principle of the saddle-shaped welding system, as shown in Figure 1. The coordinate system O-xyz is established by the intersection of the cylinder and the axis of the pipe, selecting the saddle-shaped weld left side of the highest point A as the starting point of welding. The x- and y-axis two directions are driven by the entire welding system to achieve rotary motion. The z-axis direction is driven by the torch to achieve up and down reciprocating motion, which is also as a compensation movement to achieve saddle drop compensation. At the same time, the upper and lower movement of the output end are installed with angle adjustment mechanism; the welding torch is adjusted in real time with the rotary motion.

According to the characteristic that this kind of weld joint in the horizontal xOy surface is round, based on the two-dimensional plane circular interpolation algorithm, the interpolation of saddle space weld can be decomposed into two two-dimensional interpolations [4]. The first interpolation is the z-axis vertical direction interpolation, and the second interpolation is an interpolation of horizontal rotation angel [14, 15].

3. Research of Saddle-Shaped Weld Interpolation Algorithm

Given that the radius of the cylinder is R and the radius of the pipe is r, the projection of the saddle-shaped weld in the xOy plane is shown as in Figure 2, d being the angle parameter that can uniquely determine the pose of the point on the saddle-shaped space curve.

3.1. The Circular Interpolation. Let point [P.sub.i]([x.sub.i], [y.sub.i]) and [P.sub.i+1]([x.sub.i+1], [y.sub.i+1]) be the current and next interpolation point on the saddle weld and the angle of the x-axis, respectively; [[theta].sub.i] and [[theta].sub.i+1] be the angles between the two points for the [DELTA][theta], [[theta].sub.i+1] = [[theta].sub.i] + [DELTA][theta], and the coordinates of the [P.sub.i] point are

[x.sub.i] = r sin [[theta].sub.i] [y.sub.i] = r cos [[theta].sub.i]. (1)

So the coordinates of [P.sub.i+1] can be expressed as

[mathematical expression not reproducible]. (2)

When [[theta].sub.i+1] [less than or equal to] 2[pi], then continue interpolating; when [[theta].sub.i+1] > 2[pi], to amend the last step [DELTA][theta], there will be an interpolation stepping [DELTA][theta]'; then, [DELTA][theta]' = 2[pi] - [[theta].sub.i].

So the new position of the interpolation point projected in the xOy plane can be expressed as

[mathematical expression not reproducible], (3)

where [[theta].sub.i] is the current angle, [[theta].sub.i+1] is the angle of the next point, and [DELTA][theta] is the added value of the angle.

Based on the principle of space analytic geometry, we have

[mathematical expression not reproducible]. (4)

To solve (4),

[y.sup.2] - [z.sup.2] = [r.sup.2] + [R.sup.2], (5)

z = [square root of [R.sup.2] - [r.sup.2] + [y.sup.2]]. (6)

From (3) and (6), we also have

[mathematical expression not reproducible], (7)

3.2. Welding Torch Posture Interpolation. Choose a point in the saddle-shaped weld; dihedral angle of the point on saddle weld is the angle between the cylinder's tangent plane through this point and the pipe's tangent plane. Dihedral angle is not equal at different points on saddle weld. Therefore, [beta] is the dihedral angle of point Q on saddle weld (Figure 3). As can be seen from Figure 3, the diagonal angle at the starting point A is [pi]/2 and the initial pose angle is [phi] (regular angle of welding torch's pose).

Based on the principle of space analytic geometry, the equations of the cylinder and the pipes are given as

[mathematical expression not reproducible]. (8)

Then the normal vectors [[??].sub.1] and [[??].sub.2] at point Q are defined as

[mathematical expression not reproducible]. (9)

Geometry is defined as

[mathematical expression not reproducible]. (10)

From (3) and (10), we have

[mathematical expression not reproducible]. (11)

It can be seen from Figure 3 that although dihedral angles of point on saddle weld differ from each other, they all have certain relationship with pose angle. As the rotation axis rotates from point A to point Q, the dihedral angle changes from the original [pi]/2 to [beta], and pose angle is supposed to change [pi]/2 - [beta] in order to meet pose angle requirements. So expression of dihedral angle is as follows: [delta] = [pi]/2 - [beta] + [phi].

Put formula (11) into it; then

[mathematical expression not reproducible]. (12)

After the rotation angle changes [DELTA][theta] from [[theta].sub.i] to [[theta].sub.i+1], according to (3), (7) and (12) can calculate the coordinates of the new interpolation point [P.sub.i+1] (x, y, z, [[theta].sub.i+1], [delta]). Selecting the appropriate [DELTA][theta], one can obtain interpolation saddle weld by providing the cylinder and the pipe radius R, r, welding torch starting pose angle [phi].

3.3. Control Law of Variable Angle [DELTA][theta]. The control of the interpolation stepping angle [DELTA][theta] is divided into equal angle interpolation and variable angle interpolation. Equal angle interpolation mode is to keep the stepping angle [DELTA][theta] constant, and actual welding linear velocity of welding torch is not constant, affecting the quality of welding. Variable angle interpolation is to make every step interpolation stepping angle [DELTA][theta] with [theta] to make a change. In the [DELTA]T fixed conditions, welding linear velocity is constant and each step of the interpolation stepping-length will be equal, to ensure the welding of high quality.

Select a point Q on the saddle-shaped weld; according to kinematics principle, linear velocity direction of the point Q is direction vector of intersection line of two intersection's tangent planes at point Q (Figure 5). Suppose linear velocity of welding torch is V, interpolation cycle is [DELTA]T, and the angle between the z-axis and linear velocity is a (shown in Figure 4).

As can be seen from Figure 4,

r x [DELTA][theta] = v x [DELTA]T x sin [alpha] (13)

[DELTA][theta] = [v x [DELTA]T x sin [alpha]]/r]. (14)

Set the coordinates of the Q point Q ([x.sub.q], [y.sub.q], [z.sub.q]).

The tangent plane equation of the cylinder at the point Q is expressed as

[x.sub.q] x (x - [x.sub.q]) + [z.sub.q] - (z - [z.sub.q]) = 0. (15)

And then

[x.sub.q] x x + [z.sub.q] x Z = [x.sup.2.sub.q] + [x.sup.2.sub.q] = [R.sup.2]. (16)

Similarly the tangent plane equation of the pipe at the point Q is expressed as

[x.sub.q] x x + [y.sub.q] x y = [x.sup.2.sub.q] + [y.sup.2.sub.q] = [r.sup.2]. (17)

Equations of intersection line of two tangent plans are

[mathematical expression not reproducible]. (18)

The two points Q ([x.sub.q], [y.sub.q], [z.sub.q]) and (0, [r.sup.2]/[y.sub.q], [R.sup.2]/[Z.sub.q]) are on the intersection line of two tangent planes, and the direction vector of the tangent line equation is calculated as

[mathematical expression not reproducible]. (19)

The direction vector of the z-axis is [[??].sub.4] = (0, 0, 1); one can get following equation:

[mathematical expression not reproducible]. (20)

Then

[mathematical expression not reproducible]. (21)

And because of the Q point in the saddle-shaped space curve, according to (3), we have

[mathematical expression not reproducible]. (22)

Substituting (22) into (21),

[mathematical expression not reproducible]. (23)

Substituting (23) into (14),

[mathematical expression not reproducible]. (24)

From (24), interpolation step angle [DELTA][theta] changes in real time with the change of [[theta].sub.i] to ensure that practical linear velocity of the welding torch is kept constant so as to meet the requirement of the welding process.

4. Simulation Results

In order to verify the correctness of the mathematical model and algorithm, using programming takes simulation experiment, taking orthogonal saddle welding, for example, assume that practical welding parameters are as follows: the radius of cylinder R = 600 mm, the radius of pipe r = 150 mm, the starting pose angle = [pi]/4, and [DELTA]T = 0.004 s. MATLAB simulation results are shown in Figures 6-11. The interpolation data of [theta] and (x, y, z, [delta]) by algorithm are shown in Table 1.

5. Welding Experiment

According to the welding process of the saddle weld, the main parameters of the welding experiment are listed in Table 2. The photograph of the saddle seam surface is shown in Figures 12 and 13.

Correct saddle seam is reflected in the photos, which verify the feasibility of the interpolation algorithm.

6. Conclusions

According to the welding technology of saddle seam, the working principle of auto-welding machine for saddle-shaped weld is proposed, and the mathematical model and interpolation algorithm of saddle-shaped weld are established.

The interpolation algorithm can well meet the technical requirement of automatic welding and can achieve trajectory control of welding of saddle-shaped weld and can also achieve control of welding torch's pose, to ensure better welding conditions.

A variable angle interpolation method is used for real-time change interpolation stepping angle and to guarantee that practical linear velocity of the welding torch is kept constant and improve the quality of the weld seam.

https://doi.org/10.1155/2018/8045162

Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this paper.

Acknowledgments

This research was supported by Xinjiang Production and Construction Corps Science and Technology Research and Achievement Transformation Project under Grant no. 2016AB004.

References

[1] D. Tiequn, M. Fanrong, and S. Guanyuan, "Kinematic simulation on large cylinder saddle automatic welding machine base on ADAMS," in Welding & Joining, pp. 64-66, 2008.

[2] Hong Feng Wang, A Spreading Algorithm of an Intersecting Line. Computer Development & Applications, PP. 59-62, 2009.

[3] X. Tian, X. Yi, and H. Chang, "Interpolation of saddle-shaped trajectory in non-Cartesian coordinate system," Advanced Science Letters, vol. 19, no. 7, pp. 1927-1930, 2013.

[4] M.-Y. Huo, X.-G. Wang, and P. Yin, "Real-time interpolation algorithm and simulation of seam of intersection line for automatic welding," Hanjie Xuebao/Transactions of the China Welding Institution, vol. 27, no. 11, pp. 37-40, 2006.

[5] F. Ren, S. Chen, S. Yin, and X. Guan, "Modeling on weld position and welding torch pose in welding of intersected pipes," Hanjie Xuebao/Transactions of the China Welding Institution, vol. 29, no. 11, pp. 33-36, 2008.

[6] X. Zhiming, C. Jincheng, and F. Zhengjin, "Performance evaluation of a real-time interpolation algorithm for NURBS curves," The International Journal of Advanced Manufacturing Technology, vol. 20, no. 4, pp. 270-276, 2002.

[7] W. T. Lei, M. P. Sung, L. Y. Lin, and J. J. Huang, "Fast real-time NURBS path interpolation for CNC machine tools," International Journal of Machine Tools & Manufacture, vol. 47, no. 10, pp. 1530-1541, 2007.

[8] H. Dong, B. Chen, Y. Chen, J. Xie, and Z. Zhou, "An accurate NURBS curve interpolation algorithm with short spline interpolation capacity," The International Journal of Advanced Manufacturing Technology, vol. 63, no. 9-12, pp. 1257-1270, 2012.

[9] S.-I. Gofuku, S. Tamura, and T. Maekawa, "Point-tangent/point-normal B-spline curve interpolation by geometric algorithms," Computer-Aided Design, vol. 41, no. 6, pp. 412-422, 2009.

[10] H.-Y. Tam, H. Xu, and P. W. Tse, "An algorithm for the interpolation of hybrid curves," Computer-Aided Design, vol. 35, no. 3, pp. 267-277, 2003.

[11] G. Srijuntongsiri, "An iterative/subdivision hybrid algorithm for curve/curve intersection," The Visual Computer, vol. 27, no. 5, pp. 365-371, 2011.

[12] H. Qi, X. Tian, X. Zhang, and B. Peng, "Interpolation algorithm for saddle-shaped curve auto-welding based on angle approaching," Hanjie Xuebao/Transactions of the China Welding Institution, vol. 28, no. 3, pp. 93-96, 2007.

[13] L. Yan, T. Xincheng, X. Qing, and P. Bo. Four-axis interpolation, "algorithm for saddle-shaped curve automated welding," in P.Bo. Four-axis interpolation algorithm for saddle-shaped curve automated welding. Transactions of the China Welding Institution, vol. 30, pp. 81-84, Transactions of the China Welding Institution, 2009.

[14] D. Weimin, G. Gmmbin, and S. Dongming, "Study on the errors and real-time of interpolation methods," Machine Building & Automation, pp. 18-21, 2006.

[15] Y. Changlong, L. Lix, and Z. Yonghui, "Simulation of welding intersecting cylinders line for welding robot," Journal of Shen Yang University of Technology, vol. Vol, no. 05, pp. 426-429, 2003.

Lianghao Xue (ID), Min Wei (ID), Tao Yang, Yongxin Lu, Ningqiang Shi, and Zhiyang Zhang

Mechanical and Electrical Engineering College, Shihezi University, Shihezi 832000, China

Correspondence should be addressed to Min Wei; 1448237074@qq.com

Received 25 October 2017; Accepted 14 January 2018; Published 1 March 2018

Academic Editor: Ricardo Perera

Caption: Figure 1: Saddle weld and the reference frame configuration.

Caption: Figure 2: The circular interpolation diagram.

Caption: Figure 3: Relation diagram between dihedral angle and pose angle.

Caption: Figure 4: The schematic diagram of linear velocity.

Caption: Figure 5: Linear velocity direction.

Caption: Figure 6: Simulation result of the trajectory interpolation algorithm.

Caption: Figure 7: Simulation figure of the relation between rotation angle and pose angle.

Caption: Figure 8: Simulation figure of the relationship between rotation angle and x-axis coordinate value.

Caption: Figure 9: Simulation figure of the relationship between rotation angle and y-axis coordinate value.

Caption: Figure 10: Simulation figure of the relationship between rotation angle and z-axis coordinate value.

Caption: Figure 11: Relationship between rotation angle and interpolation step-length.

Caption: Figure 12: Photograph of the saddle seam surface.

Caption: Figure 13: Photograph of the saddle seam surface.
Table 1: The interpolation data.

Interpolation    Rotation     Coordinate    Coordinate
times             angle        of x x/mm     of y y/mm
                [theta]/rad

(1)               0.0000        0.0000       150.0000
(2)               0.1571        23.4652      148.1533
(3)               0.3142        46.3525      142.6585
(4)               0.4712        68.0986      133.6510
(5)               0.6283        88.1678      121.3525
(6)               0.7854       106.0660      106.0660
(7)               0.9425       121.3525       88.1678
(8)               1.0996       133.6510       68.0986
(9)               1.2566       142.6585       46.3525
(10)              1.4137       148.1533       23.4652
(11)              1.5708       150.0000       0.0000
(12)              1.7279       148.1533      -23.4652
(13)              1.8850       142.6585      -46.3525
(14)              2.0420       133.6510      -68.0986
(15)              2.1991       121.3525      -88.1678
(16)              2.3562       106.0660      -106.0660
(17)              2.5133        88.1678      -121.3525
(18)              2.6704        68.0986      -133.6510
(19)              2.8274        46.3525      -142.6585
(20)              2.9845        23.4652      -148.1533
(21)              3.1416        0.0000       -150.0000
(22)              3.2987       -23.4652      -148.1533
(23)              3.4558       -46.3525      -142.6585
(24)              3.6128       -68.0986      -133.6510
(25)              3.7699       -88.1678      -121.3525
(26)              3.9270       -106.0660     -106.0660
(27)              4.0841       -121.3525     -88.1678
(28)              4.2412       -133.6510     -68.0986
(29)              4.3982       -142.6585     -46.3525
(30)              4.5553       -148.1533     -23.4652
(31)              4.7124       -150.0000      0.0000
(32)              4.8695       -148.1533      23.4652
(33)              5.0265       -142.6585      46.3525
(34)              5.1836       -133.6510      68.0986
(35)              5.3407       -121.3525      88.1678
(36)              5.4978       -106.0660     106.0660
(37)              5.6549       -88.1678      121.3525
(38)              5.8119       -68.0986      133.6510
(39)              5.9690       -46.3525      142.6585
(40)              6.1261       -23.4652      148.1533
(41)              6.2832        0.0000       150.0000

Interpolation   Coordinate    Pose angle of
times           of z z/mm    torch [delta]/mm

(1)              600.0000         0.7854
(2)              599.5410         0.7915
(3)              598.2069         0.8093
(4)              596.1230         0.8369
(5)              593.4867         0.8719
(6)              590.5506         0.9107
(7)              587.5998         0.9498
(8)              584.9251         0.9852
(9)              582.7938         1.0135
(10)             581.4212         1.0318
(11)             580.9475         1.0381
(12)             581.4212         1.0318
(13)             582.7938         1.0135
(14)             584.9251         0.9852
(15)             587.5998         0.9498
(16)             590.5506         0.9107
(17)             593.4867         0.8719
(18)             596.1230         0.8369
(19)             598.2069         0.8093
(20)             599.5410         0.7915
(21)             600.0000         0.7854
(22)             599.5410         0.7915
(23)             598.2069         0.8093
(24)             596.1230         0.8369
(25)             593.4867         0.8719
(26)             590.5506         0.9107
(27)             587.5998         0.9498
(28)             584.9251         0.9852
(29)             582.7938         1.0135
(30)             581.4212         1.0318
(31)             580.9475         1.0381
(32)             581.4212         1.0318
(33)             582.7938         1.0135
(34)             584.9251         0.9852
(35)             587.5998         0.9498
(36)             590.5506         0.9107
(37)             593.4867         0.8719
(38)             596.1230         0.8369
(39)             598.2069         0.8093
(40)             599.5410         0.7915
(41)             600.0000         0.7854

Table 2: Welding experiment parameters.

Parameter                  Value

Radius of cylinder         600 mm
Radius of branch pipe      150 mm
Welding type                GMAW
Welding current            230 A
Arc voltage                25.3V
Welding speed            80 mm/min
Wire feed rate            6 m/min
Wire diameter              1.2 mm
Pose angle              25 [degrees]
Wire extension             12 mm
COPYRIGHT 2018 Hindawi Limited
No portion of this article can be reproduced without the express written permission from the copyright holder.
Copyright 2018 Gale, Cengage Learning. All rights reserved.

Article Details
Printer friendly Cite/link Email Feedback
Title Annotation:Research Article
Author:Xue, Lianghao; Wei, Min; Yang, Tao; Lu, Yongxin; Shi, Ningqiang; Zhang, Zhiyang
Publication:Modelling and Simulation in Engineering
Article Type:Report
Date:Jan 1, 2018
Words:3294
Previous Article:Qualitative Reasoning for Quantitative Simulation.
Next Article:Performance Comparison of Mode Choice Optimization Algorithm with Simulated Discrete Choice Modeling.
Topics:

Terms of use | Privacy policy | Copyright © 2020 Farlex, Inc. | Feedback | For webmasters