A method, device and equipment for sparse optimization of phased array probe

Through genetic algorithms, the array element layout of phased array probes is optimized, which solves the problems of large amount of calculation and low imaging efficiency in high-density polyethylene detection, achieving more efficient detection and cost reduction, and improving imaging quality.

CN115060803BActive Publication Date: 2024-11-26HUZHOU SPECIAL EQUIP TESTING RES INST (HUZHOU ELEVATOR EMERGENCY RESCUE COMMAND CENT) +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210572367.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-24
Publication Date
2024-11-26
Estimated Expiration
2042-05-24

AI Technical Summary

Technical Problem

When detecting materials with low sound speed such as high-density polyethylene, the existing full-focus imaging phased array ultrasonic detection technology has large calculation amounts, long time and low imaging efficiency. The high density of traditional phased arrays leads to high hardware costs, and imaging pseudo-imaging The shadow and signal-to-noise ratio is poor.

Method used

Genetic algorithms are used to sparsely optimize phased array probes. By optimizing the array element spacing and number of array elements, establishing a pattern function and optimization model, reducing the side beam of the array, reducing the calculation amount and cost, and improving the signal-to-noise ratio and imaging effect.

Benefits of technology

Without reducing the sound field characteristics, the detection efficiency is improved, imaging artifacts are reduced, imaging effects are improved, hardware costs are reduced, and detection results are obtained.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115060803B_ABST
    Figure CN115060803B_ABST
Patent Text Reader

Abstract

The embodiments of the present application provide a method, device and equipment for sparse optimization of a phased array probe, the method comprising: obtaining a target array to be sparsely optimized on a phased array probe; the target array comprises N array elements; based on target information of the target array, establishing a directional pattern function of the target array; wherein the target information comprises an aperture L of the array element, the number of array elements N, position information of each array element, and an angle variable; based on the directional pattern function of the target array, establishing an optimization model of the target array; based on a genetic algorithm, sparsely optimizing the optimization model of the target array to obtain a sparsely optimized target array.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of phased array ultrasonic testing, and in particular to a method, device, and equipment for sparsely optimizing a phased array probe. Background Art

[0002] In recent years, Total Focus Method (TFM) phased array ultrasonic testing technology has begun to be used in non-destructive testing of high-density polyethylene (HDPE) due to its good detection effect and high sensitivity. However, TEM in the existing technology has the following disadvantages:

[0003] 1) For some materials with low sound velocity and high ultrasonic attenuation, such as HDPE, TFM imaging will require a large amount of calculation, be time-consuming and inefficient. 2) Due to the imaging artifacts and signal-to-noise ratio caused by the side beam of the array, the imaging effect of TFM is not good. 3) The traditional fully phased array places the array elements at each position of the uniform lattice. Generally speaking, there is a half-wavelength interval between the lattice points. The density of the array elements in the traditional fully phased array is high, so the hardware cost is very high. Summary of the invention

[0004] In view of this, embodiments of the present application provide a method, apparatus, and device for sparsely optimizing a phased array probe.

[0005] The technical solution of the embodiment of the present application is implemented as follows:

[0006] In a first aspect, an embodiment of the present application provides a method for sparsely optimizing a phased array probe, the method comprising: obtaining a target array to be sparsely optimized on a phased array probe; the target array comprises N array elements; based on target information of the target array, establishing a directional pattern function of the target array; wherein the target information comprises an aperture L of the array element, the number of array elements N, position information of each array element, and an angle variable; based on the directional pattern function of the target array, establishing an optimization model of the target array; based on a genetic algorithm, sparsely optimizing the optimization model of the target array to obtain a sparsely optimized target array.

[0007] In a second aspect, an embodiment of the present application provides a device for sparsely optimizing a phased array probe, the device comprising: an acquisition module for acquiring a target array to be sparsely optimized on a phased array probe; the target array comprises N array elements; a first establishment module for establishing a directional pattern function of the target array based on target information of the target array; wherein the target information comprises an aperture L of the array element, the number of array elements N, position information of each array element, and an angle variable θ; a second establishment module for establishing an optimization model of the target array based on the directional pattern function of the target array; a sparse optimization module for performing sparse optimization on the optimization model of the target array based on a genetic algorithm to obtain a sparsely optimized target array.

[0008] In a third aspect, an embodiment of the present application provides a fully focused imaging detection device, the device comprising: a scanning component, comprising a sparse optimized phased array probe, the array elements on the sparse optimized phased array probe being arranged according to a target array obtained by the steps in any of the above methods, wherein each array element in the sparse optimized phased array probe is used to transmit and receive ultrasonic signals; an imaging component, connected to the scanning component, for fully focused imaging of the ultrasonic signals received by each array element in the sparse optimized phased array probe; and a monitoring host, connected to the imaging component via a network interface, for storing and superimposing the detection images obtained by each array element in the fully focused imaging.

[0009] In the embodiment of the present application, the sparsity of the array on the phased array probe is adjusted to an appropriate level without reducing the acoustic field characteristics, which not only reduces the amount of calculation during imaging and improves the detection efficiency, but also reduces the cost by reducing the array elements. By establishing an optimization model, the side beam of the array is reduced, so that there are fewer imaging artifacts, the signal-to-noise ratio is higher, and the imaging effect is better, which is conducive to analysis and judgment. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1 Array pattern obtained for a non-sparsely optimized phased array probe;

[0011] Figure 2 An array pattern obtained by a phased array probe after sparse optimization using a genetic algorithm provided in an embodiment of the present application;

[0012] Figure 3 A schematic flow chart of a method for sparse optimization of a phased array probe provided in an embodiment of the present application;

[0013] Figure 4 A fitness evolution curve provided in an embodiment of the present application;

[0014] Figure 5 This is a schematic diagram of array element positions after sparse optimization in an embodiment of the present application;

[0015] Figure 6 A schematic flow chart of a nondestructive testing method based on a sparsely optimized phased array probe provided in an embodiment of the present application;

[0016] Figure 7 A schematic diagram of the installation of a fully focused imaging phased array ultrasonic detection device provided in an embodiment of the present application;

[0017] Figure 8 A schematic diagram of the composition framework of a sparse optimized phased array probe device provided in an embodiment of the present application;

[0018] Fig. 9 A physical schematic diagram of a full-focus imaging detection device is provided for an embodiment of the present application. DETAILED DESCRIPTION

[0019] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. The following embodiments are used to illustrate the present application, but are not intended to limit the scope of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.

[0020] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0021] It should be pointed out that the terms "first\second\third" involved in the embodiments of the present application are only used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here.

[0022] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meaning as the general understanding of those skilled in the art in the field to which the embodiments of the present application belong. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with the meanings in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless specifically defined as here.

[0023] Before describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are described. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations:

