Next Article in Journal
A Differential Reflective Intensity Optical Fiber Angular Displacement Sensor
Previous Article in Journal
Finite Element Modelling of a Field-Sensed Magnetic Suspended System for Accurate Proximity Measurement Based on a Sensor Fusion Algorithm with Unscented Kalman Filter
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Real-Time Measurement of Width and Height of Weld Beads in GMAW Processes

by
Jesús Emilio Pinto-Lopera
1,
José Mauricio S. T. Motta
2 and
Sadek Crisostomo Absi Alfaro
2,*
1
Universidad Católica de Manizales, Facultad de Ingeniería y Arquitectura, Unidad Académica de Ciencias Naturales y Matemáticas, Manizales 170001, Colombia
2
Automation and Control Group in Manufacturing Processes—GRACO, Department of Mechanical Engineering, University of Brasilia, Brasilia DF 7191090, Brazil
*
Author to whom correspondence should be addressed.
Sensors 2016, 16(9), 1500; https://doi.org/10.3390/s16091500
Submission received: 15 June 2016 / Revised: 7 July 2016 / Accepted: 25 July 2016 / Published: 15 September 2016
(This article belongs to the Section Physical Sensors)

Abstract

:
Associated to the weld quality, the weld bead geometry is one of the most important parameters in welding processes. It is a significant requirement in a welding project, especially in automatic welding systems where a specific width, height, or penetration of weld bead is needed. This paper presents a novel technique for real-time measuring of the width and height of weld beads in gas metal arc welding (GMAW) using a single high-speed camera and a long-pass optical filter in a passive vision system. The measuring method is based on digital image processing techniques and the image calibration process is based on projective transformations. The measurement process takes less than 3 milliseconds per image, which allows a transfer rate of more than 300 frames per second. The proposed methodology can be used in any metal transfer mode of a gas metal arc welding process and does not have occlusion problems. The responses of the measurement system, presented here, are in a good agreement with off-line data collected by a common laser-based 3D scanner. Each measurement is compare using a statistical Welch’s t-test of the null hypothesis, which, in any case, does not exceed the threshold of significance level α = 0.01, validating the results and the performance of the proposed vision system.

1. Introduction

The gas metal arc welding (GMAW) process is widely used in industry due to its ease of automation and high productivity. This process uses a continuously-fed consumable metal wire electrode, and all commercially important metals can be welded in all positions by choosing appropriate welding process variables, such as wire feed rate and voltage, and consumables, such as shielding gas and electrodes. In general, the process variables must be set properly to attain a weld bead with the required appearance and quality. A good approach to achieve better welding parameters, and thus better weld beads, is relating the process response directly to different input variables through a control system. In the case of feedback control of the weld bead geometry, the monitoring of variables of interest—for example, width and height—is necessary.
A common method to monitor geometric variables in GMAW processes is the indirect mode, by using a mathematical model to relate the geometric parameters to another process variable that is easier to measure, such as current or voltage [1,2]. For example, penetration is an internal parameter and, in general, it is estimated by indirect methods [3,4]. Despite the fact that direct measurement approaches such as ultrasound [5] and computerized radiographic [6] exhibit good results, these methods are difficult to perform in a welding process. Indirect measurement approaches are useful when direct measurement is not possible, but they increase the error in the monitoring process and can only be used in the same conditions as those in which the modeling development was conceived. On the other hand, computer vision systems are used to directly measure, online, the external geometric parameters of the weld bead. The main problem with these systems is the unfavorable visualization of the weld pool due to the strong radiation generated from the electric arc in the welding process. For this reason, and in order to reduce the problem, two approaches are employed: systems based on structured light and systems based on optical filters. In each case, two different techniques are used to measure variables of interest. In structured light systems, a single laser-stripe can be projected directly onto the weld bead [7,8,9,10,11]; these systems are easily implemented, they can reconstruct the weld bead surface, and show good results, but they have a significant spatial delay with respect to the weld bead formation, causing complications in real-time control systems. Alternatively, structured laser-light pattern systems, such as parallel stripes [12], grids [13], and dot-matrix projections [14] are used. These systems project the laser patterns directly onto the weld pool and employ the specular reflection of the laser-light to describe the weld bead formation. Structured light patterns provide meaningful information about the geometric parameters, but in practice they are restricted to the gas tungsten arc welding (GTAW) process, because the reflected pattern is very affected by fluctuations of the weld pool surface, which are common in welding processes with metal transfer such as in GMAW.
In the case of systems based on optical filters, active or passive vision systems can be found. Active systems employ an external illumination source and optical band-pass filters, with a narrow bandwidth according to the light-source [15,16]. In general, infrared laser is used as an illumination source based on its lower noise level with respect to the visible spectrum and the electric arc. These systems acquire weld pool images with high quality, especially in GTAW processes, but they are not commonly used in control processes because of their additional costs and complexity. On the other hand, passive systems do not use external illumination. The use of optical filters and the existence of radiation from the arc and the weld pool are sufficient to extract geometrical features from the images. Although the captured images from the weld pool with active vision systems are more detailed, in passive vision the high contrast between the weld pool and the other objects in the scene is in favor of suitable results from measurements and seam tracking processes [17,18].
Concerning the methodologies for measuring external geometric parameters in GMAW processes, such as width and height of the weld beads, top-view images from the weld bead are commonly captured for measuring width [17,18]. When measuring the weld bead height, cameras with a side-view of the workpiece and optical axis parallel to the workpiece surface are used. Two cameras are thus needed to monitor both width and height parameters [19]. The employment of a single camera for measuring the width and height at the same time is presented by Zhang et al. [20], who achieved a 3D model reconstruction of the weld pool in pulsed GMAW. They used the camera sensor parallel to the welding direction, therefore the width and height measurements depended on the angle between the camera optical axis and the workpiece plane. The disadvantages of this method were the need for precise alignment and the susceptibility to occlusions of the weld pool by the gas nozzle of the welding torch in natural metal transfer modes. Among the main digital image processing tools used to find regions and feature points, smoothing filters are applied to enhance the image. Analysis of the gray scale gradient [20], Laplacian operator [18], or Sobel operator [19] are commonly employed in the edge detection process. Thresholding methods [17] or the Hough Transform are used to detect the borders of the weld bead [18,19] or weld pool [20].
This paper presents a passive vision system for directly measuring the width and height of weld beads in real-time in a GMAW process. In this work, a single camera is used to measure both geometric parameters. The vision camera is directed and focused to the weld pool, the vision system uses the point with the lowest temperature at the rear of the weld pool for measuring height and finds the weld pool edge for measuring width. Reference points in the image are found using local thresholding and connected components labeling. The calibration process is achieved by using projective transformations and homography matrices. The camera location and the proposed system, focused in the weld pool, allow capturing of the image without occlusion problems and allow measuring the width and height with a processing time less than 3 milliseconds per image, which permits the use of the vision system in futures real-time adaptive control systems of the geometric parameters of weld beads in GMAW processes. The data collected in different experiments are in a good agreement with an off-line laser-based 3D scanner (single laser-stripe) employed to validate the system.

