The invention discloses a
system and a method based on double-line-
laser structure light and used for
welding joint identification and tracking. The
system comprises a
laser emitter, an industrial camera, an industrial lens, a
light filter, a
welding gun, a motor and a computer, wherein the
laser emitter comprises double laser generators installed at the two sides of the industrial camera and generating two
structure light planes by projecting laser onto the surface of a workpiece, so that two laser stripes are formed on the surface of the workpiece; an
image acquisition system is composed ofthe industrial camera, the industrial lens and the
light filter, and used for acquiring a
welding joint image containing the laser stripes;
image processing is carried out on the acquired
welding joint image through a computer to obtain the position of a
welding joint in the image; calibration is carried out on the camera and the laser planes to obtain the internal and external parameters of the camera and the space equations of the line laser planes, and the three-dimensional space attitude of the
welding joint is calculated; and the motor controls the welding gun and receives data, and thenwelding is carried out at a corresponding position. The system and method realize correction for a
welding process, control the focal depth of the welding gun, and realize control over a defocusing amount.