A waveform signal processing method, acquisition card and ultrasonic detection system

By configuring the peak extraction band tree in the acquisition card and flexibly configuring the total band, forward-looking band and detection band parameters, the real-time and accuracy problems of reflected signal processing in the existing technology are solved, and efficient and accurate peak extraction is achieved to adapt to the characteristics and detection needs of different waveform signals.

CN119959388BActive Publication Date: 2025-07-11QUEENTEST
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510451007.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-04-11
Publication Date
2025-07-11
Estimated Expiration
2045-04-11

AI Technical Summary

Technical Problem

The existing reflected signal processing technology has high algorithm complexity and high computational volume in non-destructive testing, making it difficult to meet real-time requirements and cannot extract peak information efficiently and accurately.

Method used

The peak extraction band tree is configured in the acquisition card, including the total band, forward-looking band and detection band parameters. The target waveform signal is processed by the acquisition card, the peak extraction range is determined, and the peak detection system is integrated at the bottom layer, and the band parameters are flexibly configured to adapt to the characteristics of different waveform signals, reduce noise interference, and improve real-time and accuracy.

Benefits of technology

It improves the response speed and accuracy of peak detection, meets the real-time requirements, adapts to the characteristics of different waveform signals and peak extraction requirements, and reduces data processing volume and interference impact.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119959388B_ABST
    Figure CN119959388B_ABST
Patent Text Reader

Abstract

The present application provides a waveform signal processing method, an acquisition card, and an ultrasonic detection system. The waveform signal processing method configures a peak extraction band tree in the acquisition card. The peak extraction band tree includes total band parameters of the total band, look-ahead band parameters of the look-ahead band, and detection band parameters of the detection band. The acquisition card acquires a target waveform signal in response to meeting the trigger acquisition condition. The acquisition card processes the target waveform signal based on the total band parameters, look-ahead band parameters, and detection band parameters in the peak extraction band tree to determine a peak extraction range that matches the distance of the detection band. The acquisition card processes the target signal band within the peak extraction range of the target waveform signal to determine the peak detection result of the target waveform signal. In this way, the acquisition card can quickly determine the peak extraction range and extract peak data, improving the real-time performance and accuracy of peak detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of signal processing, and more specifically, to a waveform signal processing method, an acquisition card, and an ultrasonic detection system. Background Art

[0002] With the rapid development of modern industry, traditional ultrasonic detection methods are difficult to meet the production and manufacturing requirements in some scenarios. Higher requirements are put forward for non-destructive testing technology in the structural health monitoring of equipment and the defect detection of workpieces. Among them, how to process the reflection signals in non-destructive testing technology and accurately and efficiently extract the peak information is a key issue. Existing reflection signal processing technologies are difficult to meet the real-time requirements due to high algorithm complexity and large computational volume. Summary of the Invention

[0003] In view of this, the purpose of the present application is to provide a waveform signal processing method, an acquisition card, and an ultrasonic detection system, which can improve the peak extraction speed and peak extraction accuracy of waveform signals.

[0004] A waveform signal processing method provided by an embodiment of the present application includes:

[0005] Configure a peak extraction band tree in the acquisition card; the peak extraction band tree includes the total band parameters of the total band, the look-ahead band parameters of the look-ahead band, and the detection band parameters of the detection band; select the target waveform length that needs peak extraction in the target waveform signal in the total band, and select the look-ahead band distance of the look-ahead band and the detection band distance of the detection band in the total band. The detection band is used to determine the waveform range for peak extraction in the waveform signal band corresponding to the total band; the look-ahead band is before the detection band;

[0006] The acquisition card responds to meeting the trigger acquisition condition and acquires the target waveform signal;

[0007] The acquisition card processes the target waveform signal based on the total band parameters, the look-ahead band parameters, and the detection band parameters in the peak extraction band tree, and determines the peak extraction range matching the detection band distance;

[0008] The acquisition card processes the target signal band within the peak extraction range of the target waveform signal to determine the peak detection result of the target waveform signal.

[0009] In some embodiments, in the waveform signal processing method, after determining the peak detection result of the target waveform signal, the method further includes:

[0010] The acquisition card reports the peak detection result and the target waveform signal to the host computer, so that the host computer visually displays the target waveform signal, and correspondingly displays the peak detection result, the total band identifier corresponding to the total band, the preview band identifier corresponding to the preview band, and the detection band identifier corresponding to the detection band at the position of the target waveform signal.

[0011] In some embodiments, in the waveform signal processing method, configuring a peak extraction band tree in the acquisition card includes:

[0012] Analyze the peak characteristics of the target waveform signal; the peak characteristics include peak position, number of peaks, and amplitude.

[0013] Based on the peak characteristics of the target waveform signal, determine the structure of the peak extraction band tree, and determine the parameters of the total band, preview band, and detection band in the structure.

[0014] In some embodiments, in the waveform signal processing method, based on the peak characteristics of the target waveform signal, determining the structure of the peak extraction band tree, and determining the parameters of the total band, preview band, and detection band in the structure, includes:

[0015] Based on the peak characteristics of the target waveform signal and the detection purpose, determine the target peaks to be extracted in the target waveform signal.

[0016] Based on the target waveform signal, determine the total band parameters of the total band, and determine the preview band parameters of the preview band and the detection band parameters of the detection band in the total band; wherein, each target peak to be extracted corresponds to a detection band, and the preview band corresponding to the detection band selects a length before the detection band.

[0017] In some embodiments, in the waveform signal processing method, determining the preview band parameters of the preview band and the detection band parameters of the detection band in the total band includes:

[0018] When there are multiple target peaks to be extracted in the target waveform signal, define multiple layers of preview bands in a nested manner.

[0019] Wherein, the next level of the bottom layer preview band defines a detection band, and each of the other preview bands corresponds to a detection band.

[0020] In some embodiments, in the waveform signal processing method, the target waveform signal is an acoustic wave signal returned after detecting the structure of the object to be measured; the peaks in the target waveform signal are generated based on the structure of the object to be measured.

[0021] In some embodiments, the waveform signal processing method further includes:

[0022] Configure a band tree processing state machine in the acquisition card, and the band tree processing state machine controls the acquisition card to execute the peak extraction band tree;

[0023] The band tree processing state machine includes an initial state, a total band state, a look-ahead band state, and a detection band state.

[0024] In some embodiments, in the waveform signal processing method, the band tree processing state machine controls the acquisition card to execute the peak extraction band tree, including:

[0025] When the acquisition card does not meet the trigger acquisition condition, the band tree processing state machine remains in the initial state;

[0026] When the acquisition card meets the trigger acquisition condition, the band tree processing state machine jumps to the total band state;

[0027] The acquisition card processes the total band state. When it is determined that there is a look-ahead band according to the total band parameters, the band tree processing state machine jumps to the look-ahead band state. When it is determined that there is a detection band, the band tree processing state machine directly jumps to the detection band state;

[0028] After the band tree processing state machine jumps to the look-ahead band state, the acquisition card processes the look-ahead band parameters and makes a judgment based on the state of the target waveform signal within the look-ahead band distance. If the next-level look-ahead band condition is met, it continues to enter the next-level look-ahead band processing. If the detection band condition is met, the band tree processing state machine jumps to the detection band state;

[0029] After the band tree processing state machine jumps to the detection band state, the acquisition card processes the target waveform signal, determines the peak detection result of the target waveform signal, and reports the peak detection result; when the peak detection result is extracted, the band tree processing state machine jumps back to the initial state and waits for the next trigger.

[0030] In some embodiments, in the waveform signal processing method, after the acquisition card acquires the target waveform signal, it performs filtering processing on the waveform signal to obtain the filtered target waveform signal.

[0031] In some embodiments, in the waveform signal processing method, the acquisition card includes a trigger module, a data acquisition module, and a peak extraction module. The peak extraction module includes a band tree module and a peak detection module;

[0032] The trigger module is used to generate a trigger start signal and an acquisition stop signal based on a pre-set trigger method;

[0033] The data acquisition module is used to acquire the target waveform signal based on the trigger start signal and the acquisition stop signal;

[0034] The band tree module in the peak extraction module is used to cache the configuration information of the peak extraction band tree sent by the host computer to the acquisition card, parse the configuration information of the peak extraction band tree, and configure the total band parameters of the total band, the preview band parameters of the preview band, and the detection band parameters of the detection band in the acquisition card;

[0035] The peak detection module in the peak extraction module processes the target waveform signal based on the total band parameters, the detection band parameters, and the preview band parameters in the band tree module to determine the peak detection result of the target waveform signal.

[0036] In some embodiments, an acquisition card is further provided, and the acquisition card executes the waveform signal processing method described above.

[0037] In some embodiments, an ultrasonic detection system is further provided. The ultrasonic detection system includes an acquisition card, an ultrasonic generator, an amplifier, a probe, and a host computer; the acquisition card is connected to the ultrasonic generator, the ultrasonic generator is connected to the amplifier and the probe, and the acquisition card is communicatively connected to the host computer;

[0038] The acquisition card executes the waveform signal processing method described above.

[0039] The embodiments of the present application provide a waveform signal processing method, an acquisition card, and an ultrasonic detection system. The waveform signal processing method configures a peak extraction band tree in the acquisition card. The peak extraction band tree includes the total band parameters of the total band, the look-ahead band parameters of the look-ahead band, and the detection band parameters of the detection band. In the total band, the target waveform length that needs peak extraction in the target waveform signal is selected, and the look-ahead band distance of the look-ahead band and the detection band distance of the detection band are selected in the total band. The detection band is used to determine the waveform range for peak extraction in the waveform signal band corresponding to the total band. The look-ahead band is before the detection band. The acquisition card responds to meeting the trigger acquisition condition and acquires the target waveform signal. The acquisition card processes the target waveform signal based on the total band parameters, look-ahead band parameters, and detection band parameters in the peak extraction band tree to determine the peak extraction range matching the detection band distance. The acquisition card processes the target signal band within the peak extraction range of the target waveform signal to determine the peak detection result of the target waveform signal. In this way, the user configures the parameters of the total band, look-ahead band, and detection band in the peak extraction band tree based on actual needs and detection purposes, flexibly adapting to the characteristics of different waveform signals and the requirements of peak extraction. The total band limits the target waveform length that needs peak extraction in the target waveform signal, reducing the influence of noise and interference on peak extraction. The look-ahead band accurately selects the peak extraction signal and prevents the detection band distance from exceeding the total band. The detection band accurately limits the range where the interested peaks are located in the target waveform signal, further reducing interference and reducing the amount of data processing, improving real-time performance. Therefore, by integrating the peak extraction band tree and the peak detection system into the bottom layer of the acquisition card, the acquisition card can quickly determine the peak extraction range and extract peak data, improving the response speed of peak detection and the real-time performance and accuracy of peak detection. Description of the Drawings

[0040] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present application and should not be regarded as limiting the scope. For those of ordinary skill in the art, other relevant drawings can be obtained based on these drawings without creative efforts.

[0041] Figure 1 Shows the flowchart of the waveform signal processing method described in the embodiments of the present application;

[0042] Figure 2 Shows the structural schematic diagram of the ultrasonic detection system described in the embodiments of the present application;

[0043] Figure 3 Shows the schematic diagram of the waveform signal processing method described in the embodiments of the present application;

[0044] Figure 4 Shows a schematic structural diagram of the peak extraction band tree described in the embodiments of the present application;

[0045] Figure 5 Shows a logic function module diagram of the acquisition card described in the embodiments of the present application;

[0046] Figure 6 Shows a schematic diagram of the states of the band tree processing state machine described in the embodiments of the present application. Detailed implementation manners

[0047] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. It should be understood that the accompanying drawings in the present application are only for the purposes of illustration and description, and are not used to limit the protection scope of the present application. In addition, it should be understood that the schematic drawings are not drawn to actual scale. The flowcharts used in the present application illustrate operations implemented according to some embodiments of the present application. It should be understood that the operations in the flowcharts may not be implemented in sequence, and steps without logical context relationships may be reversed in order or implemented simultaneously. In addition, those skilled in the art may add one or more other operations to the flowchart or remove one or more operations from the flowchart under the guidance of the content of the present application.

[0048] In addition, the described embodiments are only some embodiments of the present application, rather than all embodiments. The components of the embodiments of the present application usually described and illustrated in the accompanying drawings here may be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application claimed, but merely represents selected embodiments of the present application. All other embodiments obtained by those skilled in the art based on the embodiments of the present application without creative efforts fall within the protection scope of the present application.

[0049] It should be noted that the term "including" will be used in the embodiments of the present application to indicate the existence of the features stated thereafter, but does not exclude the addition of other features.

[0050] In recent years, ultrasonic reflection technology has been widely applied. In particular, ultrasonic non-destructive testing technology has become a research hotspot in the contemporary non-destructive testing field for the development towards quantitative non-destructive evaluation. Ultrasonic testing has developed extremely rapidly in aspects such as material property characterization, component quality inspection, and product performance evaluation. As the fastest-developing and most widely applied detection means in non-destructive testing technology, it is active in many fields such as aerospace, petrochemical, and mechanical manufacturing with advantages such as strong penetration, high sensitivity, and strong directivity.

[0051] With the rapid development of modern industry, the traditional ultrasonic detection method has been difficult to meet the production and manufacturing requirements in some scenarios. The structural health monitoring of equipment and the defect detection of workpieces have put forward higher requirements for non-destructive testing technology. Among them, how to process the reflection signals in non-destructive testing technology and accurately and efficiently extract the peak information is a key issue. The existing reflection signal processing technologies are difficult to meet the real-time requirements due to high algorithm complexity, large amount of calculation, etc.

[0052] Based on this, the embodiments of the present application provide a waveform signal processing method, an acquisition card and an ultrasonic detection system. The waveform signal processing method configures a peak extraction band tree in the acquisition card. The peak extraction band tree includes the total band parameters of the total band, the look-ahead band parameters of the look-ahead band and the detection band parameters of the detection band. In the total band, the target waveform length that needs peak extraction in the target waveform signal is selected, and the look-ahead band distance of the look-ahead band and the detection band distance of the detection band are selected in the total band. The detection band is used to determine the waveform range for peak extraction in the waveform signal band corresponding to the total band. The look-ahead band is before the detection band. The acquisition card responds to meeting the trigger acquisition condition and acquires the target waveform signal. The acquisition card processes the target waveform signal based on the total band parameters, look-ahead band parameters and detection band parameters in the peak extraction band tree, determines the peak extraction range matching the detection band distance. The acquisition card processes the target signal band within the peak extraction range of the target waveform signal to determine the peak detection result of the target waveform signal. In this way, the user configures the parameters of the total band, look-ahead band and detection band in the peak extraction band tree based on actual needs and detection purposes, flexibly adapting to the characteristics of different waveform signals and the requirements of peak extraction. The total band limits the target waveform length that needs peak extraction in the target waveform signal, reducing the influence of noise and interference on peak extraction. The look-ahead band accurately selects the peak extraction signal and prevents the detection band distance from exceeding the total band. The detection band accurately limits the range where the peaks of interest are located in the target waveform signal, further reducing interference and reducing the amount of data processing, improving real-time performance. Therefore, integrating the peak extraction band tree and the peak detection system into the bottom layer of the acquisition card, the acquisition card can quickly determine the peak extraction range and extract peak data, improving the response speed of peak detection and the real-time performance and accuracy of peak detection.

[0053] Please refer to Figure 1 , Figure 1 which shows the flowchart of the waveform signal processing method according to the embodiments of the present application. As Figure 1 shown, the waveform signal processing method includes the following steps S101-S104:

[0054] S101. Configure a peak extraction band tree in the acquisition card; the peak extraction band tree includes the total band parameters of the total band, the preview band parameters of the preview band, and the detection band parameters of the detection band; select the target waveform length that needs peak extraction in the target waveform signal in the total band, and select the preview band distance of the preview band and the detection band distance of the detection band in the total band. The detection band is used to determine the waveform range for peak extraction in the waveform signal band corresponding to the total band; the preview band is before the detection band.

[0055] S102. The acquisition card responds to meeting the trigger acquisition condition and acquires the target waveform signal.

[0056] S103. The acquisition card processes the target waveform signal based on the total band parameters, preview band parameters, and detection band parameters in the peak extraction band tree, and determines the peak extraction range that matches the detection band distance.

[0057] S104. The acquisition card processes the target signal band within the peak extraction range of the target waveform signal to determine the peak detection result of the target waveform signal.

[0058] In some embodiments, the target waveform signal is an acoustic wave signal returned after detecting the structure of the object to be measured; the peak in the target waveform signal is generated based on the structure of the object to be measured.

[0059] In some embodiments, the waveform signal processing method is applied to an ultrasonic detection system.

[0060] Please refer to Figure 2 , Figure 2 which shows a schematic structural diagram of the ultrasonic detection system; as Figure 2 shown, the ultrasonic detection system includes an acquisition card 201, an ultrasonic generator 202, an amplifier and a probe 203, and a host computer 204; the acquisition card 201 is connected to the ultrasonic generator 202, the ultrasonic generator 202 is connected to the amplifier and the probe 203, and the acquisition card 201 and the host computer 204 are communicatively connected.

[0061] The acquisition card includes a trigger module, a data acquisition module, and a peak extraction module. The peak extraction module includes a band tree module and a peak detection module.

[0062] The trigger module is used to generate a trigger start signal and an acquisition stop signal based on a pre-set trigger method.

[0063] The data acquisition module is used to acquire the target waveform signal based on the trigger start signal and the acquisition stop signal.

[0064] The band tree module in the peak extraction module is used to cache the configuration information of the peak extraction band tree sent from the host computer to the acquisition card, parse the configuration information of the peak extraction band tree, and configure the total band parameters of the total band, the preview band parameters of the preview band, and the detection band parameters of the detection band in the acquisition card;

[0065] The peak detection module in the peak extraction module processes the target waveform signal based on the total band parameters, detection band parameters, and preview band parameters in the band tree module to determine the peak detection result of the target waveform signal.

[0066] The modules in the acquisition card may have different models and attributes in different devices, but their functions of processing waveform signals are essentially the same; please refer to Figure 2 , the trigger module can be a pulse trigger module; the data acquisition module can be a high-speed data acquisition module, and the peak extraction module can be a peak extraction algorithm module.

[0067] That is to say, in some embodiments, specifically, the acquisition card includes a pulse trigger module, a high-speed data acquisition module, and a peak extraction algorithm module.

[0068] Combined with the ultrasonic detection module, specifically, first, the host computer configures the acquisition card parameters to control the operation of the overall system. The pulse trigger module of the acquisition card sends a pulse signal to the ultrasonic generator, and then it is converted into an acoustic wave signal through an amplifier and a probe to detect the object to be measured. The reflected acoustic wave signal of the object to be measured is converted into a reflected data signal through an amplifier and a probe, and then is converted into a digital signal by the high-speed data acquisition module of the acquisition card and enters the peak extraction algorithm module. Finally, the peak result and the reflected signal are simultaneously transmitted to the host computer for display.

[0069] Please refer to Figure 3 , Figure 3 shows a schematic diagram of the waveform signal processing method described in the embodiments of the present application.

[0070] Configure a peak extraction band tree in the acquisition card, and the peak extraction band tree includes a total band, a preview band, and a detection band.

[0071] The total band defines the start time and length of the acquisition; even if other data bands have acquisition results, the total band must always be defined and is always the root of the band tree.

[0072] The preview band is used to detect whether the signal exceeds the threshold, and the rising edge or falling edge can be programmably set. At the same time, the start time, threshold, preview band distance, and other parameters of the preview band can also be programmably set.

[0073] The detection band: used to set the start time and acquisition range of data acquisition, and complete the acquisition of signal peaks within the defined range; the threshold and data band distance of the detection band are programmable, but the start time of the detection band is affected by the preview band. When there is no threshold intersection between the signal and the preview band, the start time of the detection band maintains a fixed interval with the start time of the preview band, and this interval is programmable; when there is a threshold intersection between the signal and the preview band, the start time of the detection band maintains a fixed interval (programmable) with this intersection point.

[0074] That is to say, the total band parameters of the total band include the total band distance and the zero position of the total band; the preview band parameters of the preview band include the preview band distance, the zero position of the preview band, and the preview band threshold; the detection band parameters of the detection band include the detection band distance, the zero position of the detection band, and the detection band threshold.

[0075] The acquisition card intercepts a length from the waveform signal that requires peak extraction, and stipulates that the starting position is the 0 point. The length of a section selected for the acquisition card algorithm processing in this section is called the total band distance, and the distance from the 0 point to the starting position of the total band distance is called the zero position of the total band.

[0076] The length selected for peak extraction within the total band distance is called the detection band distance, which is also the entire range of peak extraction. Through the peak extraction algorithm processing of the detection band, the peak result is finally obtained.

[0077] In order to accurately select the signal for peak extraction and prevent the detection band distance from exceeding the total band, the zero position of the detection band is limited by adding a preview band to achieve this purpose. The preview band is generally selected as a length before the detection band, called the preview band distance. The distance from the 0 point to the starting position of the preview band distance is called the zero position of the preview band, and the preview band distance is also within the total band distance.

[0078] When there is no threshold intersection between the preview band and the signal, the distance from the starting position of the preview band to the starting position of the detection band is called the zero position of the detection band; when there is a threshold intersection between the preview band and the signal, the distance from the intersection point to the starting position of the detection band is called the zero position of the detection band.

[0079] The preview band and the detection band need to set corresponding thresholds to prevent the preview band and the detection band from exceeding the amplitude range of the reflected signal.

[0080] In some embodiments, the total band parameters of the total band, the preview band parameters of the preview band, and the detection band parameters of the detection band are uniformly configured by the host computer.

[0081] For example only, the total band distance is configured as 70000 ns, the total band zero position is configured as 1000 ns, the look-ahead band distance is configured as 10000 ns, the look-ahead band zero position is configured as 3000 ns, the look-ahead band threshold is configured as 2000 ns, the detection band distance is configured as 10000 ns, the detection band zero position is configured as 9000 ns, and the detection band threshold is configured as 4000 ns; wherein, the look-ahead band threshold and the detection band threshold are the level values after quantization according to the amplitude value range of the waveform signal collected by the acquisition module.

[0082] Please refer to Figure 4 , Figure 4 which shows a schematic structural diagram of the peak extraction band tree described in the embodiments of the present application; as Figure 4 shown, there are multiple nested look-ahead bands 403 in the band tree; the total band 401 is the root of the tree and there is only one; the detection band 402 is the bottom layer of the band tree and there is no other detection band 402 following it.

[0083] Configuring the peak extraction band tree in the acquisition card includes:

[0084] Analyzing the peak characteristics of the target waveform signal; the peak characteristics include peak position, number of peaks, and amplitude;

[0085] Based on the peak characteristics of the target waveform signal, determining the structure of the peak extraction band tree, and determining the parameters of the total band, look-ahead band, and detection band in the structure.

[0086] Based on the peak characteristics of the target waveform signal, determining the structure of the peak extraction band tree, and determining the parameters of the total band, look-ahead band, and detection band in the structure, including:

[0087] Based on the peak characteristics of the target waveform signal and the detection purpose, determining the target peaks to be extracted in the target waveform signal;

[0088] Based on the target waveform signal, determining the total band parameters of the total band, and determining the look-ahead band parameters of the look-ahead band and the detection band parameters of the detection band in the total band, wherein each target peak to be extracted corresponds to a detection band, and the look-ahead band corresponding to the detection band selects a section of length before the detection band.

[0089] Please refer to Figure 4 which shows that determining the look-ahead band parameters of the look-ahead band 403 and the detection band parameters of the detection band 402 in the total band 401 includes:

[0090] When there are multiple target peaks to be extracted in the target waveform signal, defining multiple layers of look-ahead bands 403 in a nested manner;

[0091] Among them, the next level of the bottommost forward-looking band 403 defines a detection band 402, and each of the other forward-looking bands 403 corresponds to a detection band 402.

[0092] In addition, for different items to be measured, the interval distances between the peaks are also different. Therefore, the interval between the detection band and the forward-looking band is required to be programmable and adjustable.

[0093] In the step S102, the acquisition card acquires the target waveform signal in response to meeting the trigger acquisition condition.

[0094] Here, the trigger acquisition condition can be external trigger, auto trigger, encoder trigger, etc.

[0095] After the acquisition card acquires the target waveform signal, it performs filtering processing on the waveform signal to obtain the filtered target waveform signal.

[0096] Filtering is used to remove the noise and interference components in the signal. The filter built in the acquisition card can select appropriate filter types and parameters according to the characteristics of the signal and the acquisition requirements to preprocess the original signal.

[0097] In the step 201, the acquisition card processes the target signal band within the peak extraction range of the target waveform signal to determine the peak detection result of the target waveform signal.

[0098] Please refer to Figure 3 , the peak detection result includes the amplitude and position of the peak.

[0099] In some embodiments, other parameters such as the duration of the peak and the intersection time of the detection band are also included.

[0100] The acquisition card processes the target signal band within the peak extraction range of the target waveform signal to determine the peak detection result of the target waveform signal.

[0101] Exemplarily, the original waveform sampling segment is divided into several groups, and the maximum and minimum values of each group are respectively compared as the extraction points, and the peak is determined based on continuous comparison and calculation.

[0102] In some embodiments, in the waveform signal processing method, after determining the peak detection result of the target waveform signal, the method further includes:

[0103] The acquisition card reports the peak detection result and the target waveform signal to the host computer, so that the host computer visually displays the target waveform signal, and correspondingly displays the peak detection result, the total band identifier corresponding to the total band, the forward-looking band identifier corresponding to the forward-looking band, and the detection band identifier corresponding to the detection band at the position of the target waveform signal.

[0104] In the embodiment of the present application, to improve the response speed, the peak detection function is integrated into the bottom layer of the acquisition card; the acquisition card can be an FPGA (Field Programmable Gate Array); please refer to Figure 5 , Figure 5 which shows the logic function module diagram of the acquisition card described in the embodiment of the present application.

[0105] Specifically, the functions of the modules in the FPGA logic module are as follows:

[0106] The analog-to-digital converter is used for sampling analog waveform signals, and the waveform signals are transmitted to the FPGA through the JESD204B interface. The analog-to-digital converter is the ADC module. Exemplarily, an ADC module with the model number AD9680 can be used.

[0107] The PCIe intf module, which is an optional host interface module: this module is used to send the acquired signal waveform to the host computer; send the peak detection information to the host computer; at the same time, this module serves as the operation control interface module of the host computer for the internal registers of the FPGA, and converts the messages or register configurations sent by the host computer to the FPGA into the local bus timing; The Localbus bus serves as the control interface bus for each module of the FPGA to realize the read and write operations of the registers of each module, and thus realize the operation control of the module.

[0108] JESD204B, which is an optional interface module inside the acquisition card, specifically the JESD204B interface module inside the FPGA, is used for receiving and processing the 1GSPS waveform signals transmitted by the AD9680 to the FPGA, restoring the real signals, and the output sampling signal transmission format is: 14-bit signed number, 250MHz clock, 4 parallel samples.

[0109] The Trig proc module, which is the trigger module: is used for processing the trigger mode, and the trigger sources are: external trigger signals including coded trigger, A+ B+ band threshold trigger, and internal automatic trigger, etc.

[0110] The Acq ctrl module, which is the trigger control module, generates corresponding trigger start signals and acquisition stop signals according to the trigger mode.

[0111] The Mem ctrl module, i.e., the data flow control module: It is controlled by the acq ctrl module and the local bus. When the trigger condition is met, this module stores the sampling data at 1 GSPS into the memory external to the FPGA (such as DDR3 memory). Controlled by the local bus, it decides whether to read out the sampling data for trigger acquisition from the external DDR3 memory of the FPGA. Additionally, this module sends the sampling data stream to the filter module and the peak detection module for subsequent sampling data analysis and processing.

[0112] DDR3 memory, i.e., an optional memory: QT7010B has two groups of DDR3 memory chips externally attached, with 4 DDR3 chips in each group, and the capacity of each chip is 4 Gbit (256 Mx16 bit). It is used for caching the sampling data that meets the trigger condition.

[0113] The LPF low-pass filter, i.e., an optional low-pass filtering module: This module is controlled by the local bus and can be configured as bypass. When configured as bypass, the sampling signal passes through this module directly without low-pass filtering. When the low-pass filtering function is required, the sampling signal passes through a first-order low-pass filter, and the filter coefficients can be reconfigured; this filter is a single-rate filter with an unchanged sampling rate.

[0114] The Wave tree module, i.e., the band tree module: This module is used to cache the band tree configuration messages sent by the host computer, parse the band tree information, separate the total band, look-ahead band, and detection band, and extract the specific parameters of the band tree data at each level. There may be multiple levels of look-ahead bands, and the maximum number of levels / layers of the band tree needs to be determined. The band tree parameters are used by the Peak detector module.

[0115] The Peak detector module, i.e., the peak detection module: This module is used to implement the processing of the band tree messages. According to the peak detection requirements of the data in the detection band, it obtains the peak detection acquisition information and writes the acquisition information into the blk ram. This module is planned to use a band tree processing state machine to perform tracking processing on the multi-level band tree; the band tree parameters are configured by the host computer through the PCIe interface via the local bus.

[0116] The functions of waveform signal filtering and peak detection inside the FPGA are implemented by Figure 5 the LPF low-pass filter, the Wavetree module, and the Peak detector module in

[0117] Based on this, in some embodiments, the waveform signal processing method is executed in sequence according to the following steps.

[0118] Parameter Configuration: The host computer specifically configures the working parameters, including: whether the filter is bypassed. If the filter is enabled, configure the filter cut-off frequency parameter; configure the band tree, and configure the total band / forward-looking band / detection band parameters; configure the trigger parameters, including trigger mode selection, trigger band threshold, etc.; Start signal processing: Enable the low-pass filtering and peak detection module.

[0119] Waiting for Trigger: According to the trigger mode, when the trigger condition is met (reaching the trigger band threshold or automatic trigger), store the ADC sampling data in the DDR3 or send it to the algorithm processing module; and clear the global variables. The global variables include: time counter, peak detection information, etc.

[0120] Trigger Start: The time counter starts counting; the ADC sampling points are set to the valid state.

[0121] Filtering: For the valid ADC sampling points (the sampling data of the ADC after the trigger condition is met), send them to the LPF or BPF. According to the configuration of the host computer, decide whether to start the filtering function. If the filtering function is turned off, the ADC sampling data directly passes through the filtering function module; if the filtering function is enabled, the ADC sampling points are output after being processed by the filter; the host computer controls whether to enable the filtering function.

[0122] Peak Detection: Configure a band tree processing state machine in the acquisition card, and the band tree processing state machine controls the acquisition card to execute the peak extraction band tree;

[0123] The band tree processing state machine includes an initial state, a total band state, a forward-looking band state, and a detection band state.

[0124] The band tree processing state machine controls the acquisition card to execute the peak extraction band tree, including:

[0125] When the acquisition card does not meet the trigger acquisition condition, the band tree processing state machine remains in the initial state;

[0126] When the acquisition card meets the trigger acquisition condition, the band tree processing state machine jumps to the total band state;

[0127] The acquisition card processes the total band state. When it is determined that there is a forward-looking band according to the total band parameters, the band tree processing state machine jumps to the forward-looking band state, and when it is determined that there is a detection band, the band tree processing state machine directly jumps to the detection band state;

[0128] After the band tree processing state machine jumps to the look-ahead band state, the acquisition card processes the look-ahead band parameters and makes a judgment based on the state of the target waveform signal within the look-ahead band distance. If the conditions for the next-level look-ahead band are met, it continues to enter the next-level look-ahead band processing. If the conditions for the detection band are met, the band tree processing state machine jumps to the detection band state;

[0129] After the band tree processing state machine jumps to the detection band state, the acquisition card processes the target waveform signal, determines the peak detection result of the target waveform signal, and reports the peak detection result; when the extraction of the peak detection result is completed, the band tree processing state machine jumps back to the initial state and waits for the next trigger.

[0130] Please refer to Figure 6 , specifically, the band tree processing state machine includes an initial state, a total band state, a look-ahead band state, and a detection band state.

[0131] Initial state: When the acquisition trigger condition is not met, the state machine is in the initial state. When the trigger condition is met, the state machine jumps from the initial state to the total band state; when the peak parameters are extracted according to the detection band, the state machine jumps from the detection band state to the initial state.

[0132] Total band state: This state is used to process the total band parameters. When the trigger condition is met, the state machine jumps from the initial state to the total band state. The global time counter starts to accumulate and count after the trigger condition is reached; when the time counter reaches the start time parameter of the total band, it is judged whether there is a look-ahead band in the band tree parameters. If there is a look-ahead band, it jumps from this state to the look-ahead band state; if there is only a detection band in the band tree parameters, it directly enters the detection band state.

[0133] Look-ahead band state: This state is used to process the look-ahead band parameters, including parameters such as the start time, threshold, rising edge or falling edge, and look-ahead band distance of the look-ahead band. This state is used to detect whether the sampled signal exceeds the threshold, can accurately select the peak extraction signal and prevent the detection band distance from exceeding the total band, and is programmable; when the global counter reaches the start time of the first-level look-ahead band, it starts to judge whether there is a corresponding rising or falling edge within the look-ahead band distance of the sampled signal, and whether the sampled data exceeds the threshold; if within the total band distance time, the conditions of the look-ahead band parameters configured by the host computer are met, it is judged whether to enter the second-level look-ahead band. If there is a second-level look-ahead band, it enters the look-ahead band state again, updates the look-ahead band parameters, and starts to judge the sampled data conditions within the second-level look-ahead band parameters (when there are multiple levels of look-ahead bands, it loops into the look-ahead band state). If there is no second-level look-ahead band, it enters the detection band state.

[0134] Detection Band State: This state is used for the judgment and processing of detection band parameters, extracting peak acquisition data parameters, and forming a peak detection reporting message. It jumps into the detection band state from the total band state or the preview band state.

[0135] Based on the start time and acquisition range of data acquisition in the detection band parameters, this state completes the acquisition of signal peaks within the defined range; the threshold and distance of the detection band can be programmatically set, but the start time of the detection band is affected by the preview band. When there is no threshold intersection between the signal and the preview band, the start time of the detection band maintains a fixed interval with the start time of the preview band, and this interval can be programmatically set; when there is a threshold intersection between the signal and the preview band, the start time of the detection band maintains a fixed interval (programmatically set) with this intersection.

[0136] After the parameters of the peak signal are extracted, peak detection message parameters are formed for subsequent reporting to the host computer; the state machine enters the initial state and waits for the next band tree processing.

[0137] Based on the same inventive concept, an acquisition card corresponding to the waveform signal processing method is also provided in the embodiments of the present application. Since the principle of solving problems by the acquisition card in the embodiments of the present application is similar to the above waveform signal processing method in the embodiments of the present application, the implementation of the acquisition card can refer to the implementation of the method, and the repeated parts will not be elaborated.

[0138] In some embodiments, an acquisition card is provided. The acquisition card executes the above-mentioned waveform signal processing method. Specifically, a peak extraction band tree is configured in the acquisition card; the peak extraction band tree includes the total band parameters of the total band, the preview band parameters of the preview band, and the detection band parameters of the detection band; the target waveform length that needs peak extraction in the target waveform signal is selected in the total band, and the preview band distance of the preview band and the detection band distance of the detection band are selected in the total band. The detection band is used to determine the waveform range for peak extraction in the waveform signal band corresponding to the total band; the preview band is before the detection band.

[0139] The acquisition card acquires the target waveform signal in response to meeting the trigger acquisition condition.

[0140] The acquisition card processes the target waveform signal based on the total band parameters, preview band parameters, and detection band parameters in the peak extraction band tree, and determines the peak extraction range that matches the detection band distance.

[0141] The acquisition card processes the target signal band within the peak extraction range of the target waveform signal and determines the peak detection result of the target waveform signal.

[0142] In some embodiments, after the acquisition card executes the peak detection of the target waveform signal, the following steps are further executed:

[0143] The acquisition card reports the peak detection result and the target waveform signal to the host computer, so that the host computer visually displays the target waveform signal, and correspondingly displays the peak detection result, the total band identifier corresponding to the total band, the preview band identifier corresponding to the preview band, and the detection band identifier corresponding to the detection band at the position of the target waveform signal.

[0144] In some embodiments, when the acquisition card executes the step of configuring the peak extraction band tree in the acquisition card, the following steps are specifically executed:

[0145] Analyze the peak characteristics of the target waveform signal; the peak characteristics include peak position, peak number, and amplitude;

[0146] Based on the peak characteristics of the target waveform signal, determine the structure of the peak extraction band tree, and determine the parameters of the total band, preview band, and detection band in the structure.

[0147] In some embodiments, when the acquisition card executes the step of determining the structure of the peak extraction band tree based on the peak characteristics of the target waveform signal, and determining the parameters of the total band, preview band, and detection band in the structure, the following steps are specifically executed:

[0148] Based on the peak characteristics of the target waveform signal and the detection purpose, determine the target peaks to be extracted in the target waveform signal;

[0149] Based on the target waveform signal, determine the total band parameters of the total band, and determine the preview band parameters of the preview band and the detection band parameters of the detection band in the total band; wherein, each target peak to be extracted corresponds to a detection band, and the preview band corresponding to the detection band selects a length before the detection band.

[0150] In some embodiments, when the acquisition card executes the step of determining the preview band parameters of the preview band and the detection band parameters of the detection band in the total band, the following steps are specifically executed:

[0151] When there are multiple target peaks to be extracted in the target waveform signal, define multiple layers of preview bands in a nested manner;

[0152] Among them, the next level of the bottom layer preview band defines a detection band, and the other preview bands respectively correspond to a detection band.

[0153] In some embodiments, the target waveform signal is an acoustic wave signal returned after detecting the structure of the object to be measured; the peak value in the target waveform signal is generated based on the structure of the object to be measured.

[0154] In some embodiments, the acquisition card further performs the following steps:

[0155] Configure a band tree processing state machine in the acquisition card, and the band tree processing state machine controls the acquisition card to execute the peak extraction band tree;

[0156] The band tree processing state machine includes an initial state, a total band state, a look-ahead band state, and a detection band state.

[0157] In some embodiments, when the acquisition card executes the peak extraction band tree controlled by the band tree processing state machine, it specifically performs the following steps:

[0158] When the acquisition card does not meet the trigger acquisition condition, the band tree processing state machine remains in the initial state;

[0159] When the acquisition card meets the trigger acquisition condition, the band tree processing state machine jumps to the total band state;

[0160] The acquisition card processes the total band state. When it is determined that there is a look-ahead band according to the total band parameters, the band tree processing state machine jumps to the look-ahead band state. When it is determined that there is a detection band, the band tree processing state machine directly jumps to the detection band state;

[0161] After the band tree processing state machine jumps to the look-ahead band state, the acquisition card processes the look-ahead band parameters and makes a judgment based on the state of the target waveform signal within the look-ahead band distance. If the next-level look-ahead band condition is met, it continues to enter the next-level look-ahead band processing. If the detection band condition is met, the band tree processing state machine jumps to the detection band state;

[0162] After the band tree processing state machine jumps to the detection band state, the acquisition card processes the target waveform signal, determines the peak detection result of the target waveform signal, and reports the peak detection result; when the peak detection result is extracted, the band tree processing state machine jumps back to the initial state and waits for the next trigger.

[0163] In some embodiments, after the acquisition card acquires the target waveform signal, it also performs filtering processing on the waveform signal to obtain the filtered target waveform signal.

[0164] In some embodiments, the acquisition card includes a trigger module, a data acquisition module, and a peak extraction module, and the peak extraction module includes a band tree module and a peak detection module;

[0165] The triggering module is used to generate a trigger start signal and an acquisition stop signal based on a preset triggering method;

[0166] The data acquisition module is used to acquire a target waveform signal based on the trigger start signal and the acquisition stop signal;

[0167] The band tree module in the peak extraction module is used to cache the configuration information of the peak extraction band tree sent by the host computer to the acquisition card, parse the configuration information of the peak extraction band tree, and configure the total band parameters of the total band, the preview band parameters of the preview band, and the detection band parameters of the detection band in the acquisition card;

[0168] The peak detection module in the peak extraction module processes the target waveform signal based on the total band parameters, the detection band parameters, and the preview band parameters in the band tree module, and determines the peak detection result of the target waveform signal.

[0169] Based on the same inventive concept, an ultrasonic detection system corresponding to the waveform signal processing method is further provided in the embodiments of the present application. Since the principle of solving problems by the ultrasonic detection system in the embodiments of the present application is similar to the above waveform signal processing method in the embodiments of the present application, the implementation of the ultrasonic detection system can refer to the implementation of the method, and the repeated parts will not be described again.

[0170] In some embodiments, an ultrasonic detection system is further provided. The ultrasonic detection system includes an acquisition card, an ultrasonic generator, an amplifier, a probe, and a host computer; the acquisition card is connected to the ultrasonic generator, the ultrasonic generator is connected to the amplifier and the probe, and the acquisition card is communicatively connected to the host computer;

[0171] The acquisition card executes the waveform signal processing method described in the embodiments of the present application.

[0172] Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the above-described systems and devices can refer to the corresponding processes in the method embodiments, which will not be described in detail in the present application. In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of the modules is only a logical function division, and there can be other division methods in actual implementation. For another example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point, the displayed or discussed couplings or direct couplings or communication connections to each other can be through some communication interfaces, and the indirect couplings or communication connections of the devices or modules can be in electrical, mechanical, or other forms.

[0173] The module described as a separation component may or may not be physically separated. The component shown as a module may or may not be a physical unit, that is, it may be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0174] In addition, each functional unit in various embodiments of the present application may be integrated in a processing unit, may exist independently physically for each unit, or two or more units may be integrated in one unit.

[0175] If the described function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art or a part of this technical solution can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a platform server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present application. The aforementioned storage medium includes: USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical discs and other various media that can store program codes.

[0176] The above is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of changes or substitutions, which should all be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A waveform signal processing method, characterized in that, The method includes: Configuring a peak extraction band tree in the acquisition card; the peak extraction band tree includes the total band parameters of the total band, the look-ahead band parameters of the look-ahead band, and the detection band parameters of the detection band; selecting the target waveform length that requires peak extraction in the target waveform signal in the total band, as well as selecting the look-ahead band distance of the look-ahead band and the detection band distance of the detection band in the total band, where the detection band is used to determine the waveform range for peak extraction in the waveform signal band corresponding to the total band; the look-ahead band is before the detection band; the look-ahead band is used to detect whether the signal exceeds the threshold; the detection band: is used to set the start time and acquisition range of data acquisition, and complete the acquisition of signal peaks within the defined range; The acquisition card acquires the target waveform signal in response to meeting the trigger acquisition condition; The acquisition card processes the target waveform signal based on the total band parameters, look-ahead band parameters, and detection band parameters in the peak extraction band tree to determine the peak extraction range matching the detection band distance; The acquisition card processes the target signal band within the peak extraction range of the target waveform signal to determine the peak detection result of the target waveform signal; The configuring the peak extraction band tree in the acquisition card includes: Analyzing the peak characteristics of the target waveform signal; the peak characteristics include peak position, number of peaks, and amplitude; Based on the peak characteristics of the target waveform signal and the detection purpose, determining the target peaks to be extracted in the target waveform signal; Based on the target waveform signal, determining the total band parameters of the total band, and determining the look-ahead band parameters of the look-ahead band and the detection band parameters of the detection band in the total band; where each target peak to be extracted corresponds to a detection band, and the look-ahead band corresponding to the detection band selects a length before the detection band.

2. The waveform signal processing method according to claim 1, wherein After determining the peak detection result of the target waveform signal, the method further includes: The acquisition card reports the peak detection result and the target waveform signal to the host computer, so that the host computer visually displays the target waveform signal, and correspondingly displays the peak detection result, as well as the total band identifier corresponding to the total band, the look-ahead band identifier corresponding to the look-ahead band, and the detection band identifier corresponding to the detection band at the position of the target waveform signal.

3. The waveform signal processing method according to claim 1, characterized in that, The determining the look-ahead band parameters of the look-ahead band and the detection band parameters of the detection band in the total band includes: When there are multiple target peaks to be extracted in the target waveform signal, defining multiple layers of look-ahead bands in a nested manner; Wherein, the next level of the bottom layer look-ahead band defines a detection band, and the other look-ahead bands each correspond to a detection band.

4. The waveform signal processing method according to claim 1, wherein The target waveform signal is an acoustic wave signal returned after detecting the internal structure of the object to be measured; the peaks in the target waveform signal are generated based on the structure of the object to be measured.

5. The waveform signal processing method according to claim 1, characterized in that The method further includes: Configuring a band tree processing state machine in the acquisition card, and the band tree processing state machine controls the acquisition card to execute the peak extraction band tree; The band tree processing state machine includes an initial state, a total band state, a look-ahead band state, and a detection band state.

6. The waveform signal processing method according to claim 5, wherein The band tree processing state machine controls the acquisition card to execute the peak extraction band tree, including: When the acquisition card does not meet the trigger acquisition condition, the band tree processing state machine remains in the initial state; When the acquisition card meets the trigger acquisition condition, the band tree processing state machine jumps to the total band state; The acquisition card processes the total band state. When it is determined that there is a look-ahead band according to the total band parameters, the band tree processing state machine jumps to the look-ahead band state. When it is determined that there is a detection band, the band tree processing state machine directly jumps to the detection band state; After the band tree processing state machine jumps to the look-ahead band state, the acquisition card processes the look-ahead band parameters and makes a judgment based on the state of the target waveform signal within the look-ahead band distance. If the next-level look-ahead band condition is met, it continues to enter the next-level look-ahead band processing. If the detection band condition is met, the band tree processing state machine jumps to the detection band state; After the band tree processing state machine jumps to the detection band state, the acquisition card processes the target waveform signal, determines the peak detection result of the target waveform signal, and reports the peak detection result; after the peak detection result is extracted, the band tree processing state machine jumps back to the initial state and waits for the next trigger.

7. The waveform signal processing method according to claim 1, wherein After the acquisition card acquires the target waveform signal, it performs filtering processing on the waveform signal to obtain the filtered target waveform signal.

8. The waveform signal processing method according to claim 1, characterized in that, The acquisition card includes a trigger module, a data acquisition module, and a peak extraction module. The peak extraction module includes a band tree module and a peak detection module; The trigger module is used to generate a trigger start signal and an acquisition stop signal based on a pre-set trigger mode; The data acquisition module is used to acquire the target waveform signal based on the trigger start signal and the acquisition stop signal; The band tree module in the peak extraction module is used to cache the configuration information of the peak extraction band tree sent by the upper computer to the acquisition card, parse the configuration information of the peak extraction band tree, and configure the total band parameters of the total band, the look-ahead band parameters of the look-ahead band, and the detection band parameters of the detection band in the acquisition card; The peak detection module in the peak extraction module processes the target waveform signal based on the total band parameters, detection band parameters, and look-ahead band parameters in the band tree module to determine the peak detection result of the target waveform signal.

9. A capture card, characterized in that, The acquisition card executes the waveform signal processing method according to any one of claims 1-8.

10. An ultrasonic detection system, characterized in that, The ultrasonic detection system includes an acquisition card, an ultrasonic generator, an amplifier, a probe, and an upper computer; the acquisition card is connected to the ultrasonic generator, the ultrasonic generator is connected to the amplifier and the probe, and the acquisition card is communicatively connected to the upper computer; The acquisition card executes the waveform signal processing method according to any one of claims 1-8.

Citation Information

Patent Citations

  • Time of flight and code signature detection for coded ultrasonic transmission

    US20190339386A1

  • Object recognition system and method using ultrasonic sensor

    US20210166415A1