2. Materials and Methods

2.1. Measurement Process

Figure 1 illustrates the cross-section of a weld bead with its main geometric features. The width and height are the external variables and the target geometrical feature of this work.
The measurement methodology involves three stages in the system setup:
  • Calibration process;
  • Image processing;
  • Image acquisition.

2.1.1. Image Acquisition

Figure 2 shows an overview of the image acquisition setup with the world coordinate system represented by the perpendicular axes X’, Y’, and Z’. The welding direction is along the X’ axis, on the symmetry axis of the weld bead, the Y’ axis is on the surface of the workpiece plane and Z’ axis is along the electrode-wire axis.
The camera is fixed in front of the weld pool with an angle β between the optical axis of the camera and the X’-Y’ coordinate plane axes, and an angle θ between the X’ axis and the projection of the same optical axis on the workpiece plane. In this case, the angle θ allows an appropriate decrease of the angle β, obtaining a view of the weld pool without losing information, whatever the distance between the contact tip and the workpiece is. Angles β and θ can take values between 20° and 70°. In this work the angles used were approximately 30° for β and 50° for θ.
To eliminate the more intense radiations from the electric arc and the weld pool in the visible light range of the electromagnetic spectrum, the vision system uses a long-pass optical filter with a threshold at 800 nm. The images are captured with a CMOS (Complementary Metal-Oxide Semiconducor) high-speed camera with an exposure time of 50 μs and resolution of 416 × 200 pixels with 256 gray levels and a frame rate of 100 frames per second (fps). Figure 3a shows a typical frame acquired with this system, in a short-circuiting transfer mode. As reference, Figure 3b presents an off-line frame to illustrate the weld pool rear and the weld bead.

2.1.2. Calibration Process

