A gain automatic adaptive adjusting method based on an automatic ultrasonic detection system

By automatically adjusting the probe gain of the ultrasonic testing system and using the echo height of the A-scan waveform image, the problem of time-consuming and inaccurate manual adjustment is solved, achieving efficient and accurate workpiece flaw detection.

CN115166035BActive Publication Date: 2026-03-17SHANGHAI RES INST OF MATERIALS CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-29
Publication Date
2026-03-17

AI Technical Summary

Technical Problem

In automated ultrasonic testing, the transducer gain and scanning speed of the workpiece's testing area need to be manually adjusted, which is time-consuming and inaccurate, making it difficult to quickly determine the appropriate gain value.

Method used

By acquiring the A-scan waveform image of the ultrasonic testing system, recording the echo height and coordinates of each sampling point, and automatically adjusting the probe gain value to keep the echo percentage near the set reference wave height, combined with the calculation of the fluctuation gain value, automatic adaptive adjustment of the gain is achieved.

Benefits of technology

It reduces manual operation, lowers costs, improves the accuracy and resolution of test results, and achieves high-precision automatic scanning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115166035B_ABST
    Figure CN115166035B_ABST
Patent Text Reader

Abstract

The application relates to a gain automatic adaptive adjustment method based on an automatic ultrasonic detection system, and specifically comprises the following steps: S1, acquiring initial rough detection gain value, detection range and detection speed, and transducer initial position on the operation software of the ultrasonic detection system; S2, sampling A-scan waveform images, B-scan waveform images and C-scan waveform images of a detected sample to obtain echo percentage height of each sampling coordinate point; S3, comparing the echo height percentage of the A-scan waveform images of all sampling points of the detected sample with the relationship of a preset reference wave height, and adjusting the probe gain value according to the wave height condition of the overall coordinate points. Compared with the prior art, the application has the advantages of improving detection resolution, improving the self-adaptive ability of the system, reducing manual participation, automatically, efficiently and accurately adjusting the overall gain by using an algorithm, and obtaining more ideal detection results.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of automatic ultrasonic flaw detection technology, and in particular to a method for automatic gain adaptation adjustment based on an automatic ultrasonic testing system. Background Technology

[0002] In automated ultrasonic testing, the transducer gain and scanning speed for the workpiece testing area need to be set manually based on experience. Usually, the X and Y axis coordinates of the transducer are manually adjusted first to roughly grasp the overall echo height. During this process, the operator needs to constantly adjust the probe position and increase or decrease the probe gain value, which is time-consuming and inaccurate, and it is difficult to quickly determine the appropriate gain value for the workpiece to be tested. Summary of the Invention

[0003] The purpose of this invention is to overcome the shortcomings of the prior art by providing an automatic gain adjustment method based on an automatic ultrasonic testing system. This method automatically adjusts the gain according to the echo height sampled by the automatic ultrasonic testing system, thereby improving the problems of low efficiency and inaccuracy of manual adjustment.

[0004] The objective of this invention can be achieved through the following technical solutions:

[0005] An automatic gain adaptation adjustment method based on an automated ultrasonic testing system specifically includes the following steps:

[0006] S1. Obtain the initial rough detection gain value, detection range, detection speed, and transducer initial position from the ultrasonic testing system operating software.

[0007] S2. Sample the A-scan waveform image, B-scan waveform image and C-scan waveform image of the sample to be tested, and then obtain the echo percentage height of each sampling coordinate point;

[0008] S3. Compare the echo height percentage of the A-scan waveform image of all sampling points of the tested sample with the preset reference wave height, and adjust the probe gain value according to the wave height of the overall coordinate points.

[0009] Step S3 further includes recording the echo height percentage and coordinate position of the A-scan waveform image at each sampling point, specifically (X... i,i Y i,i H i,i %), of which (X) i,i Y i,i H represents the coordinates of the sampling point. i,i % represents the percentage height value of the sampling point.

[0010] The relationship between the echo height percentage of the A-scan waveform image and the preset reference waveform height in step S3 includes the following: the echo height of the A-scan waveform image is less than the reference waveform height, and the echo height of the A-scan waveform image is greater than the reference waveform height.

