The invention provides a method for detecting a
welding seam by adopting an ultrasonic flaw
detector, and belongs to the technical field of
welding seam detection. The
welding seam is divided into small welding sections, and each small welding section is subjected to multi-direction ultrasonic scanning; a
scattering attenuation coefficient and a
signal-to-
noise ratio parameter are calculated to determine an optimal detection position
direction vector group and an optimal time frequency group, and then a high-frequency narrow pulse probe is matched with a
phased array focusing technology to carry out second detection according to the optimized parameter; and the identified defects are classified and evaluated according to the near surface blind area characteristic parameters, secondary
verification is performed by adopting a
surface wave supplementary detection
algorithm, and finally a weld defect position
distribution diagram is generated, so that the technical problem of low defect detection accuracy caused by serious
ultrasonic scattering attenuation of a coarse
grain structure weld material is solved.