선정목록으로
A Passive Imaging System for Geometry Measurement for the Plasma Arc Welding Process
필름·전자재료 · (16) CPI(투명 폴리이미드)
기본 정보
- 저자
- DOI
- 10.1109/tie.2017.2686349
- 저널
- IEEE Transactions on Industrial Electronics
- 발행년도
- 2017
- 발행기관
- Institute of Electrical and Electronics Engineers
- 피인용수
- 81
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1109/tie.2017.2686349
- 토픽
- Surface Roughness and Optical Measurements
- OpenAlex ID
- W2602575624
평가 내용
- 관련도
- 사업분야
- 필름·전자재료 · (16) CPI(투명 폴리이미드)
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '필름·전자재료 > CPI(투명 폴리이미드)' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
Automatic and flexible geometry measurement of the weld pool surface can help better understand the complex welding processes and even provide feedback to better control this process. Most of existing imaging systems use an additional source of illumination to remove the light interference coming from the welding arc but it is usually costly. This paper introduces a novel low-cost optical-sensor-based monitoring system working under passive mode to monitor the wire + arc additive manufacture process, particularly for plasma arc welding. Initially, configurations and parameters of camera are investigated to achieve good visualization of weld pool. A novel camera calibration methodology using the nozzle of a computer numerical control (CNC) machine is then proposed for this imaging system, allowing estimation of the camera position with respect to the inspecting surface and its orientation in an easy-to-use approach. The verification tests show that the average error of the calibration is less than 1 pixel. As a case study, an image analysis routine is proposed to measure the width of the bead during the welding process. The results show that the proposed system is effective to measure the dimension of weld pool.
본문 45,172자
본문 펼치기
## A Passive Imaging System for Geometry Measurement for the Plasma Arc Welding Process
Tomas Font comas, Chenglei Diao, Jialuo Ding, Stewart Williams, and Yifan Zhao
_Abstract_ —Automatic and flexible geometry measurement of the weld pool surface can help better understand
the complex welding processes and even provide feedback
to better control this process. Most of existing imaging
systems use an additional source of illumination to remove
the light interference coming from the welding arc but it
is usually costly. This paper introduces a novel low-cost
optical-sensor-based monitoring system working under
passive mode to monitor the wire + arc additive manufacture process, particularly for plasma arc welding. Initially,
configurations and parameters of camera are investigated
to achieve good visualization of weld pool. A novel camera
calibration methodology using the nozzle of a computer
numerical control (CNC) machine is then proposed for this
imaging system, allowing estimation of the camera position
with respect to the inspecting surface and its orientation
in an easy-to-use approach. The verification tests show
that the average error of the calibration is less than 1 pixel.
As a case study, an image analysis routine is proposed to
measure the width of the bead during the welding process.
The results show that the proposed system is effective to
measure the dimension of weld pool.
_Index Terms_ —Additive manufacturing (AM), camera calibration, edge detection, plasma arc welding (PAW), wire +
arc additive manufacture (WAAM).
I. INTRODUCTION
DDITIVE manufacturing (AM) is a process of threedimensional (3-D) printing in which parts are built by
# A
adding materials layer by layer. Compared to traditional subtrac
Manuscript received November 8, 2016; revised January 24, 2017
and February 14, 2017; accepted March 7, 2017. Date of publication
March 22, 2017; date of current version August 9, 2017. This work was
supported in part by the Through-Life Engineering Service Centre, in part
by the Welding Engineering and Laser Processing Centre, and in part
by the Computational and Software Techniques in Engineering M.Sc.
Course at Cranfield University, Cranfield, U.K. _(Corresponding_ _author:_
_Yifan Zhao.)_
T. Font comas is with the Computational and Software Techniques in
Engineering M.Sc. Course, Cranfield University, Cranfield, MK43 0AL,
U.K. (e-mail: tfontcomes@gmail.com).
C. Diao, J. Ding, and S. Williams are with the Welding Engineering and Laser Processing Centre, Cranfield University, Cranfield, MK43
0AL, U.K. (e-mail: C.Diao@cranfield.ac.uk; jialuo.ding@cranfield.ac.uk;
s.williams@cranfield.ac.uk).
Y. Zhao is with the Through-Life Engineering Service Centre,
Cranfield University, Cranfield, MK43 0AL, U.K. (e-mail: yifan.zhao@
cranfield.ac.uk).
Color versions of one or more of the figures in this paper are available
online at http://ieeexplore.ieee.org.
Digital Object Identifier 10.1109/TIE.2017.2686349
tive manufacturing technologies, this technique allows a high
reduction in costs by substantially saving material and reducing
lead time. Additionally, it offers higher flexibility in the design.
One of the most promising techniques of AM under development is wire + arc additive manufacture (WAAM), which uses
an electric arc as the power source and wire as the feedstock.
WAAM is well suited of manufacturing medium- to large-scale
parts and is gaining great interest in sectors such as the aerospace
industry, especially where the need of manufacturing titanium
parts is growing significantly because of its chemical compatibility with composites. Additionally, it offers a cleaner working
environment, higher deposition rates, and less risk of contamination in comparison with powder-based systems [1].
Fluctuations of parameters and working conditions in the
WAAM process can have a great influence on the dimensions
and geometry of the final piece. The main factors requiring significant investigation include changes in operating parameters,
heat dissipation, interlayer temperature, and quality of the previous layer. To deal with these, the process should be monitored
and ideally controlled. A promising approach is to use vision
techniques to track the weld pool geometry allowing monitoring
of the process or potentially implementing a closed-loop control
system. Few research works have been reported in the field of
AM regarding optical sensing and corresponding reliable measurement, but several techniques have been implemented for the
automation and enhancement of welding processes.
Obtaining high-quality images of the weld pool during the
WAAM process is challenging due to the harsh conditions during the melting and deposition of the metal. The high temperature of the arc causes high intensity light radiation, which
interferes with the image acquisition process. Kovacevic _et_ _al._
[2] proposed to use a high-shutter-speed camera synchronized
with a pulsed laser as an additional source of illumination in
gas tungsten arc welding. The system works because the laser
is monochromatic so the camera has a filter that is opaque to all
radiation except at the laser wavelength. This greatly reduces
the intensity of the plasma light so that the laser light can be observed. Because of the high cost of the illumination equipment,
including the camera head, laser unit, and controller, a solution
to use an array of low-cost semiconductor laser diodes and an
appropriate bandpass filter matching the laser wavelength has
been proposed by Vilarinho _et_ _al._ [3]. Recently, a few ways
of reconstructing the 3-D weld pool geometry assisted by a
laser have been developed [4]–[6]. In these methods, an addi
This work is licensed under a Creative Commons Attribution 3.0 License. For more information, see http://creativecommons.org/licenses/by/3.0/
tional source of light is used for measuring the weld pool shape
indirectly, rather than reducing the arc interference. Using a
laser with a dot matrix structured light pattern, the weld pool
surface can be used as a specular mirror to reflect the light into
an image plane. The camera records the plane where the laser
dots are reflected and not the weld pool directly. An imaging
system for WAAM working under the passive mode attracts less
interests than the active mode. It uses the arc light to illuminate
the scene; however, this process requires an accurate calibration
of the camera position and a precise selection of a narrow-band
filter to reduce the arc light [7]. A few research works using passive vision have been reported to enhance and automate welding
processes [8], [9], or extract different features [10]–[12] from
the weld pool for gas metal arc welding (GMAW) based AM.
Recent research from Zhan _et_ _al._ [13] introduced a method of
using passive vision system for monitoring the wire deviation
during the WAAM process. Additionally, infrared (IR) cameras
have been used to monitor the weld pool [14], [15]; however,
interference coming from the arc causes a big problem to obtain
high-quality IR images.
In terms of the properties to measure using a camera, most
of these research works focus on the step height between
subsequence layers [16], the width of bead [11]–[17], and the
height (nozzle to top surface distance) [11]–[17]. Accurate
measurement of these properties is critical to have a better
control of the WAAM process based on the input parameters,
such as the arc current, the wire feeding rate, and the travel
speed, etc. Although identification of the optimal properties
to monitor the weld pool is not the scope of this paper, a case
study using the proposed imaging system to measure the width
of the weld pool is presented.
Plasma arc welding (PAW) has fewer transfer modes than
GMAW processes due to the metal wire not being the electrode
and hence it is a more stable process. It also allows a higher
deposition rate and greater effective wall width compared to
other additive layer manufacturing processes [18]. Due to these
advantages, it is believed that PAW has great potential and will
attract more and more interests in future. PAW has a very bright
arc compared to GMAW; this will greatly increase the complexity in image processing. To face this challenge, developing
a reliable and tailored weld pool monitoring system is therefore
timely and highly demanded. To our knowledge, very few passive imaging systems have been developed for the PAW process
due to the challenge of lighting condition and calibration. This
paper introduces a flexible optical-sensor-based monitoring
system without additional lighting sources to measure the geometry of weld pool in the PAW process. To accommodate the
measurement of different properties, an easy-to-use calibration
routine is developed to convert the measurement on image plane
to the world coordinate system. Such research will be particularly useful for imaging systems based on a single camera that
is required to change position regularly to measure different
properties or based on multiples cameras at different positions.
II. IMAGING SYSTEM SETUP
In order to implement the PAW process, a CNC machine, a
plasma welding power source and a wire feeder are combined
Fig. 1. Experimental layout.
Additionally, the MC500S Weld Vision Camera System, a special welding camera, is used for monitoring the process. The
camera is connected to a video controller module, which allows
changing gain, intensity, and shutter speed. As illustrated in
Fig. 1, the camera is mounted on the moving panel of this CNC
gantry, held by an articulated arm. The torch is mounted on the
same moving panel of the CNC machine so that relative position between the camera and the torch remain the same during
the deposition process. All the equipment mentioned above are
setup inside a chamber. The chamber is used to create an inert
atmosphere, with argon gas, to avoid the oxidation of titanium
while the deposition is being processed. Due to the fact that the
torch is very close (about 8 mm) to the substrate during welding
process, which the camera will be calibrated toward, LEDs used
at the corners light will most likely be blocked by the torch and
the CNC machine. Such setting will introduce shadows in the
calibration grid, which will make the image processing more
complicated. It will also introduce additional cables into the
already crowded CNC machine.
For measuring a specific property from images, one important
aspect that determines the quality of images is the location of the
camera. To find out the best configuration of the camera, several
experiments were conducted with different camera positions, as
illustrated in Fig. 2. With the left setup, the wire is visible, but
the visual quality of the weld pool is poor due to the strong arc
light and the specular surface of the weld pool. In the middle
image, the wire can be clearly observed but the visualization of
the weld pool is still greatly affected by arc light. The right setup
provides the best view of the weld pool with less reflection, but
the wire is not visible. The case study of this paper focuses on
the measurement of the width of the weld pool only, so the right
setup was used
Fig. 2. Captured images with respect to different camera positions.
III. PROPOSED CALIBRATION AND MEASUREMENT SYSTEM
_A._ _Mathematical Background of Camera Calibration_
The camera calibration is the process of estimating the intrinsic and distortion parameters of the imaging sensor and lens,
and extrinsic parameters with respect to the object for measurement. These parameters define how a point in the 3-D world
is projected into the image plane, and they are the key to measure the geometry of an object, correct lens distortions, or find
the position of the camera. Without considering distortion, the
equation
Fig. 3. Pinhole camera model with intrinsic parameters.
where _{ur_ _, vr_ _}_ are the true coordinate in images and _r_ is the
radial distance of an ideal pixel to the center of the image,
expressed as
_r_ <sup>2</sup> = _u_ <sup>2</sup> _i_
_i_ <sup>2</sup> <sup>_._</sup> (5)
<sup>2</sup> _i_ <sup>+</sup> <sup>_v_</sup> _i_ <sup>2</sup> <sup>_._</sup>
_Xc_
_Yc_
_Zc_
1
Usually, only radial distortion is considered and tangential
parameters are set to zero.
Intrinsic parameters remain constant once the camera and
lens is integrated and focused. If the focal length is changed, intrinsic parameters will also change. Intrinsic parameters model
the pinhole camera model, which projects any 3-D point from a
coordinate system fixed with respect to the camera into the
image plane. The matrix of the intrinsic parameters can be
written as
⎡
⎢⎢⎣
⎡
⎣
_ui_
_vi_
1
⎤
(1)
⎥⎥⎦
⎤
⎦ = _K ·_ [ _R_ CW _t_ CW ] _·_
_fx_ 0 _Cx_
0 _fy_ _Cy_
0 0 1
maps any 3-D point in the world coordinate system to the image plane, where _{ui, vi}_ are the ideal coordinates in the unit
of pixel of the image and _{Xc_ _, Yc_ _, Zc_ _}_ is a 3-D point in the
world coordinate system. The symbol _K_ corresponds to a 3 _×_ 3
matrix containing the intrinsic parameters, and [ _R_ CW _t_ CW ] corresponds to a 3 _×_ 4 matrix containing the extrinsic parameters
(a rotation matrix and a translation vector), which denotes the
transformation from the 3-D world coordinate to the 3-D camera coordinate. Equivalently, the extrinsic parameters define the
position of the camera center and the camera’s heading in the
world coordinate.
In photography, distortion is generally referred to as an optical
aberration that deforms and bends physically straight line and
makes them curvy in images. The distortion is caused by the
lens. Normally distortion can be described by five parameters
_{k_ 1 _k_ 2 _k_ 3 _p_ 1 _p_ 2 _}_ (2)
where _k_ 1, _k_ 2 _,_ and _k_ 3 are radial parameters, and _p_ 1 and _p_ 2 are
tangential parameters. The models to correct distortion can be
written as
⎤
⎥⎦ (6)
_K_ =
⎡
⎢⎣
where _fx_ and _fy_ denote the focal length in the _x_ and _y_ directions,
respectively. They are in pixel unit and usually can be simplified
to _fx_ = _fy_ = _f_, assuming square pixels. _Cx_ and _Cy_ correspond
to an offset to move the centerof the image to the upper left
corner. Fig. 3 illustrates these parameters graphically.
The extrinsic parameters consist of a homogeneous transformation, which include a rotation and a translation operation. The
translation operation consists of vectors from three dimensions,
described as
_._ (7)
_t_ =
- _tx_ _ty_ _tz_
<sup>2</sup> _i_ _,_
(3)
_ur_ =
_vr_ =
�1 + _k_ 1 _r_ <sup>2</sup> + _k_ 2 _r_ <sup>4</sup> + _k_ 3 _r_ <sup>6�</sup> _ui_ + 2 _p_ 1 _uivi_ + _p_ 2
�1 + _k_ 1 _r_ <sup>2</sup> + _k_ 2 _r_ <sup>4</sup> + _k_ 3 _r_ <sup>6�</sup> _vi_ + 2 _p_ 2 _uivi_ + _p_ 1
_r_ <sup>2</sup> + 2 _u_ <sup>2</sup> _i_
_i_
_r_ <sup>2</sup> + 2 _vi_ <sup>2</sup>
_r_ <sup>2</sup> + 2 _vi_ <sup>2</sup>
A rotation operation has 3-degrees of freedom corresponding
to three angles of rotation, one for each of the axis. In this
paper, the Euler angles [19] are employed to describe a rotation
operation, which can be written as
_R_ = _Rz_ ( _φ_ ) _Ry_ ( _θ_ ) _Rx_ ( _ψ_ ) (8)
where _Rz_ ( _φ_ ) corresponds to a rotation of _φ_ degree around the
_z_ -axis, _Ry_ ( _θ_ ) corresponds to a rotation of _θ_ degree around the
_y_ -axis, and _Rx_ ( _ψ_ ) corresponds to a rotation of _ψ_ degree around
(4)
the _x_ -axis. Then, (8) can be rewritten as
_R_ =
⎡
⎤
⎥⎦ _._
⎢⎣
cos _θ_ cos _φ_ sin _ψ_ sin _θ_ cos _φ −_ cos _ψ_ sin _φ_ cos _ψ_ sin _θ_ cos _φ_ + sin _ψ_ sin _φ_
cos _θ_ sin _φ_ sin _ψ_ sin _θ_ sin _φ_ + cos _ψ_ cos _φ_ cos _ψ_ sin _θ_ sin _φ −_ sin _ψ_ cos _φ_
sin _θ_ sin _ψ_ cos _θ_ cos _ψ_ cos _θ_
(9)
Note that the extrinsic parameters depend upon the location of
the camera. Any move of the camera will require a recalculation
of these parameters.
_B._ _Calibration Methodology_
The proposed calibration method requires taking several pictures of a calibration pattern from different points of view to
improve the accuracy. This paper uses a checkerboard, which
is a well-accepted calibration pattern in many research [20],
[21]. If the size of the checkerboard square is known, the 3-D
world coordinate of the points on the grid can be also inferred
by putting the world coordinate system on it. The calibration
process consists of solving a system of equations to find the intrinsic, distortion, and extrinsic parameters, which are the ones
that relate any 3-D world point with a pixel position on the image plane. Hence, by knowing the 3-D world coordinate of the
checkerboard points and knowing the 2-D pixel position corresponding to each of these points, a system of equations can
be solved to find all the necessary parameters. Note that theoretically only one pair of 3-D–2-D points would be needed for
each parameter, but as aforementioned increasing the number
of points the error can be reduced by averaging the results.
Usually, when calibrating a camera, the procedure is simply
moving a calibration pattern in front of a fixed camera. In this
application, a few problems arose when trying this approach.
1) The camera has a narrow field of view so the calibration
pattern must be very small (15 mm _×_ 10.5 mm). Small
hand shakings can make it difficult to move the pattern.
2) Once the camera is fixed, there are many elements such
as the CNC machine, the torch, or the chamber itself that
would limit the movement of the calibration grid.
3) The fact that all equipment is inside a chamber leads to
a lack of light. If the grid is moved, a lamp to illuminate
it must be moved too, which will make this process very
complicated.
To overcome these problems, instead of moving the calibration pattern with respect to the camera, in this paper, the camera
will be moved with respect to the calibration pattern, which will
remain fixed. Although such routine has been used in calibration
of many applications, its application in PAW monitoring is new.
Furthermore, to estimate the camera’s position, the proposed
methodology uses the position of the nozzle with respect to the
world origin, which can be obtained by using the position of the
nozzle displayed by the CNC machine interface. It is noted that
the problems listed in the above three bullet points sometimes
do not apply, because internal camera calibration usually does
not need to be conducted online. It is an offline step that does
Fig. 4. Representation of the coordinate systems and transformations
involved in measuring the camera pose.
not depend on the surrounding equipment (except for adjusting
the lens).
The proposed calibration routine can be summarized as follows.
1) Place the calibration grid on the plane where the deposition process will be undertaken.
2) Calculate the position of the world origin in the CNC
coordinate.
3) Focus the camera considering its location.
4) Move the camera to capture pictures of the calibration
grid from different angles of view. While moving the
camera, the difference between two consecutive pictures
should be noticeable. It is suggested to take pictures when
the row lines and column lines of the grid are not parallel
in the image. A picture from exactly the top of the grid,
where the lines are parallel, will contain less information.
5) Estimate the intrinsic and distortion coefficients using the
captured pictures in step 4.
6) Fix the camera on the position where the recording of
the process will be conducted, and take a picture of the
calibration pattern and record the position of the CNC
machine.
7) Estimate the extrinsic parameters using the captured picture in step 6.
_C._ _Camera Localization_
The quality of obtained images usually depends on the location of the camera. The proposed imaging system also allows
an automatic localization of the camera. The position of the
camera with respect to the nozzle will not change, because the
camera is held with an articulated arm mounted onto the moving
system. Because the calibration grid can be fixed wherever is
convenient, the position of the camera must be calculated with
respect to a point on the moving elements of the CNC machine.
The solution of this system is to use an intermediate coordinate system on the nozzle. It can be seen from Fig. 4 that the
blue transformation is composed by the extrinsic parameters
obtained in step 7 of the calibration routine. It is a rotation and
a translation transformation to transform the camera coordinate
system into the world coordinate system. The orange transformation transforms the world coordinate system into the nozzle
coordinate system. It can be estimated by calculating the difference between the position of the CNC machine in the world
origin and the recorded position of the CNC machine in step 6.
Note that this transformation will consist only of a translation
between the two coordinates systems, but no rotation.
Knowing the blue transformation matrix
Fig. 5. Pixel ray projection into the feature plane to recover 3-D information.
Fig. 6. Different pictures from different camera positions of the calibration pattern.
the bead width, the plane that contains the two edges of the bead
is a plain in which the welding is taking place.
Fig. 5 shows this concept in details. To project the pixel into
the feature plane and recover the 3-D coordinate, the intersection between the pixel ray line and the plane must be found.
The equation of the pixel projection line can be solved using the
intrinsic and extrinsic parameters obtained previously with the
camera calibration.
The vector equation of a line can be expressed as
_−→r_ = _−→r_ 0 + _λ ·_ <sup>_−→_</sup> _m_ (16)
where <sup>_−→_</sup> _r_ 0 is a point on the line, and <sup>_−→_</sup> _m_ is the line direction. By
this means <sup>_−→_</sup> _r_ would contain any point on the line by varying
the distance _λ ∈_ ( _−∞,_ + _∞_ ) from <sup>_−→_</sup> _r_ 0 to this point. To find the
vector equation of the pixel ray line in nozzle coordinates, <sup>_−→_</sup> _r_ 0 _N_
can be calculated as the camera position, found in the previous
section, expressed as
_−→_
_r_ 0 _N_ = _t_ NC = _−R_ NC _· t_ CN _._ (17)
To calculate the direction vector <sup>_−→_</sup> _m_, the point <sup>_−→_</sup> _r_ 1 shown in
Fig. 6 can be used. Note that this point in the camera coordinate
system corresponds to
_T_ CW =
_R_ CW _t_ CW
and the orange transformation matrix
(10)
(11)
_T_ WN =
_R_ WN _t_ WN
the green transformation matrix
(12)
_T_ CN =
- _R_ CN _t_ CN
which corresponds to the location of the nozzle with respect to
the camera, can be estimated by
_T_ CN = _T_ CW _· T_ WN _._ (13)
The homogeneous transformation is a 4 _×_ 4 matrix composed
by a 3 _×_ 3 rotation matrix, a 3 _×_ 1 translation vector, and the
scaling factor.
Once the nozzle position in the camera coordinate (green
transformation) is estimated, the last step is to invert this transformation to obtain the position of the camera with respect to
the nozzle coordinate system. Note that the camera coordinate
system is always defined with the z-axis pointing to the direction in which the camera is recording. To reduce computational
time, without inverting the 4 _×_ 4 transformation matrix, the
camera rotation matrix and translation vector can be calculated
based on the green transformation described by (14) and (15),
respectively,
_R_ NC = ( _R_ CN ) <sup>_T_</sup> (14)
_t_ NC = _−R_ NC _· t_ CN _._ (15)
_D._ _Measuring Real Distance_
The main problem encountered during traducing the measure from pixels to real world units is that when taking a
picture and projecting the 3-D coordinates of an object into
the image plane (2-D), there is a loss of information, particularly the depth. For every pixel in the image there is an infinite
amount of possible locations in the 3-D space. To measure distances and angles on the images, recovering this lost information
is essential.
Stereo vision is a well-known technique to address this problem. It uses the principle of having the same two points in both
images, and therefore finding the intersection of the two pixel
rays the 3-D depth information can be recovered. In the present
case, this technique is not possible because only a single camera
is used. Hence, some extra geometrical information is needed to
find the 3-D coordinate from a 2-D pixel. The extra information
that can be used is the plane equation in which we know the desired pixel will be contained. For instance, in case of measuring
⎤
⎦ _._ (18)
_−→_
_r_ 1 _C_ =
⎡
⎣
_u_
_v_
_f_
To transform <sup>_−→_</sup> _r_ 1 _C_ from the camera coordinate system to the
nozzle coordinate system, the rotation matrix and translation
vector are used. The transform can be written as
⎤
⎦ + _t_ NC _._ (19)
_−→_
_r_ 1 _N_ = _R_ NC
⎡
⎣
_u_
_v_
_f_
Hence, the direction vector can be calculated by
_u_
_v_
_f_
⎡
⎣
_u_
_v_
_f_
⎞
⎠ _−_ _t_ NC = _R_ NC
⎛
_−→m_ = <sup>_−→_</sup> _r_ 1 _N_ _−_ <sup>_−→_</sup> _r_ 0 _N_ = ⎝ _R_ NC
⎡
⎣
⎤
⎦+ _t_ NC
⎤
⎦ _._
(20)
Next, once the pixel ray line equation, that defines all the
possible 3-D positions of the 2-D pixel, is determined, the intersection with the feature plane is used to recover the exact
location among all the infinite possibilities. Having a general
normalized plane
_−→n_ _·_ <sup>_−→_</sup> _r_ = _d_ (21)
where <sup>_−→_</sup> _n_ is a unit vector normal to the plane and _d_ is the
minimum distance from the plane to the origin. Substituting (16)
into (21), the line-plane intersection can be found; the value of
_λ_ can be calculated by
_λ_ = <sup>_d −_</sup> _~~−→~~_ _mr_ <sup>_−→_</sup> _·_ <u>0</u> _N_ <sup>_~~−→~~_</sup> _n·_ <sup>_−→_</sup> _n_ _._ (22)
IV. RESULTS AND DISCUSSIONS
_A._ _Intrinsic and Distortion Parameters_
This section corresponds to steps 4 and 5 of the camera calibration methodology explained in Section III-B. A total of 12
positions of the camera have been tested to estimate the intrinsic and distortion coefficients. The resolution of the image is
800 _×_ 600 pixels. Fig. 6 shows four examples that illustrate the
detect feature points on the calibration checkerboard to perform
the calibration. Note that the world origin would correspond
to the first red point from the top left. Then, the axis will be
defined depending on how the successive points are defined in
the 3-D space. Because the calibration parameters were calculated by averaging the results from different calibration images,
more calibration images usually produce more accurate results.
All calibration steps and image processing algorithms were implemented through the Visual Studio C++ 2015 and OpenCV
library.
Assuming square pixels, the detected intrinsic parameters
(unit: pixel) are
8077 _._ 7 0 399 _._ 5
0 8077 _._ 7 299 _._ 5
0 0 1
Fig. 7. (Left): A raw image. (Right): The difference between the raw
and the undistorted image.
a difference image between a raw image and the corresponding
undistorted image in a binary form. A clear shift can be noticed
on the boundary of the weld pool, which will affect the following
measurement.
_B._ _Extrinsic Parameters_
Once the intrinsic parameters and distortion parameters are
calculated, the position of the camera was fixed on the working
place and another picture of the grid was taken to calculate the
extrinsic parameters, as stated in steps 6 and 7 in Section III-B.
The position of the nozzle of the CNC machine has been
used to find the orange transformation in Fig. 4. Fig. 7 shows a
picture captured from the top position where the coordinates of
the nozzle (unit: mm) are
_t_ CNC1 = _{_ 198 _._ 49 266 _._ 65 244 _._ 44 _} ._ (25)
Knowing that the position of the CNC in the world coordinate
(unit: mm) can be converted to
_t_ CNC2 = _{_ 180 _._ 29 257 _._ 68 247 _._ 33 _}_ (26)
the translation vector from the world coordinate system to the
nozzle coordinate system (the orange transformation) (unit:
mm) can be calculated by
_t_ WN = _t_ CNC1 _−_ _t_ CNC2 = _{_ 18 _._ 20 8 _._ 97 _−_ 2 _._ 89 _} ._ (27)
The extrinsic parameters, composed by the rotation and translation from the camera coordinate to the world coordinate (the
blue transformation in Fig. 4), are shown in (28) and (29), respectively
⎤
⎦ _._ (23)
_R_ CW =
0 _._ 9989 0 _._ 0135 _−_ 0 _._ 0446
0 _._ 0018 0 _._ 9450 0 _._ 3270
0 _._ 0466 _−_ 0 _._ 3268 0 _._ 9440
⎦ (28)
_K_ =
⎡
⎣
⎤
⎡
⎣
Based on this matrix, it can be deduced that _fx_ = _fy_ =
8077.7 pixel and that the center of the image with respect to
the upper left corner is _Cx_ = 399.5 pixel and _Cy_ = 299.5 pixel.
The detected camera distortion parameters are
_k_ 1 = 2 _._ 95
_k_ 2 = 1755 _._ 86
_k_ 3 = 5 _._ 31 _._ (24)
The raw images can then be applied by (3) and (4) based on
the identified parameters shown in (24) to reduce the distortion,
by which means the reliability of the measurements produced by
the next steps can be improved. The right picture of Fig. 7 shows
_t_ CW = _{−_ 6 _._ 46 mm _−_ 2 _._ 73 mm 219 _._ 71 mm _} ._ (29)
Since the nozzle does not rotate with respect to the world
coordinate system, finally, the camera rotation and translation,
with respect to the nozzle coordinate system, can be found in
(30) and (31), respectively
0 _._ 9989 0 _._ 0018 0 _._ 0466
0 _._ 0135 0 _._ 9450 0 _._ 3268
_−_ 0 _._ 0446 _−_ 0 _._ 3270 0 _._ 9440
⎦ (30)
⎤
_R_ NC =
⎡
⎣
_t_ NC = _{−_ 21 _._ 97 mm _−_ 65 _._ 49 mm _−_ 203 _._ 90 mm _} ._
(31)
Fig. 8. Reprojection error for each image used in calibration.
The rotation matrix in (30) can also be written as Euler angles,
as shown in (32) and (33)
_ψ_ 1 = 19 _._ 11 <sup>_◦_</sup>
_θ_ 1 = 2 _._ 55 <sup>_◦_</sup>
_φ_ 1 = 0 _._ 78 <sup>_◦_</sup> (32)
_ψ_ 2 = _−_ 160 _._ 89 <sup>_◦_</sup>
_θ_ 2 = 177 _._ 44 <sup>_◦_</sup>
_φ_ 2 = _−_ 179 _._ 22 <sup>_◦_</sup> _._ (33)
The reprojection errors of the calibration process are used to
evaluate the accuracy of the calibration. It consists of projecting
the 3-D calibration grid points using the estimated calibration
parameters, and then measuring the mean square error between
the projected points and the original points in the image. Totally
12 tests with different camera positions have been conducted to
estimate the extrinsic parameters. Fig. 8 shows the plot of the
reprojection error for every calibration image. Variation of error
has been observed but in a relatively small range. The averaged
error is 0.964 _±_ 0.124 pixel. Note the camera positions for the
12 cases are different, which indicates that the extrinsic parameters are different and the scales between the world coordinate
and the image coordinate are different. The error in mm would
only be valid for a particular case; consequently, it is believed
that providing the reprojection error in pixels is more general
because it is independent on the scale/distance of the object that
is being recorded.
_C._ _Width Tracking_
The proposed imaging and calibration system aim to accommodate measurement of different properties of weld pool. This
section presents a case study to measure the width of bead to
demonstrate this system.
The following two assumptions are made to obtain good results using this procedure.
1) The edge of the bead can be found in images.
2) The desired boundary movement from one frame to another is smooth. This assumption is valid for most cases
because the change in the bead width will hardly be
abrupt.
The steps to measure the bead width can be described as
follows.
1) Apply the distortion parameters shown in (17) to correct
the distortion.
2) Initialize edge points and apply a window: To know where
to start tracking the edges of the bead, two edge points
are initialized. These points are initialized manually by
clicking on the image. The first click determines the _x_ and
_y_ coordinates of the first point as well as the _y_ -coordinate
of the second point. The second click determines the _x_ coordinate of the second point. Based on these points, two
windows are applied, one for each of the edges, to reduce
the region of interest allowing to reduce the amount of
calculations to process the image and find the edges.
3) Image enhancement: The mean shift filter is applied to
reduce noise, increase the chance to find the edge, and
improve the reliability of measurement. The mean shift
filter is an iterative filter, which basically produces a color
segmentation of the image by processing a certain amount
of neighbor pixels with a certain range in the color acceptance to make one particular color region to grow
progressively.
4) Edge detection: The Canny edge detector is used to find
reliable edges in an image.
5) Thresholding: Otsu’s thresholding method is employed in
this paper to remove weak edges and preserve the strong
ones.
6) Line extraction: The Hough Transform is employed to
find lines in a binary image.
7) Line selection: After obtaining a range of possible lines
from the Hough Transform, a decision has to be made
to select which of the extracted lines correspond to the
boundary of the bead. This step is essential because the
presence of noise in the image introduces false edges,
which must be filtered before the landmark detection. To
address this, several assumptions are made, which are as
follows:
a) only the most reliable ones given by the Hough
Transform will be analyzed;
b) the most reliable line will always be the one with
the middle point closer to the previous bead corner
if this distance is inside a certain threshold; and
c) if the lines obtained are outside the threshold, the
most reliable line will tend to be the one inside the
weld pool, that is at the right side for the left edge,
and at the left side for the right edge.
8) Landmark detection: The middle point on the selected
lines will be used as the landmarks to calculate the width.
9) Calculate the width in the unit of “mm” by applying the
extrinsic parameters shown in (23) and (24) identified
from the calibration procedure.
Fig. 9 illustrates the routine to measure the bead width and
the intermediate images corresponding to each step.
Fig. 10 plots the results of bead width measurement for 40
consecutive frames from two tests using the proposed calibration system and image analysis method, plotted by the
solid curves. Fig. 11 shows a snapshot of the bead width
Fig. 9. Illustration of the developed width tracking method.
Fig. 10. Width measurement for 40 consecutive frames from two tests.
Fig. 11. Width measurements for test 1 at frame 1.
measurement. To evaluate the accuracy of measurement, the
bead width was manually measured based on the sampled
images and the results are plotted by the dotted curves in
Fig. 10. Visual inspection indicates a very good approximation of the ground truth. The average errors for Tests 1 and 2
are 0.052 _±_ 0.030 mm and 0.062 _±_ 0.034 mm, respectively, or
1 _._ 48 _±_ 1 _._ 82 and 2.40 _±_ 1.35 pixels, respectively.
Although this case study focuses on one parameter only, the
proposed imaging system can measure multiple parameters at
the same time. For example, if the set up shown in Fig. 2(b) is
used, both the width of bead and the position of wire (e.g., angle
of the wire) can be measured. This case study only demonstrates
how to use the proposed system to measure a parameter. Such
a methodology can be easily extended to measure other parameters, while the difference would be the feature detection using
image processing methods.
V. CONCLUSION
The main goal of this research was to investigate how to sense
a PAW process through a low-cost computer vision technique
in an easy-to-use approach. To achieve this goal, this paper proposed a passive imaging system, which includes data acquisition
setup, a novel calibration routine, feature extraction, and measurement. This system allows the user to track the weld pool
geometry online during the welding processing, which can be
feedbacked to the controller of experimental parameters to better
control this process. The verification tests showed that the averaged error of calibration is less than 1 pixel. A case study to track
the bead width was presented in this paper to demonstrate how
the proposed system measures the geometry of the weld pool.
A novel routine of feature extraction using image processing
technique was proposed. The results showed that the proposed
system can effectively track the dynamics of the bead width.
The main novelty of the research was the calibration methodology, specifically for PAW, which allows transforming measurements from pixel to the real-word unit automatically through
an easy-to-use routine and accurately through compensating
camera distortion. The proposed calibration moves the camera
with respect to the calibration pattern on the deposition position
instead of moving the calibration pattern due to the space limitation in the CNC machine. Because the position of the camera
with respect to the nozzle was always the same, the position of
nozzle and the estimated parameters were then used to localize
the camera position. The standard calibration process was tailored to better fit the monitoring of the PAW process through
such unique changes.
The proposed system features with the following key advantages.
1) The camera distortion was considered to improve the
measurement accuracy.
2) Having the whole camera model allows the fast and accurate calculation of the camera position in 3-D. This can
be especially useful to set up the experimental condition
and to perform further experiments by changing the camera positions in order to improve the image quality or to
measure other features from the process.
3) No laser illumination was required, and the whole imaging system was relatively less experience.
The proposed calibration process assumes that the camera has
square pixels ( _fx_ = _fy_ ), which fits to most of the cameras. If the
pixels were not exactly square, the process to estimate intrinsic
parameters will not be affected. Two independent parameters
_fx_ and _fy_ will be estimated. However, the current equations
(18)–(20) will be affected and need to be extended, which will
be one of the future works.
This system is ready to accommodate measurement of different features either by changing the camera or camera position.
Futures works will focus on the following:
1) identifying the optimal camera position to measure multiple important parameters of weld pool;
2) 3-D surface reconstruction of the whole weld pool; and
3) the influence of different control parameters to the geometry of weld pool.
REFERENCES
[1] S. W. Williams, F. Martina, A. C. Addison, J. Ding, G. Pardal, and
P. Colegrove, “Wire + arc additive manufacturing,” _Mater. Sci. Technol._,
vol. 32, no. 7, pp. 641–647, 2016.
[2] R. Kovacevic, Y. Zhang, and L. Li, “Monitoring of weld joint penetration
based on weld pool geometrical appearance,” _Weld. J._, vol. 38, pp. 317–
329, 1996.
[3] L. O. Vilarinho, B. Lucas, and M. Houghton, “Dedicated near-infrared
vision system for monitoring welding processes,” in _Proc. 20th Int. Congr._
_Mech. Eng._, Gramado, Brazil, 2009, pp. 7–13.
[4] H. Song and Y. Zhang, “Measurement and analysis of three-dimensional
specular gas tungsten arc weld pool surface,” _Weld. J._, vol. 87, pp. 85–95,
2008.
[5] Z. Wang, “An imaging and measurement system for robust reconstruction
of weld pool during arc welding,” _IEEE_ _Trans._ _Ind._ _Electron._, vol. 62,
no. 8, pp. 5109–5118, Aug. 2015.
[6] J. Zeshi, L. Haichao, J. Guoquing, and G. Hongming, “Dynamic non-linear
modeling of 3D weld pool surface in GTAW,” _Robot._ _Comput.-Integr._
_Manuf._, vol. 39, pp. 1–8, 2016.
[7] W. Lucas, D. Bertasco, G. Melton, J. Smith, and C. Balfour, “Real-time
vision-based control of weld pool size,” _Weld. Int._, vol. 26, no. 4, pp. 243–
250, 2012.
[8] C. Wu, J. Gao, X. Liu, and Y. Zhao, “Vision-based measurement of weld
pool constant-current gas tungsten arc welding,” _Proc._ _Inst. Mech. Eng.,_
_J. Eng. Manuf._, vol. 217, pp. 879–882, 2003.
[9] J. Liu, Z. Fan, S. I. Olsen, K. H. Christensen, and J. K. Kristensen, “A
real-time passive vision system for robotic arc welding,” in _Proc._ _IEEE_
_Int. Conf. Autom. Sci. Eng._, 2015, pp. 389–394.
[10] J. Xiong, G. Zhang, Z. Qiu, and Y. Li, “Vision sensing and bead width
control of single-bead multi-layer part: Material and energy saving in
GMAW-based rapid manufacturing,” _J. Cleaner Prod._, vol. 41, pp. 82–88,
2012.
[11] J. Xiong and G. Zhang, “Adaptive control of deposited height in GMAW
based layer additive manufacturing,” _J. Mater. Process. Technol._, vol. 214,
pp. 962–968, 2013.
[12] J. Xiong and G. Zhang, “Online measurement of bead geometry in
GMAW-based additive manufacturing using passive vision,” _Meas._ _Sci._
_Technol._, vol. 24, no. 11, 2013, Art. no. 115103.
[13] Q. Zhan, Y. Liang, J. Ding, and S. Williams, “A wire deflection detection
method based on image processing in wire + arc additive manufacturing,”
_Int. J. Adv. Manuf. Technol._, vol. 89, pp. 755–763, 2017.
[14] P. Ghanty _et al._, “Artificial neural network approach for estimating weld
bead width and depth of penetration from infrared thermal image of weld
pool,” _Sci. Technol. Weld. Joining_, vol. 13, no. 4, pp. 395–401, 2016.
[15] Z. Chen and X. Gao, “Detection of weld pool width using infrared imaging
during high-power fiber laser welding of type 304 austenitic stainless
steel,” _Int. J. Adv. Manuf. Technol._, vol. 74, no. 9, pp. 1247–1254, 2014.
[16] F. Bonnacorso, L. Cantelli, and G. Muscato, “An arc welding robot control
for a shaped metal deposition plant: Modular software interface and sensors,” _IEEE Trans. Ind. Electron._, vol. 58, no. 8, pp. 3126–3132, Aug. 2011.
[17] J. Xiong, Z. Yin, and W. Zhang, “Closed-loop control of variable layer
width for thin-walled parts in wire and arc additive manufacturing,” _J._
_Mater. Process. Technol._, vol. 233, pp. 100–106, 2016.
[18] F. Martina, J. Mehnen, S. Williams, P. Colegrove, and F. Wang, “Investi
gation of the benefits of plasma deposition for the additive layer manufacture of Ti–6Al–4V,” _J. Mater. Process. Technol._, vol. 212, pp. 1377–1386,
2012.
[19] G. G. Slabaugh, “Computing Euler angles from rotation matrix,” ac
cessed on Nov. 15, 2016. [Online]. Available: http://www.gregslabaugh.
name/publications/euler.pdf
[20] C. X. Zhao, I. M. Richardson, S. Kenjeres, C. R. Kleijn, and Z. Saldi, “A
stereo vision method for tracking particle flow on the weld pool surface,”
_J. Appl. Phys._, vol. 105, 2009, Art. no. 123104.
[21] X. Z. Chen, Y. M. Huang, and S. B. Chen, “Model analysis and experimen
tal technique on computing accuracy of seam spatial position information
based on stereo vision for welding robot,” _Ind. Robot, Int. J._, vol. 39, no. 4,
pp. 349–356, 2012.
Tomas Font comas was born in Spain. He received the M.Sc. degree in computational and
software techniques in engineering from Cranfield University, Cranfield, U.K., in 2016.
He currently runs a company called Videoassist/Equipo in Spain. His current research focuses on digital signal and image processing
with applications in conditional monitoring.
Chenglei Diao was born in Jiangsu, China. He
received the M.Eng. degree in mechanical engineering from the University of Cambridge, Cambridge, U.K., in 2016. He is currently working
toward the Ph.D. degree in welding engineering
at the Welding Engineering and Laser Processing Centre, Cranfield University, Cranfield, U.K.
During his undergraduate studies, he served
internships with COMAC, FFT Produktionssysteme GmbH & Co. KG, and Aritex.
Jialuo Ding was born in Qinhuangdao, China.
She received the Ph.D. degree in welding engineering from Cranfield University, Cranfield,
U.K., in 2012.
After receiving the Ph.D. degree, she became
a Research Fellow in the Welding Engineering
and Laser Processing Centre, Cranfield University, and continued her research on the wire
+ arc additive manufacturing (WAAM) process
from 2012 to 2015. In 2015, she was promoted to
Senior Research Fellow in additive manufacturing. Her research interests include thermal-mechanical modeling of the
WAAM, WAAM software development, process control and automation
of the WAAM process, and manufacturing strategy for building largescale components with WAAM.
Stewart Williams was born in Lichfield, U.K. He
received the Ph.D. degree in laser physics from
the University of London, London, U.K., in 1981.
He is currently the Director of the Welding Engineering and Laser Processing Centre, Cranfield University, Cranfield, U.K., with research focused on large-scale additive manufacture and
laser processing. He was previously a Development Engineer with Edinburgh Instruments
and a Researcher and Group Leader with BAE
Systems.
Yifan Zhao was born in Zhejiang, China. He
received the Ph.D. degree in automatic control
and system engineering from the University of
Sheffield, Sheffield, U.K., in 2007.
He is currently a Lecturer in image and signal processing and degradation assessment at
Cranfield University, Cranfield, U.K. His research
interests include computer-vision-based process monitoring, super resolution, active thermography, and nonlinear system identification.
섹션 본문
섹션 본문이 없습니다.
참고문헌 19건
- Monitoring of weld joint penetration based on weld pool geometrical appearance Welding Journal · American Welding Society · 1996
- A real-time passive vision system for robotic arc welding IEEE International Conference on Automation Science and Engineering (CASE) · 2015 10.1109/coase.2015.7294109
- Wire + Arc Additive Manufacturing Materials Science and Technology · Maney Publishing · 2015 10.1179/1743284715y.0000000073
- Adaptive control of deposited height in GMAW-based layer additive manufacturing Journal of Materials Processing Technology · Elsevier BV · 2013 10.1016/j.jmatprotec.2013.11.014
- Online measurement of bead geometry in GMAW-based additive manufacturing using passive vision Measurement Science and Technology · IOP Publishing · 2013 10.1088/0957-0233/24/11/115103
- Real-time vision-based control of weld pool size Welding International · Taylor & Francis · 2011 10.1080/09507116.2011.581336
- Detection of weld pool width using infrared imaging during high-power fiber laser welding of type 304 austenitic stainless steel The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2014 10.1007/s00170-014-6081-3
- Artificial neural network approach for estimating weld bead width and depth of penetration from infrared thermal image of weld pool Science and Technology of Welding & Joining · Maney Publishing · 2008 10.1179/174329308x300118
- An Imaging and Measurement System for Robust Reconstruction of Weld Pool During Arc Welding IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2015 10.1109/tie.2015.2405494
- Vision-sensing and bead width control of a single-bead multi-layer part: material and energy savings in GMAW-based rapid manufacturing Journal of Cleaner Production · Elsevier BV · 2012 10.1016/j.jclepro.2012.10.009
- Investigation of the benefits of plasma deposition for the additive layer manufacture of Ti–6Al–4V Journal of Materials Processing Technology · Elsevier BV · 2012 10.1016/j.jmatprotec.2012.02.002
- Model analysis and experimental technique on computing accuracy of seam spatial position information based on stereo vision for welding robot Industrial Robot the international journal of robotics research and application · Emerald Publishing Limited · 2012 10.1108/01439911211227917
- Vision-based measurement of weld pool geometry in constant-current gas tungsten arc welding Proceedings of the Institution of Mechanical Engineers Part B Journal of Engineering Manufacture · SAGE Publishing · 2003 10.1243/09544050360673279
- An Arc Welding Robot Control for a Shaped Metal Deposition Plant: Modular Software Interface and Sensors IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2011 10.1109/tie.2011.2114311
- A stereo vision method for tracking particle flow on the weld pool surface Journal of Applied Physics · American Institute of Physics · 2009 10.1063/1.3143789
- Dynamic nonlinear modeling of 3D weld pool surface in GTAW Robotics and Computer-Integrated Manufacturing · Elsevier BV · 2015 10.1016/j.rcim.2015.11.004
- Closed-loop control of variable layer width for thin-walled parts in wire and arc additive manufacturing Journal of Materials Processing Technology · Elsevier BV · 2016 10.1016/j.jmatprotec.2016.02.021
- A wire deflection detection method based on image processing in wire + arc additive manufacturing The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2016 10.1007/s00170-016-9106-2
- Deleted Work 1955