[0024] Genetic Algorithm (GA) is a computational model of biological evolution that simulates the natural selection and genetics mechanisms of Darwin's theory of biological evolution. It is a method for searching for the optimal solution by simulating the natural evolution process.

[0025] Due to its good corrosion resistance, plasticity, insulation and other advantages, HDPE has been widely used in the fields of gas transportation. At present, hot-melt butt-jointing is used to connect HDPE pipes. The surrounding environment or human factors of the butt joints will affect the butt joints of the HDPE pipes, which will in turn affect the safe operation of the pipe network system and bury huge safety hazards. Therefore, it is particularly important to perform non-destructive testing on pipeline defects of HDPE pipes. The embodiments of the present application relate to non-destructive testing technology for butt joints of HDPE pipes. Due to the environment and some human factors of the butt joints of HDPE pipes, such as pores, inclusions, and unfusion, the safe operation of the pipe network system will be affected. Over time, the butt joints of HDPE pipes are prone to aging, resulting in some safety hazards such as leakage, so it is necessary to perform non-destructive testing on the butt joints of HDPE pipes.

[0026] The embodiment of the present application provides a method for full-focus imaging of an HDPE pipe joint based on a genetic algorithm sparse optimization phased array probe, comprising: selecting a suitable phased array probe coefficient and establishing an uneven linear array model; setting a sparse optimization process using the principle of a genetic algorithm, converting the distance between array elements into a value that requires sparse optimization, and after completing a given number of cycles of the genetic algorithm, obtaining a sparsely optimized result by the algorithm, and connecting the sparsely optimized phased array probe to a full-focus imaging device; assembling and installing a scanner and a wedge on an HDPE pipe, setting system parameters in the full-focus imaging device, and moving the phased array probe on the HDPE pipe when the full-focus imaging device enters a detection interface to obtain the best imaging result of the detection target area.

[0027] The array pattern obtained by the phased array probe without sparse optimization is as follows: Figure 1 As shown, when the detection θ = 0 degrees (°), the array gain of the scan is detected. The array gain around the 0° angle represents the size of the side lobe and grating lobe at 0°, which is given by Figure 1 It can be seen that the array gain of the side lobe and grating lobe is very close to 0°, so the side lobe and grating lobe will have some impact on the detection effect. The array directional diagram obtained by the phased array probe after sparse optimization using the genetic algorithm provided in the embodiment of the present application is as follows: Figure 2As shown in the figure, after optimizing the sparseness of the 64-element probe to 50 elements, the array gain of the scan at θ = 0° is detected. It can be seen that compared with Figure 1 , Figure 2 The wave rate of the array gain from -40° to -15° is flatter, so it is concluded that the side lobes and grating lobes are reduced after the array elements are sparsely optimized, and the detection effect is better. The embodiment of the present application performs sparse optimization on the TFM phased array ultrasound probe and performs non-destructive testing on the butt joints of the HDPE pipe. The sparsely optimized phased array probe can reduce the number of array elements on the probe and reduce costs; the use of the sparsely optimized phased array probe reduces the amount of calculation and time consumption in imaging, while reducing imaging artifacts, reducing array side beams, and improving the signal-to-noise ratio, resulting in better imaging effects and better detection effects.

[0028] The embodiment of the present application relates to a nondestructive testing technology for hot-melt joints of high-density polyethylene pipes, and aims to provide a method for full-focus imaging of HDPE pipe joints based on a genetic algorithm sparsely optimized phased array probe. It includes: selecting a suitable probe coefficient and establishing an uneven linear array model; converting the distance between array elements into y, that is, the value needs to be optimized; setting the optimization process using the genetic algorithm principle; completing a given number of cycles, meeting the requirements, and the algorithm ends to obtain the optimized result; connecting the optimized probe to the full-focus imaging system; assembling and installing the scanner and wedge on the HDPE pipe; setting the full-focus imaging system parameters, moving the probe after entering the detection interface, and obtaining the best imaging result of the detection target area.

[0029] In the embodiment of the present application, the array elements on the fully focused phased array ultrasonic probe are sparsely optimized to perform nondestructive testing on the hot-melt joints of HDPE pipes. Compared with conventional ultrasonic phased array probes, the difference between the probe used in TFM testing of HDPE pipe joints is that TFM imaging has less calculation, short time consumption, the sparse array side beam is the smallest, the imaging artifacts are fewer, the signal-to-noise ratio is higher, and a detection result diagram with better imaging effect is formed, which can better analyze and judge the HDPE pipe, and the sparsely optimized probe can achieve the reduction of array elements and reduce costs. When detecting the internal defects of the hot-melt welded joints of HDPE pipes, the optimized sparse array not only has better imaging quality than the full array, but also can improve the TFM detection efficiency. The use of the sparsely optimized phased array probe can quickly and accurately obtain the internal defects of the hot-melt welded joints of HDPE pipes. According to the defect shape and position shown in the detection picture, the quality of the hot-melt welded joints of the current HDPE pipe being tested can be qualitatively and quantitatively determined to determine whether the HDPE pipe should be replaced or its service life shortened.

[0030] A flow chart of a method for sparse optimization of phased array probes provided in an embodiment of the present application is as follows: Figure 3 As shown, the method is applied to the all-focus imaging technology, and the method at least comprises the following steps:

[0031] Step S110, obtaining a target array to be sparsely optimized on a phased array probe; the target array includes N array elements.

[0032] In some embodiments, N may be 16, 32 or 64, etc. In the embodiment of the present application, a phased array probe with 64 array elements to be sparsely optimized is taken as an example, wherein the array composed of 64 array elements is the target array.

[0033] Step S120, establishing a directivity function of the target array based on the target information of the target array; wherein the target information includes the aperture L of the array element, the number N of the array elements, the position information of each array element, and the angle variable θ.

[0034] In some embodiments, when the target array is a linear array, the position information of the mth array element includes the distance d between the first array element and the mth array element. m , the main wave direction of the mth array element θ0; where d m The value range is [0, L], and the aperture L is the distance between the first array element and the last array element. Step S120, establishing the directional pattern function of the target array based on the target information of the target array, includes: step S121 and step S122.

[0035] Step S121: establishing a directivity function of a corresponding array element based on the position information of each array element in the target array.

[0036] Step S122, based on the pattern function of each array element, determine the pattern function of the target array. The pattern function of the target array is as shown in formula (1), λ is the wavelength, j is the imaginary unit, π is the circumference, and θ is the angle variable.

[0037]

[0038] Convert the value of m from [1, N] to the value of n from [0, N-1] to obtain:

[0039]

[0040] In the embodiment of the present application, the target array is a linear array composed of 64 array elements of unequal spacing. The target information includes: aperture L = 38.4 millimeters (mm), number of array elements 64, position information of the mth array element including the distance d between the first array element and the mth array element m , the main wave direction of the mth array element is θ0, and the angle variable is θ; where d m The value range is [0, 38.4].

