The invention discloses a
welding defect real-time detection method and
system based on high-frequency
time sequence data. The detection method comprises the steps of firstly sampling the collected high-frequency
welding time sequence data according to a set window length, marking a defect
occurrence time period and a defect type for each sample, and generating a data sample set; training a ResNet and TCN fusion
network model by using the generated data sample set to obtain a trained detection model; and finally, obtaining new real-time high-frequency
welding data, inputting the new real-time high-frequency welding data into the trained detection model for prediction according to a set window length, and outputting a
welding defect category in real time. According to the method, the ResNet network and the TCN are subjected to
network structure fusion, the ResNet can be applied to the field of
time sequence detection, and for high-frequency welding time sequence data with a large data size and a long sequence length, the training speed is increased in the training process through a parallel
convolution calculation mode, and strong real-time prediction is achieved in the prediction process.