Grounding lead welding seam quality detection method, device and equipment and storage medium
Through the improved ultrasonic guide detection signal feature extraction and classification recognition method, the variable modal decomposition-support vector machine network model is used to detect the quality of the ground lead weld, which solves the problem of reduced weld quality during welding and realizes grounding and downward Accurate detection of wire welds improves the safety and stability of power grid operation and maintenance.
Patent Information
- Application Number
- CN202411089603.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-09
- Publication Date
- 2024-11-05
AI Technical Summary
The ground lead weld is prone to physical damage such as air holes during welding, resulting in a decrease in the quality of the weld, which in turn causes the connection between the ground lead and the grounding network to break, endangering the stable operation of the power grid and the safety of personnel.
The improved ultrasonic guide detection signal feature extraction and classification recognition method is adopted to detect the ground lead weld quality through the pre-trained variational mode decomposition-support vector machine network model, and the improved subtraction average optimization algorithm is used to optimize the variational mode. Decompose the layer to achieve effective detection of weld quality.
It provides accurate detection results for the quality of grounding and downline welds, provides effective detection methods for grid operation, maintenance and maintenance work, improves technical support for grid performance evaluation, and reduces the risk of safety accidents.
Smart Images

Figure CN118897002A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of power grid technology, and in particular to a grounding lead weld quality detection method, device, equipment and storage medium. Background Art
[0002] The substation grounding grid is an important facility for maintaining the safe and reliable operation of the power system. However, due to the long-term soil corrosion and the electrodynamic effect of the grounding short-circuit current, the grounding down conductor is easily corroded and damaged, resulting in a reduction in the cross-section of the grounding grid conductor, poor thermal stability, and deterioration of electrical performance. The corrosion and breakage of the grounding grid conductor and the grounding wire will reduce the grounding performance, which will directly endanger the stable operation of the power grid and the safety of personnel in severe cases. In addition, during the ground grid welding process, the existing welding technology will easily cause physical damage such as pores at the weld of the grounding lead, which will lead to a decrease in the quality of the weld at the connection of the grounding down conductor, resulting in a break in the connection between the grounding down conductor and the grounding grid, inducing safety accidents. Therefore, seeking a high-quality and efficient grounding down conductor quality evaluation method is of great significance to the actual operation and maintenance of the power grid and the commissioning process. Summary of the invention
[0003] The embodiments of the present invention provide a grounding lead weld quality detection method, device, equipment and storage medium. The ultrasonic guided wave detection signal is feature extracted and classified by an improved model, and the grounding lead weld quality detection result is output, thereby providing an effective detection method for the operation and maintenance of the grounding lead.
[0004] In a first aspect, an embodiment of the present invention provides a method for detecting the quality of a ground lead weld, the method comprising:
[0005] The ultrasonic waveguide detection signal of the target ground lead weld is collected based on the ultrasonic waveguide collection device;
[0006] The ultrasonic waveguide detection signal is input into a pre-trained ground lead weld quality detection model to obtain a quality detection result of the target ground lead weld; wherein the ground lead weld quality detection model is trained using an improved variational mode decomposition-support vector machine network model; the improved variational mode decomposition layer in the ground lead weld quality detection model is implemented based on an improved subtraction averaging optimization algorithm.
[0007] In a second aspect, an embodiment of the present invention further provides a ground lead weld quality detection device, the device comprising:
[0008] A data acquisition module, used for acquiring ultrasonic waveguide detection signals of target ground lead welds based on ultrasonic waveguide acquisition devices;
[0009] The quality detection result module is used to input the ultrasonic waveguide detection signal into a pre-trained ground lead weld quality detection model to obtain the quality detection result of the target ground lead weld; wherein the ground lead weld quality detection model is trained using an improved variational mode decomposition-support vector machine network model; the improved variational mode decomposition layer in the ground lead weld quality detection model is implemented based on an improved subtraction averaging optimization algorithm.
[0010] In a third aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:
[0011] one or more processors;
[0012] a storage device for storing one or more programs,
[0013] When the one or more programs are executed by the one or more processors, the one or more processors implement the ground lead weld quality detection method provided by the embodiment of the present disclosure.
[0014] In a fourth aspect, the embodiments of the present disclosure further provide a storage medium comprising computer executable instructions, which, when executed by a computer processor, are used to implement the ground lead weld quality detection method provided by the embodiments of the present disclosure.
[0015] In a fifth aspect, the embodiments of the present disclosure further provide a computer program product, which includes a computer program. When the computer program is executed by a processor, the ground lead weld quality detection method provided in the embodiments of the present disclosure is implemented.
[0016] The present invention discloses a grounding lead weld quality detection method, device, equipment and storage medium. The method includes: collecting the ultrasonic waveguide detection signal of the target grounding lead weld based on an ultrasonic waveguide acquisition device; inputting the ultrasonic waveguide detection signal to a pre-trained grounding lead weld quality detection model to obtain the quality detection result of the target grounding lead weld; wherein the grounding lead weld quality detection model is trained using an improved variational mode decomposition-support vector machine network model; the improved variational mode decomposition layer in the grounding lead weld quality detection model is implemented based on an improved subtraction average optimization algorithm. Using this method: combining the waveform characteristics of the ultrasonic waveguide detection signal, the ultrasonic waveguide detection signal is feature extracted and classified and identified through an improved model, and the grounding down conductor weld quality detection result is output, which provides an effective detection method for the operation and maintenance of the grounding down conductor. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0018] Figure 1 A flow chart of a ground lead weld quality detection method provided by an embodiment of the present disclosure;
[0019] Figure 2 A schematic diagram of an ultrasonic waveguide collection device provided in an embodiment of the present disclosure;
[0020] Figure 3 A schematic diagram of the structure of a ground lead weld quality detection device provided by an embodiment of the present disclosure;
[0021] Figure 4 A schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0022] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0023] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0024] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0025] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0026] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0027] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0028] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0029] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0030] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0031] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0032] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.
[0033] Embodiment 1
[0034] Figure 1 A flow chart of a ground lead weld quality detection method provided in an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to a situation where a solution is provided to the problem of adjusting the incentive electricity price. The method can be executed by a ground lead weld quality detection method device, which can be implemented in the form of software and / or hardware, and optionally, by an electronic device, which can be a mobile terminal, a PC or a server, etc.
[0035] like Figure 1As shown, a ground lead weld quality detection method provided by an embodiment of the present disclosure may specifically include the following steps:
[0036] S110, collecting ultrasonic waveguide detection signals of the target ground lead weld based on an ultrasonic waveguide collection device.
[0037] The ultrasonic waveguide collection device at least includes an excitation device and a receiving device composed of a first preset number of piezoelectric sheets.
[0038] In this embodiment, the target ground lead weld may be the target to be inspected. Figure 2 A schematic diagram of an ultrasonic waveguide collection device provided in an embodiment of the present disclosure, such as Figure 2 As shown, the number of piezoelectric sheets laid at the head end of the ground lead is 8, and according to the ultrasonic guided wave signal excitation requirements, the size of the piezoelectric sheet is calibrated as follows: the length l of the piezoelectric sheet is 20mm, the width w of the piezoelectric sheet is 5mm, the height h of the piezoelectric sheet is 1mm, the piezoelectric sheet and the ground lead to be tested are bonded with epoxy resin, and the power module is used to excite the ultrasonic guided wave signal at the piezoelectric part of the excitation device. At a distance l1 from the head end of the ground lead, the same number of piezoelectric sheets are laid as receiving devices. The distance l1 is the wavelength distance of the excitation ultrasonic guided wave signal, and the calculation formula is: l1=C p / f,C p is the wave velocity of the exciting ultrasonic guided wave signal, f is the frequency of the exciting ultrasonic guided wave signal, and the piezoelectric piece of the receiving device collects the echo signal through the acquisition module.
[0039] Based on the above embodiment, the ultrasonic waveguide detection signal of the target ground lead weld is collected by the ultrasonic waveguide collection device, which specifically includes the following steps:
[0040] The ultrasonic waveguide collection device at least includes an excitation device and a receiving device composed of a first preset number of piezoelectric sheets.
[0041] a1) Controlling an excitation device laid at the head end of the target ground lead weld to generate an ultrasonic excitation signal.
[0042] b1) receiving an echo signal of the ultrasonic guide excitation signal through a receiving device arranged at a set distance from the head end of the target ground lead weld to obtain an ultrasonic detection signal.
[0043] Specifically, the power module is used to control the excitation device piezoelectric at the head end of the target grounding lead weld to excite the ultrasonic waveguide signal. At a distance l1 from the head end of the grounding lead, the same number of piezoelectric sheets are laid as receiving devices. The distance l1 is the wavelength distance of the excitation ultrasonic waveguide signal, and the calculation formula is: l1 = C p / f,C pis the wave velocity of the exciting ultrasonic guided wave signal, f is the frequency of the exciting ultrasonic guided wave signal, and the piezoelectric piece of the receiving device collects the echo signal through the acquisition module.
[0044] S120, inputting the ultrasonic waveguide detection signal into a pre-trained ground lead weld quality detection model to obtain a quality detection result of the target ground lead weld.
[0045] Among them, the grounding lead weld quality detection model is trained using the improved variational modal decomposition (VMD)-support vector machine (SVM) network model; the improved variational modal decomposition layer in the grounding lead weld quality detection model is implemented based on the improved subtraction-average-based optimizer (SABO).
[0046] Specifically, an ultrasonic waveguide detection signal is input into a pre-trained ground lead weld quality detection model to obtain a quality detection result of a target ground lead weld.
[0047] In this embodiment, the improved SABO algorithm is used to optimize the VMD algorithm related parameter combination (penalty factor α, decomposition mode number k). Signal decomposition is performed based on the optimal parameter combination of the VMD algorithm, and the optimal modal component of each signal sample in the ground lead detection database is selected based on the minimum envelope entropy value of each modal component.
[0048] Based on the above embodiment, inputting the ultrasonic waveguide detection signal to the pre-trained ground lead weld quality detection model to obtain the quality detection result of the target ground lead weld specifically includes the following steps:
[0049] a2) Obtain a pre-trained ground lead weld quality detection model.
[0050] The ground lead weld quality inspection model also includes: a quality classification layer.
[0051] b2) Inputting the ultrasonic waveguide detection signal into the improved variational mode decomposition layer for feature extraction, and obtaining the defect type classification characteristics of the target ground lead weld.
[0052] c2) Input the defect type classification features into the quality classification layer for classification, and output the quality inspection results of the target ground lead weld.
[0053] Quality inspection results include one of the following: no damage, physical damage, and corrosion damage.
[0054] In this embodiment, the defect type classification features may be the standard deviation, root mean square and dimensionless parameter amplitude, waveform factor, peak factor and pulse factor of the IMF components after decomposition by the improved variational mode decomposition layer.
[0055] Based on the above embodiment, the training process of the ground lead weld quality detection model specifically includes the following steps:
[0056] a3) Acquire the previously collected historical ultrasonic waveguide detection signals as the historical data set.
[0057] b3) Divide the historical data set into a training set and a test set according to a preset data set segmentation ratio, and construct an initial model for ground lead weld quality detection.
[0058] c3) The initial model of ground lead weld quality detection is trained according to the training set to obtain the basic model of ground lead weld quality detection.
[0059] d3) Use the test set to perform performance testing on the basic model for ground lead weld quality detection.
[0060] e3) If the test results of the performance test meet the preset model test pass conditions, the grounding lead weld quality detection basic model is used as the final grounding lead weld quality detection model, otherwise the grounding lead weld quality detection initial model is re-trained according to the training set.
[0061] On the basis of the above embodiment, the initial model for ground lead weld quality detection is trained according to the training set to obtain the basic model for ground lead weld quality detection, which specifically includes the following steps:
[0062] c31) Based on the subtraction mean optimization algorithm, the reverse learning strategy and the Cauchy mutation formula are introduced to obtain the optimization based on the subtraction mean optimization algorithm, and the two parameters k and α of the variational mode decomposition are optimized using the optimization based on the subtraction mean optimization algorithm.
[0063] c32) Decomposing the historical ultrasonic waveguide detection signals in the training set using an optimized variational mode decomposition method, extracting feature vectors from the decomposed historical ultrasonic waveguide detection signals, and forming a training feature vector set.
[0064] c33) Standardizing the training feature vector set to obtain a standard training feature vector set.
[0065] c34) Inputting the standard training feature vector set into the support vector machine for training, and obtaining the basic model for ground lead weld quality detection.
[0066] On the basis of the above embodiment, the reverse learning strategy and the Cauchy mutation formula are introduced on the basis of the subtraction mean optimization algorithm to obtain the optimization based on the subtraction mean optimization algorithm, and the optimization based on the subtraction mean optimization algorithm is used to optimize the two parameters k and α of the variational mode decomposition, which specifically includes the following steps:
[0067] c311) Initialize the population. The population is the different values of the two parameters k and α of the variational mode decomposition.
[0068] c312) Use the chaotic mapping strategy and the search agent position calculation method to perform the initial update of the parameter value position of the population.
[0069] c313) The results of the initial update are used to update the parameter values of the population position again through the reverse learning strategy and the Cauchy mutation formula algorithm.
[0070] Specifically, the overall training process is as follows:
[0071] (I) Use the SABO algorithm to optimize the key parameters of VMD decomposition and obtain the optimal combination. The specific optimization process is as follows:
[0072] 1. Initialize the population:
[0073] p i,d = l d +r(u d -l d )
[0074] In the formula, p i,d is the current position, r is a random number between [0,1], u d is the upper boundary, l d is the lower boundary;
[0075] 2. Update the iteration based on the subtraction of v from search agent A by search agent B using the overall average position of the search agent at iteration t:
[0076]
[0077] In the formula: is a set of vectors randomly generated from the set {1, 2}, P(A) and P(B) are the fitness values of individuals A and B; v represents the v minus operation.
[0078] 3. The initial algorithm position is updated as follows:
[0079]
[0080] In the formula, p i is the i-th mapping position, represents the initial position of the i+1th mapping, T is the maximum number of iterations, and pi is the current position of the i-th generation of particles, p j is the current position of the j-th generation of particles.
[0081] 4. The position is updated through the reverse learning strategy and the Cauchy mutation formula algorithm as follows:
[0082]
[0083] In the formula, p i is the i-th mapping position, represents the position of the (i + 1)-th mapping, b1 is the information exchange control parameter, cauchy(0,1) is the standard Cauchy distribution function, A is a random number in (0,1), T is the maximum number of iterations, and t is the current number of iterations.
[0084] 5. After the position is updated, judge i. If i < N, then let i = i + 1 and repeat step 4. If i > N, then perform step 6. 6. Judge t. If the maximum number of iterations T has not been reached, then let i = 1, t = t + 1, and repeat step 4; if the number of iterations t reaches the maximum number of iterations T, output the current optimal position.
[0085] (2) After optimizing the improved SABO algorithm, substitute the obtained optimal parameter combination (penalty factor α, decomposition mode number k) into VMD, and perform signal decomposition again. The decomposition process is as follows:
[0086] 1. The variational problem solving model described in this scheme is as shown in the following formula, and the parameters are initialized The number of iterative calculation times n is all 0.
[0087]
[0088] In the above formula, f(t) is the original signal, {u k} represents K modal components, { ωk} represents the center frequencies of each IMF component, is the partial derivative with respect to t, δ(t) is the Dirac function, * is the convolution operation, t is the time. After introducing the Lagrange operator λ and the penalty factor α, the transformation is as follows:
[0089]
[0090] 2. Let n = n + 1, and use the multiplicative operator alternating direction method to update λ n+1 ,
[0091]
[0092] In the above formula, They are λ n+1 (t), τ is the noise tolerance parameter.
[0093] Given that the discrimination accuracy ε>0, repeat step 2 until n>the preset number of iterations or the convergence condition is met, then stop the loop and finally obtain K IMF components. The convergence condition is shown in the figure below.
[0094]
[0095] 3. After completing the calculations in steps 1 and 2, the optimal modal components are selected based on the obtained K IMF components. The selection criteria are the minimum envelope entropy described in 1. Finally, the optimal modal components corresponding to the minimum envelope entropy of each sample signal are combined as the signal set F, and the feature vector is extracted based on the signal set F. The feature vector indicators selected in this scheme are the dimensional parameter standard deviation, root mean square and dimensionless parameters crest, waveform factor, peak factor and pulse factor. The specific calculation formula is as follows:
[0096] Standard Deviation: RMS:
[0097] Weidu: Form Factor:
[0098] Crest Factor: Pulse Factor:
[0099] The feature sets of all echo signals in all the training sets are combined into a feature vector set Y, and the feature vector set Y is standardized, that is, each feature vector in the feature vector set is first averaged. The average processing process is shown in the following formula:
[0100]
[0101] Then we get the sample set Y′ after the standardization. Find the covariance matrix V of the sample set after the standardization
[0102]
[0103] Find the eigenvalues and eigenvectors of V corresponding to the covariance matrix, sort them by size, and take the first j eigenvalues and their corresponding eigenvectors with cumulative contribution rates greater than 95% as classification features, so as to obtain the classification training set Z after reconstructing feature dimensionality reduction. The calculation formula for the cumulative contribution rate of the first j principal components is:
[0104]
[0105] (III) Feature classification based on SVM algorithm
[0106] Add corresponding labels to the classification training set Z, then the training set Z = {(x i ,y i ),i=1,2,3,...,n}, where x i is the selected sample, y i is the sample classification label. Then the optimization problem of its classification hyperplane is as follows:
[0107]
[0108] In the above formula, ω represents the weight; C represents the penalty parameter; b represents the threshold; ε i Represents the relaxation factor. Based on the above formula, the Lagrangian function, the duality principle and the kernel function are introduced, and the decision function is taken as
[0109]
[0110] In the above formula, a i is the Lagrange factor, function K(x i ,x) is the kernel function, and f(x) is the classification result. This scheme selects the radial basis kernel function with good nonlinear mapping ability.
[0111] K(x i ,x)=exp(-γ||x i -x j || 2 )
[0112] After the SVM model is trained, the real-time measured echo signal can be used to perform quality inspection on the grounding down conductor weld.
[0113] The present invention discloses a grounding lead weld quality detection method, including: collecting an ultrasonic waveguide detection signal of a target grounding lead weld based on an ultrasonic waveguide acquisition device; inputting the ultrasonic waveguide detection signal to a pre-trained grounding lead weld quality detection model to obtain a quality detection result of the target grounding lead weld; wherein the grounding lead weld quality detection model is trained using an improved variational mode decomposition-support vector machine network model; the improved variational mode decomposition layer in the grounding lead weld quality detection model is implemented based on an improved subtraction average optimization algorithm. Using this method: combining the waveform characteristics of the ultrasonic waveguide detection signal, the ultrasonic waveguide detection signal is feature extracted and classified by an improved SABO-VMD-SVM algorithm, and finally the grounding down conductor weld quality detection result is directly output to the construction personnel, providing an effective detection method for the operation and maintenance of the grounding down conductor, and providing technical support for the performance evaluation of the power station grounding network.
[0114] Embodiment 2
[0115] Figure 3 The present invention also provides a schematic diagram of a ground lead weld quality detection method and device structure. Figure 3 , a data acquisition module 210 and a quality detection result module 220.
[0116] A data acquisition module 210, for acquiring an ultrasonic waveguide detection signal of a target ground lead weld based on an ultrasonic waveguide acquisition device;
[0117] The quality detection result module 220 is used to input the ultrasonic guide detection signal into a pre-trained ground lead weld quality detection model to obtain the quality detection result of the target ground lead weld; wherein the ground lead weld quality detection model is trained using an improved variational mode decomposition-support vector machine network model; the improved variational mode decomposition layer in the ground lead weld quality detection model is implemented based on an improved subtraction averaging optimization algorithm.
[0118] The technical solution provided in the embodiment of the present disclosure utilizes this method: combining the waveform characteristics of the ultrasonic guided wave detection signal, extracting and classifying the ultrasonic guided wave detection signal through the improved SABO-VMD-SVM algorithm, and finally directly outputting the grounding down conductor weld quality inspection results to the construction personnel, providing an effective inspection method for the operation and maintenance of the grounding down conductor, and providing technical support for the performance evaluation of the power station grounding network.
[0119] Furthermore, the data collection module 210 can be used to:
[0120] The ultrasonic waveguide collection device at least includes an excitation device and a receiving device composed of a first preset number of piezoelectric sheets;
[0121] Controlling the excitation device laid at the head end of the target ground lead weld to generate an ultrasonic excitation signal;
[0122] The ultrasonic detection signal is obtained by receiving the echo signal of the ultrasonic guide excitation signal according to the receiving device laid at a set distance from the head end of the target ground lead weld.
[0123] Furthermore, the quality detection result module 220 can also be used to:
[0124] Acquire the pre-trained ground lead weld quality detection model; the ground lead weld quality detection model also includes: a quality classification layer;
[0125] Inputting the ultrasonic waveguide detection signal into the improved variational mode decomposition layer for feature extraction to obtain defect type classification features of the target ground lead weld;
[0126] The defect type classification feature is input into the quality classification layer for classification, and the quality inspection result of the target ground lead weld is output; the quality inspection result includes one of the following: no damage, physical damage and corrosion damage.
[0127] Furthermore, the quality detection result module 220 can also be used to:
[0128] The training process of the ground lead weld quality detection model is described, including:
[0129] Acquire pre-collected historical ultrasonic waveguide detection signals as a historical data set;
[0130] Dividing the historical data set into a training set and a test set according to a preset data set segmentation ratio, and constructing an initial model for ground lead weld quality detection;
[0131] The ground lead weld quality detection initial model is trained according to the training set to obtain a ground lead weld quality detection basic model;
[0132] Using the test set to perform performance testing on the ground lead weld quality detection basic model;
[0133] If the test result of the performance test meets the preset model test pass condition, the grounding lead weld quality detection basic model is used as the final grounding lead weld quality detection model; otherwise, the grounding lead weld quality detection initial model is re-trained according to the training set.
[0134] Furthermore, the quality detection result module 220 can also be used to:
[0135] Based on the subtraction mean optimization algorithm, a reverse learning strategy and a Cauchy mutation formula are introduced to obtain an optimization based on the subtraction mean optimization algorithm, and the optimization based on the subtraction mean optimization algorithm is used to optimize the two parameters k and α of the variational mode decomposition;
[0136] Decomposing the historical ultrasonic waveguide detection signals in the training set using an optimized variational mode decomposition method, extracting feature vectors from the decomposed historical ultrasonic waveguide detection signals, and forming a training feature vector set;
[0137] Standardizing the training feature vector set to obtain a standard training feature vector set;
[0138] The standard training feature vector set is input into a support vector machine for training to obtain a basic model for ground lead weld quality detection.
[0139] Furthermore, the quality detection result module 220 can also be used to:
[0140] Initializing a population; the population is different values of two parameters k and α of the variational mode decomposition;
[0141] The chaotic mapping strategy and the position calculation method of the search agent are used to perform the initial update of the parameter value position of the population;
[0142] The results of the initial update are used to update the parameter values of the population position again through the reverse learning strategy and the Cauchy mutation formula algorithm.
[0143] Furthermore, the quality detection result module 220 can also be used to:
[0144]
[0145] In the formula, p i is the i-th mapping position, Indicates the position of the i+1th mapping, r is a random number between [0,1], u d is the upper boundary, l d is the lower boundary; b1 is the information exchange control parameter, cauchy(0,1) is the standard Cauchy distribution function, A is a random number of (0,1), T is the maximum number of iterations, and t is the current number of iterations.
[0146] The above device can execute the methods provided by all the above embodiments of the present invention, and has the corresponding functional modules and beneficial effects of executing the above methods. For technical details not described in detail in this embodiment, please refer to the methods provided by all the above embodiments of the present invention.
[0147] Figure 4 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is given. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0148] like Figure 4As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0149] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0150] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a ground lead weld quality detection method.
[0151] In some embodiments, the ground lead weld quality detection method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the ground lead weld quality detection method described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the ground lead weld quality detection method in any other appropriate manner (for example, by means of firmware).
[0152] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0153] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0154] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0155] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0156] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0157] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0158] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0159] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for detecting the quality of a ground lead weld, characterized in that: include: The ultrasonic waveguide detection signal of the target ground lead weld is collected based on the ultrasonic waveguide collection device; Inputting the ultrasonic waveguide detection signal into a pre-trained ground lead weld quality detection model to obtain a quality detection result of the target ground lead weld; wherein the ground lead weld quality detection model is trained using an improved variational mode decomposition-support vector machine network model; The improved variational mode decomposition layer in the ground lead weld quality detection model is implemented based on an optimization algorithm of improved subtraction averaging.
2. The method according to claim 1, characterized in that: The ultrasonic waveguide collection device at least includes an excitation device and a receiving device composed of a first preset number of piezoelectric sheets. The ultrasonic waveguide collection device collects the ultrasonic waveguide detection signal of the target ground lead weld, including: Controlling the excitation device laid at the head end of the target ground lead weld to generate an ultrasonic excitation signal; The ultrasonic detection signal is obtained by receiving the echo signal of the ultrasonic guide excitation signal according to the receiving device laid at a set distance from the head end of the target ground lead weld.
3. The method according to claim 1, characterized in that The step of inputting the ultrasonic waveguide detection signal to a pre-trained ground lead weld quality detection model to obtain a quality detection result of the target ground lead weld includes: Acquire the pre-trained ground lead weld quality detection model; the ground lead weld quality detection model also includes: a quality classification layer; Inputting the ultrasonic waveguide detection signal into the improved variational mode decomposition layer for feature extraction to obtain defect type classification features of the target ground lead weld; The defect type classification feature is input into the quality classification layer for classification, and the quality inspection result of the target ground lead weld is output; the quality inspection result includes one of the following: no damage, physical damage and corrosion damage.
4. The method according to claim 1, characterized in that: The training process of the ground lead weld quality detection model includes: Acquire pre-collected historical ultrasonic waveguide detection signals as a historical data set; Dividing the historical data set into a training set and a test set according to a preset data set segmentation ratio, and constructing an initial model for ground lead weld quality detection; The ground lead weld quality detection initial model is trained according to the training set to obtain a ground lead weld quality detection basic model; Using the test set to perform performance testing on the ground lead weld quality detection basic model; If the test result of the performance test meets the preset model test pass condition, the grounding lead weld quality detection basic model is used as the final grounding lead weld quality detection model; otherwise, the grounding lead weld quality detection initial model is re-trained according to the training set.
5. The method according to claim 4, characterized in that The initial model for detecting the quality of the grounding lead weld is trained according to the training set to obtain a basic model for detecting the quality of the grounding lead weld, including: Based on the subtraction mean optimization algorithm, a reverse learning strategy and a Cauchy mutation formula are introduced to obtain an optimization based on the subtraction mean optimization algorithm, and the subtraction mean optimization algorithm is used to optimize the two parameters k and α of the variational mode decomposition; Decomposing the historical ultrasonic waveguide detection signals in the training set using an optimized variational mode decomposition method, extracting feature vectors from the decomposed historical ultrasonic waveguide detection signals, and forming a training feature vector set; Standardizing the training feature vector set to obtain a standard training feature vector set; The standard training feature vector set is input into a support vector machine for training to obtain a basic model for ground lead weld quality detection.
6. The method according to claim 5, characterized in that The method introduces a reverse learning strategy and a Cauchy mutation formula based on the subtraction mean optimization algorithm to obtain an optimization based on the subtraction mean optimization algorithm, and uses the optimization based on the subtraction mean optimization algorithm to optimize the two parameters k and α of the variational mode decomposition, including: Initializing a population; the population is different values of two parameters k and α of the variational mode decomposition; The chaotic mapping strategy and the position calculation method of the search agent are used to perform the initial update of the parameter value position of the population; The results of the initial update are used to update the parameter values of the population position again through the reverse learning strategy and the Cauchy mutation formula algorithm.
7. The method according to claim 6, characterized in that The calculation formula for updating the parameter values of the population position again through the reverse learning strategy and the Cauchy mutation formula algorithm for the results of the initial update is as follows: In the formula, p i is the i-th mapping position, Indicates the position of the i+1th mapping, r is a random number between [0,1], u d is the upper boundary, l d is the lower boundary; b1 is the information exchange control parameter, cauchy(0,1) is the standard Cauchy distribution function, A is a random number of (0,1), T is the maximum number of iterations, and t is the current number of iterations.
8. A ground lead weld quality detection device, characterized in that: include: A data acquisition module, used for acquiring ultrasonic waveguide detection signals of target ground lead welds based on ultrasonic waveguide acquisition devices; A quality detection result module, used for inputting the ultrasonic waveguide detection signal into a pre-trained ground lead weld quality detection model to obtain a quality detection result of the target ground lead weld; wherein the ground lead weld quality detection model is trained using an improved variational mode decomposition-support vector machine network model; The improved variational mode decomposition layer in the ground lead weld quality detection model is implemented based on an optimization algorithm of improved subtraction averaging.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the ground lead weld quality detection method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the ground lead weld quality detection method according to any one of claims 1 to 7 when executed.
