Method, device, medium and equipment for obtaining echo times of ultrasonic thickness measurement system
By using Monte Carlo simulation and uncertainty analysis in the ultrasonic thickness measurement system to determine the number of target echoes, the problem of lack of guidance in selecting the number of echoes in the existing technology is solved, and the measurement accuracy is improved.
Patent Information
- Application Number
- CN202310769009.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-27
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2043-06-27
AI Technical Summary
The prior art lacks means to guide the selection of the number of echoes during ultrasonic thickness measurement, affecting the measurement accuracy.
Monte Carlo simulation is performed based on the measurement model, the simulation results under different waves are obtained, and an uncertainty analysis of the simulation results is performed to determine the number of targets.
The determination of echo parameters of the ultrasonic measurement system is realized, and the measurement accuracy and reliability are improved.
Smart Images

Figure CN117308838B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of ultrasonic measurement technology, and in particular to a method, device, medium and equipment for obtaining the number of echoes of an ultrasonic thickness measurement system. Background Art
[0002] The thickness of a part is a key characteristic indicator of part quality, and the thickness directly affects the strength of the part. Ultrasonic thickness measurement is widely used in the production and processing of materials and parts due to the superior penetration of ultrasonic signals. In ultrasonic thickness measurement, in order to improve the measurement accuracy, it is often necessary to adjust various parameters. Among them, the selection of the measurement parameter, that is, the number of ultrasonic echo signals, has an important influence on the measurement results, but there is currently a lack of a means to guide the selection of the number of echoes. Summary of the invention
[0003] The main purpose of the present application is to provide a method, device, medium and equipment for obtaining the number of echoes in an ultrasonic thickness measurement system, aiming to solve the problem in the prior art that there is a lack of a means to guide the selection of the number of echoes when performing ultrasonic thickness measurement.
[0004] To achieve the above objectives, the technical solutions adopted in the embodiments of the present application are as follows:
[0005] In a first aspect, an embodiment of the present application provides a method for obtaining the number of echoes of an ultrasonic thickness measurement system, comprising the following steps:
[0006] Monte Carlo simulation is performed based on the measurement model to obtain simulation results under different echo times; wherein the measurement model is used to obtain the simulated measurement thickness of the measured material according to a number of different input quantities;
[0007] Conduct uncertainty analysis on simulation results to obtain standard uncertainty;
[0008] The target echo number is obtained based on the maximum standard deviation and standard uncertainty.
[0009] In a possible implementation of the first aspect, before performing Monte Carlo simulation based on the measurement model to obtain simulation results under different echo numbers, the method for obtaining the echo number of the ultrasonic thickness measurement system further includes:
[0010] Obtain the error distribution of the input quantity;
[0011] Monte Carlo simulation is performed based on the measurement model to obtain simulation results under different echo times, including:
[0012] Monte Carlo simulation is performed based on the measurement model and error distribution to obtain simulation results under different echo numbers.
[0013] In a possible implementation manner of the first aspect, the error distribution includes: an error probability distribution of sound speed, an error probability distribution of time, and a resolution error probability distribution.
[0014] In a possible implementation of the first aspect, Monte Carlo simulation is performed based on the measurement model to obtain simulation results under different echo numbers, including:
[0015] Monte Carlo simulation is performed based on the measurement model to obtain simulated measurement values under different echo times;
[0016] The simulated measurement values are sorted to obtain a discrete expression of the probability density function of the thickness value as the simulation result under different echo times.
[0017] In a possible implementation of the first aspect, performing uncertainty analysis on the simulation results to obtain the standard uncertainty includes:
[0018] According to the discrete expression of the probability density function of the simulated measurement value, the estimated value of the thickness and its standard uncertainty are obtained.
[0019] In a possible implementation of the first aspect, obtaining the target echo number according to the maximum standard deviation and the standard uncertainty includes:
[0020] According to the maximum standard deviation, the standard deviation threshold is obtained;
[0021] The target echo times are obtained according to the standard deviation threshold and the standard uncertainty.
[0022] In a possible implementation of the first aspect, before performing Monte Carlo simulation based on the measurement model to obtain simulation results under different echo numbers, the method for obtaining the echo number of the ultrasonic thickness measurement system further includes:
[0023] A measurement model is established based on the ultrasonic thickness measurement principle and the material to be measured.
[0024] In a second aspect, an embodiment of the present application provides an echo number acquisition device for an ultrasonic thickness measurement system, comprising:
[0025] A simulation module, which is used to perform Monte Carlo simulation based on the measurement model to obtain simulation results under different echo times; wherein the measurement model is used to obtain the simulated measurement thickness of the measured material according to a number of different input quantities;
[0026] Analysis module: The analysis module is used to perform uncertainty analysis on the simulation results and obtain standard uncertainty;
[0027] The acquisition module is used to obtain the target echo number according to the maximum standard deviation and the standard uncertainty.
[0028] In a third aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program. When the computer program is loaded and executed by a processor, the method for obtaining the number of echoes of an ultrasonic thickness measurement system provided in any one of the first aspects above is implemented.
[0029] In a fourth aspect, an embodiment of the present application provides an electronic device, including a processor and a memory, wherein:
[0030] The memory is used to store computer programs;
[0031] The processor is used to load and execute a computer program so that the electronic device executes the method for acquiring the number of echoes of the ultrasonic thickness measurement system provided in any one of the first aspects above.
[0032] Compared with the prior art, the beneficial effects of this application are:
[0033] The embodiment of the present application proposes a method, device, medium and equipment for obtaining the number of echoes of an ultrasonic thickness measurement system. The method includes: performing Monte Carlo simulation based on a measurement model to obtain simulation results under different echo numbers; wherein the measurement model is used to obtain the simulated measured thickness of the material under test according to several different input quantities; performing uncertainty analysis on the simulation results to obtain standard uncertainty; and obtaining the target number of echoes according to the maximum standard deviation and the standard uncertainty. The present application uses a measurement model established in advance to perform Monte Carlo simulation to quickly obtain random simulation results under different echo numbers. Since there are multiple input quantities, the influence of each input quantity on the final result is unknown. When performing simulation, the uncertainty of measurement will change with the number of echoes. By performing uncertainty analysis on the simulation results, the standard uncertainty is obtained and compared with the maximum standard deviation, and then the number of echoes under the corresponding state can be determined as the target number of echoes, completing the determination of the echo parameters of the ultrasonic measurement system. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 A schematic diagram of the structure of an electronic device of a hardware operating environment involved in an embodiment of the present application;
[0035] Figure 2 A schematic diagram of a flow chart of a method for obtaining the number of echoes of an ultrasonic thickness measurement system provided in an embodiment of the present application;
[0036] Figure 3 A schematic diagram of a flow chart of a method for acquiring the number of echoes of an ultrasonic thickness measurement system provided in an embodiment of the present application in one implementation manner;
[0037] Figure 4 A schematic diagram of the structure of a thickness test block in a method for obtaining the number of echoes in an ultrasonic thickness measurement system provided in an embodiment of the present application;
[0038] Figure 5 A distribution diagram of Monte Carlo simulation results when the number of echoes is 1 in the method for obtaining the number of echoes of the ultrasonic thickness measurement system provided in an embodiment of the present application;
[0039] Figure 6 A distribution diagram of Monte Carlo simulation results when the number of echoes is 3 in the method for obtaining the number of echoes of the ultrasonic thickness measurement system provided in an embodiment of the present application;
[0040] Figure 7 A schematic diagram of a module of an echo number acquisition device for an ultrasonic thickness measurement system provided in an embodiment of the present application;
[0041] Markings in the figure: 101 - processor, 102 - communication bus, 103 - network interface, 104 - user interface, 105 - memory. DETAILED DESCRIPTION
[0042] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0043] The main solution of the embodiment of the present application is: to perform Monte Carlo simulation based on the measurement model to obtain simulation results under different echo numbers; wherein the measurement model is used to obtain the simulated measurement thickness of the material under test according to several different input quantities; to perform uncertainty analysis on the simulation results to obtain the standard uncertainty; and to obtain the target echo number according to the maximum standard deviation and the standard uncertainty.
[0044] Measurement is the eye of industrial production. For enterprises, measurement runs through all aspects of production and operation. Therefore, it is impossible to obtain reliable data without a complete measurement system. In quality system management, whether in SPC process quality control or DMAIC process improvement activities, the measurement stage is the most important stage in the entire process and activity. If you cannot measure accurately, you cannot accurately monitor the current situation and measure the improvement results.
[0045] Therefore, before measuring product characteristics, it is usually necessary to perform a measurement system analysis (MSA). When the GR&R of the measurement system is less than 30%, the measurement system is usable. If the GR&R is greater than 30%, the measurement system is unacceptable and needs to be improved.
[0046] The thickness of a part is a key characteristic indicator of part quality, and the thickness directly affects the strength of the part. Ultrasonic thickness measurement is widely used in the production and processing of materials and parts due to the superior penetration of ultrasonic signals. Compared with other methods such as thickness calipers, optical measurements, and three-coordinate measurements, ultrasonic thickness measurement has the advantages of large measurement range, single-sided measurement, and little influence from part openings. It is irreplaceable in the production and manufacturing of materials and parts. Therefore, before performing ultrasonic thickness measurement, the ultrasonic thickness measurement system needs to be analyzed to verify whether the GR&R of the measurement system is less than 30%.
[0047] However, in ultrasonic thickness measurement, the factors that affect thickness measurement include the instrument itself and the measured part, as well as the selection of measurement parameters, i.e., the number of ultrasonic echo signals. Since the performance of the instrument is fixed and the stability of the sound velocity is determined by the uniformity of the measured material itself, the selection of the number of echoes is a key parameter that can be adjusted and affects the measurement results. In order to optimize the parameters, the existing technology mainly describes methods such as signal processing and hardware development, but lacks research on the selection of the number of echoes.
[0048] To this end, the present application provides a solution, which uses a pre-established measurement model to perform Monte Carlo simulation to quickly obtain random simulation results under different echo numbers. Since there are multiple input quantities, the impact of each input quantity on the final result is unknown. During the simulation, the measurement uncertainty will change with the number of echoes. By performing uncertainty analysis on the simulation results, the standard uncertainty is obtained and compared with the maximum standard deviation, and then the number of echoes under the corresponding state can be determined as the target echo number, thereby completing the determination of the echo parameters of the ultrasonic measurement system.
[0049] See attached Figure 1 , attached Figure 1This is a schematic diagram of the structure of an electronic device of the hardware operating environment involved in the embodiment of the present application. The electronic device may include: a processor 101, such as a central processing unit (CPU), a communication bus 102, a user interface 104, a network interface 103, and a memory 105. Among them, the communication bus 102 is used to realize the connection and communication between these components. The user interface 104 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the user interface 104 may also include a standard wired interface and a wireless interface. The network interface 103 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 105 may optionally be a storage device independent of the aforementioned processor 101. The memory 105 may be a high-speed random access memory (RAM), or a stable non-volatile memory (NVM), such as at least one disk storage. The processor 101 may be a general-purpose processor, including a central processing unit, a network processor, etc., or may be a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component.
[0050] Those skilled in the art will appreciate that Figure 1 The structure shown in the figure does not constitute a limitation on the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0051] As attached Figure 1 As shown, the memory 105 as a storage medium may include an operating system, a network communication module, a user interface module, and an echo number acquisition device of an ultrasonic thickness measurement system.
[0052] In the attached Figure 1 In the electronic device shown, the network interface 103 is mainly used for data communication with a network server; the user interface 104 is mainly used for data interaction with a user; the processor 101 and the memory 105 in the present application can be set in the electronic device, and the electronic device calls the echo number acquisition device of the ultrasonic thickness measurement system stored in the memory 105 through the processor 101, and executes the echo number acquisition method of the ultrasonic thickness measurement system provided in the embodiment of the present application.
[0053] See attached Figure 2 Based on the hardware device of the aforementioned embodiment, the embodiment of the present application provides a method for obtaining the echo number of an ultrasonic thickness measurement system, comprising the following steps:
[0054] S10: performing Monte Carlo simulation based on the measurement model to obtain simulation results under different echo times; wherein the measurement model is used to obtain a simulated measurement thickness of the measured material according to a number of different input quantities.
[0055] In the specific implementation process, the measurement model, that is, the mathematical model constructed according to the ultrasonic measurement principle, can quickly obtain the output through the calculation of the measurement model through the input of the sample. Due to the randomness of the object, it is necessary to use a probability model to describe its randomness and perform simulation, that is, Monte Carlo simulation. In order to obtain the best number of echoes, it is necessary to perform simulations under different echo numbers and obtain corresponding simulation results. The number of Monte Carlo simulation tests M should be at least greater than 1 / (1-p) 10 4 times, p is the confidence interval, generally M is 10 6 , the confidence interval p is 95%. The establishment means of the measurement model is as follows: before performing Monte Carlo simulation based on the measurement model and obtaining simulation results under different echo times, the echo number acquisition method of the ultrasonic thickness measurement system also includes:
[0056] A measurement model is established based on the ultrasonic thickness measurement principle and the material to be measured.
[0057] In the specific implementation process, according to the ultrasonic thickness measurement principle, that is, the time for the ultrasonic signal emitted by the ultrasonic transducer to pass through the measured material once or multiple times, and then multiply it by the ultrasonic sound velocity divided by the number of times it passes through the measured material to calculate the thickness, the thickness h = v*t / 2n, v is the material sound velocity, t is the time, n is the number of times the ultrasonic signal passes through the material, that is, the number of echoes, the numerical display of the instrument, that is, the resolution ε is brought into it, and the actual thickness is H = (vt*+ε) / 2n. That is, the input of the measurement model is v, t, ε, and the output is the thickness value H.
[0058] In one embodiment, Monte Carlo simulation is performed based on the measurement model to obtain simulation results under different echo times, including:
[0059] S101: performing Monte Carlo simulation based on the measurement model to obtain simulated measurement values under different echo times;
[0060] S102: Sort the simulated measurement values to obtain a discrete expression of the probability density function of the thickness value as a simulation result under different echo times.
[0061] In the specific implementation process, from the input quantity X i PDF (probability density function) g Xi (ξ i ) to extract M sample values x ir , X i =(v r , tr , ε r ), r=1,2,...,M; when n=1, for each sample vector (v r , t r , ε r ), calculate the corresponding simulated measurement value Hr = f(v r , t r , ε r ), r = 1, ..., M; sort these M simulated measurement values in a strictly increasing order, and obtain a discrete representation G of the PDF of the output thickness value H from these sorted simulated measurement values.
[0062] S20: Perform uncertainty analysis on the simulation results to obtain standard uncertainty.
[0063] In the specific implementation process, when the number of echoes taken by ultrasonic thickness measurement is different, the measurement uncertainty changes accordingly. The standard uncertainty under different ultrasonic echo numbers, that is, the standard deviation, is analyzed through Monte Carlo simulation. The estimated value of H and the standard uncertainty u(H), that is, σ, are calculated by G. n Standard deviation. Specifically: perform uncertainty analysis on the simulation results to obtain standard uncertainty, including:
[0064] S201: Obtain an estimated value of the thickness value and its standard uncertainty based on a discrete expression of a probability density function of a simulated measurement value.
[0065] S30: Obtain the target echo number according to the maximum standard deviation and the standard uncertainty.
[0066] In the specific implementation process, the standard deviation under different ultrasonic echo times is analyzed through Monte Carlo simulation. When the standard deviation is less than the maximum standard deviation, the corresponding echo times are available. In the actual ultrasonic thickness measurement, the echo times taken should be greater than or equal to this value. Specifically: according to the maximum standard deviation and standard uncertainty, the target echo times are obtained, including:
[0067] S301: Obtaining a standard deviation threshold according to the maximum standard deviation;
[0068] S302: Obtain the number of target echoes according to the standard deviation threshold and the standard uncertainty.
[0069] In the specific implementation process, according to the requirement that the measurement system is qualified, the GR&R of the measurement system is less than 30%. According to the relationship between the measurement standard deviation and GR&R of the measurement system, that is, GR&R = value standard deviation multiplied by 6 divided by the percentage of product specification tolerance, σ<30%*(USL-LSL) / 6 is calculated. Usually, the maximum standard deviation is based on the equation, that is, σ=30%*(USL-LSL) / 6 as the standard deviation threshold to compare with the standard uncertainty. n When it is less than 30%*(USL-LSL) / 6, the value of n is the number of echoes that should be taken when measuring thickness using the ultrasonic pulse echo method, that is, the target echo number.
[0070] In this embodiment, a measurement model established in advance is used to perform Monte Carlo simulation to quickly obtain random simulation results under different echo numbers. Since there are multiple input quantities, the influence of each input quantity on the final result is unknown. During the simulation, the measurement uncertainty will change with the echo number. By performing uncertainty analysis on the simulation results, the standard uncertainty is obtained and compared with the maximum standard deviation, and then the echo number under the corresponding state can be determined as the target echo number, thereby completing the determination of the echo parameters of the ultrasonic measurement system.
[0071] In one embodiment, before performing Monte Carlo simulation based on the measurement model to obtain simulation results under different echo numbers, the method for obtaining the echo number of the ultrasonic thickness measurement system further includes:
[0072] Get the error distribution of the input quantity.
[0073] In the specific implementation process, the error distribution of the thickness h measurement input v, t, ε is determined respectively, that is, the error distribution includes: the error probability distribution of the sound velocity, the error probability distribution of the time, and the resolution error probability distribution. First, the error probability distribution of the sound velocity is determined. The measured sound velocity is continuous data, and the probability distribution obeys the normal distribution, which is Select a sound velocity calibration test block with the same or similar material, heat treatment state, and surface roughness as the measured part, and perform multiple sound velocity measurements on two areas of different thicknesses on the sound velocity calibration test block with known thicknesses to obtain a sound velocity measurement value set V = {v1, ...., vk}. The number of measurements k is not less than 20-30 times, and the average is calculated. Then calculate the standard deviation S of this set of sound velocity measurement values V according to the Bessel formula V , the probability distribution of the speed of sound can be expressed as Then determine the probability distribution of time error. The time error is the horizontal linear error of the ultrasonic instrument, which is a constant ±m%. The probability distribution obeys the rectangular distribution. It is known that the maximum thickness of the measured area is H. max , the horizontal linear error distribution is expressed as Finally, the probability distribution of resolution error is determined, which obeys the rectangular distribution R(-ε / 2, ε / 2).
[0074] Based on the above steps, Monte Carlo simulation is performed based on the measurement model to obtain simulation results under different echo times, including:
[0075] Monte Carlo simulation is performed based on the measurement model and error distribution to obtain simulation results under different echo numbers.
[0076] See attached Figure 3-6 , further explain this application:
[0077] Take a known part as an example, the thickness range of the part is 2mm~4mm, the thickness tolerance requirement is ±0.1mm, and the material is 30CrMnSiA. The ultrasonic instrument used for measurement has a resolution of 0.01mm and a horizontal linear error of 0.2%.
[0078] Before measuring, prepare the thickness test block, as shown in the attached Figure 4 As shown, the test block includes two step thicknesses of 2mm and 4mm. Specifically, 30CrMnSiA material is used to process and manufacture the thickness test block, and the state of the material is consistent with the known parts. Specifically, after the thickness test block is prepared, three-coordinate measurement is used to calibrate the thickness of all thickness test blocks to ensure the dimensional accuracy of the thickness of the thickness test block.
[0079] See attached Figure 3 , in the attached Figure 3 The present application is further described below in the following embodiments:
[0080] First, calculate the standard deviation of the ultrasonic thickness measurement system when it is qualified: according to the requirement that the measurement system is qualified, the GR&R of the measurement system is less than 30%. According to the relationship between the measurement standard deviation and GR&R of the measurement system, that is, GR&R = standard deviation of the measurement value multiplied by 6 divided by the percentage of the product specification tolerance, calculate σ<30%*(USL-LSL) / 6=0.01mm.
[0081] Establish a measurement model: According to the ultrasonic thickness measurement principle, the time it takes for the ultrasonic signal emitted by the ultrasonic transducer to pass through the material to be measured once or multiple times is multiplied by the ultrasonic sound velocity and divided by the number of times it passes through to calculate the thickness. The thickness h = vt / 2n, v is the material sound velocity, t is the time, and the numerical display of the instrument, that is, the resolution, is brought into the equation. The actual thickness is H = (vt+ε) / 2n.
[0082] Secondly, determine the error distribution of the measurement input: determine the error distribution of the thickness H measurement input v, t, ε respectively. The specific steps are as follows: first determine the error probability distribution of the sound velocity. The measured sound velocity is continuous data, and its probability distribution obeys the normal distribution, which is: By measuring the sound velocity 25 times at the 2mm and 4mm thickness areas on the sound velocity calibration block, a set of sound velocity measurement values were obtained, as shown in Table 1-1:
[0083] Table 1-1
[0084]
[0085] Calculate the mean Then calculate the standard deviation S of this set of sound velocity measurement values V according to the Bessel formula V , the probability distribution of the speed of sound can be expressed as V~N(6012m / s, (13m / s) 2 ). Then determine the probability distribution of time error. The time error is the horizontal linear error of the ultrasonic instrument ±0.2%. The probability distribution obeys the rectangular distribution. When the maximum thickness of the measured area is 4mm, the horizontal linear error distribution is expressed as n=1,3,5,10, calculate the upper and lower limits of the horizontal linear error rectangular distribution, as shown in Table 1-2:
[0086] Table 1-2
[0087] n Time distribution of wall thickness 4mm 1 <![CDATA[(1328.01×10 -9 s,1333.33×10 -9 s)]]> 3 <![CDATA[(3984.03×10 -9 s,4000.00×10 -9 s)]]> 5 <![CDATA[(6640.06×10 -9 s,6666.66×10 -9 s)]]> 10 <![CDATA[(13280.11×10 -9 s,13333.33×10 -9 s)]]>
[0088] Finally, the probability distribution of resolution error is determined, which obeys the rectangular distribution R(-ε / 2,ε / 2).
[0089] Then, determine the number of Monte Carlo experiments M: M should be at least greater than 1 / (1-p) 10 4 times, p is the confidence interval with a value of 95%, and the number of experiments is set to 10 6 .
[0090] Finally, Monte Carlo simulation is performed: MCM Monte Carlo simulation is performed using MATLAB software, starting from the input quantity X i PDF Extract M sample values x from ir , X i ={v,t,ε}, r = 1,2,...,M; when n is equal to 1, 3, 5, 10, for each sample size (v r ,t r ,ε r ), calculate the corresponding simulated measurement value Hr = f(v r ,t r ,ε r ), r = 1, ..., M; sort these M simulated measurement values in a strictly increasing order, and obtain the discrete representation G of the PDF of the output thickness value H from these sorted simulated measurement values; calculate the estimated value of H and the standard uncertainty u(H) from G, that is, σ n; Given an inclusion probability p, the inclusion interval of H [H low , H high ]; the obtained σ n Compared with the maximum value of σ, 30%*(USL-LSL) / 6, if σ n When <30%*(USL-LSL) / 6=0.01mm, the value of n at this time is the number of echoes that should be obtained when measuring thickness using the ultrasonic pulse echo method.
[0091] Specifically, when the number of echoes is 1, the MCM simulation result is σ 1 , judge σ 1 Is it greater than or equal to σ=30%*(USL-LSL) / 6=0.01mm? If it is no, then end. If it is yes, then continue to judge when the number of echoes is 3, the MCM simulation result σ 3 Is it greater than or equal to σ=30%*(USL-LSL) / 6=0.01mm? If the judgment result is no, then end; if it is yes, then continue with the above similar judgment when the number of echoes is 5, until the number of echoes reaches 10. If the judgment result is still yes, then it is necessary to replace the instrument, select an instrument with better horizontal linearity and better performance, and return to the step of determining the error distribution of the measurement input quantity to start redefinition.
[0092] According to the simulation results, when n=1, the standard deviation is 0.0102mm, and the distribution of simulation values is shown in Figure 5 ; When n=3, the standard deviation is 0.0099mm, and the distribution of simulation values is shown in Figure 6 Therefore, when using this thickness gauge to measure the thickness of parts ≤4mm, the number of ultrasonic pulse echoes should be at least 3.
[0093] See attached Figure 7 Based on the same inventive concept as in the above-mentioned embodiment, the embodiment of the present application further provides an echo number acquisition device for an ultrasonic thickness measurement system, the device comprising:
[0094] A simulation module, which is used to perform Monte Carlo simulation based on the measurement model to obtain simulation results under different echo times; wherein the measurement model is used to obtain the simulated measurement thickness of the measured material according to a number of different input quantities;
[0095] Analysis module: The analysis module is used to perform uncertainty analysis on the simulation results and obtain standard uncertainty;
[0096] The acquisition module is used to obtain the target echo number according to the maximum standard deviation and the standard uncertainty.
[0097] Those skilled in the art should understand that the division of the various modules in the embodiment is only a division of logical functions, and in actual application, they can be fully or partially integrated into one or more actual carriers, and these modules can be all implemented in the form of software calling through a processing unit, or all implemented in the form of hardware, or implemented in the form of a combination of software and hardware. It should be noted that the modules in the echo number acquisition device of the ultrasonic thickness measurement system in this embodiment correspond to the steps in the echo number acquisition method of the ultrasonic thickness measurement system in the aforementioned embodiment. Therefore, the specific implementation of this embodiment can refer to the implementation of the echo number acquisition method of the ultrasonic thickness measurement system in the aforementioned embodiment, which will not be repeated here.
[0098] Based on the same inventive concept as in the aforementioned embodiment, an embodiment of the present application further provides a computer-readable storage medium storing a computer program. When the computer program is loaded and executed by a processor, a method for acquiring the number of echoes of an ultrasonic thickness measurement system as provided in an embodiment of the present application is implemented.
[0099] Based on the same inventive concept as in the above-mentioned embodiment, an embodiment of the present application further provides an electronic device, including a processor and a memory, wherein:
[0100] The memory is used to store computer programs;
[0101] The processor is used to load and execute a computer program so that the electronic device executes the method for acquiring the number of echoes of the ultrasonic thickness measurement system provided in the embodiment of the present application.
[0102] In some embodiments, the computer readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or various devices including one or any combination of the above memories. The computer may be various computing devices including intelligent terminals and servers.
[0103] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.
[0104] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).
[0105] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices located at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.
[0106] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0107] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0108] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory / random access memory, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a multimedia terminal device (which can be a mobile phone, a computer, a television receiver, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0109] In summary, the present application provides a method, device, medium and equipment for obtaining the number of echoes of an ultrasonic thickness measurement system, the method comprising: performing Monte Carlo simulation based on a measurement model to obtain simulation results under different echo numbers; wherein the measurement model is used to obtain the simulated measured thickness of the material under test according to a number of different input quantities; performing uncertainty analysis on the simulation results to obtain standard uncertainty; and obtaining the target number of echoes according to the maximum standard deviation and the standard uncertainty. The present application uses a measurement model established in advance to perform Monte Carlo simulation, and quickly obtains random simulation results under different echo numbers. Since there are multiple input quantities, the influence of each input quantity on the final result is unknown. During the simulation, the uncertainty of the measurement will change with the number of echoes. By performing uncertainty analysis on the simulation results, the standard uncertainty is obtained and compared with the maximum standard deviation, and then the number of echoes under the corresponding state can be determined as the target number of echoes, and the echo parameters of the ultrasonic measurement system are determined.
[0110] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. A method for obtaining the echo number of an ultrasonic thickness measurement system, characterized in that: The following steps are involved: Performing Monte Carlo simulation based on the measurement model to obtain simulation results under different echo times; wherein the measurement model is used to obtain the simulated measurement thickness of the measured material according to a number of different input quantities; Performing uncertainty analysis on the simulation results to obtain standard uncertainty; Obtaining a target number of echoes according to a maximum standard deviation and the standard uncertainty; obtaining a target number of echoes according to the maximum standard deviation and the standard uncertainty includes: According to the maximum standard deviation, a standard deviation threshold is obtained; According to the standard deviation threshold and the size of the standard uncertainty, the target echo number is obtained; wherein, according to the requirement that the measurement system is qualified, the GR&R of the measurement system is less than 30%, and according to the relationship between the measurement standard deviation and GR&R of the measurement system, that is, GR&R=the standard deviation of the value multiplied by 6 divided by the percentage of the product specification tolerance, σ<30%*(USL-LSL) / 6 is calculated, and the maximum standard deviation is taken as the standard deviation threshold, that is, σ=30%*(USL-LSL) / 6, and compared with the standard uncertainty, σ n When it is less than 30%*(USL-LSL) / 6, the value of n is the target echo number.
2. The method for obtaining the echo number of an ultrasonic thickness measurement system according to claim 1, characterized in that: Before performing Monte Carlo simulation based on the measurement model to obtain simulation results under different echo times, the method for obtaining the echo times of the ultrasonic thickness measurement system further includes: Obtaining an error distribution of the input quantity; The Monte Carlo simulation is performed based on the measurement model to obtain simulation results under different echo times, including: Monte Carlo simulation is performed based on the measurement model and the error distribution to obtain simulation results under different echo times.
3. The method for obtaining the echo number of an ultrasonic thickness measurement system according to claim 2, characterized in that: The error distribution includes: error probability distribution of sound speed, error probability distribution of time and resolution error probability distribution.
4. The method for obtaining the echo number of an ultrasonic thickness measurement system according to claim 1, characterized in that: The Monte Carlo simulation is performed based on the measurement model to obtain simulation results under different echo times, including: Monte Carlo simulation is performed based on the measurement model to obtain simulated measurement values under different echo times; The simulated measurement values are sorted to obtain a discrete expression of the probability density function of the thickness value as the simulation result under the different echo numbers.
5. The method for obtaining the echo number of an ultrasonic thickness measurement system according to claim 4, characterized in that: The performing uncertainty analysis on the simulation results to obtain standard uncertainty includes: According to the discrete expression of the probability density function of the simulated measurement value, the estimated value of the thickness value and its standard uncertainty are obtained.
6. The method for obtaining the echo number of an ultrasonic thickness measurement system according to claim 1, characterized in that: Before performing Monte Carlo simulation based on the measurement model to obtain simulation results under different echo times, the method for obtaining the echo times of the ultrasonic thickness measurement system further includes: The measurement model is established according to the ultrasonic thickness measurement principle and the material to be measured.
7. An echo number acquisition device for an ultrasonic thickness measurement system, characterized in that: include: A simulation module, wherein the simulation module is used to perform Monte Carlo simulation based on the measurement model to obtain simulation results under different echo times; wherein the measurement model is used to obtain a simulated measurement thickness of the material under test according to a number of different input quantities; An analysis module, the analysis module is used to perform uncertainty analysis on the simulation results to obtain standard uncertainty; An acquisition module, wherein the acquisition module is used to obtain a target echo number according to a maximum standard deviation and the standard uncertainty; the acquisition module, according to the maximum standard deviation and the standard uncertainty, obtains the target echo number, including: According to the maximum standard deviation, a standard deviation threshold is obtained; According to the standard deviation threshold and the size of the standard uncertainty, the target echo number is obtained; wherein, according to the requirement that the measurement system is qualified, the GR&R of the measurement system is less than 30%, and according to the relationship between the measurement standard deviation and GR&R of the measurement system, that is, GR&R=the standard deviation of the value multiplied by 6 divided by the percentage of the product specification tolerance, σ<30%*(USL-LSL) / 6 is calculated, and the maximum standard deviation is taken as the standard deviation threshold, that is, σ=30%*(USL-LSL) / 6, and compared with the standard uncertainty, σ n When it is less than 30%*(USL-LSL) / 6, the value of n is the target echo number.
8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is loaded and executed by the processor, the method for obtaining the number of echoes of the ultrasonic thickness measurement system according to any one of claims 1 to 6 is implemented.
9. An electronic device, characterized in that: comprising a processor and a memory, wherein: The memory is used to store computer programs; The processor is used to load and execute the computer program so that the electronic device executes the method for acquiring the number of echoes of an ultrasonic thickness measurement system according to any one of claims 1 to 6.
Citation Information
Patent Citations
Object thickness measuring method, device and system based on ultrasonic waves, equipment and medium
CN112433217A
GPU (Graphics Processing Unit)-based multilayer water body photon transmission semi-analytic Monte Carlo simulation method
CN113361080A