[0011] Furthermore, the relationship when the echo height of the A-scan waveform image is greater than the reference waveform height includes the sampled waveform height being less than 100% of the full screen height and the sampled waveform height being greater than 100% of the full screen height.

[0012] When the sampled waveform height is greater than 100% of the full screen height, the difference in the time of intersection between all waveforms exceeding 100% of the full screen height and 100% of the full screen height is calculated. The coordinate point with the largest waveform time difference is located, and the gain value of the ultrasonic testing system is gradually reduced until the sampled waveform height at that point is reduced to the preset reference waveform height. The gain value at this point is taken as the overall gain value of the ultrasonic testing system.

[0013] The process of adjusting the probe gain value in step S3 specifically involves calculating the fluctuation gain value used to adjust the overall gain value, and subtracting or adding the fluctuation gain value to the overall gain value of the ultrasonic testing system based on the relationship between the echo height percentage of the A-scan waveform image and the preset reference wave height.

[0014] Furthermore, the calculation process of the fluctuation gain value specifically involves calculating the average wave height of all sampling points, and converting the percentage difference between the average wave height and the reference wave height to obtain the fluctuation gain value.

[0015] When the echo height of the A-scan waveform image is less than the reference wave height, the fluctuation gain value is added to the overall gain value of the ultrasonic testing system.

[0016] When the echo height of the A-scan waveform image is greater than the reference wave height but less than 100% of the full screen height, the average wave height of all sampling points is calculated. When the average wave height is greater than the set reference wave height, the fluctuation gain value is subtracted from the overall gain value of the ultrasonic testing system.

[0017] When the echo height of the A-scan waveform image is greater than the reference wave height but less than 100% of the full screen height, the average wave height of all sampling points is calculated. When the average wave height is less than the set reference wave height, the fluctuation gain value is added to the overall gain value of the ultrasonic testing system.

[0018] After the overall gain value of the ultrasonic testing system is adjusted by the fluctuation gain value, the scanning speed is reduced to a preset low speed value to automatically perform high-precision scanning.

[0019] Compared with the prior art, the present invention has the following beneficial effects:

[0020] This invention requires only initial manual setup, and subsequent operations do not require manual intervention, reducing manpower consumption and effectively lowering labor costs. By adjusting the overall gain value by increasing or decreasing the fluctuation gain value, the echo percentage height is kept near the set reference wave height, enhancing the resolution of the ultrasonic testing system and effectively improving the accuracy of workpiece flaw detection results. Attached Figure Description

[0021] Figure 1 This is a schematic diagram of the process of the present invention;

[0022] Figure 2 This is a schematic diagram of the structure of the coordinate point sampling information of the present invention;

[0023] Figure 3 This is a schematic diagram showing the waveform height at different coordinate positions according to the present invention;

[0024] Figure 4 This is a schematic diagram illustrating the relationship between the sampled wave height and the set reference wave height in this invention;

[0025] Figure 5 This is a flowchart illustrating the automatic gain adjustment logic of the present invention when the sampled wave height does not exceed 100% of the full screen height;

[0026] Figure 6 This is a schematic diagram showing that the sampling wave height of the present invention exceeds 100% of the full screen height;

[0027] Figure 7 This is a flowchart illustrating the automatic gain adjustment logic when the sampled wave height exceeds 100% of the full screen height according to the present invention. Detailed Implementation

[0028] The present invention will now be described in detail with reference to the accompanying drawings and specific embodiments. These embodiments are based on the technical solution of the present invention and provide detailed implementation methods and specific operating procedures. However, the scope of protection of the present invention is not limited to the following embodiments.

[0029] Example

[0030] like Figure 1 As shown, a method for automatic gain adaptation adjustment based on an automatic ultrasonic testing system specifically includes the following steps:

[0031] S1. Obtain the initial rough detection gain value, detection range, detection speed, and transducer initial position from the ultrasonic testing system operating software.

[0032] S2. Sample the A-scan waveform image, B-scan waveform image and C-scan waveform image of the sample to be tested, and then obtain the echo percentage height of each sampling coordinate point;

[0033] S3. Compare the echo height percentage of the A-scan waveform image of all sampling points of the tested sample with the preset reference wave height, and adjust the probe gain value according to the wave height of the overall coordinate points.

[0034] A-scan can display the echo waveform image of the point in the coordinate system. The image shows the detected gain value and the percentage height of the echo. Step S3 also includes recording the percentage height of the echo and the coordinate position of the A-scan waveform image of each sampling point. Figure 2 As shown, specifically (X) i,i Y i,i H i,i %), of which (X) i,i Y i,i H represents the coordinates of the sampling point. i,i % represents the percentage height value of the sampling point.

[0035] like Figure 4 As shown, the relationship between the percentage of echo height of the A-scan waveform image and the preset reference waveform height in step S3 includes the following: the echo height of the A-scan waveform image is less than the reference waveform height, and the echo height of the A-scan waveform image is greater than the reference waveform height.

[0036] like Figure 3 The image shows the height of the sampled waveform at different coordinate positions, including waveforms exceeding 100% of the screen height, waveforms between 80% and 100%, waveforms between 60% and 80%, and waveforms between 40% and 60%.

[0037] The relationship between the echo height of the A-scan waveform image and the reference waveform height includes the sampled waveform height being less than 100% of the full screen height and the sampled waveform height being greater than 100% of the full screen height.

[0038] When the sampled waveform height is greater than 100% of the full screen height, calculate the difference in the time between the intersection of all waveforms exceeding 100% of the full screen height and 100% of the full screen height. Locate the coordinate point with the largest waveform time difference, and gradually reduce the gain value of the ultrasonic testing system until the sampled waveform height at that point is reduced to the preset reference waveform height. Use the gain value at this point as the overall gain value of the ultrasonic testing system.

[0039] The process of adjusting the probe gain value in step S3 specifically involves calculating the fluctuation gain value used to adjust the overall gain value. Based on the relationship between the echo height percentage of the A-scan waveform image and the preset reference wave height, the fluctuation gain value is subtracted or added to the overall gain value of the ultrasonic testing system.

[0040] The specific process of calculating the fluctuation gain value is to calculate the average wave height of all sampling points, and then convert the percentage difference between the average wave height and the reference wave height to obtain the fluctuation gain value.

[0041] In this embodiment, the percentage difference between the average wave height and the reference wave height is converted using the ultrasonic attenuation formula, as shown below:

[0042] Decibel difference:

[0043] Wherein, P1 is the fluctuation gain value, P2 is the overall gain value, H1 is the average wave height, and H2 is the reference wave height.

[0044] When the echo height of the A-scan waveform image is less than the reference waveform height, the fluctuation gain value is added to the overall gain value of the ultrasonic testing system.

[0045] When the echo height of the A-scan waveform image is greater than the reference wave height but less than 100% of the full screen height, the average wave height of all sampling points is calculated. When the average wave height is greater than the set reference wave height, the fluctuation gain value is subtracted from the overall gain value of the ultrasonic testing system.

[0046] When the echo height of the A-scan waveform image is greater than the reference wave height but less than 100% of the full screen height, the average wave height of all sampling points is calculated. When the average wave height is less than the set reference wave height, the fluctuation gain value is added to the overall gain value of the ultrasonic testing system.

[0047] After the overall gain value of the ultrasonic testing system is adjusted by the fluctuation gain value, the scanning speed is reduced to a preset low speed value to automatically perform high-precision scanning.

[0048] In specific implementation, such as Figure 5 The diagram shows the logic flowchart for automatic gain adjustment when the sampled waveform height does not exceed 100% of the full screen height, where:

[0049] Step s201 determines whether the percentage of echo height of each point sampled in step s11 exceeds 100% of the full screen height. If it does not exceed 100% of the full screen height, proceed to the next step s202. If it exceeds 100% of the full screen height, proceed to the process s3 for exceeding the screen height.

[0050] Step s202 calculates the average echo height of all sampling points.

[0051] Step s203 calculates the difference between the average echo height in step s202 and the set reference wave height.

[0052] Step s204 determines the difference between the average echo height and the set reference wave height.

[0053] Step s205 is to convert the percentage difference between the average wave height and the reference wave height into a fluctuation gain value when the average value of the calculated echo height of all points is greater than the set reference wave height, and then reduce the overall gain value according to the fluctuation gain value.

[0054] Step s206 is to convert the percentage difference between the average echo height of all points into a fluctuation gain value when the average value of the echo height is less than the set reference wave height, and then increase the overall gain value according to the fluctuation gain value.

[0055] like Figure 7 The diagram shows the logic flowchart for automatic gain adjustment when the sampled waveform height exceeds 100% of the full screen height, where:

[0056] Step s301 determines whether there is an echo height that exceeds the screen height for the sampling height. If there is an echo height that exceeds the screen height, proceed to step s302; otherwise, proceed to step s2.

[0057] Step s302 calculates the difference between the time when the waveform at the coordinate position intersects with the 100% full screen height. Based on the magnitude of the difference between each waveform, the position with the largest difference is the position with the highest echo percentage.

[0058] like Figure 6 The ΔT1 and ΔT2 shown represent two different locations where the echo height exceeds 100% of the full screen height. Since the difference in the time between the waveform and the 100% full screen height is ΔT2 > ΔT1, it can be determined that the echo height at the second location is higher.

[0059] Step s303 compares the point where the time difference between the waveform and the 100% full screen height in step s302 is the largest, and moves the scanning device to that coordinate point, gradually reducing the gain value until the echo height at that position reaches the set reference waveform height.

[0060] In step s304, if the echo height of the coordinate point where the gain is adjusted in step s303 still does not reach the set reference wave height, then step s303 is repeated.

[0061] Step s305 sets the gain adjusted in step s303 to the overall gain value and re-executes the s2 waveform processing flow so that it does not exceed the screen.

[0062] After step s2 is completed, step s4 automatically performs a high-precision scan with the adjusted gain value and the set secondary scan speed.

[0063] Furthermore, it should be noted that the specific embodiments described in this specification may be given different names, and the above description is merely illustrative of the structure of the present invention. All equivalent or simple variations made based on the construction, features, and principles of the present invention are included within the scope of protection of the present invention. Those skilled in the art can make various modifications or additions to the described specific examples or adopt similar methods, as long as they do not deviate from the structure of the present invention or exceed the scope defined by the claims, all of which should fall within the scope of protection of the present invention.

Claims

1. A method for automatic gain adjustment based on an automatic ultrasonic detection system, characterized in that, Specifically comprising the following steps: S1, obtaining the initial rough detection gain value, detection range and detection speed, and the initial position of the transducer on the operation software of the ultrasonic detection system; S2, sampling to obtain the A-scan waveform image, B-scan waveform image and C-scan waveform image of the sample to be detected, and further obtaining the echo percentage height of each sampling coordinate point; S3, comparing the relationship between the echo percentage height of the A-scan waveform image of all sampling points of the sample to be detected and the preset reference echo percentage height, and adjusting the probe gain value according to the echo percentage height of the overall coordinate points; The step S3 further comprises recording the echo percentage height and coordinate position of the A-scan waveform image of each sampling point; When the echo percentage height of the A-scan waveform image is greater than the reference echo percentage height and greater than 100% full screen height, the difference value of the time at which all waveforms exceeding 100% full screen height and 100% full screen height intersect is calculated, the coordinate point with the maximum time difference value is located, the gain value of the ultrasonic detection system is gradually reduced until the sampling echo percentage height of the point is reduced to the preset reference echo percentage height, and the gain value at this time is taken as the overall gain value of the ultrasonic detection system; The process of adjusting the probe gain value in step S3 is specifically: calculating the fluctuation gain value for adjusting the overall gain value, subtracting or adding the fluctuation gain value from the overall gain value of the ultrasonic detection system according to the relationship between the echo percentage height of the A-scan waveform image and the preset reference echo percentage height, wherein the fluctuation gain value is converted from the difference value between the average value of the echo percentage height of all sampling points and the reference echo percentage height.

Citation Information

Patent Citations

  • Automatic gain control in medical diagnostic ultrasound imaging

    US20090062648A1