[0041] Based on the distance d of the mth array element among the 64 array elements m and the main wave direction θ0, and according to the directional pattern function of the array element shown in formula (3), the directional pattern function of the mth array element is established.

[0042]

[0043] Among them, λ is the wavelength of the ultrasonic wave generated by the array element, and j is the imaginary unit.

[0044] Based on the directional pattern function of each of the 64 array elements, a directional pattern function of the linear array is established as shown in formula (1).

[0045] Step S130: establishing an optimization model of the target array based on the directivity pattern function of the target array.

[0046] In some embodiments, step S130, establishing an optimization model of the target array based on the pattern function of the target array, includes: steps S131 to S133.

[0047] Step S131, based on the directivity function of the target array, determine the maximum sidelobe level function of the target array, as shown in formula (4), where S is the sidelobe area of ​​the target array when θ=θ0, F db (θ) is the sidelobe level function of the target array.

[0048]

[0049] Wherein, S is the sidelobe area of ​​the target array when θ=θ0, and φ represents the main beam indication direction of the mth array element.

[0050] In some embodiments, the main wave direction θ0 is the elevation direction of the mth array element.

[0051] Step S132: determining a minimum value of the maximum sidelobe level function of the target array based on the maximum sidelobe level function of the target array.

[0052] Step S133: establishing an optimization model of the target array based on the minimum value of the maximum sidelobe level function of the target array

[0053] Where y=[y1,y2,...,y m ,...,y N ] T =[d1,d2,...,d m ,...,d N ] T -[0,d c ,...,(Nm)dc ,...,(N-1)d c ] T , each y in y m The value of is y1≤y2≤...≤y m ≤...≤y N ∈[0,L-(N-1)d c ],d c is a constant. m Indicates the value that needs to be optimized. By calculating d m Convert to y m , so that m The value range [0, L] is converted to y m The value range is [0, L-(N-1)d c ], that is, converting the distance between array elements into the value y that needs to be optimized.

[0054] In the embodiment of the present application, a sidelobe level function of the linear array as shown in formula (5) is established based on the directivity function of the linear array obtained by formula (1).

[0055]

[0056] Based on formula (5), the maximum sidelobe level function of the linear array when θ=θ0 is determined, as shown in formula (4), where max is the maximum value function and S is the sidelobe area of ​​the linear array when θ=θ0.

[0057] Based on formula (4), the minimum value of the maximum sidelobe level function of the linear array is determined. Based on the minimum value of the maximum sidelobe level function of the linear array, the optimization model of the linear array is defined Where y=[y1,y2,...,y m ,...,y N ] T =[d1,d2,...,d m ,...,d N ] T -[0,d c ,...,(Nm)d c ,...,(N-1)d c ] T , each y in y m The value of is y1≤y2≤...≤y m ≤...≤y N ∈[0,L-(N-1)d c ].

[0058] In some embodiments, in step S133, the optimization model of the target array is established based on the minimum value of the maximum sidelobe level function of the target array. Includes: step S1331 to step S1332.

[0059] Step S1331, based on each y in the maximum sidelobe level function of the target array m The minimum value of the maximum sidelobe level function of the target array is determined.

[0060] Step S1332: establishing an optimization model of the target array based on the minimum value of the maximum sidelobe level function of the target array

[0061] In the present application embodiment, d m Split into the value y that needs to be optimized m and (m-1)d c , as shown in formula (6); where 1≤m≤64. Based on formula (6), determine formula (7); where d c Is a constant.

[0062] d m =y m +(m-1)d c (6);

[0063] Further, the spacing of each array element can be obtained as shown in formula (6), that is, the array element spacing is converted from d to y, where N = 64. Formula (7) is obtained after transforming formula (6).

[0064]

[0065] Formula (8) is obtained by transforming formula (7).

[0066] y=[y1,y2,...,y m ,...,y N ] T =[d1,d2,...,d m ,...,d N ] T -[0,d c ,...,(Nm)d c ,...,(N-1)d c ] T (8).

[0067] Assume that the distance between two adjacent array elements must satisfy Then m (1≤m≤64) monotonically increasing; and ensuring that the array aperture size remains unchanged, based on There is an array element at both ends of the linear array, so the first array element position is d1 = 0 mm, and the 64th array element position is d 64 =38.4mm.

[0068] The value of y is determined by formula (8), and the calculation result is shown in formula (9), that is,

[0069] y={(y1,y2,...,y m ,...,y N )|y1≤y2≤...≤y m ≤...≤y N ∈[0,L-(N-1)d c ]} (9).

[0070] Among them, d c To indicate the optimal distance between two array elements, in the embodiment of the present application,

[0071] In some embodiments, the speed of sound in the HDPE pipe is 2700 meters per second (m / s), and the ultrasonic emission frequency can be 2.25 Mega Hertz (MHz).

[0072] Through the above calculation, the array element spacing d m Convert to y m , reducing the retrieval distance of the array element spacing from [0, 38.4] to Based on each minimum y m The value of y is the smallest, and y is put into formula (4) to obtain the optimization model The optimization model is the minimum value of the maximum sidelobe level obtained by taking the minimum value y. Figure 4 As shown in Figure 2, as the number of iterations increases, The function value, i.e. the objective function value, gradually increases, but when the number of iterations increases to 120, The function value remains basically unchanged.

[0073] Step S140: Based on a genetic algorithm, sparse optimization is performed on the optimization model of the target array to obtain a sparsely optimized target array.

[0074] In some embodiments, the optimization model includes N array elements arranged in a regular pattern; step S140, based on a genetic algorithm, sparsely optimizes the optimization model of the target array to obtain a sparsely optimized target array, including: steps S141 to S145.

[0075] Step S141: Based on the genetic algorithm, NP real number vectors with dimension P are used as the intermediate population to calculate the value of each y. m Encoding, wherein the intermediate population includes chromosome x i,G ; Wherein, the value of i is an integer between 1 and NP, and G is the genetic algebra.

[0076] In the embodiment of the present application, based on the genetic algorithm, 64 real number vectors with a dimension of 100 are used as an intermediate population to encode y, and the value of y is The intermediate population includes 64 chromosomes, each of which is represented by x i,G (i=1,2,...,64), where G is the genetic generation number and NP is the number of chromosomes in the population. The encoding may be a binary encoding.

[0077] Step S142, initializing the intermediate population to determine the initial population of the array element; wherein the initial population of the array element includes the initial chromosome x of each array element. ji,0 ; Wherein, the value of j is an integer between 1 and N.

[0078] In the embodiment of the present application, since the genetic algorithm is an iterative optimization algorithm, it needs a starting point for the search, so it is necessary to initialize the intermediate population and determine the initial population of the array element. Each chromosome in the initial population is randomly generated. Assuming that all initial populations are consistent with their probability distribution, the initial chromosome x of each array element is obtained by formula (10): ji,0 ;

[0079] x ji,0 =rand[0,1]×(100-(N-1)d c ) (10);

[0080] Among them, d c Can be The value of i is an integer between 1 and 64, and the value of j is an integer between 1 and N.

[0081] Step S143, performing a genetic operation on the initial population of array elements to determine a population of array elements after the genetic operation.

[0082] In some embodiments, the genetic operation includes the following sub-operations in sequence: Selection sub-operation: Based on the applicable criteria, the probability p is selected i The chromosomes of the array elements in the array element population are selected to determine the chromosomes of the retained array elements. Crossover operation: The chromosomes of the retained array elements are divided into odd-numbered x 2i-1,g and even number x 2i,g; Cross-pair the odd-numbered bodies and the even-numbered bodies to determine the chromosomes of the array elements after the cross-pairing. Mutation sub-operation: mutate the genes in the chromosomes of the array elements after the cross-pairing to determine the chromosomes of the mutated array elements; based on the chromosomes of the mutated array elements, form a new population of array elements. Step S143, perform genetic operations on the initial population of array elements to determine the population of array elements after the genetic operations, including: cyclically perform the steps of selection sub-operation, crossover sub-operation and mutation sub-operation on the initial population of array elements in sequence until a population of array elements that meets the termination condition is generated.

[0083] In the embodiment of the present application, the selection sub-operation: based on the applicable criteria, determine each chromosome x i,G The size of the proportion of its fitness is measured by each chromosome x i,G The fitness ratio of chromosome i is used to determine whether its chromosome offspring can be retained, and the chromosome of the retained array element is obtained. i ; The population size is N = 64, and the percentage of chromosome i’s fitness is determined by formula (11), that is, the probability of its selection is p i .

[0084]

[0085] The value of i is an integer between 1 and 64.

[0086] Crossover operation: Based on the chromosomes retained after the selection operation, select the chromosomes to be cross-paired. For example, the chromosomes can be divided into odd-numbered x 2i-1,g and even number x 2i,g Two groups of genes are cross-paired. According to the bit string length of 100, an integer k in [1, 99] is randomly selected from the chromosomes to be cross-paired as the position of the crossover point. According to the crossover probability p c A crossover operation is performed on the chromosome. In the embodiment of the present application, c It can be 0.8. For odd-numbered bodies x under the crossover probability 2i-1,g and even number x 2i,g The genes at the crossover position k of the crossover are crossed over and their genes are exchanged. If the exchanged genes are equal, no crossover is performed, thus forming two new chromosomes until all odd-numbered chromosomes x are 2i-1,g and even number x 2i,g After all the crossovers are completed, the chromosomes of the array elements are obtained after crossover pairing.

[0087] Mutation operation: with mutation probability p mThe process of selecting genes to mutate in a population that has undergone crossover is to generate a random number p in the interval [0, 1] when the value of i is an integer between 1 and 64 and the value of j is an integer between 1 and 64. If p≤p m , then the (j, i)th gene x(j, i) is a mutant gene. If the value of the selected gene in the chromosome is 1, it becomes 0; if the value of the selected gene in the chromosome is 0, it becomes 1. The mutation operation can make the chromosome diverse and effectively prevent the genetic algorithm from ending prematurely. Among them, as shown in formula (9), the (j, i)th gene x(j, i) is a mutant gene.

[0088] x ji,0 =rand[0,1]×(100-(N-1)d c ) (10).

[0089] In some embodiments, since the relative number of gene values ​​1 and 0 in the chromosome after crossover and mutation may change, it is necessary to process the chromosomes that do not meet the sparseness requirement. The specific processing method is: if the number of gene values ​​0 in the chromosome is large, randomly select the excess gene values ​​0 in the chromosome and make them 1; if the number of 1 in the chromosome is large, randomly select the excess gene values ​​1 in the chromosome and make them 0.

[0090] Through the above selection sub-operation, crossover sub-operation, and mutation sub-operation, the initial population of array elements can be genetically operated to obtain a new population, and then the next genetic operation can be performed until a population of array elements that meets the termination condition is generated.

[0091] Step S144, based on the chromosome of each array element in the population of array elements after the genetic operation, determine the y corresponding to the chromosome of each array element m .

[0092] In the embodiment of the present application, based on the population of array elements after genetic operation, 64 chromosomes x i,G The chromosomes are rarefied to 50 elements, and each chromosome x is determined i,G The corresponding y m .

[0093] Step S145 , determining a target array after sparse optimization based on x corresponding to the chromosome of each array element.

[0094] In some embodiments, step S145, based on the chromosome of each array element in the population of array elements after the genetic operation, determines the y corresponding to the chromosome of each array element. m , including: step S1451 to step S1452.

[0095] Step S1451, based on the population of array elements after the genetic operation, determining the chromosome of each array element in the population of array elements after the genetic operation.

[0096] Step S1452, decoding the chromosome of each array element in the population of array elements after the genetic operation, and determining the y corresponding to the chromosome of each array element m .

[0097] In the embodiment of the present application, based on the population of array elements after genetic operation, the chromosomes x of 64 array elements are i,G Chromosomes rarefied to 50 elements.

[0098] The chromosome x of each array element i,G Decode and get the chromosome x of each array element i,G The corresponding y m According to y m The positions of the corresponding 50 array elements are obtained, that is, a linear array composed of 50 array elements after sparse optimization is obtained. Figure 5 As shown in FIG. 1 , after sparse optimization of a linear array composed of 64 array elements, a linear array composed of 50 array elements is obtained. Figure 5 The position arrangement of each of the 50 array elements is shown.

[0099] The above method is described below in conjunction with a specific embodiment. It should be noted that the specific embodiment is only for better illustrating the present application and does not constitute an improper limitation on the present application.

[0100] This application takes a 64-element phased array probe to be sparsely optimized as an example, applies the sparsely optimized phased array probe to the full-focused imaging phased array ultrasonic detection technology, and performs non-destructive detection on the butt joints of HDPE pipes through the full-focused imaging phased array ultrasonic detection technology.

[0101] The present application embodiment provides a schematic flow chart of a nondestructive testing method based on a sparsely optimized phased array probe, such as Figure 6 As shown, the method comprises at least the following steps:

[0102] Step S210, obtaining the sparsely optimized phased array probe.

[0103] In some embodiments, step S210 includes steps S211 to S213.

[0104] Step S211, establishing a directional pattern function.

[0105] A randomly arranged linear array model is established, with the array aperture set to L = 38.4 mm, consisting of N = 64 array elements with unequal spacing. Based on the distance d between the first array element and the mth array elementm , main beam direction θ0, j is the imaginary unit, wavelength λ of the ultrasonic wave generated by the array element, angle variable θ. Convert the value of m from [1, N] to the value of n from [0, N-1], and establish the directivity function F(θ) as shown in formula (2).

[0106]

[0107] Step S212, establishing an optimization model.

[0108] According to the directivity pattern function of the linear array obtained by formula (1), the sidelobe level function of the linear array is established as shown in formula (5).

[0109]

[0110] Based on formula (5), the maximum sidelobe level function of the linear array when θ=θ0 is determined, as shown in formula (4), where max is the maximum value function, θ represents the elevation angle of the mth array element starting from the positive direction of the Z axis, S is the sidelobe area of ​​the linear array radiation pattern when θ=θ0, and φ represents the main beam indication direction of the mth array element.

[0111]

[0112] Based on formula (4), the minimum value of the maximum sidelobe level function of the linear array is determined. In some embodiments, the maximum sidelobe level function is the maximum sidelobe level function of the pattern, where the maximum sidelobe level of the pattern is mentioned, and finally the maximum sidelobe level of the pattern is minimized by optimizing the array element position.

[0113] d c represents the optimal distance between two array elements, because according to previous experimental data, when the array element spacing is half-wave length, no grating lobe will be generated, eliminating the influence of the grating lobe. c for And ensure that the array aperture size remains unchanged, then there is an array element at both ends of the linear array element, and the first array element position is 0, and the Nth array element position is L, that is, Based on formula (6), formula (7) is obtained.

[0114] D m Split into y m and (m-1)d c , as shown in formula (6); where 1≤m≤64.

[0115] d m =y m +(m-1)d c (6);

[0116] Assume that the distance between two adjacent array elements must satisfy Then m (1≤m≤64) monotonically increasing. d c is a constant, and there is an array element at both ends of the linear array. The first array element position is d1 = 0 mm, and the 64th array element position is d 64 =L=38.4mm,y m (1≤m≤64) monotonically increasing; and ensuring that the array aperture size remains unchanged, based on

[0117] We put d m Split into y m and (m-1)d c Then we can get the following:

[0118]

[0119] Where N = 64,

[0120] Formula (8) is obtained by transforming formula (7).

[0121] y=[y1,y2,...,y m ,...,y N ] T =[d1,d2,...,d m ,...,d N ] T -[0,d c ,...,(Nm)d c ,...,(N-1)d c ] T (8).

[0122] The value of y is determined by formula (8), and the calculation result is shown in formula (9), which means that y1≤y2≤...≤y m ≤...≤y N ∈[0,L-(N-1)d c ],Right now Where L = 38.4mm.

[0123] y={(y1,y2,...,y m ,...,y N )|y1≤y2≤...≤y m ≤...≤y N ∈[0,L-(N-1)d c ]} (9).

[0124] Among them, d cTo indicate the optimal distance between two array elements, in the embodiment of the present application,

[0125] Through the above calculation, the array element spacing d m Convert to y m , reducing the search space of array element spacing from [0, L] to [0, L-(N-1)d c ], that is, the search space of the array element spacing is reduced from [0, 38.4] to By reducing the search space of the array element position, the maximum sidelobe level of the directional pattern is minimized, that is, each minimum y m Substitute the composed y into formula (4) to obtain the optimization model Where y=[y1,y2,...,y m ,...,y N ] T =[d1,d2,...,d m ,...,d N ] T -[0,d c ,...,(Nm)d c ,...,(N-1)d c ] T , each y in y m The value of is y1≤y2≤...≤y m ≤...≤y N ∈[0,L-(N-1)d c ].

[0126] Step S213: Based on the genetic algorithm, the phased array probe is sparsely optimized according to the thickness of the sample to be detected.

[0127] In some embodiments, the individual is a chromosome.

[0128] Coding: Here, we use a real-valued vector with NP=64 individuals and a dimension of 100 for each individual as an intermediate population, where each individual is set to x i,G , where i is the sequence of chromosomes in the population, G is the genetic generation, which needs to be calculated based on the parameters given by the ultrasonic phased array probe, and is the number of times after the final optimization is completed.

[0129] The individuals in the population are initially encoded, that is, the initial parameters are determined to be not sparsely optimized at the beginning, so as to establish the optimized search point. Assume that all initial populations meet the sparse and distribution optimization of the genetic algorithm, that is, meet the probability distribution. After optimization, it can be concluded that the parameter variable y m The value range is [0, L-(N-1)d c], the individual initial parameter x can be obtained from formula (10): ji,0 ;

[0130] x ji,0 =rand[0,1]×(100-(N-1)d c ) (10);

[0131] Among them, d c Can be The value of i is an integer between 1 and 64, and the value of j is an integer between 1 and N.

[0132] The selection sub-operation, crossover sub-operation, and mutation sub-operation are performed on the individuals in the population in turn to obtain a population that meets the termination conditions. The selection sub-operation, crossover sub-operation, and mutation sub-operation process is as follows:

[0133] Select sub-operation: Use each individual x i,G The proportion of its fitness level determines whether its individual offspring can be retained, and the selection probability is set to p i In some embodiments, i It is the percentage of adaptation degree.

[0134] Based on each individual x i,G The size of the proportion of its fitness level. If the fitness level of an individual i is fit i ; The population size is N = 64, then the selection probability of individual i is The value of i is an integer between 1 and 64.

[0135] Crossover sub-operation: select the selected odd body x 2i-1,g and even number x 2i,g Cross-pairing is performed, and the individuals they match are matched with a cross-over rate p c = 0.8 to exchange the genes of the two bodies. According to the bit string length P = 100, in the odd body x to be crossed 2i-1,g and even number x 2i,g In the example, an integer k in [1, P-1] is randomly selected as the position of the crossover point; according to the crossover probability p c =0.8 to implement the crossover operation, and the crossover-paired chromosomes exchange their genes at the crossover position k, thereby forming a new pair of individuals. The bit string length can be the dimension P.

[0136] Mutation operation: Mutation operation can make individuals more diverse, prevent the genetic algorithm from entering early convergence, and effectively stop the genetic algorithm from ending prematurely. Specific steps: In the population obtained after crossover, i is an integer between 1 and NP; j is an integer between 1 and N, and a random number p is generated in the interval [0, 1]. If p≤0.05, 0.05 is represented as the mutation probability, and the (j, i)th gene x(j, i) is the mutant gene as shown in formula (10).

[0137] x ji,0 =rand[0,1]×(100-(N-1)d c ) (10).

[0138] The population after the genetic operation is decoded to obtain the spacing of the array elements of the sparse optimized arrangement, and the array elements on the phased array probe are arranged according to the spacing of the array elements after the sparse optimization to obtain the sparse optimized phased array probe.

[0139] From step S212, we get y={(y1, y2, ..., y m ,...,y N )|y1≤y2≤...≤y m ≤...≤y N ∈[0,L-(N-1)d c ]}.

[0140] Step S220: Based on the sparsely optimized phased array probe, perform full-focus imaging phased array ultrasonic testing on the sample to be tested.

[0141] In some embodiments, the phased array probe is an ultrasonic phased array probe.

[0142] In some embodiments, step S220 includes steps S221 to S224.

[0143] Step S221, cleaning the sample to be tested.

[0144] Here, the surface dirt of the butt joint of the HDPE pipe to be tested is cleaned to ensure that its surface meets the test requirements and avoid adverse effects on subsequent tests.

[0145] Step S222: installing a fully focused imaging phased array ultrasonic testing device.

[0146] Figure 7A schematic diagram of the installation of a fully focused imaging phased array ultrasonic detection device provided in an embodiment of the present application, the fully focused imaging phased array ultrasonic detection device includes: a monitoring host 71, a scanning component 73 and a fully focused imaging device 72. During installation, the scanning component 73 is fixedly installed on the HDPE pipe 74. The scanning component 73 includes a sparsely optimized ultrasonic phased array probe 731 and a wedge 732, the wedge 732 contacts the HDPE pipe 74, and the sparsely optimized ultrasonic phased array probe 731 is connected to the fully focused imaging device 72. The monitoring host 71 sends a detection command to the fully focused imaging device 72 through a network interface, and performs imaging processing on the detection data obtained by the fully focused imaging device 72 to obtain a detection image of fully focused imaging; according to the detection command received by the fully focused imaging device 72, the fully focused imaging device 72 controls each array element in the scanning component 73 to send ultrasonic waves to the HDPE pipe to be detected for detection. The detection image is used to analyze the defects in the detection area of ​​the HDPE pipe; the array element positions on the ultrasonic phased array probe 731 cannot be changed again after being arranged according to the sparse optimization.

[0147] Step S223, setting system parameters of the total focusing imaging detection device based on the physical parameters of the sample to be detected.

[0148] According to the thickness of the HDPE pipe to be tested, a sparsely optimized ultrasonic phased array probe is designed through step S210. For HDPE pipes with a thickness of about 10 mm, a low-frequency probe with a frequency of 2.25 MHz to 2.5 MHz can be used. In the embodiment of the present application, a 64-element phased array probe is used for sparse optimization, and the ultrasonic emission frequency of the probe is about 2.25 MHz.

[0149] Set the system parameters of the full-focus imaging detection equipment, where the system parameters include sound velocity, array element spacing, array element number, probe frequency, center array element height, wedge angle, and wedge sound velocity. The range of the sound velocity in HDPE is different at different temperatures, ranging from 2000 to 3000 m / s. The values ​​set in the embodiment of the present application include a sound velocity of 2700 m / s, a probe frequency of 2.25 MHz to 2.5 MHz, and a wedge angle and a wedge sound velocity determined according to the joint of the HDPE pipe.

[0150] Step S224, obtaining a detection image of all-focus imaging.

[0151] After adjusting the parameters of the full-focus imaging detection equipment, ultrasonic detection is performed to determine the scanning area of ​​the ultrasonic detection in the HDPE pipe 74. The sparsely optimized ultrasonic phased array probe 731 is moved along the lateral and longitudinal directions of the HDPE pipe 74, and the gain of the full-focus imaging component is adjusted. When the defect signal in the imaging picture is optimal, the image obtained by each array element and the original full-matrix data are saved. For the original full-matrix data collected, each point in the tested area is virtually focused to obtain the detection image, and the detection image obtained by each array element is superimposed to obtain the full-focus imaging detection image of the HDPE pipe. Among them, the detection image is used to analyze the defects in the detection area of ​​the HDPE pipe.

[0152] Based on the foregoing embodiments, the embodiments of the present application further provide a device for a sparse optimized phased array probe, wherein the device includes the modules included and the sub-modules included in each module, which can be implemented by a processor in an electronic device; of course, it can also be implemented by a specific logic circuit; in the implementation process, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP) or a field programmable gate array (FPGA), etc.

[0153] Based on the above-mentioned embodiments, a schematic diagram of the composition framework of a sparse optimization phased array probe device provided in an embodiment of the present application is as follows: Figure 8 As shown, the device 80 for sparsely optimizing the phased array probe includes:

[0154] An acquisition module 81 is used to acquire a target array to be sparsely optimized on a phased array probe; the target array includes N array elements;

[0155] A first establishing module 82 is used to establish a directional pattern function of the target array based on target information of the target array; wherein the target information includes an aperture L of an array element, a number N of array elements, position information of each array element, and an angle variable θ;

[0156] A second establishing module 83 is used to establish an optimization model of the target array based on the directional pattern function of the target array;

[0157] The sparse optimization module 84 is used to perform sparse optimization on the optimization model of the target array based on a genetic algorithm to obtain a sparse optimized target array.

[0158] In some embodiments, when the target array is a linear array, the position information of the mth array element includes the distance d between the first array element and the mth array element. m , the main wave direction of the mth array element θ0; where d m The value range is [0, L]; the first establishment module includes: a first establishment submodule, which is used to establish the directional pattern function of the corresponding array element based on the position information of each array element in the target array; a first determination submodule, which is used to determine the directional pattern function of the target array based on the directional pattern function of each array element; wherein the directional pattern function of the target array is λ is the wavelength and j is the imaginary unit.

[0159] In some embodiments, the second establishing module includes: a second determining submodule for determining the maximum sidelobe level function of the target array based on the directivity function of the target array Where S is the sidelobe area of ​​the target array when θ=θ0, φ represents the main beam direction of the mth array element, and F db (θ) is the sidelobe level function of the target array; a third determining submodule is used to determine the minimum value of the maximum sidelobe level function of the target array based on the maximum sidelobe level function of the target array; a second establishing submodule is used to establish the optimization model of the target array based on the minimum value of the maximum sidelobe level function of the target array Where y=[y1,y2,...,y m ,...,y N ] T =[d1,d2,...,d m ,...,d N ] T -[0,d c ,...,(Nm)d c ,...,(N-1)d c ] T , each y in y m The value of is y1≤y2≤...≤y m ≤...≤y N ∈[0,L-(N-1)d c ]}.

[0160] In some embodiments, the second establishment submodule comprises: a determination unit for determining, based on each y in the maximum sidelobe level function of the target array m The minimum value of the maximum sidelobe level function of the target array is determined; and an establishment unit is used to establish an optimization model of the target array based on the minimum value of the maximum sidelobe level function of the target array.

[0161] In some embodiments, the optimization model includes N array elements arranged regularly; the sparse optimization module includes: an encoding submodule for using NP real number vectors with a dimension of P as an intermediate population for each y based on a genetic algorithm m Encoding, wherein the intermediate population includes chromosome x i,G ; wherein the value of i is an integer between 1 and NP, and G is the genetic generation number; the fourth determination submodule is used to initialize the intermediate population and determine the initial population of the array element; wherein the initial population of the array element includes the initial chromosome x of each array element ji,0 ; wherein the value of j is an integer between 1 and N; a fifth determination submodule is used to perform a genetic operation on the initial population of array elements to determine the population of array elements after the genetic operation; a sixth determination submodule is used to determine the chromosome corresponding to each array element in the population of array elements after the genetic operation based on the chromosome of each array element m ; The seventh determination submodule is used for the y corresponding to the chromosome of each array element m , determine the target array after sparse optimization.

[0162] In some embodiments, the fifth determination submodule includes: a loop unit, configured to cyclically perform a selection sub-operation, a crossover sub-operation, and a mutation sub-operation on the initial population of array elements in sequence until a population of array elements that meets the termination condition is generated. The loop unit includes: a selection sub-operation unit, configured to select a probability p based on an applicable criterion. i The chromosomes of the array elements in the array element population are selected to determine the chromosomes of the reserved array elements; the crossover sub-operation unit is used to divide the chromosomes of the reserved array elements into odd numbers x 2i-1,g and even number x 2i,g ; Cross-pairing the odd-numbered bodies and the even-numbered bodies to determine the chromosomes of the array elements after the cross-pairing; a mutator operation unit, used to mutate the genes in the chromosomes of the array elements after the cross-pairing to determine the chromosomes of the mutated array elements; based on the chromosomes of the mutated array elements, forming a new population of array elements.

[0163] In some embodiments, the selection sub-operation unit includes: a first determination sub-unit, configured to select a probability p based on an applicable criterion. i Determine the fitness ratio value of the chromosome of each array element in the array element population; and a second determination subunit is used to select the chromosome based on the fitness ratio value to determine the chromosome of the array element retained in the array element population.

[0164] In some embodiments, the mutation sub-operation unit includes: a mutation sub-unit, used to use the (j, i)th gene in the chromosome of the array element after the cross-pairing as a mutation gene; a determination sub-unit, used to determine the (j, i)th gene in the chromosome of the array element after the cross-pairing as a mutation gene; m Mutate the (j, i)th gene x(j, i) to determine the chromosome of the mutated array element; wherein the mutated chromosome is x ji,0 =rand[0,1]×(100-(N-1)d c ).

[0165] The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.

[0166] The present application embodiment provides a schematic diagram of a full-focus imaging detection device. Fig. 9 As shown, the device includes:

[0167] The scanning component 91 includes a sparse optimized phased array probe 911, and the array elements on the sparse optimized phased array probe 911 are arranged according to the target array obtained by the above method embodiment, wherein each array element in the sparse optimized phased array probe is used to transmit and receive ultrasonic signals.

[0168] The imaging component 92 is connected to the scanning component 91 and is used for performing full-focus imaging on the ultrasonic signal received by each array element in the sparsely optimized phased array probe.

[0169] The monitoring host 93 is connected to the imaging component via a network interface, and is used to store and superimpose the detection images obtained by each array element in the full-focus imaging.

[0170] In some embodiments, the scanning assembly further includes a wedge 912 .

[0171] In the embodiment of the present application, taking the detection of HDPE pipe as an example, Fig. 9 A fully focused imaging detection device is shown, comprising a scanning component 91, an imaging component 92 and a monitoring host 93, wherein the scanning component 91 comprises a sparsely optimized ultrasonic phased array probe 911 obtained by using a genetic algorithm, wherein the array elements on the phased array probe are arranged according to the spacing of the sparsely optimized array elements to obtain the sparsely optimized ultrasonic phased array probe 911, wherein the sparsely optimized ultrasonic phased array probe 911 is a linear array probe; each array element in the linear array probe can transmit and receive signals independently.

[0172] The imaging component 92 is connected to the scanning component 91, and includes a full-focus imaging component, which can directly process the complete full-matrix data by computer to achieve high-precision real-time full-focus imaging detection. The full-focus imaging component is a high-speed hardware imaging technology based on FPGA operation.

[0173] The monitoring host 93 is connected to the imaging component 92 through a network interface, and sends a detection command to the imaging component 92. The imaging component 92 controls each array element in the scanning component 91 to send ultrasonic waves to the HDPE pipe 94 to be detected for detection. The system parameters include sound velocity, array element spacing, number of array elements, probe frequency, center array element height, wedge angle, and wedge sound velocity. The full matrix data obtained by the imaging component 92 is stored, and the full matrix data includes the echo signal collected by each receiving array element. For the collected full matrix data, each point in the measured area is virtually focused to obtain a detection image, and finally the detection images obtained by each array element are superimposed to obtain a fully focused imaging detection image of the HDPE pipe 94. Among them, the detection image is used to analyze the defects in the detection area of ​​the HDPE pipe 94.

[0174] The present application provides a method for using a full-focus imaging detection device, which is applied to the full-focus imaging detection device. The method includes:

[0175] Step S310, setting system parameters of the full-focus imaging detection device based on the physical parameters of the sample to be detected;

[0176] Step S320, based on the system parameters, transmitting and receiving ultrasonic signals through the scanning component;

[0177] Step S330, based on the received ultrasonic signal, performing full-focus imaging on the ultrasonic signal received by each array element through an imaging component;

[0178] Step S340: The detection image obtained by each array element in the full-focus imaging is stored and superimposed through the monitoring host.

[0179] In the embodiment of the present application, taking the detection of HDPE pipe as an example, the fully focused imaging detection equipment is installed on the HDPE pipe for detection. First, the surface dirt of the butt joint of the HDPE pipe to be detected is cleaned to ensure that its surface meets the detection requirements and avoid adverse effects on subsequent detection; the scanner and wedge are assembled and installed on the HDPE pipe.

[0180] According to the thickness of the HDPE pipe to be tested, the ultrasonic phased array probe is sparsely optimized. For example, for HDPE pipes with a thickness of about 10 mm, a low-frequency probe with a frequency below 2.25 MHz can be used. In the embodiment of the present application, a linear array with 64 array elements and an ultrasonic emission frequency between 2.25 MHz and 2.5 MHz is used for sparse optimization. The number of array elements is optimized from 64 to 50. The array elements in the linear array after sparse optimization are arranged as follows: Figure 5 As shown, the figure shows the position arrangement of each of the 50 array elements.

[0181] Connect the ultrasonic phased array probe to the fully focused imaging component, set the parameters of the fully focused imaging component, including sound velocity, array element spacing, number of array elements, probe frequency, center array element height, wedge angle, and wedge sound velocity, then enter ultrasonic testing, define the scanning area, and obtain the detection result image of the fully focused imaging.

[0182] Move the optimized probe along the horizontal and vertical directions of the HDPE pipe to be tested, and adjust the gain of the full-focus imaging component. When the defect signal in the imaging picture is optimal, save the current image and the original full matrix data.

[0183] The above description of the various embodiments tends to emphasize the differences between the various embodiments, and reference can be made to the same or similar aspects thereof.

[0184] In the several embodiments provided in the present application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device implementation described above is only schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation, such as units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

[0185] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0186] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for an electronic device or a processor to execute all or part of the steps of each implementation method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.

[0187] The above description is merely an exemplary embodiment of the present application and is not intended to limit the scope of protection of the present application. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A method for sparse optimization of a phased array probe, characterized in that: The method comprises: Acquire a target array to be sparsely optimized on a phased array probe; the target array includes N array elements; Based on the target information of the target array, a directional pattern function of the target array is established; wherein the target information includes the aperture L of the array element, the number N of the array elements, the position information of each array element, and the angle variable θ; Based on the directivity function of the target array, an optimization model of the target array is established; the optimization model of the target array is used to characterize the minimum value of the maximum sidelobe level function of the target array; Based on a genetic algorithm, the optimization model of the target array is sparsely optimized to obtain a sparsely optimized target array.

2. The method according to claim 1, characterized in that: When the target array is a linear array, the position information of the mth array element includes the distance d between the first array element and the mth array element. m , the main wave direction of the mth array element θ0; where d m The value range is [0, L]; The step of establishing a directional pattern function of the target array based on the target information of the target array comprises: Based on the position information of each array element in the target array, establishing a directional pattern function of the corresponding array element; Determining the directional pattern function of the target array based on the directional pattern function of each array element; Among them, the directional pattern function of the target array is λ is the wavelength and j is the imaginary unit.

3. The method according to claim 1 or 2, characterized in that: The step of establishing an optimization model of the target array based on the directional pattern function of the target array comprises: Based on the directivity pattern function of the target array, determining the maximum sidelobe level function of the target array Where S is the sidelobe area of ​​the target array when θ = θ0, and F db (θ) is the sidelobe level function of the target array, φ represents the main beam indication direction of the mth array element; Based on the maximum sidelobe level function of the target array, determining a minimum value of the maximum sidelobe level function of the target array; Based on the minimum value of the maximum sidelobe level function of the target array, an optimization model of the target array is established Where y=[y1,y2,...,y m ,...,y N ] T =[d1,d2,...,d m ,...,d N ] T -[0,d c ,...,(Nm)d c ,...,(N-1)d c ] T , each y in y m The value of is y1≤y2≤...≤y m ≤...≤y N ∈[0,L-(N-1)d c ];d m is the distance between the first array element and the mth array element; d c is the optimal distance between two array elements; y m To m The value range is changed from [0, L] to [0, L-(N-1)d c ] and then obtained.

4. The method according to claim 3, characterized in that The optimization model of the target array is established based on the minimum value of the maximum sidelobe level function of the target array. include: Based on each y in the maximum sidelobe level function of the target array m The minimum value of the maximum sidelobe level function of the target array is determined; Based on the minimum value of the maximum sidelobe level function of the target array, an optimization model of the target array is established 5. The method according to claim 1 or 2, characterized in that: The optimization model includes N array elements arranged regularly; The method of performing sparse optimization on the optimization model of the target array based on the genetic algorithm to obtain the sparsely optimized target array includes: Based on the genetic algorithm, NP real vectors with dimension P are used as the intermediate population for each y m Encoding, wherein the intermediate population includes chromosome x i,G ; Wherein, the value of i is an integer between 1 and NP, and G is the genetic generation; Initialize the intermediate population to determine the initial population of the array element; wherein the initial population of the array element includes the initial chromosome x of each array element ji,0 ; Wherein, the value of j is an integer between 1 and N; Performing a genetic operation on the initial population of array elements to determine a population of array elements after the genetic operation; Based on the chromosome of each array element in the population of array elements after the genetic operation, determine the y corresponding to the chromosome of each array element m ; Based on the chromosome corresponding to each element of the array m , determine the target array after sparse optimization.

6. The method according to claim 5, characterized in that The genetic operation includes the following sub-operations in sequence: Selection sub-operation: Based on the applicable criteria, select the probability p i Selecting chromosomes of array elements in the array element population to determine the chromosomes of the retained array elements; Crossover operation: Divide the chromosomes of the retained array element into odd numbers x 2i-1,g and even number x 2i,g ; Cross-pairing the odd-numbered bodies and the even-numbered bodies to determine the chromosomes of the array elements after cross-pairing; Mutant operation: mutating the genes in the chromosomes of the array elements after the cross-pairing to determine the chromosomes of the mutated array elements; forming a new population of array elements based on the chromosomes of the mutated array elements; The performing of the genetic operation on the initial population of array elements to determine the population of array elements after the genetic operation includes: cyclically performing the selection sub-operation, the crossover sub-operation and the mutation sub-operation on the initial population of array elements in sequence until a population of array elements that meets a termination condition is generated.

7. The method according to claim 6, characterized in that The probability p is selected based on the applicable criteria. i The chromosomes of the array elements in the array element population are selected to determine the chromosomes of the retained array elements, including: Based on the applicable criteria, the probability p is selected i Determine the fitness ratio of the chromosome of each array element in the array element population; The chromosome is selected based on the fitness degree ratio value to determine the chromosome of the array element retained in the population of the array element.

8. The method according to claim 6 or 7, characterized in that: The step of mutating the gene in the chromosome of the cross-paired array element to determine the chromosome of the mutated array element includes: The (j, i)th gene in the chromosome of the array element after the cross-pairing is used as a variant gene; With mutation probability p m mutating the (j, i)th gene x(j, i) to determine the chromosome of the mutated array element; Among them, the mutated chromosome is x ji,0 =rand[0,1]×(100-(N-1)d c ).

9. A device for sparsely optimizing a phased array probe, characterized in that: The device comprises: An acquisition module, used for acquiring a target array to be sparsely optimized on a phased array probe; the target array includes N array elements; A first establishing module is used to establish a directional pattern function of the target array based on target information of the target array; wherein the target information includes an aperture L of an array element, a number N of array elements, position information of each array element, and an angle variable θ; A second establishing module is used to establish an optimization model of the target array based on the directivity function of the target array; the optimization model of the target array is used to characterize the minimum value of the maximum sidelobe level function of the target array; The sparse optimization module is used to perform sparse optimization on the optimization model of the target array based on a genetic algorithm to obtain a sparsely optimized target array.

10. A full-focus imaging detection device, characterized in that: The device comprises: A scanning component, comprising a sparse optimized phased array probe, wherein the array elements on the sparse optimized phased array probe are arranged according to the target array obtained by the method according to any one of claims 1 to 8, wherein each array element in the sparse optimized phased array probe is used to transmit and receive ultrasonic signals; An imaging component, connected to the scanning component, and used for performing full-focus imaging on the ultrasonic signal received by each array element in the sparsely optimized phased array probe; The monitoring host is connected to the imaging component via a network interface and is used to store and superimpose the detection images obtained by each array element in the full-focus imaging.