Shanghai Normal University Tianhua College AI School, Shanghai, China.
Key Laboratory of Intelligent Infrared Perception, Shanghai Institute of Technical Physics, Chinese Academy of Sciences, Shanghai, China.
Comput Intell Neurosci. 2022 Aug 3;2022:3003810. doi: 10.1155/2022/3003810. eCollection 2022.
As the core component of permanent magnet motor, the magnetic tile defects seriously affect the quality of industrial motor. Automatic recognition of the surface defects of the magnetic tile is a difficult job since the patterns of the defects are complex and diverse. The existing defect recognition methods result in difficulty in practical application due to the complicated system structure and the low accuracy of the image segmentation and the target detection for the diversity of the defect patterns. A self-supervised learning (SSL) method, which benefits from its nonlinear feature extraction performance, is proposed in this study to improve the existing approaches. We proposed an efficient multihead self-attention method, which can automatically locate single or multiple defect areas of magnetic tile and extract features of the magnetic tile defects. We also designed an accurate full-connection classifier, which can accurately classify different defects of magnetic tile defects. A knowledge distillation process without labeling is proposed, which simplifies the self-supervised training process. The process of our method is as follows. A feature extraction model consists of standard vision transformer (ViT) backbone, which is trained by contrast learning without labeled dataset that is used to extract global and local features from the input magnetic tile images. Then, we use a full-connection neural network, which is trained by using labeled dataset to classify the known defect types. Finally, we combined the feature extraction model and defect classification model together to form a relatively simple integrated system. The public magnetic tile surface defect dataset, which holds 5 defect categories and 1 nondefect category, is used in the process of training, validating, and testing. We also use online data augmentation techs to increase training samples to make the model converge and achieve high classification accuracy. The experimental results show that the features extracted by the SSL method can get richer and more detailed features than the supervised learning model gets. The composite model reaches to a high testing accuracy of 98.3%, and gains relatively strong robustness and good generalization ability.
作为永磁电机的核心部件,磁瓦缺陷严重影响工业电机的质量。由于缺陷模式复杂多样,磁瓦表面缺陷的自动识别是一项艰巨的任务。现有的缺陷识别方法由于系统结构复杂,图像分割和目标检测的精度低,难以满足实际应用的需要,难以满足实际应用的需要。
本研究提出了一种自监督学习(SSL)方法,利用其非线性特征提取性能来改进现有的方法。我们提出了一种高效的多头自注意力方法,它可以自动定位磁瓦的单个或多个缺陷区域,并提取磁瓦缺陷的特征。我们还设计了一个精确的全连接分类器,可以准确地对不同的磁瓦缺陷进行分类。提出了一种无标注的知识蒸馏过程,简化了自监督训练过程。
我们的方法的过程如下。特征提取模型由标准视觉转换器(ViT)骨干组成,该骨干通过无标注数据集进行对比学习训练,用于从输入磁瓦图像中提取全局和局部特征。然后,我们使用全连接神经网络,通过使用标注数据集进行训练,对已知的缺陷类型进行分类。最后,我们将特征提取模型和缺陷分类模型结合在一起,形成一个相对简单的集成系统。在训练、验证和测试过程中,使用了包含 5 个缺陷类别和 1 个无缺陷类别的公共磁瓦表面缺陷数据集。我们还使用在线数据增强技术来增加训练样本,使模型收敛并达到高分类精度。
实验结果表明,SSL 方法提取的特征比监督学习模型提取的特征更丰富、更详细。复合模型达到了 98.3%的高测试精度,具有较强的鲁棒性和良好的泛化能力。