The invention discloses a
welding seam self-adaption B spline
curve fitting method for a 3D dense out-of-order
point set, and aims at solving the problem of complex curved surface
welding seam track generation in
robot welding and breaking through the limitation of the prior art through a three-stage self-adaption fitting mechanism. The method comprises the following steps: firstly, self-adaptive screening and projection sorting are carried out by utilizing a straight
line fitting error, so that the disordering problem of
discrete points of a quadratic curved surface intersection line is effectively solved, and the strong dependence of a traditional method on a CAD model is overcome; secondly, in combination with a
region growing method guided by an end tangent vector, robust conversion from an out-of-order
point set to an ordered
control point is realized through dynamic
neighborhood search and projection value sorting, and path continuity of an open / closed curve is guaranteed; and finally, mean sampling quadratic fitting is adopted,
control point distribution is optimized while
noise is restrained, and a smooth B-spline track meeting the movement requirement of the welding gun is generated. According to the method, direct fitting of the 3D dense out-of-order
point set under the model-free condition is achieved for the first time, and the generation efficiency and adaptability of the irregular welding seam track are remarkably improved.