Weld penetration state identification method and system

By analyzing the arc sound samples during the welding process, identifying frequency ranges and characteristics under different penetration states, and using triangular filters and preset models, the accuracy problem of welding penetration state identification is solved, and the welding quality and structural reliability are improved. sex.

CN118609554AInactive Publication Date: 2024-09-06牛红喜
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410695265.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-09-06
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

It is difficult to accurately identify the welding penetration state with existing technology, especially in a noisy environment, which affects the strength and structural reliability of the weld, and there are accuracy issues in visual inspection and arc sound judgment.

Method used

By collecting arc sound samples during the welding process, calculate the spectrogram and power spectrum, divide them into multiple intervals, determine the frequency interval, and use triangular filters and preset models to analyze the welding current and sound characteristics, and extract the Mel frequency cepstrum number to identify the penetration state of the weld.

Benefits of technology

It improves the identification accuracy of welding penetration status, reduces the occurrence of welding defects, improves the comprehensive performance of welded joints, and ensures the continuity and strength of welds.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118609554A
    Figure CN118609554A
Patent Text Reader

Abstract

The invention relates to the industrial field, in particular to a weld penetration state recognition method and system.The weld penetration state recognition method comprises the steps that electric arc sound samples in the weld welding process are collected, spectrograms and power spectrograms of the electric arc sound samples collected in different penetration states are calculated, the spectrograms and the power spectrograms are divided into a plurality of intervals, and the intervals are calculated; determining a frequency interval according to the curve of each interval spectrogram and the power spectrogram; the method comprises the following steps: performing preprocessing and framing on a to-be-analyzed arc sound to obtain a plurality of signal frames, performing windowing and short-time Fourier transform on the signal frames, performing calculation to obtain a power spectrum, determining triangular filters corresponding to different frequencies based on a frequency interval, and obtaining a spectrogram according to the triangular filters; and adopting the spectrogram of the welding current and the to-be-analyzed arc sound to obtain the weld penetration state condition through a preset model. The method can improve the accuracy of determining the weld penetration state by using the arc sound.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of electric welding, and in particular to a method and system for identifying the penetration state of a weld. Background Art

[0002] The welding penetration state is directly related to the strength, durability and reliability of the weld. Insufficient penetration means that the weld is not completely melted to the root of the parent material, which can easily lead to insufficient weld strength, resulting in defects such as lack of fusion, cracks, and pores. These defects may become the origin of cracks when bearing loads, leading to structural failure, especially under conditions of dynamic loads or impact loads. Excessive penetration means that the weld melts beyond the required depth of the parent material, which can also bring a series of problems. Excessive penetration can easily cause welding deformation and affect the dimensional accuracy and appearance quality of the workpiece. Moreover, excessive penetration can lead to excessive burning of the parent material, reduce the effective cross-sectional area of ​​the material, reduce the bearing capacity of the structure, and also increase the waste of materials and energy. Appropriate penetration depth can ensure the continuity and strength of the weld, reduce the occurrence of welding defects, and improve the comprehensive performance of the welded joint.

[0003] There are many ways to identify the penetration of welding, such as visual inspection, but visual inspection can only identify defects on the surface of the weld. If you take pictures of the welding process, the strong light emitted during welding will seriously affect the accuracy of identification. If you use a special molten pool camera, the price is expensive. The sound of the arc is also an important way to judge the penetration of the weld. Although the hardware is cheap, it is highly dependent on the experience and auditory acuity of the operator. It is difficult for novices or people with low hearing sensitivity to make accurate judgments. In addition, the ambient noise at the welding site is usually high, which will interfere with the accuracy of auditory judgment. How to improve the accuracy of judging the penetration of the weld by the sound of the arc is an urgent problem to be solved. Summary of the invention

[0004] In order to solve the above problems, in a first aspect, the present invention provides a method for identifying the penetration state of a weld, the method comprising the following steps:

[0005] Collect arc sound samples during the welding process of the weld, calculate the spectrum and power spectrum of the arc sound samples collected under different penetration states, divide the spectrum and power spectrum into multiple intervals, and determine the frequency interval according to the curves of the spectrum and power spectrum of each interval;

[0006] Preprocessing the arc sound to be analyzed and dividing it into frames to obtain multiple signal frames, windowing the signal frames and performing short-time Fourier transformation to calculate the power spectrum, determining the triangular filters corresponding to different frequencies based on the frequency interval, and obtaining the spectrum diagram according to the triangular filters;

[0007] The frequency spectrum of the welding current and the arc sound to be analyzed is used to obtain the weld penetration status through a preset model.

[0008] Preferably, the frequency interval is determined according to the curves of the frequency spectrum diagram and the power spectrum diagram of each interval, specifically:

[0009] Obtain an average curve of the frequency spectrum of the same interval number of the arc sound samples in the same penetration state, then calculate the similarity of the average curve corresponding to the same interval number under different penetration states, obtain the average value of the similarities corresponding to all intervals, and obtain a first interval set according to the average value;

[0010] Obtain an average curve of the power spectrum of the same interval number of the arc sound samples in the same penetration state, then calculate the similarity of the average curves corresponding to the same interval number under different penetration states, obtain the average value of the similarities corresponding to all intervals, and obtain a second interval set according to the average value;

[0011] The frequency intervals are obtained by calculating the intersection or union of the first interval set and the second interval set.

[0012] Preferably, obtaining the first interval set according to the average value is specifically:

[0013] If the similarity between the average curve of the frequency spectrum of a melt-through state with the same interval number and the average curve of the frequency spectrum of any other melt-through state is less than the weighted average value, the interval number is added to the first interval set.

[0014] Preferably, obtaining the second interval set according to the average value is specifically:

[0015] If the similarity between the average curve of a power spectrum diagram of a penetration state with the same interval number and the average curve of a power spectrum diagram of any other penetration state is less than the weighted average value, the interval number is added to the second interval set.

[0016] Preferably, determining the triangular filters corresponding to different frequencies based on the frequency interval is specifically:

[0017] A reference triangular filter is obtained, and if the frequency range of the triangular filter overlaps with the frequency interval, the reference triangular filter is split into at least two triangular filters according to the overlapping condition.

[0018] Preferably, the spectrum of the welding current and the arc sound to be analyzed is used to obtain the weld penetration state through a preset model, specifically:

[0019] Extracting features from the spectrum of the arc sound to be analyzed, or obtaining Mel-frequency cepstrum coefficients according to the spectrum of the arc sound to be analyzed, and extracting features from the Mel-frequency cepstrum coefficients;

[0020] The welding current is encoded, the extracted features and the welding current encoding are used as inputs of a preset model, and the output of the preset model is used as the weld penetration state.

[0021] In another aspect, the present invention provides a weld penetration state identification system, the system comprising the following modules:

[0022] The arc frequency determination module is used to collect arc sound samples during the welding process of the weld, calculate the spectrum and power spectrum of the arc sound samples collected under different penetration states, divide the spectrum and power spectrum into multiple intervals, and determine the frequency interval according to the curves of the spectrum and power spectrum of each interval;

[0023] An analysis module, used for preprocessing the arc sound to be analyzed and obtaining multiple signal frames after framing, calculating the power spectrum after windowing and short-time Fourier transform of the signal frame, determining the triangular filters corresponding to different frequencies based on the frequency interval, and obtaining a frequency spectrum according to the triangular filters;

[0024] The result recognition module is used to obtain the weld penetration status through a preset model using the welding current and the frequency spectrum of the arc sound to be analyzed.

[0025] Preferably, the frequency interval is determined according to the curves of the frequency spectrum diagram and the power spectrum diagram of each interval, specifically:

[0026] Obtain an average curve of the frequency spectrum of the same interval number of the arc sound samples in the same penetration state, then calculate the similarity of the average curve corresponding to the same interval number under different penetration states, obtain the average value of the similarities corresponding to all intervals, and obtain a first interval set according to the average value;

[0027] Obtain an average curve of the power spectrum of the same interval number of the arc sound samples in the same penetration state, then calculate the similarity of the average curves corresponding to the same interval number under different penetration states, obtain the average value of the similarities corresponding to all intervals, and obtain a second interval set according to the average value;

[0028] The frequency intervals are obtained by calculating the intersection or union of the first interval set and the second interval set.

[0029] Preferably, obtaining the first interval set according to the average value is specifically:

[0030] If the similarity between the average curve of the frequency spectrum of a melt-through state with the same interval number and the average curve of the frequency spectrum of any other melt-through state is less than the weighted average value, the interval number is added to the first interval set.

[0031] Preferably, obtaining the second interval set according to the average value is specifically:

[0032] If the similarity between the average curve of a power spectrum diagram of a penetration state with the same interval number and the average curve of a power spectrum diagram of any other penetration state is less than the weighted average value, the interval number is added to the second interval set.

[0033] Preferably, determining the triangular filters corresponding to different frequencies based on the frequency interval is specifically:

[0034] A reference triangular filter is obtained, and if the frequency range of the triangular filter overlaps with the frequency interval, the reference triangular filter is split into at least two triangular filters according to the overlapping condition.

[0035] Preferably, the spectrum of the welding current and the arc sound to be analyzed is used to obtain the weld penetration state through a preset model, specifically:

[0036] Extracting features from the spectrum of the arc sound to be analyzed, or obtaining Mel-frequency cepstrum coefficients according to the spectrum of the arc sound to be analyzed, and extracting features from the Mel-frequency cepstrum coefficients;

[0037] The welding current is encoded, the extracted features and the welding current encoding are used as inputs of a preset model, and the output of the preset model is used as the weld penetration state.

[0038] In addition, the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method described above is implemented.

[0039] The present invention analyzes the arc sound samples to obtain frequency intervals with large differences under different penetration states, and then adjusts the triangular filters of these frequency intervals when generating a spectrum diagram or Mel-frequency cepstrum coefficients. The triangular filter is split into multiple triangular filters, that is, the triangular filter is narrowed, and the frequency resolution is improved, thereby capturing subtle changes and details, and improving the accuracy of the final recognition. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 This is a flow chart of Embodiment 1;

[0041] Figure 2 This is a schematic diagram of the arc sound sample set;

[0042] Figure 3 This is the arc sound waveform;

[0043] Figure 4 This is a schematic diagram of the decomposition of the triangular filter;

[0044] Figure 5 This is a structural diagram of the second embodiment. DETAILED DESCRIPTION

[0045] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.

[0046] It should be noted that, in the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art in the present application. The terms used in the specification of the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application.

[0047] It should be noted that, in the embodiments of the present application, words such as "first" and "second" are only used for the purpose of distinguishing descriptions, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order. Features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way.

[0048] Based on the implementation methods in this application, all other implementation methods obtained by ordinary technicians in this field without creative work are within the scope of protection of this application. In addition, if this application involves conflicts with laws and regulations, this application shall be implemented within the scope permitted by laws and regulations. If it involves personal or institutional privacy, this application needs to obtain the consent of relevant personnel and institutions when it is implemented.

[0049] According to a first aspect of an embodiment of the present invention, the present invention provides a method for identifying a weld penetration state, such as Figure 1 As shown, the method comprises the following steps:

[0050] S1, collecting arc sound samples during the welding process of the weld, calculating the spectrum and power spectrum of the arc sound samples collected under different penetration states, dividing the spectrum and power spectrum into multiple intervals, and determining the frequency interval according to the curves of the spectrum and power spectrum of each interval;

[0051] During the welding process, arc sound samples are collected by a sound sensor such as a microphone. Figure 2 As shown in the figure, each sample is numbered HJ-xxxx-y, "xxxx" represents the sample number, and "y" represents the melting state of the sample. Figure 3 As shown. Since there will be other sounds during the welding process, when collecting, try to collect in a low-noise environment. After collection, the arc sound samples are preprocessed. The preprocessing methods include but are not limited to spectrum subtraction, Wiener filtering, etc., so as to eliminate the noise in the environment.

[0052] The collected arc sound samples include sounds under various penetration states. There are different classification methods for the penetration states. According to the penetration situation, the penetration state can be divided into unstable penetration, uniform and stable penetration, and over-penetration. It can also be divided into partial penetration, medium penetration, full penetration, and excessive penetration. The classification of the penetration state is not the focus of the present invention and will not be repeated here.

[0053] After collecting samples of various penetration states, the spectrum and power spectrum of each arc sound sample are calculated. In a more detailed embodiment, the spectrum is calculated using spectrogram() in the SciPy library, and the power spectrum is calculated using spectrogram().

[0054] Then the retained part is divided into multiple intervals. There are also many ways to divide the intervals, such as dividing by frequency intervals, dividing every 100 or 200 Hz into an interval. The power spectrum is divided in the same way.

[0055] Because the arc sound is different under different penetration states, but the difference is relatively small. These weak differences are large in some frequencies, but not obvious in other frequencies. In order to capture these frequencies with large differences, the frequency interval is determined according to the curves of the spectrum and power spectrum of each interval. If the spectrum and power spectrum of the same interval under different penetration states are not very different, this interval has a different role in judging the final penetration state. Otherwise, the characteristics of this interval should be analyzed in detail.

[0056] In a more specific embodiment, the frequency interval is determined according to the curves of the frequency spectrum diagram and the power spectrum diagram of each interval, specifically:

[0057] Obtain an average curve of the frequency spectrum of the same interval number of the arc sound samples in the same penetration state, then calculate the similarity of the average curve corresponding to the same interval number under different penetration states, obtain the average value of the similarities corresponding to all intervals, and obtain a first interval set according to the average value;

[0058] First, obtain the average curve of the spectrum graph with the same interval number of all arc sound samples in the same penetration state from the sample set. For example, there are 10 samples with full penetration. Divide the aligned spectrum graph and power spectrum graph into 20 intervals, and calculate the average curve of the first interval, the average curve of the second interval, etc. of these 10 full penetration samples. Perform the same calculation for other penetration states, and finally each penetration state will have 20 average curves.

[0059] Then, for calculating the similarity between the average curve with the same number and the average curve of other penetration states, assuming there are 3 penetration states, the interval numbered 1 will get 3 similarities, the interval numbered 2 will also get 3 similarities, and so on. Calculate the average value of the similarities corresponding to all numbers. If the above data is taken as an example, the average value of 60 similarities is calculated. After obtaining the average value of the similarity, select the intervals with large differences in the frequency spectra of different penetration states from the divided intervals. In one embodiment, if any of the similarities between the average curve of a penetration state and the average curve of other penetration states is less than the average value or less than the weight of the average value, it is considered that the difference between different penetration states in this frequency interval is large, and this frequency interval or the number of this frequency interval is added to the first interval set.

[0060] In another embodiment, obtaining the first interval set according to the average value is specifically:

[0061] If the similarity between the average curve of the frequency spectrum of a melt-through state with the same interval number and the average curve of the frequency spectrum of any other melt-through state is less than the weighted average value, the interval number is added to the first interval set.

[0062] For example, if the interval number is 1 and there are three penetration states, then the interval number 1 corresponds to three average curves, and one of the similarities between the three average curves is less than the weighted average value, then the interval number is added to the first interval set. In a more specific embodiment, the weighted weight value is less than 1.

[0063] In one embodiment, the average curve is calculated by calculating the average value of the values ​​corresponding to the same frequency of all curves, and performing curve fitting on the average value. Of course, for the convenience of calculation, the average value is no longer curve fitted, and the average value of the discrete values ​​with the same frequency is directly used as the average curve.

[0064] The average curve of the power spectrum of the same interval number of the arc sound samples of the same penetration state is obtained, and then the similarity of the average curve corresponding to the same interval number under different penetration states is calculated, and the average value of the similarities corresponding to all intervals is obtained, and the second interval set is obtained according to the average value; the second interval set is obtained in the same way as the spectrum graph. In another embodiment, if the similarity between the average curve of the power spectrum of a penetration state with the same interval number and the average curve of the power spectrum of any other penetration state is less than the weighted average value, the interval number is added to the second interval set.

[0065] The frequencies of different penetration states in the first interval set and the second interval set are quite different, which is helpful for the final judgment of the penetration state. The frequency interval is obtained by the intersection or union of the first interval set and the second interval set.

[0066] S2, preprocessing the arc sound to be analyzed and dividing it into frames to obtain multiple signal frames, windowing the signal frames and performing short-time Fourier transform to calculate the power spectrum, determining the triangular filters corresponding to different frequencies based on the frequency interval, and obtaining a frequency spectrum according to the triangular filters;

[0067] The narrower the triangular filter, the more details of the spectrum it can capture, and the higher the frequency resolution is, which is very helpful for feature extraction of frequency intervals with large differences under different penetration states. The arc sound to be analyzed is preprocessed and framed to obtain multiple signal frames, and the power spectrum is obtained after windowing and short-time Fourier transform. Since the frequency interval obtained in step S1 is a frequency interval with large frequency differences under different penetration states, this part needs to be analyzed in detail, but the triangular filter in the existing Mel filter group is fixed, and the feature extraction of the frequency interval is limited. Based on this, the present invention uses different triangular filters according to the frequency interval determined in S1. In one embodiment, the triangular filters corresponding to different frequencies are determined based on the frequency interval, specifically: obtaining a reference triangular filter, if the frequency range of the triangular filter overlaps with the frequency interval, splitting the reference triangular filter into at least two triangular filters according to the overlap. The reference triangular filter is a fixed triangular filter. In a more specific embodiment, the triangular filter in the middle of the filter group in the MFCC is used as the reference filter. Then, the triangular filter is changed according to the overlap between the frequency range of each triangular filter and the filter interval determined in S1. Specifically, if there is overlap, the reference triangular filter is split into at least two triangular filters according to the overlap, such as Figure 4In a more specific embodiment, if there is a partial overlap with the frequency interval, the corresponding reference triangular filter is split into two identical triangular filters, and if the frequency range of a triangular filter is entirely within the frequency range, the corresponding reference triangular filter is split into three identical triangular filters.

[0068] In another embodiment, triangular filters corresponding to different frequencies are determined according to the center frequency of the frequency interval, and if the center frequency of a triangular filter is closer to the center frequency of the frequency interval, the triangular filter is split into more triangular filters.

[0069] S3, using the spectrum of the welding current and the arc sound to be analyzed to obtain the weld penetration state through a preset model.

[0070] The welding current also has a great influence on the welding penetration state. The welding current and the spectrum of the arc sound to be analyzed are used through a preset model to obtain the weld penetration state. In a more specific embodiment, features are extracted from the spectrum of the arc sound to be analyzed, or Mel-frequency cepstrum coefficients are obtained according to the spectrum of the arc sound to be analyzed, and features are extracted from the Mel-frequency cepstrum coefficients.

[0071] The welding current is encoded, the extracted features and the welding current encoding are used as inputs of a preset model, and the output of the preset model is used as the weld penetration state.

[0072] There are many ways to extract features from the spectrum or Mel frequency cepstral coefficients, including but not limited to convolution, taking each row or column as an embedding vector, etc. After encoding or word embedding the welding current, it is input into the preset model, where the preset model is a ViT model or CNN, support vector machine, etc. The weld penetration status is obtained according to the output of the model, for example, if the model output is 1, it means full penetration, etc.

[0073] According to a second aspect of an embodiment of the present invention, the present invention provides a weld penetration state recognition system, such as Figure 5 As shown, the system includes the following modules:

[0074] The arc frequency determination module is used to collect arc sound samples during the welding process of the weld, calculate the spectrum and power spectrum of the arc sound samples collected under different penetration states, divide the spectrum and power spectrum into multiple intervals, and determine the frequency interval according to the curves of the spectrum and power spectrum of each interval;

[0075] An analysis module, used for preprocessing the arc sound to be analyzed and obtaining multiple signal frames after framing, calculating the power spectrum after windowing and short-time Fourier transform of the signal frame, determining the triangular filters corresponding to different frequencies based on the frequency interval, and obtaining a frequency spectrum according to the triangular filters;

[0076] The result recognition module is used to obtain the weld penetration status through a preset model using the welding current and the frequency spectrum of the arc sound to be analyzed.

[0077] Preferably, the frequency interval is determined according to the curves of the frequency spectrum diagram and the power spectrum diagram of each interval, specifically:

[0078] Obtain an average curve of the frequency spectrum of the same interval number of the arc sound samples in the same penetration state, then calculate the similarity of the average curve corresponding to the same interval number under different penetration states, obtain the average value of the similarities corresponding to all intervals, and obtain a first interval set according to the average value;

[0079] Obtain an average curve of the power spectrum of the same interval number of the arc sound samples in the same penetration state, then calculate the similarity of the average curves corresponding to the same interval number under different penetration states, obtain the average value of the similarities corresponding to all intervals, and obtain a second interval set according to the average value;

[0080] The frequency intervals are obtained by calculating the intersection or union of the first interval set and the second interval set.

[0081] Preferably, obtaining the first interval set according to the average value is specifically:

[0082] If the similarity between the average curve of the frequency spectrum of a melt-through state with the same interval number and the average curve of the frequency spectrum of any other melt-through state is less than the weighted average value, the interval number is added to the first interval set.

[0083] Preferably, obtaining the second interval set according to the average value is specifically:

[0084] If the similarity between the average curve of a power spectrum diagram of a penetration state with the same interval number and the average curve of a power spectrum diagram of any other penetration state is less than the weighted average value, the interval number is added to the second interval set.

[0085] Preferably, determining the triangular filters corresponding to different frequencies based on the frequency interval is specifically:

[0086] A reference triangular filter is obtained, and if the frequency range of the triangular filter overlaps with the frequency interval, the reference triangular filter is split into at least two triangular filters according to the overlapping condition.

[0087] Preferably, the spectrum of the welding current and the arc sound to be analyzed is used to obtain the weld penetration state through a preset model, specifically:

[0088] Extracting features from the spectrum of the arc sound to be analyzed, or obtaining Mel-frequency cepstrum coefficients according to the spectrum of the arc sound to be analyzed, and extracting features from the Mel-frequency cepstrum coefficients;

[0089] The welding current is encoded, the extracted features and the welding current encoding are used as inputs of a preset model, and the output of the preset model is used as the weld penetration state.

[0090] According to a third aspect of an embodiment of the present invention, the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method described in the first embodiment is implemented.

[0091] It should be noted that a part of the electronic device of the above embodiment can also be implemented by a computer. In this case, a program for implementing the control function can be recorded in a computer-readable recording medium, and the program recorded in the recording medium can be read into a computer system and executed to implement it.

[0092] It should be noted that the "computer system" mentioned here refers to a computer system built into an electronic device, and uses a computer system including hardware such as an OS and peripheral devices. In addition, "computer-readable recording medium" refers to removable media such as floppy disks, magneto-optical disks, ROMs, CD-ROMs, and storage devices such as hard disks built into computer systems.

[0093] Furthermore, "computer-readable recording media" may include: media that dynamically store programs for a short period of time, such as communication lines when sending programs via networks such as the Internet or communication lines such as telephone lines; and media that store programs for a fixed period of time, such as volatile memories inside computer systems that serve as servers or clients in this case. In addition, the above-mentioned program may be a program for realizing a part of the above-mentioned functions, or a program that can realize the above-mentioned functions by combining with a program already recorded in a computer system.

[0094] In addition, the electronic device in the above-mentioned embodiment can also be implemented as a collection (device group) composed of multiple devices. Each device constituting the device group can have a part or all of the functions or functional blocks of the electronic device in the above-mentioned embodiment. As a device group, it is sufficient to have all the functions or functional blocks of the electronic device.

[0095] Those skilled in the art should recognize that the above embodiments are only used to illustrate the present application and are not intended to be limiting of the present application. As long as they are within the spirit and scope of the present application, appropriate changes and modifications to the above embodiments are within the scope of protection claimed in the present application.

Claims

1. A method for identifying the penetration state of a weld, characterized in that: The method comprises the following steps: Collect arc sound samples during the welding process of the weld, calculate the spectrum and power spectrum of the arc sound samples collected under different penetration states, divide the spectrum and power spectrum into multiple intervals, and determine the frequency interval according to the curves of the spectrum and power spectrum of each interval; Preprocessing the arc sound to be analyzed and dividing it into frames to obtain multiple signal frames, windowing the signal frames and performing short-time Fourier transformation to calculate the power spectrum, determining the triangular filters corresponding to different frequencies based on the frequency interval, and obtaining the spectrum diagram according to the triangular filters; The frequency spectrum of the welding current and the arc sound to be analyzed is used to obtain the weld penetration status through a preset model.

2. The method according to claim 1, characterized in that The frequency interval is determined according to the curves of the spectrum diagram and the power spectrum diagram of each interval, specifically: Obtain an average curve of the frequency spectrum of the same interval number of the arc sound samples in the same penetration state, then calculate the similarity of the average curve corresponding to the same interval number under different penetration states, obtain the average value of the similarities corresponding to all intervals, and obtain a first interval set according to the average value; Obtain an average curve of the power spectrum of the same interval number of the arc sound samples in the same penetration state, then calculate the similarity of the average curves corresponding to the same interval number under different penetration states, obtain the average value of the similarities corresponding to all intervals, and obtain a second interval set according to the average value; The frequency intervals are obtained by calculating the intersection or union of the first interval set and the second interval set.

3. The method according to claim 2, characterized in that The obtaining of the first interval set according to the average value is specifically: If the similarity between the average curve of the frequency spectrum of a melt-through state with the same interval number and the average curve of the frequency spectrum of any other melt-through state is less than the weighted average value, the interval number is added to the first interval set.

4. The method according to claim 2, characterized in that The second interval set is obtained according to the average value, specifically: If the similarity between the average curve of a power spectrum diagram of a penetration state with the same interval number and the average curve of a power spectrum diagram of any other penetration state is less than the weighted average value, the interval number is added to the second interval set.

5. The method according to claim 1, characterized in that The determining of the triangular filters corresponding to different frequencies based on the frequency interval is specifically: A reference triangular filter is obtained, and if the frequency range of the triangular filter overlaps with the frequency interval, the reference triangular filter is split into at least two triangular filters according to the overlapping condition.

6. The method according to claim 1, characterized in that The spectrum of the welding current and the arc sound to be analyzed is used to obtain the weld penetration state through a preset model, specifically: Extracting features from the spectrum of the arc sound to be analyzed, or obtaining Mel-frequency cepstrum coefficients according to the spectrum of the arc sound to be analyzed, and extracting features from the Mel-frequency cepstrum coefficients; The welding current is encoded, the extracted features and the welding current encoding are used as inputs of a preset model, and the output of the preset model is used as the weld penetration state.

7. A weld penetration state identification system, characterized in that: The system includes the following modules: The arc frequency determination module is used to collect arc sound samples during the welding process of the weld, calculate the spectrum and power spectrum of the arc sound samples collected under different penetration states, divide the spectrum and power spectrum into multiple intervals, and determine the frequency interval according to the curves of the spectrum and power spectrum of each interval; An analysis module, used for preprocessing the arc sound to be analyzed and obtaining multiple signal frames after framing, calculating the power spectrum after windowing and short-time Fourier transform of the signal frame, determining the triangular filters corresponding to different frequencies based on the frequency interval, and obtaining a frequency spectrum according to the triangular filters; The result recognition module is used to obtain the weld penetration status through a preset model using the welding current and the frequency spectrum of the arc sound to be analyzed.

8. The system according to claim 7, characterized in that The frequency interval is determined according to the curves of the spectrum diagram and the power spectrum diagram of each interval, specifically: Obtain an average curve of the frequency spectrum of the same interval number of the arc sound samples in the same penetration state, then calculate the similarity of the average curve corresponding to the same interval number under different penetration states, obtain the average value of the similarities corresponding to all intervals, and obtain a first interval set according to the average value; Obtain an average curve of the power spectrum of the same interval number of the arc sound samples in the same penetration state, then calculate the similarity of the average curves corresponding to the same interval number under different penetration states, obtain the average value of the similarities corresponding to all intervals, and obtain a second interval set according to the average value; The frequency intervals are obtained by calculating the intersection or union of the first interval set and the second interval set.

9. The system according to claim 8, characterized in that The obtaining of the first interval set according to the average value is specifically: If the similarity between the average curve of the frequency spectrum of a melt-through state with the same interval number and the average curve of the frequency spectrum of any other melt-through state is less than the weighted average value, then the interval number is added to the first interval set; The second interval set is obtained according to the average value, specifically: If the similarity between the average curve of a power spectrum diagram of a penetration state with the same interval number and the average curve of a power spectrum diagram of any other penetration state is less than the weighted average value, the interval number is added to the second interval set.

10. A computer storage device, wherein a computer program is stored on the storage device, characterized in that: When the computer program is executed by a processor, the computer program implements the method according to any one of claims 1 to 6.