CN116698978A - Method and device for ultrasonic recognition of transformer defects by convolutional neural network - Google Patents

Method and device for ultrasonic recognition of transformer defects by convolutional neural network Download PDF

Info

Publication number
CN116698978A
CN116698978A CN202211714061.5A CN202211714061A CN116698978A CN 116698978 A CN116698978 A CN 116698978A CN 202211714061 A CN202211714061 A CN 202211714061A CN 116698978 A CN116698978 A CN 116698978A
Authority
CN
China
Prior art keywords
neural network
convolutional neural
defect
ultrasonic
layers
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211714061.5A
Other languages
Chinese (zh)
Inventor
卢冰
周峰
雷民
殷小东
姜春阳
陈习文
金淼
聂高宁
王斯琪
王欢
王旭
齐聪
郭子娟
付济良
余雪芹
高克俭
郭鹏
刘俊
朱赤丹
赵世杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Corp of China SGCC
China Electric Power Research Institute Co Ltd CEPRI
Original Assignee
State Grid Corp of China SGCC
China Electric Power Research Institute Co Ltd CEPRI
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Corp of China SGCC, China Electric Power Research Institute Co Ltd CEPRI filed Critical State Grid Corp of China SGCC
Priority to CN202211714061.5A priority Critical patent/CN116698978A/en
Publication of CN116698978A publication Critical patent/CN116698978A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications

Landscapes

  • Investigating Or Analyzing Materials By The Use Of Ultrasonic Waves (AREA)
  • Image Analysis (AREA)

Abstract

The embodiment of the invention discloses a method and a device for identifying defects of a transformer by using ultrasonic waves of a convolutional neural network, wherein the method comprises the following steps: detecting the current transformer by using an ultrasonic detection device, and collecting waveform data of ultrasonic waves corresponding to different defects; extracting spectrum information of the waveform data by applying Fourier transformation; generating characteristic images corresponding to different defect categories by using a Graham angle field algorithm; dividing the generated characteristic image into a training set and a testing set, and inputting the training set into a convolutional neural network model for training; inputting the test set into a trained convolutional neural network model, extracting and classifying defect features in the feature images, and determining the ultrasonic defect type.

Description

卷积神经网络的超声波识别互感器缺陷方法及装置Method and device for ultrasonic recognition of transformer defects by convolutional neural network

技术领域technical field

本发明涉及电流互感器缺陷识别技术领域,并且更具体地,涉及一种卷积神经网络的超声波识别互感器缺陷方法及装置。The present invention relates to the technical field of defect identification of current transformers, and more specifically, to a method and device for ultrasonically identifying defects of transformers using a convolutional neural network.

背景技术Background technique

为了对计量用互感器进行快速全覆盖式的预筛选,选取劣质概率较高的计量用互感器进一步通过全性能试验排查,提升计量用互感器的缺陷检出率和待投运计量用互感器的质量水平,本项目采用超声波这种快速无损检测的方法对互感器进行检测。In order to perform rapid and full-coverage pre-screening of metering transformers, select metering transformers with a high probability of inferior quality for further investigation through full performance tests, improve the defect detection rate of metering transformers and measure transformers to be put into operation The quality level of the transformer is tested by ultrasonic, a fast non-destructive testing method, in this project.

超声检测基本原理信号通常以波的形式出现,例如声波和电磁波等,超声波属于声波,其频率通常大于20KHz,是介质中超声振动的传播所引起的呈波动形式的一种机械振动。超声波具有波长短、频率高以及能定向发射等特征,能在界面上产生反射、折射和波型变换。超声波能量与其频率二次方成正比,因此能量密度高、传播距离大、穿透能力强。Basic principles of ultrasonic testing Signals usually appear in the form of waves, such as sound waves and electromagnetic waves. Ultrasonic waves are sound waves, and their frequency is usually greater than 20KHz. It is a mechanical vibration in the form of waves caused by the propagation of ultrasonic vibration in the medium. Ultrasound has the characteristics of short wavelength, high frequency and directional emission, which can produce reflection, refraction and wave mode transformation on the interface. Ultrasonic energy is proportional to the square of its frequency, so the energy density is high, the propagation distance is large, and the penetration ability is strong.

超声波在不同材料介质而组成的界面上所产生的反射和透射状况与材料的声阻抗关系密切。由于界面不同材料介质的弹性模量和密度不同,因此在该区域传播的超声波声阻抗也不同。反射波的强弱关键取决于界面两侧材料介质的声阻抗Z1和Z2,故尺寸一样但不同性质的缺陷,缺陷回波强度不同。空气的声阻抗远小于钢的声阻抗,对于固体材料中气孔、裂纹等含气体的缺陷,可近似认为声波在缺陷表面发生全反射。而超声检测就是根据超声波在器件内的回波情况来判断器件内是否有缺陷。The reflection and transmission of ultrasonic waves on the interface composed of different material media are closely related to the acoustic impedance of the material. Because the elastic modulus and density of different material media at the interface are different, the acoustic impedance of ultrasonic waves propagating in this area is also different. The strength of the reflected wave depends critically on the acoustic impedance Z1 and Z2 of the material medium on both sides of the interface, so defects with the same size but different properties have different defect echo intensities. The acoustic impedance of air is much smaller than that of steel. For gas-containing defects such as pores and cracks in solid materials, it can be approximated that sound waves are totally reflected on the surface of the defect. Ultrasonic testing is to judge whether there is a defect in the device based on the echo of the ultrasonic wave in the device.

一般的超声检测研究是在结构较为简单及材料较为单一的器件上进行,波形较为规律,易于分析。下图为电流互感器切面示意图,其中灰色的环表示铁心,以铁心为中心对应的黑黄棕橙色区域分别为铁心塑料护壳、二次线圈、缓冲层以及环氧树脂,紫色区域为超声波发射及接收装置。可见电流互感器内部结构复杂,材料种类多,回波波形极其复杂,一般的分析方法已经不能适用。General ultrasonic testing research is carried out on devices with relatively simple structures and relatively single materials, and the waveforms are relatively regular and easy to analyze. The figure below is a schematic diagram of the current transformer section, in which the gray ring represents the iron core, and the black, yellow, brown and orange areas corresponding to the iron core are the core plastic shell, secondary coil, buffer layer and epoxy resin, and the purple area is the ultrasonic emission and receiving device. It can be seen that the internal structure of the current transformer is complex, there are many types of materials, and the echo waveform is extremely complex, so the general analysis method is no longer applicable.

发明内容Contents of the invention

电流互感器由于制造过程中的各种不确定因素,可能会产生各种缺陷,相关缺陷可以采用非接触非破坏性的超声波缺陷检测方法进行检测。不同的缺陷对应的超声波波形不同,因此可以针对超声波的波形对缺陷进行识别。但是通过人工的方式进行识别不仅准确率低而且非常低效。针对此问题,提出了本发明。本发明的实施例提供了一种卷积神经网络的超声波识别互感器缺陷方法及装置。Current transformers may have various defects due to various uncertain factors in the manufacturing process, and related defects can be detected by non-contact and non-destructive ultrasonic defect detection methods. Different defects correspond to different ultrasonic waveforms, so defects can be identified based on ultrasonic waveforms. However, manual identification is not only low in accuracy but also very inefficient. In view of this problem, the present invention is proposed. Embodiments of the present invention provide a convolutional neural network ultrasonic recognition method and device for transformer defects.

根据本发明实施例的一个方面,提供了一种卷积神经网络的超声波缺陷识别方法,包括:According to an aspect of an embodiment of the present invention, a convolutional neural network ultrasonic defect recognition method is provided, including:

利用超声波检测装置对电流互感器进行检测,采集对应不同缺陷下的超声波的波形数据;Use the ultrasonic testing device to detect the current transformer, and collect the waveform data of ultrasonic waves corresponding to different defects;

应用傅里叶变换提取波形数据的频谱信息;Apply the Fourier transform to extract the spectral information of the waveform data;

使用格拉姆角场算法将频谱信息生成对应不同缺陷类别的特征图像;Using the Graham angle field algorithm to generate spectral information into feature images corresponding to different defect categories;

将生成的特征图像分成训练集和测试集,并将训练集输入卷积神经网络模型进行训练;Divide the generated feature images into a training set and a test set, and input the training set into the convolutional neural network model for training;

将测试集输入训练好的卷积神经网络模型,对特征图像中的缺陷特征进行提取和分类,确定超声波缺陷类型。Input the test set into the trained convolutional neural network model, extract and classify the defect features in the feature image, and determine the ultrasonic defect type.

可选地,电流互感器的缺陷类型包括:气泡和裂缝。Optionally, the defect types of the current transformer include: air bubbles and cracks.

可选地,使用格拉姆角场算法生成的特征图像为二维彩色图像。Optionally, the feature image generated using the Graham angle field algorithm is a two-dimensional color image.

可选地,训练好的卷积神经网络模型包括3个卷积层、2个池化层和2个全连接层;其中3个卷积层的卷积核大小均为2×2,卷积核个数分别为16,32,48;2个池化层的池化窗口大小为2×2,步幅为2;2个全连接层神经元个数为240和120;经过softmax分类器输出10种分类结果。Optionally, the trained convolutional neural network model includes 3 convolutional layers, 2 pooling layers, and 2 fully connected layers; the convolution kernels of the 3 convolutional layers are all 2×2, and the convolution The number of cores is 16, 32, and 48 respectively; the pooling window size of the two pooling layers is 2×2, and the stride is 2; the number of neurons in the two fully connected layers is 240 and 120; output through the softmax classifier 10 classification results.

根据本发明实施例的另一个方面,提供了一种卷积神经网络的超声波缺陷识别装置,包括:According to another aspect of the embodiments of the present invention, a convolutional neural network ultrasonic defect recognition device is provided, including:

波形数据采集模块,用于利用超声波检测装置对电流互感器进行检测,采集对应不同缺陷下的超声波的波形数据;The waveform data acquisition module is used to detect the current transformer by using the ultrasonic detection device, and collect the waveform data corresponding to the ultrasonic waves under different defects;

频谱信息提取模块,用于应用傅里叶变换提取波形数据的频谱信息;Spectrum information extraction module, for applying Fourier transform to extract the spectrum information of waveform data;

特征图像生成模块,用于使用格拉姆角场算法将频谱信息生成对应不同缺陷类别的特征图像;A feature image generation module, configured to use the Graham angle field algorithm to generate feature images corresponding to different defect categories from spectral information;

模型训练模块,用于将生成的特征图像分成训练集和测试集,并将训练集输入卷积神经网络模型进行训练;A model training module, used to divide the generated feature images into a training set and a test set, and input the training set to a convolutional neural network model for training;

缺陷类型确定模块,用于将测试集输入训练好的卷积神经网络模型,对特征图像中的缺陷特征进行提取和分类,确定超声波缺陷类型。The defect type determination module is used to input the test set into the trained convolutional neural network model, extract and classify the defect features in the feature image, and determine the ultrasonic defect type.

可选地,电流互感器的缺陷类型包括:气泡和裂缝。Optionally, the defect types of the current transformer include: air bubbles and cracks.

可选地,使用格拉姆角场算法生成的特征图像为二维彩色图像。Optionally, the feature image generated using the Graham angle field algorithm is a two-dimensional color image.

可选地,训练好的卷积神经网络模型包括3个卷积层、2个池化层和2个全连接层;其中3个卷积层的卷积核大小均为2×2,卷积核个数分别为16,32,48;2个池化层的池化窗口大小为2×2,步幅为2;2个全连接层神经元个数为240和120;经过softmax分类器输出10种分类结果。Optionally, the trained convolutional neural network model includes 3 convolutional layers, 2 pooling layers, and 2 fully connected layers; the convolution kernels of the 3 convolutional layers are all 2×2, and the convolution The number of cores is 16, 32, and 48 respectively; the pooling window size of the two pooling layers is 2×2, and the stride is 2; the number of neurons in the two fully connected layers is 240 and 120; output through the softmax classifier 10 classification results.

根据本发明实施例的另一个方面,还提供了一种计算机可读存储介质,其特征在于,所述存储介质存储有计算机程序,所述计算机程序用于执行上述方法。According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is used to execute the above method.

根据本发明实施例的另一个方面,还提供了一种电子设备,所述电子设备包括:According to another aspect of the embodiments of the present invention, an electronic device is also provided, and the electronic device includes:

处理器;processor;

用于存储所述处理器可执行指令的存储器;memory for storing said processor-executable instructions;

所述处理器,用于从所述存储器中读取所述可执行指令,并执行所述指令以实现上述方法。The processor is configured to read the executable instruction from the memory, and execute the instruction to implement the above method.

本发明所提出的卷积神经网络的超声波缺陷识别方法,借助机器视觉中图像分类算法的优势,可以提高辨识准确度,进一步降低缺陷类型辨识所需时间。在本发明中,应用快速傅里叶变换和格拉姆角场算法对获取的特征数据进行处理,获取对应电流互感器不同缺陷类型的特征图片。然后应用卷积神经网络对特征图片进行分类从而实现缺陷类型识别。与以往方法相比,本发明可以将人工智能算法中发展应用较为成熟的图像分类算法应用到缺陷识别中,实现缺陷类型的准确快速辨识。The ultrasonic defect recognition method of the convolutional neural network proposed by the present invention can improve the recognition accuracy and further reduce the time required for defect type recognition by taking advantage of the image classification algorithm in machine vision. In the present invention, fast Fourier transform and Graham angle field algorithm are used to process the acquired feature data, and feature pictures corresponding to different defect types of current transformers are acquired. Then the convolutional neural network is applied to classify the feature images to realize defect type identification. Compared with previous methods, the present invention can apply mature image classification algorithms among artificial intelligence algorithms to defect identification, so as to realize accurate and rapid identification of defect types.

下面通过附图和实施例,对本发明的技术方案做进一步的详细描述。The technical solutions of the present invention will be described in further detail below with reference to the accompanying drawings and embodiments.

附图说明Description of drawings

通过结合附图对本发明实施例进行更详细的描述,本发明的上述以及其他目的、特征和优势将变得更加明显。附图用来提供对本发明实施例的进一步理解,并且构成说明书的一部分,与本发明实施例一起用于解释本发明,并不构成对本发明的限制。在附图中,相同的参考标号通常代表相同部件或步骤。The above and other objects, features and advantages of the present invention will become more apparent by describing the embodiments of the present invention in more detail with reference to the accompanying drawings. The accompanying drawings are used to provide a further understanding of the embodiments of the present invention, and constitute a part of the specification, and are used together with the embodiments of the present invention to explain the present invention, and do not constitute limitations to the present invention. In the drawings, the same reference numerals generally represent the same components or steps.

图1是本发明一示例性实施例提供的卷积神经网络的超声波缺陷识别方法的流程示意图;Fig. 1 is a schematic flow chart of an ultrasonic defect recognition method of a convolutional neural network provided by an exemplary embodiment of the present invention;

图2是本发明一示例性实施例提供的低压电磁式电流互感器三维模型的示意图;Fig. 2 is a schematic diagram of a three-dimensional model of a low-voltage electromagnetic current transformer provided by an exemplary embodiment of the present invention;

图3是本发明一示例性实施例提供的缺陷识别算法流程图;Fig. 3 is a flowchart of a defect identification algorithm provided by an exemplary embodiment of the present invention;

图4是本发明一示例性实施例提供的CNN训练过程准确率曲线的示意图;Fig. 4 is a schematic diagram of the accuracy curve of the CNN training process provided by an exemplary embodiment of the present invention;

图5是本发明一示例性实施例提供的CNN训练过程损失曲线的示意图;Fig. 5 is a schematic diagram of the CNN training process loss curve provided by an exemplary embodiment of the present invention;

图6是本发明一示例性实施例提供的卷积神经网络的超声波缺陷识别装置的结构示意图。Fig. 6 is a schematic structural diagram of a convolutional neural network ultrasonic defect recognition device provided by an exemplary embodiment of the present invention.

具体实施方式Detailed ways

下面,将参考附图详细地描述根据本发明的示例实施例。显然,所描述的实施例仅仅是本发明的一部分实施例,而不是本发明的全部实施例,应理解,本发明不受这里描述的示例实施例的限制。Hereinafter, exemplary embodiments according to the present invention will be described in detail with reference to the accompanying drawings. Apparently, the described embodiments are only some embodiments of the present invention, rather than all embodiments of the present invention, and it should be understood that the present invention is not limited by the exemplary embodiments described here.

应注意到:除非另外具体说明,否则在这些实施例中阐述的部件和步骤的相对布置、数字表达式和数值不限制本发明的范围。It should be noted that the relative arrangements of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.

本领域技术人员可以理解,本发明实施例中的“第一”、“第二”等术语仅用于区别不同步骤、设备或模块等,既不代表任何特定技术含义,也不表示它们之间的必然逻辑顺序。Those skilled in the art can understand that terms such as "first" and "second" in the embodiments of the present invention are only used to distinguish different steps, devices or modules, etc. necessary logical sequence.

还应理解,在本发明实施例中,“多个”可以指两个或两个以上,“至少一个”可以指一个、两个或两个以上。It should also be understood that in the embodiments of the present invention, "plurality" may refer to two or more than two, and "at least one" may refer to one, two or more than two.

还应理解,对于本发明实施例中提及的任一部件、数据或结构,在没有明确限定或者在前后文给出相反启示的情况下,一般可以理解为一个或多个。It should also be understood that for any component, data or structure mentioned in the embodiments of the present invention, it can generally be understood as one or more unless there is a clear limitation or a contrary suggestion is given in the context.

另外,本发明中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本发明中字符“/”,一般表示前后关联对象是一种“或”的关系。In addition, the term "and/or" in the present invention is only an association relationship describing associated objects, indicating that there may be three relationships, for example, A and/or B may indicate: A exists alone, and A and B exist at the same time , there are three cases of B alone. In addition, the character "/" in the present invention generally indicates that the contextual objects are an "or" relationship.

还应理解,本发明对各个实施例的描述着重强调各个实施例之间的不同之处,其相同或相似之处可以相互参考,为了简洁,不再一一赘述。It should also be understood that the description of the various embodiments of the present invention emphasizes the differences between the various embodiments, and the same or similar points can be referred to each other, and for the sake of brevity, details are not repeated one by one.

同时,应当明白,为了便于描述,附图中所示出的各个部分的尺寸并不是按照实际的比例关系绘制的。At the same time, it should be understood that, for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.

以下对至少一个示例性实施例的描述实际上仅仅是说明性的,决不作为对本发明及其应用或使用的任何限制。The following description of at least one exemplary embodiment is merely illustrative in nature and in no way taken as limiting the invention, its application or uses.

对于相关领域普通技术人员已知的技术、方法和设备可能不作详细讨论,但在适当情况下,技术、方法和设备应当被视为说明书的一部分。Techniques, methods and devices known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, techniques, methods and devices should be considered part of the description.

应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步讨论。It should be noted that like numerals and letters denote like items in the following figures, therefore, once an item is defined in one figure, it does not require further discussion in subsequent figures.

本发明实施例可以应用于终端设备、计算机系统、服务器等电子设备,其可与众多其它通用或专用计算系统环境或配置一起操作。适于与终端设备、计算机系统、服务器等电子设备一起使用的众所周知的终端设备、计算系统、环境和/或配置的例子包括但不限于:个人计算机系统、服务器计算机系统、瘦客户机、厚客户机、手持或膝上设备、基于微处理器的系统、机顶盒、可编程消费电子产品、网络个人电脑、小型计算机系统﹑大型计算机系统和包括上述任何系统的分布式云计算技术环境,等等。Embodiments of the present invention can be applied to electronic equipment such as terminal equipment, computer systems, servers, etc., which can operate with many other general-purpose or special-purpose computing system environments or configurations. Examples of well known terminal devices, computing systems, environments and/or configurations suitable for use with electronic devices such as terminal devices, computer systems, servers include, but are not limited to: personal computer systems, server computer systems, thin clients, thick client Computers, handheld or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, networked personal computers, minicomputer systems, mainframe computer systems, and distributed cloud computing technology environments including any of the foregoing, etc.

终端设备、计算机系统、服务器等电子设备可以在由计算机系统执行的计算机系统可执行指令(诸如程序模块)的一般语境下描述。通常,程序模块可以包括例程、程序、目标程序、组件、逻辑、数据结构等等,它们执行特定的任务或者实现特定的抽象数据类型。计算机系统/服务器可以在分布式云计算环境中实施,分布式云计算环境中,任务是由通过通信网络链接的远程处理设备执行的。在分布式云计算环境中,程序模块可以位于包括存储设备的本地或远程计算系统存储介质上。Electronic devices such as terminal devices, computer systems, servers, etc. may be described in the general context of computer system-executable instructions, such as program modules, being executed by the computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, etc., that perform particular tasks or implement particular abstract data types. The computer system/server can be practiced in distributed cloud computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computing system storage media including storage devices.

示例性方法exemplary method

图1是本发明一示例性实施例提供的卷积神经网络的超声波缺陷识别方法的流程示意图。如图1所示,卷积神经网络的超声波缺陷识别方法包括:Fig. 1 is a schematic flowchart of a convolutional neural network ultrasonic defect recognition method provided by an exemplary embodiment of the present invention. As shown in Figure 1, the ultrasonic defect recognition method of convolutional neural network includes:

S1:利用超声波检测装置对电流互感器进行检测,采集对应不同缺陷下的超声波的波形数据。S1: Use the ultrasonic testing device to detect the current transformer, and collect the waveform data of ultrasonic waves corresponding to different defects.

可选地,电流互感器的缺陷类型包括:气泡和裂缝。Optionally, the defect types of the current transformer include: air bubbles and cracks.

S2:应用傅里叶变换提取波形数据的频谱信息。S2: Apply Fourier transform to extract the spectrum information of the waveform data.

在本发明实施例中,傅里叶变换(FFT)为一种常用的信号变换方法,其可以将时域中的信号变换到频域中进行分析,提取原始信号中频域信息。其变换过程为使用不同的正弦信号对原始信号中包含的不同成分进行分析,应用傅里叶变换,可以将任意一个信号分解为无数个不同频率的正弦信号的和。In the embodiment of the present invention, Fourier transform (FFT) is a commonly used signal transformation method, which can transform the signal in the time domain into the frequency domain for analysis, and extract the frequency domain information in the original signal. The transformation process is to use different sinusoidal signals to analyze the different components contained in the original signal. By applying Fourier transform, any signal can be decomposed into the sum of countless sinusoidal signals of different frequencies.

对于任一周期性电压或电流信号f(t),均可以表示为周期为T的函数:For any periodic voltage or current signal f(t), it can be expressed as a function of period T:

f(t)=f(t+kT)(k=0,1,2,...)(1)f(t)=f(t+kT)(k=0,1,2,...)(1)

等式(1)的傅里叶级数即可以表示为:The Fourier series of equation (1) can be expressed as:

等式(2)中,a0为直流分量,ω为基波角频率,n为谐波次数,an和bn分别为n次谐波的正弦相系数和余弦项系数。In equation (2), a 0 is the DC component, ω is the fundamental angular frequency, n is the harmonic order, a n and b n are the sine phase coefficient and cosine term coefficient of the nth harmonic, respectively.

根据欧拉公式:According to Euler's formula:

可将(2)式变换转化为(4)式:Formula (2) can be transformed into formula (4):

上式中 In the above formula

对于基波角频率为ω的连续函数f(t),当其满足狄里克莱条件且绝对可积,其傅里叶变换可表示为:For a continuous function f(t) whose fundamental angular frequency is ω, when it satisfies the Dirichlet condition and is absolutely integrable, its Fourier transform can be expressed as:

在数学分析中,应用傅里叶变换分析的信号均为连续的。但现代信号处理系统中存储的为离散信号,而对离散信号进行分析需要应用离散傅里叶变换。对于现代信号处理系统中存储的离散信号f(n),当其采样点数为N时,离散傅里叶变换公式为:In mathematical analysis, the signals analyzed by Fourier transform are all continuous. However, discrete signals are stored in modern signal processing systems, and discrete Fourier transform is required to analyze discrete signals. For a discrete signal f(n) stored in a modern signal processing system, when the number of sampling points is N, the discrete Fourier transform formula is:

公式(6)中,f(n)为原始离散信号,N为离散信号采样点数,F(k)为原始信号经离散傅里叶变换后的频谱。In formula (6), f(n) is the original discrete signal, N is the number of sampling points of the discrete signal, and F(k) is the spectrum of the original signal after discrete Fourier transform.

获取原始的故障信号并应用FFT生成对应频谱信息。Obtain the original fault signal and apply FFT to generate corresponding spectrum information.

S3:使用格拉姆角场算法将频谱信息生成对应不同缺陷类别的特征图像。S3: Use the Graham angle field algorithm to generate feature images corresponding to different defect categories from the spectral information.

可选地,使用格拉姆角场算法生成的特征图像为二维彩色图像。Optionally, the feature image generated using the Graham angle field algorithm is a two-dimensional color image.

在本发明实施例中,获取原始的故障信号并应用FFT生成对应频谱信息后,即可应用格拉姆角场(GAF)算法将频谱信息生成对应不同故障类型的图片。GAF生成图片具体过程为:对于给定一个由实际观测值组成的一维序列X=(x1,x2,…,xn),该序列中xi(i=1,2,…,n)对应时间为ti,时间间隔为1/n。使用该序列中最大、最小值将其缩放至[-1,1]中,具体缩放公式为:In the embodiment of the present invention, after obtaining the original fault signal and applying FFT to generate corresponding spectrum information, the Graham Angle Field (GAF) algorithm can be used to generate pictures corresponding to different fault types from the spectrum information. The specific process of GAF generating pictures is as follows: for a given one-dimensional sequence X=(x 1 ,x 2 ,…,x n ) composed of actual observations, in this sequence x i (i=1,2,…,n ) corresponds to time t i , and the time interval is 1/n. Use the maximum and minimum values in the sequence to scale it to [-1,1]. The specific scaling formula is:

将缩放后的序列的值映射为角度ψi,将其对应的时间戳ti映射为半径r,这样就可以在极坐标系中重新将缩放后的时间序列表示出来,如公式(8)所示。The scaled sequence The value of ψ i is mapped to the angle ψ i , and its corresponding time stamp t i is mapped to the radius r, so that the scaled time series can be re-expressed in the polar coordinate system, as shown in formula (8).

式中N为调节极坐标径向跨度的常数因子。In the formula, N is a constant factor for adjusting the radial span of polar coordinates.

将一维信号映射到极坐标系后,我们可以很容易地利用角度视角,通过考虑每个点之间的三角函数差来识别不同时间间隔内的时间相关性。即应用三角函数生成GAF矩阵:After mapping a 1D signal to a polar coordinate system, we can easily take advantage of the angular perspective to identify temporal correlations in different time intervals by considering the difference in trigonometric functions between each point. That is, applying trigonometric functions to generate the GAF matrix:

由于GAF矩阵中元素取值范围均为[-1,1],需要通过式(10)将GAF矩阵中每个元素的值缩放到0~255之间,使其对应图像的像素数据,从而得到二维图像。Since the value range of the elements in the GAF matrix is [-1, 1], it is necessary to scale the value of each element in the GAF matrix to between 0 and 255 through formula (10) to make it correspond to the pixel data of the image, thus obtaining 2D image.

I(j,k)=int(127.5(G(j,k)+1))(10)I(j,k)=int(127.5(G(j,k)+1))(10)

式中,I(j,k)为生成的图像中第j(j=1,2,…,n)行,第k(k=1,2,…,n)列的像素值。int为取整函数,G(j,k)为GAF矩阵的第j行、第k列元素的值。In the formula, I(j,k) is the pixel value of the jth (j=1,2,…,n)th row and the kth (k=1,2,…,n)th column in the generated image. int is the rounding function, and G(j,k) is the value of the jth row and kth column element of the GAF matrix.

从而,运用FFT获取频谱信息和利用GAF生成对应不同缺陷类别的二维彩色图像,可以有效提升CNN分类准确率。Therefore, using FFT to obtain spectral information and using GAF to generate two-dimensional color images corresponding to different defect categories can effectively improve the classification accuracy of CNN.

S4:将生成的特征图像分成训练集和测试集,并将训练集输入卷积神经网络模型进行训练。S4: Divide the generated feature images into a training set and a test set, and input the training set into the convolutional neural network model for training.

可选地,训练好的卷积神经网络模型包括3个卷积层、2个池化层和2个全连接层;其中3个卷积层的卷积核大小均为2×2,卷积核个数分别为16,32,48;2个池化层的池化窗口大小为2×2,步幅为2;2个全连接层神经元个数为240和120;经过softmax分类器输出10种分类结果。Optionally, the trained convolutional neural network model includes 3 convolutional layers, 2 pooling layers, and 2 fully connected layers; the convolution kernels of the 3 convolutional layers are all 2×2, and the convolution The number of cores is 16, 32, and 48 respectively; the pooling window size of the two pooling layers is 2×2, and the stride is 2; the number of neurons in the two fully connected layers is 240 and 120; output through the softmax classifier 10 classification results.

在本发明实施例中,典型的卷积神经网络(CNN)一般包含卷积层、池化层、全连接层和输出层。当对大量图片进行分类时,CNN可以通过卷积层和池化层对输入图片进行特征提取映射和降低维度,最后经过全连接层和输出层输出分类结果。In the embodiment of the present invention, a typical convolutional neural network (CNN) generally includes a convolutional layer, a pooling layer, a fully connected layer and an output layer. When classifying a large number of pictures, CNN can perform feature extraction mapping and dimensionality reduction on the input pictures through the convolutional layer and the pooling layer, and finally output the classification results through the fully connected layer and the output layer.

本发明使用的CNN以LeNet-5为基础进行扩展,在基础LeNet-5网络中增加一个卷积层,最终网络有3个卷积层,2个池化层,2个全连接层。3个卷积层的卷积核大小均为2×2,卷积核个数分别为16,32,48;2个池化层的池化窗口大小为2×2,步幅为2;2个全连接层神经元个数为240和120;最后经过softmax输出10种分类结果。上述CNN结构如表1所示。The CNN used in the present invention is expanded on the basis of LeNet-5, and a convolutional layer is added to the basic LeNet-5 network. The final network has 3 convolutional layers, 2 pooling layers, and 2 fully connected layers. The convolution kernel size of the three convolutional layers is 2×2, and the number of convolution kernels is 16, 32, and 48 respectively; the pooling window size of the two pooling layers is 2×2, and the stride is 2; 2 The number of neurons in each fully connected layer is 240 and 120; finally, 10 classification results are output through softmax. The above CNN structure is shown in Table 1.

表1CNN结构Table 1 CNN structure

S5:将测试集输入训练好的卷积神经网络模型,对特征图像中的缺陷特征进行提取和分类,确定超声波缺陷类型。S5: Input the test set into the trained convolutional neural network model, extract and classify the defect features in the feature image, and determine the ultrasonic defect type.

下面结合本发明的最优实施例,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below in combination with the best embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

本专利以低压电磁电流互感器为例进行研究,建立了如图2所示三维几何模型。This patent takes the low-voltage electromagnetic current transformer as an example for research, and establishes a three-dimensional geometric model as shown in Figure 2.

图2为电流互感器切面示意图,其中灰色的环表示铁心,以铁心为中心对应的黑黄棕橙色区域分别为铁心塑料护壳、二次线圈、缓冲层以及环氧树脂,紫色区域为超声波发射及接收装置。可见电流互感器内部结构复杂,材料种类多,回波波形极其复杂,一般的分析方法已经不能适用。Figure 2 is a schematic diagram of a cut section of a current transformer, in which the gray ring represents the iron core, and the black, yellow, brown, and orange areas centered on the iron core are respectively the iron core plastic shell, secondary coil, buffer layer, and epoxy resin, and the purple area is the ultrasonic emission and receiving device. It can be seen that the internal structure of the current transformer is complex, there are many types of materials, and the echo waveform is extremely complex, so the general analysis method is no longer applicable.

如图3所示,该方案包括以下步骤:As shown in Figure 3, the scheme includes the following steps:

步骤1、利用实验或仿真获得电流互感器不同缺陷下的超声波波形。Step 1. Obtain ultrasonic waveforms under different defects of the current transformer by experiment or simulation.

步骤2、将步骤1获取的超声波波形应用快速傅里叶变换获得频谱信息。Step 2. Apply fast Fourier transform to the ultrasonic waveform obtained in step 1 to obtain spectrum information.

步骤3、使用GAF将步骤2生成的频谱信息生成对应不同缺陷类别的二维彩色图像。Step 3, using the GAF to generate two-dimensional color images corresponding to different defect categories from the spectral information generated in step 2.

步骤4、将步骤3的图像样本分成训练集和测试集,并将训练集CNN模型进行训练,完成网络训练并保存网络模型;Step 4, divide the image sample of step 3 into a training set and a test set, and train the CNN model of the training set, complete the network training and save the network model;

步骤5、将步骤4中的测试集输入训练结束的CNN模型中进行测试,CNN模型对缺陷特征进行自适应的提取和分类,从而进行缺陷判别;Step 5. Input the test set in step 4 into the trained CNN model for testing, and the CNN model performs adaptive extraction and classification of defect features, thereby performing defect discrimination;

步骤6、采集不同缺陷情况下的超声波波形,重复上述步骤1~5。Step 6. Collect ultrasonic waveforms under different defect conditions, and repeat the above steps 1-5.

为了保证训练的CNN能够进行准确分类,训练数据必须包含线路不同缺陷的超声波数据。通过仿真或实验的方法可以获取训练数据,利用CNN实现多分类时,输出层采softmax函数,最终输出结果为0和1组成的一维向量,如表2所示。In order to ensure that the trained CNN can perform accurate classification, the training data must contain ultrasonic data of different defects in the line. The training data can be obtained through simulation or experiment. When CNN is used to realize multi-classification, the output layer adopts softmax function, and the final output result is a one-dimensional vector composed of 0 and 1, as shown in Table 2.

表2不同缺陷对应的分类结果Table 2 Classification results corresponding to different defects

采用CNN对超声波数据获取窗口内的频谱信息经GAF生成的图片进行分类训练,共设置4轮训练,每30次迭代进行一次测试集验证,因此共有120次训练迭代过程。训练过程中具体分类准确率和损失曲线如图4和图5所示。CNN is used to classify and train the images generated by GAF for the spectral information in the ultrasonic data acquisition window. A total of 4 rounds of training are set up, and a test set is verified every 30 iterations, so there are 120 training iterations in total. The specific classification accuracy and loss curves during the training process are shown in Figure 4 and Figure 5.

由图4和5可以看出,训练过程中CNN收敛速度非常快,在第10次迭代时训练集分类准确率已接近100%,损失同样降至0.1左右;而到达第40次迭代以后,训练集分类准确率已稳定至100%,损失同样接近于0。而对于每30次迭代进行的一次测试集验证,其分类结果准确率均保持在100%,损失同样接近于0。且由图5可以看出,FFT-GAF-CNN的缺陷类型识别模型对于电流互感器不同缺陷分类效果保持良好分类性能。It can be seen from Figures 4 and 5 that the convergence speed of CNN is very fast during the training process. At the 10th iteration, the classification accuracy of the training set is close to 100%, and the loss is also reduced to about 0.1; after the 40th iteration, training The set classification accuracy has stabilized to 100%, and the loss is also close to 0. For a test set verification every 30 iterations, the accuracy of the classification results is maintained at 100%, and the loss is also close to 0. And it can be seen from Figure 5 that the defect type recognition model of FFT-GAF-CNN maintains good classification performance for different defect classification effects of current transformers.

从而,本发明借助机器视觉中图像分类算法的优势,可以提高辨识准确度,进一步降低缺陷类型辨识所需时间。在本发明中,应用快速傅里叶变换和格拉姆角场算法对获取的特征数据进行处理,获取对应电流互感器不同缺陷类型的特征图片。然后应用卷积神经网络对特征图片进行分类从而实现缺陷类型识别。与以往方法相比,本发明可以将人工智能算法中发展应用较为成熟的图像分类算法应用到缺陷识别中,实现缺陷类型的准确快速辨识。Therefore, the present invention can improve the identification accuracy and further reduce the time required for defect type identification by taking advantage of the image classification algorithm in machine vision. In the present invention, fast Fourier transform and Graham angle field algorithm are used to process the acquired feature data, and feature pictures corresponding to different defect types of current transformers are acquired. Then the convolutional neural network is applied to classify the feature images to realize defect type identification. Compared with previous methods, the present invention can apply mature image classification algorithms among artificial intelligence algorithms to defect identification, so as to realize accurate and rapid identification of defect types.

示例性装置Exemplary device

图6是本发明一示例性实施例提供的卷积神经网络的超声波缺陷识别装置的结构示意图。如图6所示,本实施例所提出的卷积神经网络的超声波缺陷识别装置包括:Fig. 6 is a schematic structural diagram of a convolutional neural network ultrasonic defect recognition device provided by an exemplary embodiment of the present invention. As shown in Figure 6, the ultrasonic defect recognition device of the convolutional neural network proposed in this embodiment includes:

波形数据采集模块,用于利用超声波检测装置对电流互感器进行检测,采集对应不同缺陷下的超声波的波形数据;The waveform data acquisition module is used to detect the current transformer by using the ultrasonic detection device, and collect the waveform data corresponding to the ultrasonic waves under different defects;

频谱信息提取模块,用于应用傅里叶变换提取波形数据的频谱信息;Spectrum information extraction module, for applying Fourier transform to extract the spectrum information of waveform data;

特征图像生成模块,用于使用格拉姆角场算法将频谱信息生成对应不同缺陷类别的特征图像;A feature image generation module, configured to use the Graham angle field algorithm to generate feature images corresponding to different defect categories from spectral information;

模型训练模块,用于将生成的特征图像分成训练集和测试集,并将训练集输入卷积神经网络模型进行训练;The model training module is used to divide the generated feature images into a training set and a test set, and input the training set into the convolutional neural network model for training;

缺陷类型确定模块,用于将测试集输入训练好的卷积神经网络模型,对特征图像中的缺陷特征进行提取和分类,确定超声波缺陷类型。The defect type determination module is used to input the test set into the trained convolutional neural network model, extract and classify the defect features in the feature image, and determine the ultrasonic defect type.

可选地,电流互感器的缺陷类型包括:气泡和裂缝。Optionally, the defect types of the current transformer include: air bubbles and cracks.

可选地,使用格拉姆角场算法生成的特征图像为二维彩色图像。Optionally, the feature image generated using the Graham angle field algorithm is a two-dimensional color image.

可选地,训练好的卷积神经网络模型包括3个卷积层、2个池化层和2个全连接层;其中3个卷积层的卷积核大小均为2×2,卷积核个数分别为16,32,48;2个池化层的池化窗口大小为2×2,步幅为2;2个全连接层神经元个数为240和120;经过softmax分类器输出10种分类结果。Optionally, the trained convolutional neural network model includes 3 convolutional layers, 2 pooling layers, and 2 fully connected layers; the convolution kernels of the 3 convolutional layers are all 2×2, and the convolution The number of cores is 16, 32, and 48 respectively; the pooling window size of the two pooling layers is 2×2, and the stride is 2; the number of neurons in the two fully connected layers is 240 and 120; output through the softmax classifier 10 classification results.

本发明的实施例的卷积神经网络的超声波缺陷识别装置与本发明的另一个实施例的卷积神经网络的超声波缺陷识别方法相对应,在此不再赘述。The ultrasonic defect recognition device of the convolutional neural network in the embodiment of the present invention corresponds to the ultrasonic defect recognition method of the convolutional neural network in another embodiment of the present invention, and will not be repeated here.