In this work, and according to Figure 2, the X’-Y’ plane was used to measure the width and the X’-Z’ plane was used to measure the height, then, two 2D projective transformations wee used to calibrate each plane. A 2D projective transformation can establish a relationship between the corresponding points in the image of a flat object and the actual world through a mapping performed by a homography matrix. As described in Hartley and Zisserman [21] and depicted Figure 4, a planar projective transformation is a linear transformation on homogeneous 3-vectors represented by a non-singular 3 × 3 matrix:
( x i y i w i )   = [ h 11 h 12 h 13 h 21 h 22 h 23 h 31 h 32 h 33 ] ( x i y i w i )
which can be expressed more briefly as P’ = H.P, where H is the homography matrix. In this case, any 2D point P’i = ( X i , Y i ) in the plane A’ of the actual world (Figure 4) can be represented as a homogeneous 3-vector P i = ( x i , y i , w i ) T , and the corresponding point Pi in the image plane A can be represented by the homogeneous 3-vector P i = ( x i , y i , w i ) T .
Here, in the image plane w i = 1 , and the nonhomogeneous coordinates of any point in the actual world are expressed as:
X i =   x i / w i    Y i =   y i / w i
A homography matrix can be estimated using four point correspondences and solving the matrix system:
M h = 0
where h is a column vector with the nine entries of the homography matrix H:
h = ( h 11   h 12   h 13   h 21   h 22   h 23   h 31   h 32   h 33 ) T
and
M = [ x 1 y 1 1 0 0 0 x 1 x 1 y 1 x 1 x 1 0 0 0 x 1 y 1 1 x 1 y 1 y 1 y 1 y 1 x 2 y 2 1 0 0 0 x 2 x 2 y 2 x 2 x 2 0 0 0 x 2 y 2 1 x 2 y 2 y 2 y 2 y 2 x 3 y 3 1 0 0 0 x 3 x 3 y 3 x 3 x 3 0 0 0 x 3 y 3 1 x 3 y 3 y 3 y 3 y 3 x 4 y 4 1 0 0 0 x 4 x 4 y 4 x 4 x 4 0 0 0 x 4 y 4 1 x 4 y 4 y 4 y 4 y 4 ]
The matrix system of Equation (3) can be solved using the Singular Value Decomposition (SVD) of M, i.e., if M = U D V T , then the last column of V is the vector h . In the same way, the estimation process can be used with more than four point correspondences to ensure a more robust solution (overdetermined system), with the restriction that no more than two points are collinear.
In this work the reference point X’ = Y’ = Z’ = 0 was fixed at the intersection of the three perpendicular axes X’, Y’, and Z’ (Figure 2). The image calibration process was performed by using a planar calibration pattern for the X’-Y’ plane and different calibration blocks for the X’-Z’ plane, as shown in Figure 5. According to Figure 5, each square in the planar pattern corresponds to 1 mm2, the height of the calibration block is aproximatelly 1 mm, and the spatial resolution along the X’ axis is approximatelly 0.08 mm/pixel in the X’-Y’ plane and 0.05 mm/pixel in the X’-Z’ plane. The wire electrode is used as a reference in the image.
Six reference points were used to calibrate the image in each of the planes. The X’-Y’ plane was calibrated from 0 to 2 mm along the weld bead direction (X’ axis) and from 0 to 6 mm in the Y’ axis. The X’-Z’ plane was calibrated in the Z’ direction by using two blocks, 1.5 mm and 3 mm, from 0 to 15 mm in the weld bead direction (X’ axis). Reference points in the X’-Y’ plane and X’-Z’ plane were used independently to generate the corresponding matrix M in the form of Equation (5). Then, the SVD was used in each case to solve the matrix system of Equation (3) to find the respective homography matrix. Point positions in the image plane were translated to actual real world positions in each of the planes, X’-Y’ and X’-Z’, by using Equation (1), and to nonhomogeneous coordinates by using Equation (2).

2.1.3. Image Processing Methodology

In general, measurements of width and height are performed by using a thresholding technique. For each case, before the thresholding step, an image enhancement is employed to ensure a good segmentation of the weld pool, and at last, a labeling technique is used to identify reference points in the weld pool and to acquire a real-time data set. Aiming to reduce the computer processing time to measure both parameters, a vertical axis in the image plane was used to split each of the frames into two regions: the left one was used to measure the width and the right one to measure the height. Although the two measured parameters (width and height) were obtained from different approaches, the image processing methodology in both cases comprises the following image processing routines: image enhancement; image thresholding; labeling; and reference point location.
Image enhancement is used mainly to remove noise and it is carried out using a Gaussian smoothing filter before measuring the width and a mean filter before measuring the height. In the case of height measurement, where the target region is at the rear of the weld pool, a mean filter was employed to connect sub-regions separated by chains of pixels with low gray-level values into the weld pool. Gaussian and mean filters are spatial filters and use a 2D kernel with a convolution operation, so they are linear filters. This convolution operation can be calculated from:
I A ( x , y ) =   h = n 2 n 2       k = n 2 n 2 A ( h , k ) I ( x h , y k )
where: I A ( x , y ) is the new pixel value at the ( x , y ) coordinates; h and k are the coordinates of each pixel in the mask (kernel); I represents the original image; A is the square mask; n is an odd number of rows or columns of the mask, so the expression n / 2 is taken as the smallest integer of division. In this work, the mean filter was modeled with a mask of 7 × 7 pixels, and the Gaussian filter with a mask of 5 × 5 pixels.
A thresholding technique was employed in image segmentation to remove the background and separate the target objects. A threshold, T [ 0 , 256 ] , is applied to the input set of pixels in the image and a new set of pixels with only two intensity values was obtained, creating a binary image. In this work, a 0 value was assigned to the background according to the equation:
g ( x , y ) = { 0 ,       if         f ( x , y ) < T   1 ,       if       f ( x , y ) T
where g ( x , y ) is the new value of the output pixel in the image, at row x and column y , and f ( x , y ) is the input pixel intensity value in the same coordinates before thresholding. In the case of height measurements, the weld bead and the workpiece usually have large differences in the pixel intensity values (gray-levels near 0 on the workpiece region), then a fixed threshold, T H = 10 , wa used.
For width measurements, it is considered that some arc radiation can be reflected in the workpiece around the weld pool where the electric arc has direct contact, then a threshold, T W , was estimated as a piecewise function using the following expression:
T W i = { ( 10 * W i 1 ) + 100 ,       if     W i 1 < 10   mm   0 ,                                                                       if     W i 1   10   mm
which is a linear equation of the width calculated before ( W i 1 ), taking 100 as the highest threshold value. The formulation expresses that for weld beads with a width above 10 mm there is no reflected radiation from the workpiece. It also considers that more radiation will be reflected from the workpiece if the weld bead has small dimensions, therefore a higher threshold value for a good segmentation of the weld pool is needed. Besides, since at the start of the welding process there is no accurate information available about the bead width, a fixed threshold ( T W = 0 ) was used during the first second of the welding.
In the special case of a short-circuit metal transfer mode, in each frame a threshold was assigned as the mean of the pixel´s intensity values at the arc region (left in the image, Figure 3) aiming at determining whether the processes are operating in an open-arc period or in a short-circuit period. In the case of short-circuit period, both thresholds T H and T W were assigned to be 0. For the open-arc period both thresholds were calculated in the standard mode. As a rule of thumb, automated methods for finding thresholds that only take into account the pixel intensity information are not recommended, because the electric arc and the weld bead images can be overlapped. So, the images may be mistaken as corresponding to the same object, even if they have large differences in intensity, producing wrong results.
Subsequent to the thresholding process, a labeling routine is started in the binary image in such a way that it searches for reference points in both width and height measurements. For measuring width, the search is carried out by crossing the weld pool region in a fixed trajectory until the reference point is identified. For measuring height, the edge of the region of the weld pool rear is tracked and each point in the edge is evaluated to determine the respective reference point.
For height measurement the right region of the image was used. The process starts in the first column (left) and last row (bottom) where the pixel value is 0. The process traverses pixel by pixel until finding a pixel with gray intensity value 1, which is considered as weld pool edge, then, starting from left to right, a connected-component labeling algorithm based on the 8-connectivity traverses only the object edge until again finding the first column of this region. To determine the reference point location, each pixel in the edge is evaluated to find the position with the longest Euclidean distance from the reference point X’ = Y’ = Z’ = 0. In the process, each point position is normalized with respect to the number of rows and columns of the image so as not to have preferences for the row or column position of each evaluated point.
The reference point determined in the height measurement process is considered as the point with the least temperature at the weld pool rear. This point is accepted as the highest in the weld pool, thus it determines the weld bead height. It is accepted that this reference point is located in the middle of transversal section of the weld bead (in the X’-Z’ plane, Figure 2). As an example, Figure 6 shows a typical acquired frame with a reference point located in the image at row 58 and column 280, in the X’-Z’ plane, with a height of 2.23 mm from the workpiece plane, using a constant voltage of 21 V and a wire feed rate of 6 m/min as welding parameters. Figure 6 also shows the binary image of the weld pool rear after thresholding and indicates the labeling processes across the edge of weld pool in this region.
In order to measure the weld bead width, the process was performed on the weld pool, over the workpiece plane along the Y’ axis (Figure 2). The direction followed during labeling was predefined in the calibration process and follows the Y’ axis direction from the position X’ = Y’ = 0 (in the world coordinates) until the last row in the image. Considering that these positions are in the X’-Y’ plane, the trajectory is fixed, but the process finishes when the edge of the weld pool was found. The labeling process tracks all pixels along the Y’ axis with pixel value g ( x , y ) = 1 (belonging to the weld pool) until a pixel with g ( x , y ) = 0 found. This point is identified as the edge of the weld pool and it is considered as the reference for the measurement process.
In this case, the weld pool was supposed to have a constant width, so computing up to the middle of the bead width was enough to completely measure the width, then the weld bead width was calculated as twice the width value computed at each step. Figure 7 shows an example of the thresholding and indicates the labeling processes in the target region and the reference point located in the original image. In this case, for a welding process with a constant voltage of 23 V and a wire feed rate of 7.5 m/min as input parameters, the reference point position in the image was at row 175 and column 132, resulting in a weld bead width calculated as 7.46 mm.
Finally, data was acquired in real-time as a 2D signal of the measurement results in time. During the process a Gaussian filter was applied in each acquired signal of the collected data set. The filter is employed to minimize possible measurement errors from uncontrollable incidents such as explosions in the short-circuit metal transfer mode, such as in the example showed in Figure 8. In this case, errors in reference point locations are due to an inaccurate thresholding value selection, this due to an uncontrollable and abrupt change in the illumination scene and the nature of the thresholding technique.

2.2. Validation Process

The measurement methodology proposed in this article has two fundamental steps: calibration and reference point location. Here, the homography matrix computed in the calibration process depends on the camera position in the image acquisition setup (Figure 2). Aiming at validating the calibration process, different predefined reference points in both X’-Y’ and X’-Z’ planes were used for comparing directly with the developed system results. Concerning reference point location, the validation process was conceived by using different experiments in order to compare the measurement results from the proposed system with a classical off-line laser-based 3D scanner (a single laser-stripe, with resolution of 0.05 mm in each measurement, width and height).
Figure 9 shows nine experimental work points used in the validation process, each one corresponding to a set of input variables, voltage and wire feed rate. As shown in Figure 9, the work points are distributed using a central composite design, with the aim of inspecting the width and height in a stable metal transfer region of the process. The consumable materials employed were: electrode AWS A5.18 ER70S-6 with 1.2 mm diameter; steel plates AISI 1020; shielding gas Ar + 6% CO2 with a flow rate of 15 L/min. The power source was used in a constant voltage mode with a distance from contact tip to the workpiece of 15 mm.
Supposing a region of stable metal transfer in the process, the width and height of a weld bead in a current weld shall be uniform. Therefore, a statistical test can be used to compare measurements carried out by the proposed vision system with measurements from the 3D scanner. A common test of the null hypothesis is the Student’s t-test when each of the means of two populations are equal. This statistical test can only be used if the variances of the two populations are supposed equal. If this is not the case, a Welch’s t-test can be used, since it is indifferent to the equality of the variance. Welch’s t-test can be employed for unpaired and paired samples, but with the assumption that each population evaluated should follow a normal distribution (parametric test). In the case of unpaired samples, the statistic t for the Welch’s t-test is defined as:
t = μ 1 μ 2 s 1 2 n 1 + s 2 2 n 2
where µ1 and µ2 are the respective sample means, s 1 2 and s 2 2 are the sample variance and n 1 and n 1 are the sample sizes. The degrees of freedom associated with the test can be calculated as:
ν = ( s 1 2 n 1 + s 2 2 n 2 ) 2 ( s 1 2 / n 1 ) 2 n 1 1 + ( s 2 2 / n 2 ) 2 n 2 1
then, | t | and ν (rounded down to the nearest integer) can be used with the Student’s t-distribution to test if two population means are equal (usually for p-values less than 0.10, 0.05, or 0.01). For paired populations, Equations (9) and (10) can be used in the same way, but using the mean of the residuals for the two populations in the numerator.

3. Results and Discussions

Figure 10 shows a residuals plot of different positions computed along the Y’ axis for X’ = 0. Figure 11 plots the residuals for a constant height value of Z’ = 2 mm, along different positions in X’ axis. Figure 10 and Figure 11 indicate an adequate distribution of residuals around 0 in both cases, with similar standard deviations s = 0.01 mm. Similar results are obtained using different reference points in each plane (X’-Y’ and X’-Z’).
Figure 12 and Figure 13 show, respectively, a typical response of the proposed system for width and height measurements with a work point of 21 V and 6 m/min, for a welding speed of 10 mm/s. In this case, the measurements of width and height is 6.79 mm (s = 0.34 mm) and 2.15 mm (s = 0.09 mm), respectively, measured after four seconds (time established as sufficient for the welding process stabilizes after the ignition).
Figure 14 and Figure 15 present the frequency distribution of width and heigh for the previous example. A normal distribution can be clearly identified with more than 1000 data points per sample, so the normal distribution can be assumed in the rest of the work points used in validation process. Figure 16 shows a 3D reconstruction of the weld bead at the same work point. Table 1 and Table 2 show measurement results of width and height from the nine work points used in the validation, performed by the proposed vision system and by the 3D scanner, μ and s correspond, respectively, to the mean and standard deviation of the measurements in each work point.
In order to validate the reference point location and assuming a normal distribution in each measurement for all work points, Welch’s t-test was used to evaluate the null hypothesis, where the means of each corresponding measurement with the vision system and with the 3D scanner are equal. In this case, with different sample sizes for each measurement (1400 for the vision system and 700 for the 3D scanner), the Welch’s t-test was used in the unpaired form and for unequal variances. Table 3 shows the statistic | t | of Welch’s t-test computed for measurements of width and height (Table 1 and Table 2).
With more than 600 degrees of freedom and with interest only in the null hypothesis, the statistic is compared with a threshold chosen in the two-tailed Student’s t-distribution table. Table 3 shows that the values calculated for the Welch’s t-test do not exceed the threshold of α = 0.01, which is 2.5758 (using population size ∞ in the Student’s t-distribution table). So, the null hypothesis is not rejected and the means are equals, which validate the measurement methodology. In addition, Table 3 shows that, in general, larger values of Welch’s t-test are related to larger values of voltage. This is because a thresholding technique is used in the image processing methodology and the results of this process depends directly on the quantity of light present in the scene, which has greater proportionality with the arc size. So, in order to improve the measurement technique and without modifying the image processing methodology, the employment of other optical filters is suggested. In this case, it can be suggested to use a neutral density filter (no less than 80% transmission) and a band-pass optical filter in the region of infrared radiation (instead of the long-pass optical filter), aiming to reduce brightness and noise in the scene without affecting the location of actual reference points.
Finally, Figure 17 plots the processing time for each image to obtain the width and height measurements with the work point of 21 V and 6 m/min. As shown in Figure 17, the processing time does not exceed 3 ms, this with a vision system built using C++ programming languages and a personal desktop computer with a 2.4 GHz processor and 3GB of RAM.

4. Conclusions

This paper proposes an approach for accomplishing real-time measurements of the weld bead width and height in GMAW processes by using a passive vision system and digital image processing techniques. From the results obtained from a comparison of the system using real-time data collected from different experimental work points with off-line 3D reconstruction of the weld beads, it is possible to conclude that the methodology proposed is efficient and it is ready to be used straightly in real-time control processes based on both the width and height of weld beads. Besides, the use of projective transformation mapping in the image calibration process allows the employment of a single camera without object occlusion, which is important to reduce processing time as well as to get a better setup in favor of industrial applications. Finally, the direct use of pixel positions and pixel binary values in the image processing methodology allows a shorter processing time, which is important in real-time applications that require additional processing, such as feedback control processes.

Acknowledgments

This work was performed under the auspices of Brazilian Research Councils (CNPq and Capes), and sponsored by the University of Brasilia, UnB and Finatec Foundation, Brazil.

Author Contributions

J.E. Pinto-Lopera and S.C.A. Alfaro conceived and designed the experiments; J.M.S.T. Motta and S.C.A. Alfaro contributed reagents, materials and analysis tools; J.E. Pinto-Lopera performed the experiments; J.E. Pinto-Lopera, J.M.S.T. Motta and S.C.A. Alfaro analyzed the data and wrote the paper. J.E. Pinto-Lopera was PhD student supervised by S.C.A. Alfaro.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Wang, Z.; Zhang, Y.; Wu, L. Adaptive interval model control of weld pool surface in pulsed gas metal arc welding. Automatica 2012, 48, 233–238. [Google Scholar] [CrossRef]
  2. Li, X.; Shao, Z.; Zhang, Y.; Kvidahl, L. Monitoring and Control of Penetration in GTAW and Pipe Welding. Weld J. 2013, 92, 190–196. [Google Scholar]
  3. Karadeniz, K.; Ozsarac, U.; Yildiz, C. The effect of process parameters on penetration in gas metal arc welding processes. Mater. Des. 2007, 28, 649–656. [Google Scholar] [CrossRef]
  4. Kanti, K.; Rao, P. Prediction of bead geometry in pulsed GMA welding using back propagation neural network. J. Mater. Process Technol. 2008, 200, 300–305. [Google Scholar] [CrossRef]
  5. Kita, A.; Ume, I. Measuring On-Line and Off-Line Noncontact Ultrasound Time of Flight Weld Penetration Depth. Weld J. 2007, 86, 9–17. [Google Scholar]
  6. Rokhlin, S.; Guu, A. Computerized Radiographic Sensing and Control of an Arc Welding Process. Weld J. 1990, 89, 83–97. [Google Scholar]
  7. Zhang, Y.M.; Wu, L.; Walcott, B.L.; Chen, D.H. Determining Joint Penetration in GTAW with Vision Sensing of Weld Face Geometry. Weld J. 1993, 72, 463s–469s. [Google Scholar]
  8. Zhang, Y.M.; Kovacevic, R.; Wu, L. Dynamic Analysis and Identification of Gas Tungsten Arc Welding Process for Full Penetration Control. J. Eng. Ind. 1996, 118, 123–136. [Google Scholar] [CrossRef]
  9. Zhang, Y.M.; Kovacevic, R. Real-Time Sensing of Sag Geometry during GTA Welding. J. Manuf. Sci. Eng. 1997, 119, 151–160. [Google Scholar] [CrossRef]
  10. Zhang, Y.M.; Kovacevic, R.; Li, L. Adaptive Control of Full Penetration GTA Welding. IEEE Trans. Control Syst. Technol. 1996, 4, 394–403. [Google Scholar] [CrossRef]
  11. Huang, W.; Kovacevic, R. Development of a real-time laser-based machine vision system to monitor and control welding processes. Int. J. Adv. Manuf. Technol. 2012, 63, 235–248. [Google Scholar] [CrossRef]
  12. Ma, X.; Zhang, Y. Gas Metal Arc Weld Pool Surface Imaging: Modeling and Processing. Weld J. 2011, 5, 85–90. [Google Scholar]
  13. Ma, X.; Zhang, Y.; Gray, A.; Male, A. Image processing for measurement of three-demensional gas metal arc weld pool surface: Algorithms are explored for processing the image of a grid laser pattern reflected from the dynamic GMA weld pool surface. In Proceedings of the IEEE International Conference on Computer Science, Zhangjiajie, China, 25–27 May 2012.
  14. Zhang, W.J.; Liu, Y.; Zhang, Y.M. Real-time measurement of the weld pool surface in GTAW process. In Proceedings of the 2013 IEEE International Instrumentation and Measurement Technology Conference (I2MTC), Minneapolis, MN, USA, 6–9 May 2013.
  15. Abdullah, B. Monitoring of TIG welding using laser and diode illumination sources: A comparison study. In Proceedings of the International Conference on Electronic Design, Penang, Malaysia, 1–3 December 2008.
  16. Mota, C.P.; Machado, M.V.; Finzi-Neto, R.M.; Vilarinho, L.O. Near-infrared vision system for arc-welding monitoring. Soldag. Insp. 2013, 18, 19–30. [Google Scholar] [CrossRef]
  17. Cruz, J.G.; Torres, E.M.; Sadek, C.A. A methodology for modeling and control of weld bead width in the GMAW process. J. Braz. Soc. Mech. Sci. 2015, 37, 1529–1541. [Google Scholar] [CrossRef]
  18. Xiong, J.; Zhang, G.; Qiu, Z.; Li, Y. Vision-sensing and bead width control of a single-bead multi-layer part: Material and energy savings in GMAW-based rapid manufacturing. J. Clean. Prod. 2013, 41, 82–88. [Google Scholar] [CrossRef]
  19. Xiong, J.; Zhang, G. Online measurement of bead geometry in GMAW-based additive manufacturing using passive vision. Meas. Sci. Technol. 2013, 24, 1–7. [Google Scholar] [CrossRef]
  20. Zhang, G.; Yan, Z.; Wu, L. Reconstructing a three-dimensional P-GMAW weld pool shape from a two-dimensional visual image. Meas. Sci. Technol. 2006, 17, 1877–1882. [Google Scholar]
  21. Hartley, R.; Zisserman, A. Multiple View Geometry in Computer Vision, 2nd ed.; Cambridge University Press: New York, NY, USA, 2004; pp. 32–91. [Google Scholar]
  22. Pinto-Lopera, J.E. Uso de Agentes Inteligentes no Controle Simultâneo da Largura e do Reforço dos Cordões de Solda no Processo GMAW-S. Ph.D. Thesis, University of Brasilia, Brasilia, Brazil, March 2016. [Google Scholar]
Figure 1. Weld bead geometric characteristics (cross-section).
Figure 1. Weld bead geometric characteristics (cross-section).
Sensors 16 01500 g001
Figure 2. Image acquisition setup including the world coordinate system.
Figure 2. Image acquisition setup including the world coordinate system.
Sensors 16 01500 g002
Figure 3. Reference points and objects in the image: (a) Typical frame acquired with the actual image acquisition system; (b) Off-line frame illustrating the weld pool rear and the corresponding reference point in the weld bead.
Figure 3. Reference points and objects in the image: (a) Typical frame acquired with the actual image acquisition system; (b) Off-line frame illustrating the weld pool rear and the corresponding reference point in the weld bead.
Sensors 16 01500 g003
Figure 4. Corresponding points between the world and image plane coordinates.
Figure 4. Corresponding points between the world and image plane coordinates.
Sensors 16 01500 g004
Figure 5. Illustration of planar pattern and calibration block used [22].
Figure 5. Illustration of planar pattern and calibration block used [22].
Sensors 16 01500 g005
Figure 6. Reference point located for a typical acquired frame and the weld pool rear thresholding and labeling [22].
Figure 6. Reference point located for a typical acquired frame and the weld pool rear thresholding and labeling [22].
Sensors 16 01500 g006
Figure 7. Reference point located in the weld pool edge to measure the weld bead width [22].
Figure 7. Reference point located in the weld pool edge to measure the weld bead width [22].
Sensors 16 01500 g007
Figure 8. Incidental explosion in short-circuiting metal transfer mode [22].
Figure 8. Incidental explosion in short-circuiting metal transfer mode [22].
Sensors 16 01500 g008
Figure 9. Work points used in validation process.
Figure 9. Work points used in validation process.
Sensors 16 01500 g009
Figure 10. Residual of reference point positions along the Y’ axis with constant X’ = 0 [22].
Figure 10. Residual of reference point positions along the Y’ axis with constant X’ = 0 [22].
Sensors 16 01500 g010
Figure 11. Residual of reference point positions along the X’ axis using the 2 mm calibration block [22].
Figure 11. Residual of reference point positions along the X’ axis using the 2 mm calibration block [22].
Sensors 16 01500 g011
Figure 12. Real-time width measurement for a work point of 21 V and 6 m/min, using a welding speed of 10 mm/s and 100 fps as sampling rate [22].
Figure 12. Real-time width measurement for a work point of 21 V and 6 m/min, using a welding speed of 10 mm/s and 100 fps as sampling rate [22].
Sensors 16 01500 g012
Figure 13. Real-time height measurement for a work point of 21 V and 6 m/min, using a welding speed of 10 mm/s and 100 fps as sampling rate [22].
Figure 13. Real-time height measurement for a work point of 21 V and 6 m/min, using a welding speed of 10 mm/s and 100 fps as sampling rate [22].
Sensors 16 01500 g013
Figure 14. Frequency distribution for width measurements with a work point of 21 V and 6 m/min.
Figure 14. Frequency distribution for width measurements with a work point of 21 V and 6 m/min.
Sensors 16 01500 g014
Figure 15. Frequency distribution for height measurements with a work point of 21 V and 6 m/min.
Figure 15. Frequency distribution for height measurements with a work point of 21 V and 6 m/min.
Sensors 16 01500 g015
Figure 16. 3D reconstruction of weld bead for a work point of 21 V and 6 m/min.
Figure 16. 3D reconstruction of weld bead for a work point of 21 V and 6 m/min.
Sensors 16 01500 g016
Figure 17. Processing time for each acquired image in the work point 21 V and 6 m/min [22].
Figure 17. Processing time for each acquired image in the work point 21 V and 6 m/min [22].
Sensors 16 01500 g017
Table 1. Measurement results of width.
Table 1. Measurement results of width.
Wire Feed Rate (m/min)Voltage (V)Width
Vision System3D Scanner
µ (mm)s (mm)µ (mm)s (mm)
3.921.06.160.386.180.37
4.523.06.870.366.920.48
4.519.05.690.275.720.28
6.023.87.800.357.850.46
6.021.06.790.346.830.38
6.018.25.840.435.870.60
7.523.08.160.508.220.53
7.519.06.230.776.300.78
8.121.07.700.457.710.29
Table 2. Measurement results of height.
Table 2. Measurement results of height.
Wire Feed Rate (m/min)Voltage (V)Height
Vision System3D Scanner
µ (mm)s (mm)µ (mm)s (mm)
3.921.01.590.171.580.14
4.523.01.670.141.660.10
4.519.01.690.111.700.09
6.023.81.970.151.950.17
6.021.02.150.092.160.12
6.018.22.310.162.290.18
7.523.02.390.172.370.17
7.519.02.870.202.850.22
8.121.02.480.182.500.17
Table 3. Welch’s t-test computed for measurements of width and height.
Table 3. Welch’s t-test computed for measurements of width and height.
Wire Feed Rate (m/min)Voltage (V)Welch’s t-Test ( | t | )
WidthHeight
3.921.01.13611.4677
4.523.02.25142.0040
4.519.02.26762.2807
6.023.82.34712.5113
6.021.02.24411.8011
6.018.21.08382.3702
7.523.02.40132.4802
7.519.01.89461.9353
8.121.00.67602.4637

Share and Cite

MDPI and ACS Style

Pinto-Lopera, J.E.; S. T. Motta, J.M.; Absi Alfaro, S.C. Real-Time Measurement of Width and Height of Weld Beads in GMAW Processes. Sensors 2016, 16, 1500. https://doi.org/10.3390/s16091500

AMA Style

Pinto-Lopera JE, S. T. Motta JM, Absi Alfaro SC. Real-Time Measurement of Width and Height of Weld Beads in GMAW Processes. Sensors. 2016; 16(9):1500. https://doi.org/10.3390/s16091500

Chicago/Turabian Style

Pinto-Lopera, Jesús Emilio, José Mauricio S. T. Motta, and Sadek Crisostomo Absi Alfaro. 2016. "Real-Time Measurement of Width and Height of Weld Beads in GMAW Processes" Sensors 16, no. 9: 1500. https://doi.org/10.3390/s16091500

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop