Waveform generation method, device, equipment and medium for ultrasonic testing
By generating functions and superimposing curves in ultrasonic detection, the problem of low waveform generation accuracy in the prior art is solved, and a higher detection accuracy is achieved.
Patent Information
- Application Number
- CN202310921940.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-25
- Publication Date
- 2025-03-04
- Estimated Expiration
- 2043-07-25
AI Technical Summary
In the prior art, the waveform generation accuracy of ultrasonic detection is low, which affects the detection accuracy.
Through the ultrasonic transducer, several functions are generated, so that each function has a value of 1 at the horizontal coordinate of the corresponding point information and a value of 0 at the rest. The curve of the function is calculated, and the curves are multiplied by the vertical coordinate of the corresponding point information and superimposed to generate an ultrasonic detection waveform.
Through this method, the generated ultrasonic detection waveform can accurately pass through each point information collected, improving the accuracy of waveform generation, thereby improving the accuracy of ultrasonic detection.
Smart Images

Figure CN116953079B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of ultrasonic detection technology, and in particular to a waveform generation method, device, equipment and medium for ultrasonic detection. Background Art
[0002] As an advanced composite material, carbon fiber has been widely used in a variety of fields such as aerospace, nuclear energy equipment, transportation, and stealth weapons. Carbon fiber not only has a series of excellent properties such as high specific strength and high specific modulus, low thermal expansion coefficient, high temperature resistance, corrosion resistance, creep resistance, and self-lubrication, but also has the characteristics of fiber flexibility and weavability. In order to further enhance the physical and chemical properties of carbon fiber, carbon fiber is usually compounded with plates or materials of other materials to achieve the purpose of enhancing performance.
[0003] After the carbon plate is produced, there may be gaps, cracks and other damage inside the carbon plate, which cannot be observed by the naked eye, affecting the subsequent structural strength and use of the carbon plate. At this time, the carbon plate will be subjected to ultrasonic testing. In ultrasonic testing, water immersion is often used for testing. During the test, the ultrasonic probe is placed in water, and water is used as a coupling agent. The ultrasonic waves emitted by the probe enter the carbon plate through the water. When there are defects inside the carbon plate, the ultrasonic waves will be reflected back and received by the ultrasonic receiver, so that the height of the waveform reflected back from the plate can be used to determine whether there are defects inside the plate.
[0004] During ultrasonic testing, the ultrasonic intensity received by the ultrasonic transducer is used for judgment. The ultrasonic transducer has a receiving frame rate, that is, the collected ultrasonic information is information of several points. When judging defects, these points need to be drawn into waveforms for judgment. The accuracy of waveform generation also affects the detection accuracy. The accuracy of waveform generation for ultrasonic testing in the prior art is relatively low.
[0005] The information disclosed in this background technology section is only intended to deepen the understanding of the overall background technology of the present invention, and should not be regarded as acknowledging or suggesting in any form that the information constitutes the prior art already known to those skilled in the art. Summary of the invention
[0006] The present invention provides a waveform generation method, device, equipment and medium for ultrasonic detection, thereby effectively solving the problems in the background technology.
[0007] In order to achieve the above object, the technical solution adopted by the present invention is: a waveform generation method for ultrasonic detection, comprising the following steps:
[0008] The ultrasonic transducer collects information of several points;
[0009] According to the plurality of point information, a plurality of functions are generated accordingly;
[0010] Make each function have a value of 1 at the horizontal coordinate of the corresponding point information, and have a value of 0 at the horizontal coordinates of the other point information, and find the curves corresponding to several functions;
[0011] Multiplying a plurality of the curves by the ordinates of the corresponding point information and superimposing them;
[0012] Generates ultrasonic detection waveforms.
[0013] Furthermore, according to the information of the plurality of points, a plurality of functions f are generated correspondingly. i (x j ),include:
[0014]
[0015] Among them, x j is a term in the polynomial, and the collected information of several points includes: (x i ,y i ), where i is 1 to n, j is 1 to n; the function f i (x j ) corresponding point (x i ,y i ), a is the parameter.
[0016] Furthermore, the horizontal coordinate x of the point information is i Bring in x j , the several functions f i (x j )include:
[0017]
[0018] Find the value of the parameter a in the function and obtain the curves f corresponding to several functions i (x).
[0019] Furthermore, the generated ultrasonic detection waveform includes:
[0020]
[0021] Furthermore, when the ultrasonic transducer collects a plurality of point information, the number of the collected point information is the number of point information required to form a complete frame of image.
[0022] The present invention also includes a waveform generating device for ultrasonic detection, using the above method, including:
[0023] An ultrasonic transducer, wherein the ultrasonic transducer is used to collect information of a plurality of points;
[0024] A function generation module, the function generation module is used to generate a number of functions according to the number of point information;
[0025] A solution module, the solution module is used to make each function have a value of 1 at the horizontal coordinate of the corresponding point information, and a value of 0 at the horizontal coordinates of the other point information, and to find curves corresponding to several functions;
[0026] A superposition module, the superposition module is used to multiply a plurality of the curves by the ordinates of the corresponding point information and perform superposition;
[0027] A waveform generation module is used to generate an ultrasonic detection waveform.
[0028] The present invention also includes a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method described above is implemented.
[0029] The present invention also includes a storage medium on which a computer program is stored. When the computer program is executed by a processor, the method described above is implemented.
[0030] The beneficial effects of the present invention are as follows: the present invention collects a number of point information through an ultrasonic transducer, and then generates a number of corresponding functions, and brings each point information into the generated several functions, so that the value of each function at the horizontal coordinate of the corresponding point information is 1, and the values of the horizontal coordinates of the remaining point information are 0, and the curves corresponding to the several functions are obtained, and these curves are multiplied by the vertical coordinates of the corresponding point information and superimposed. Since the value of the horizontal coordinate of each curve at the corresponding point before superposition is 1, after multiplying by the vertical coordinate, the vertical coordinate at the corresponding point is the vertical coordinate value of the corresponding point information, and the values of the horizontal coordinates of other points are 0. After multiplying by the vertical coordinate and superimposing, they are still 0, thereby obtaining a superimposed curve, and the horizontal coordinate of each point information corresponds to the vertical coordinate value of the collected point information, so that the superimposed curve can pass through each collected point, instead of fitting a curve to these points, thereby ensuring the accuracy of the generated ultrasonic detection waveform. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0032] Figure 1 is a flow chart of the method of the present invention;
[0033] Figure 2 It is a structural schematic diagram of the device of the present invention;
[0034] Figure 3 A schematic diagram of the structure of a computer device. DETAILED DESCRIPTION
[0035] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.
[0036] like Figure 1 As shown: A waveform generation method for ultrasonic detection includes the following steps:
[0037] The ultrasonic transducer collects information of several points;
[0038] According to a number of point information, a number of functions are generated accordingly;
[0039] Make each function have a value of 1 at the horizontal coordinate of the corresponding point information, and a value of 0 at the horizontal coordinates of the other point information, and find the curves corresponding to several functions;
[0040] Multiply several curves by the ordinates of the corresponding point information and superimpose them;
[0041] Generates ultrasonic detection waveforms.
[0042] Several point information is collected by an ultrasonic transducer, and then several functions are generated accordingly. Each point information is brought into the generated functions so that the value of each function at the horizontal coordinate of the corresponding point information is 1, and the values of the horizontal coordinates of the other point information are 0. The curves corresponding to the several functions are obtained, and these curves are multiplied by the vertical coordinates of the corresponding point information and superimposed. Since the value of the horizontal coordinate of each curve at the corresponding point before superposition is 1, after multiplying by the vertical coordinate, the vertical coordinate at the corresponding point is the vertical coordinate value of the corresponding point information, while the values of the horizontal coordinates of other points are 0. After multiplying by the vertical coordinate and superimposing, they are still 0, thereby obtaining a superimposed curve, and the horizontal coordinate of each point information corresponds to the vertical coordinate value of the collected point information, so that the superimposed curve can pass through each collected point, instead of fitting a curve to these points, thereby ensuring the accuracy of the generated ultrasonic detection waveform.
[0043] In this embodiment, according to the information of a plurality of points, a plurality of functions f are generated accordingly. i (x j),include:
[0044]
[0045] Among them, x j is the middle term of the polynomial, and the collected point information includes: (x i ,y i ), where i is 1 to n, j is 1 to n; function f i (x j ) corresponding point (x i ,y i ), a is the parameter.
[0046] As a preferred embodiment of the above embodiment, the horizontal coordinate x of the point information is i Bring in x j , several functions f i (x j )include:
[0047]
[0048] Find the value of the parameter a in the function and get the curve f corresponding to several functions i (x).
[0049] As a preferred embodiment of the above, the generated ultrasonic detection waveform includes:
[0050]
[0051] The number of functions generated is the same as the number of points collected, and the degree of the function polynomial is related to the number of points collected. For example, if three points (x1, y1), (x2, y2), and (x3, y3) are collected, three functions are generated:
[0052]
[0053] Find three quadratic curves and add them together to get the corresponding curve. The first curve is f1, which takes the value of 1 at point x1 and the value of 0 at the other two points. Similarly, find f2, which takes the value of 1 at point x2 and the value of 0 at the other two points. f3, which takes the value of 1 at point x3 and the value of 0 at the other two points. In this way, the parameters a0, a1, and a2 can be obtained, and three curves f1, f2, and f3 can be obtained. Then, the three curves are multiplied by the corresponding ordinates: y1f1(x), y2f2(x), and y3f3(x), and superimposed to obtain the final fitted smooth curve: f(x)=y1f1(x)+y2f2(x)+y3f3(x).
[0054] Similarly, if the number of points collected is 256, 256 255-degree polynomials are generated, and the points are substituted respectively to solve 256 curves. These 256 curves are multiplied by the ordinates of the corresponding points and superimposed, and then the curves passing through the 256 points can be obtained, which are the fitted curves.
[0055] In this embodiment, when the ultrasonic transducer collects a plurality of point information, the number of the collected point information is the number of point information that forms a complete frame of image.
[0056] By setting the number of collected points to the number of points that form a complete image frame, it is ensured that the generated fitting curve passes through all the collected points on a complete image, thereby ensuring the accuracy of the generated waveform curve, thereby ensuring that the curve in each frame of the waveform image generated by ultrasonic detection is completely fitted with the collected points, thereby ensuring the accuracy of ultrasonic detection.
[0057] like Figure 2 As shown, this embodiment also includes a waveform generating device for ultrasonic detection, using the above method, including:
[0058] Ultrasonic transducer, which is used to collect information of several points;
[0059] Function generation module, which is used to generate several functions according to several point information;
[0060] A solution module is used to make each function have a value of 1 at the horizontal coordinate of the corresponding point information and a value of 0 at the horizontal coordinates of the other point information, and to find the curves corresponding to several functions;
[0061] A superposition module is used to multiply a number of curves by the ordinates of the corresponding point information and perform superposition;
[0062] The waveform generation module is used to generate ultrasonic detection waveforms.
[0063] Several point information is collected by an ultrasonic transducer, and then several functions are generated accordingly. Each point information is brought into the generated functions so that the value of each function at the horizontal coordinate of the corresponding point information is 1, and the values of the horizontal coordinates of the other point information are 0. The curves corresponding to the several functions are obtained, and these curves are multiplied by the vertical coordinates of the corresponding point information and superimposed. Since the value of the horizontal coordinate of each curve at the corresponding point before superposition is 1, after multiplying by the vertical coordinate, the vertical coordinate at the corresponding point is the vertical coordinate value of the corresponding point information, while the values of the horizontal coordinates of other points are 0. After multiplying by the vertical coordinate and superimposing, they are still 0, thereby obtaining a superimposed curve, and the horizontal coordinate of each point information corresponds to the vertical coordinate value of the collected point information, so that the superimposed curve can pass through each collected point, instead of fitting a curve to these points, thereby ensuring the accuracy of the generated ultrasonic detection waveform.
[0064] See also Figure 3 A computer device 400 provided in an embodiment of the present application includes: a processor 410 and a memory 420, wherein the memory 420 stores a computer program executable by the processor 410, and when the computer program is executed by the processor 410, the above method is executed.
[0065] The embodiment of the present application further provides a storage medium 430 on which a computer program is stored. When the computer program is run by the processor 410, the above method is executed.
[0066] Among them, the storage medium 430 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable red-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, disk or optical disk.
[0067] In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. "Multiple" means two or more, unless otherwise clearly and specifically defined.
[0068] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0069] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
[0070] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention belong.
[0071] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic devices), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0072] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0073] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0074] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present invention. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.
Claims
1. A waveform generation method for ultrasonic detection, characterized in that: The steps include: The ultrasonic transducer collects information of several points; According to the plurality of point information, a plurality of functions are generated accordingly; Make each function have a value of 1 at the horizontal coordinate of the corresponding point information, and a value of 0 at the horizontal coordinates of the other point information, and find the curves corresponding to several functions; Multiplying a plurality of the curves by the ordinates of the corresponding point information and superimposing them; Generate ultrasonic testing waveform; According to the plurality of point information, a plurality of functions f are generated correspondingly i (x j ),include: Among them, x j is a term in the polynomial, and the collected information of several points includes: (x i ,y i ), where i is 1 to n, j is 1 to n; the function f i (x j ) corresponding point (x i ,y i ), a is a parameter; The horizontal coordinate x of the point information i Bring in x j , the several functions f i (x j )include: Find the value of the parameter a in the function and obtain the curves f corresponding to several functions i (x); The ultrasonic detection waveform generated includes:
2. The waveform generation method for ultrasonic detection according to claim 1, characterized in that: The ultrasonic transducer collects a plurality of point information, and the number of the collected point information is the number of point information that forms a complete frame of image.
3. A waveform generating device for ultrasonic detection, characterized in that: Using the method according to claim 1 or 2, comprising: An ultrasonic transducer, wherein the ultrasonic transducer is used to collect information of a plurality of points; A function generation module, the function generation module is used to generate a number of functions according to the number of point information; A solution module, the solution module is used to make each function have a value of 1 at the horizontal coordinate of the corresponding point information, and a value of 0 at the horizontal coordinates of the other point information, and to find curves corresponding to several functions; A superposition module, the superposition module is used to multiply a plurality of the curves by the ordinates of the corresponding point information and perform superposition; A waveform generation module is used to generate an ultrasonic detection waveform.
4. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to claim 1 or 2 is implemented.
5. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to claim 1 or 2 is implemented.
Citation Information
Patent Citations
Reconstruction method for microdefects in slender rod
CN112345646A
Rapid quantitative ultrasonic detection device and method for horizontal joint defects of shear wall
CN113406211A