以上结合具体实施例描述了本公开的基本原理,但是,需要指出的是,在本公开中提及的优点、优势、效果等仅是示例而非限制,不能认为这些优点、优势、效果等是本公开的各个实施例必须具备的。另外,上述公开的具体细节仅是为了示例的作用和便于理解的作用,而非限制,上述细节并不限制本公开为必须采用上述具体的细节来实现。The basic principles of the present disclosure have been described above in conjunction with specific embodiments, but it should be pointed out that the advantages, advantages, effects, etc. mentioned in the present disclosure are only examples rather than limitations, and these advantages, advantages, effects, etc. Various embodiments of the present disclosure must have. In addition, the specific details disclosed above are only for the purpose of illustration and understanding, rather than limitation, and the above details do not limit the present disclosure to be implemented by using the above specific details.

本说明书中各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其它实施例的不同之处,各个实施例之间相同或相似的部分相互参见即可。对于系统实施例而言,由于其与方法实施例基本对应,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same or similar parts of each embodiment can be referred to each other. As for the system embodiment, since it basically corresponds to the method embodiment, the description is relatively simple, and for the related parts, please refer to the part of the description of the method embodiment.

本公开中涉及的器件、装置、设备、系统的方框图仅作为例示性的例子并且不意图要求或暗示必须按照方框图示出的方式进行连接、布置、配置。如本领域技术人员将认识到的,可以按任意方式连接、布置、配置这些器件、装置、设备、系统。诸如“包括”、“包含”、“具有”等等的词语是开放性词汇,指“包括但不限于”,且可与其互换使用。这里所使用的词汇“或”和“和”指词汇“和/或”,且可与其互换使用,除非上下文明确指示不是如此。这里所使用的词汇“诸如”指词组“诸如但不限于”,且可与其互换使用。The block diagrams of devices, devices, devices, and systems involved in the present disclosure are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagrams. As will be appreciated by those skilled in the art, these devices, devices, devices, systems may be connected, arranged, configured in any manner. Words such as "including", "comprising", "having" and the like are open-ended words meaning "including but not limited to" and may be used interchangeably therewith. As used herein, the words "or" and "and" refer to the word "and/or" and are used interchangeably therewith, unless the context clearly dictates otherwise. As used herein, the word "such as" refers to the phrase "such as but not limited to" and can be used interchangeably therewith.

可能以许多方式来实现本公开的方法和装置。例如,可通过软件、硬件、固件或者软件、硬件、固件的任何组合来实现本公开的方法和装置。用于所述方法的步骤的上述顺序仅是为了进行说明,本公开的方法的步骤不限于以上具体描述的顺序,除非以其它方式特别说明。此外,在一些实施例中,还可将本公开实施为记录在记录介质中的程序,这些程序包括用于实现根据本公开的方法的机器可读指令。因而,本公开还覆盖存储用于执行根据本公开的方法的程序的记录介质。The methods and apparatus of the present disclosure may be implemented in many ways. For example, the methods and apparatuses of the present disclosure may be implemented by software, hardware, firmware or any combination of software, hardware, and firmware. The above sequence of steps for the method is for illustration only, and the steps of the method of the present disclosure are not limited to the sequence specifically described above unless specifically stated otherwise. Furthermore, in some embodiments, the present disclosure can also be implemented as programs recorded in recording media, the programs including machine-readable instructions for realizing the method according to the present disclosure. Thus, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.

还需要指出的是,在本公开的系统、设备和方法中,各部件或各步骤是可以分解和/或重新组合的。这些分解和/或重新组合应视为本公开的等效方案。提供所公开的方面的以上描述以使本领域的任何技术人员能够做出或者使用本公开。对这些方面的各种修改对于本领域技术人员而言是非常显而易见的,并且在此定义的一般原理可以应用于其他方面而不脱离本公开的范围。因此,本公开不意图被限制到在此示出的方面,而是按照与在此公开的原理和新颖的特征一致的最宽范围。It should also be pointed out that in the systems, devices and methods of the present disclosure, each component or each step can be decomposed and/or reassembled. These decompositions and/or recombinations should be considered equivalents of the present disclosure. The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the present disclosure. Thus, the present disclosure is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

为了例示和描述的目的已经给出了以上描述。此外,此描述不意图将本公开的实施例限制到在此公开的形式。尽管以上已经讨论了多个示例方面和实施例,但是本领域技术人员将认识到其某些变型、修改、改变、添加和子组合。The foregoing description has been presented for purposes of illustration and description. Furthermore, this description is not intended to limit the disclosed embodiments to the forms disclosed herein. Although a number of example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.

Claims (10)

1.一种卷积神经网络的超声波缺陷识别方法,其特征在于,包括:1. an ultrasonic defect recognition method of convolutional neural network, is characterized in that, comprises: 利用超声波检测装置对电流互感器进行检测,采集对应不同缺陷下的超声波的波形数据;Use the ultrasonic testing device to detect the current transformer, and collect the waveform data of ultrasonic waves corresponding to different defects; 应用傅里叶变换提取波形数据的频谱信息;Apply the Fourier transform to extract the spectral information of the waveform data; 使用格拉姆角场算法将频谱信息生成对应不同缺陷类别的特征图像;Using the Graham angle field algorithm to generate spectral information into feature images corresponding to different defect categories; 将生成的特征图像分成训练集和测试集,并将训练集输入卷积神经网络模型进行训练;Divide the generated feature images into a training set and a test set, and input the training set into the convolutional neural network model for training; 将测试集输入训练好的卷积神经网络模型,对特征图像中的缺陷特征进行提取和分类,确定超声波缺陷类型。Input the test set into the trained convolutional neural network model, extract and classify the defect features in the feature image, and determine the ultrasonic defect type. 2.根据权利要求1所述的方法,其特征在于,电流互感器的缺陷类型包括:气泡和裂缝。2. The method according to claim 1, wherein the defect types of the current transformer include: air bubbles and cracks. 3.根据权利要求1所述的方法,其特征在于,使用格拉姆角场算法生成的特征图像为二维彩色图像。3. The method according to claim 1, wherein the feature image generated using the Graham angle field algorithm is a two-dimensional color image. 4.根据权利要求1所述的方法,其特征在于,训练好的卷积神经网络模型包括3个卷积层、2个池化层和2个全连接层;其中3个卷积层的卷积核大小均为2×2,卷积核个数分别为16,32,48;2个池化层的池化窗口大小为2×2,步幅为2;2个全连接层神经元个数为240和120;经过softmax分类器输出10种分类结果。4. The method according to claim 1, wherein the trained convolutional neural network model includes 3 convolutional layers, 2 pooling layers and 2 fully connected layers; wherein the volume of the 3 convolutional layers The size of the product kernel is 2×2, and the number of convolution kernels is 16, 32, and 48 respectively; the pooling window size of the 2 pooling layers is 2×2, and the stride is 2; the neurons of the 2 fully connected layers The numbers are 240 and 120; 10 kinds of classification results are output through the softmax classifier. 5.一种卷积神经网络的超声波缺陷识别装置,其特征在于,包括:5. An ultrasonic defect recognition device of a convolutional neural network, characterized in that it comprises: 波形数据采集模块,用于利用超声波检测装置对电流互感器进行检测,采集对应不同缺陷下的超声波的波形数据;The waveform data acquisition module is used to detect the current transformer by using the ultrasonic detection device, and collect the waveform data corresponding to the ultrasonic waves under different defects; 频谱信息提取模块,用于应用傅里叶变换提取波形数据的频谱信息;Spectrum information extraction module, for applying Fourier transform to extract the spectrum information of waveform data; 特征图像生成模块,用于使用格拉姆角场算法将频谱信息生成对应不同缺陷类别的特征图像;A feature image generation module, configured to use the Graham angle field algorithm to generate feature images corresponding to different defect categories from spectral information; 模型训练模块,用于将生成的特征图像分成训练集和测试集,并将训练集输入卷积神经网络模型进行训练;A model training module, used to divide the generated feature images into a training set and a test set, and input the training set to a convolutional neural network model for training; 缺陷类型确定模块,用于将测试集输入训练好的卷积神经网络模型,对特征图像中的缺陷特征进行提取和分类,确定超声波缺陷类型。The defect type determination module is used to input the test set into the trained convolutional neural network model, extract and classify the defect features in the feature image, and determine the ultrasonic defect type. 6.根据权利要求5所述的装置,其特征在于,电流互感器的缺陷类型包括:气泡和裂缝。6. The device according to claim 5, wherein the defect types of the current transformer include: air bubbles and cracks. 7.根据权利要求5所述的装置,其特征在于,使用格拉姆角场算法生成的特征图像为二维彩色图像。7. The device according to claim 5, wherein the feature image generated using the Graham angle field algorithm is a two-dimensional color image. 8.根据权利要求5所述的装置,其特征在于,训练好的卷积神经网络模型包括3个卷积层、2个池化层和2个全连接层;其中3个卷积层的卷积核大小均为2×2,卷积核个数分别为16,32,48;2个池化层的池化窗口大小为2×2,步幅为2;2个全连接层神经元个数为240和120;经过softmax分类器输出10种分类结果。8. The device according to claim 5, wherein the trained convolutional neural network model includes 3 convolutional layers, 2 pooling layers and 2 fully connected layers; wherein the volume of the 3 convolutional layers The size of the product kernel is 2×2, and the number of convolution kernels is 16, 32, and 48 respectively; the pooling window size of the 2 pooling layers is 2×2, and the stride is 2; the neurons of the 2 fully connected layers The numbers are 240 and 120; 10 kinds of classification results are output through the softmax classifier. 9.一种计算机可读存储介质,其特征在于,所述存储介质存储有计算机程序,所述计算机程序用于执行上述权利要求1-4任一所述的方法。9. A computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is used to execute the method according to any one of claims 1-4. 10.一种电子设备,其特征在于,所述电子设备包括:10. An electronic device, characterized in that the electronic device comprises: 处理器;processor; 用于存储所述处理器可执行指令的存储器;memory for storing said processor-executable instructions; 所述处理器,用于从所述存储器中读取所述可执行指令,并执行所述指令以实现上述权利要求1-4任一所述的方法。The processor is configured to read the executable instruction from the memory, and execute the instruction to implement the method described in any one of claims 1-4.
CN202211714061.5A 2022-12-29 2022-12-29 Method and device for ultrasonic recognition of transformer defects by convolutional neural network Pending CN116698978A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211714061.5A CN116698978A (en) 2022-12-29 2022-12-29 Method and device for ultrasonic recognition of transformer defects by convolutional neural network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211714061.5A CN116698978A (en) 2022-12-29 2022-12-29 Method and device for ultrasonic recognition of transformer defects by convolutional neural network

Publications (1)

Publication Number Publication Date
CN116698978A true CN116698978A (en) 2023-09-05

Family

ID=87824541

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211714061.5A Pending CN116698978A (en) 2022-12-29 2022-12-29 Method and device for ultrasonic recognition of transformer defects by convolutional neural network

Country Status (1)

Country Link
CN (1) CN116698978A (en)

Similar Documents

Publication Publication Date Title
Agarwal et al. Lamb wave based automatic damage detection using matching pursuit and machine learning
HosseinAbadi et al. GUW-based structural damage detection using WPT statistical features and multiclass SVM
CN104732970B (en) A kind of ship-radiated noise recognition methods based on comprehensive characteristics
CN110766067B (en) Material recognition method of millimeter wave radar based on machine learning
CN107563433A (en) A kind of infrared small target detection method based on convolutional neural networks
CN112013285B (en) Method and device for detecting pipeline leakage point, storage medium and terminal
CN114445386B (en) PVC pipe quality detection and evaluation method and system based on artificial intelligence
CN113607817A (en) Pipeline girth weld detection method and system, electronic equipment and medium
CN114740441B (en) Low-speed small target radar echo identification method based on small sample
Leo et al. Identification of defective areas in composite materials by bivariate EMD analysis of ultrasound
CN109829412B (en) Partial discharge mode identification method based on dynamic mode decomposition fractal characteristics
CN114201993B (en) Three-branch attention feature fusion method and system for detecting ultrasonic defects
CN109934101A (en) Radar clutter identification method based on convolutional neural network
Khalil et al. Invariant 2D object recognition using the wavelet modulus maxima
Matz et al. Classification of ultrasonic signals
CN113034419B (en) Method and device for objective quality evaluation of radar point cloud for machine vision tasks
CN116619780A (en) Intelligent production method and system of phenolic composite material
CN111563455A (en) Damage identification method based on time series signal and compressed convolution neural network
CN116698978A (en) Method and device for ultrasonic recognition of transformer defects by convolutional neural network
CN113688655B (en) Method, device, computer equipment and storage medium for identifying interference signals
CN118710878A (en) Ship recognition method in SAR images based on non-stationary feature extraction and deep learning
Zhang et al. Flaw classification in ultrasonic guided waves signal using Wavelet Transform and PNN classifier
CN116304735A (en) Method, system and equipment for diagnosing surface damage of steel rail based on dependency measurement
CN115204222A (en) Thunder and lightning prediction method, device and equipment based on synchronous compression wavelet transform
Zheng et al. Circulation pump bearing fault diagnosis research based on BAM-CNN model and CWT processing time-frequency map

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination