[go: up one dir, main page]

CN103487511B - Dynamic multi streaming channel ultrasonic signal processing method - Google Patents

Dynamic multi streaming channel ultrasonic signal processing method Download PDF

Info

Publication number
CN103487511B
CN103487511B CN201310162733.0A CN201310162733A CN103487511B CN 103487511 B CN103487511 B CN 103487511B CN 201310162733 A CN201310162733 A CN 201310162733A CN 103487511 B CN103487511 B CN 103487511B
Authority
CN
China
Prior art keywords
signal
ultrasonic
queue
thread
adopts
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201310162733.0A
Other languages
Chinese (zh)
Other versions
CN103487511A (en
Inventor
邹诚
孙振国
陈强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tsinghua University
Original Assignee
Tsinghua University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tsinghua University filed Critical Tsinghua University
Priority to CN201310162733.0A priority Critical patent/CN103487511B/en
Publication of CN103487511A publication Critical patent/CN103487511A/en
Application granted granted Critical
Publication of CN103487511B publication Critical patent/CN103487511B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Investigating Or Analyzing Materials By The Use Of Ultrasonic Waves (AREA)

Abstract

动态多线程多通道超声信号处理装置及处理方法,属于超声波自动探伤技术领域。本发明所述处理装置包括控制器单元、超声收发单元和超声探头单元。该发明采用多线程的处理方式,实现了动态完成多通道超声探头的信号触发与采集、噪声抑制及缺陷分析,利用本发明装置及处理方法,对不同的处理过程和处理线程均采用独立的线程,利用多线程处理器的多线程运算优势,同时对多个超声通道的超声信号进行数据采集、处理与分析,共享处理器及内存资源,保护数据不发生冲突,采用指针形式的内存管理方式,减少内存移动数据的时间,从而改进超声信号的数据采集、处理与分析的效率,提高超声信号装置的重复发射接收频率,提高超声自动探伤装置的可靠性。

The invention relates to a dynamic multi-thread multi-channel ultrasonic signal processing device and a processing method, which belong to the technical field of ultrasonic automatic flaw detection. The processing device of the present invention includes a controller unit, an ultrasonic transceiver unit and an ultrasonic probe unit. The invention adopts a multi-threaded processing method to realize the dynamic completion of signal triggering and acquisition, noise suppression and defect analysis of multi-channel ultrasonic probes. Using the device and processing method of the present invention, independent threads are used for different processing processes and processing threads , using the advantages of multi-threaded computing of multi-threaded processors, simultaneously collects, processes and analyzes the ultrasonic signals of multiple ultrasonic channels, shares processor and memory resources, protects data from conflicts, and adopts a memory management method in the form of pointers. Reduce the time for moving data in the memory, thereby improving the efficiency of data collection, processing and analysis of ultrasonic signals, increasing the frequency of repeated transmission and reception of ultrasonic signal devices, and improving the reliability of ultrasonic automatic flaw detection devices.

Description

动态多线程多通道超声信号处理方法Dynamic multi-thread multi-channel ultrasonic signal processing method

技术领域 technical field

本发明属于超声波自动探伤技术领域,特别涉及一种动态多线程多通道超声信号处理装置及处理方法。 The invention belongs to the technical field of ultrasonic automatic flaw detection, and in particular relates to a dynamic multi-thread and multi-channel ultrasonic signal processing device and processing method.

背景技术 Background technique

超声检测在无损检测技术领域具有广泛的应用,随着计算机系统的高速发展及信号处理方法的不断改进,超声自动探伤系统得到了广泛的应用,超声自动探伤过程,包括:自动运行控制检测机构带动超声探头进行扫查运动、自动发射超声波、自动检测超声回波信号、并进行超声信号的滤波、分析及缺陷分析。以上超声自动探伤过程,都需要计算机系统具有较快的运行效率,以便提高扫查过程中的超声重复发射接收频率。 Ultrasonic testing has a wide range of applications in the field of non-destructive testing technology. With the rapid development of computer systems and the continuous improvement of signal processing methods, ultrasonic automatic flaw detection systems have been widely used. The process of ultrasonic automatic flaw detection includes: automatic operation control The detection mechanism drives The ultrasonic probe performs scanning motion, automatically emits ultrasonic waves, automatically detects ultrasonic echo signals, and performs filtering, analysis and defect analysis of ultrasonic signals. The above-mentioned ultrasonic automatic flaw detection process requires the computer system to have a faster operating efficiency in order to increase the frequency of ultrasonic repeated transmission and reception during the scanning process.

已有超声信号的数据处理过程,从信号的采集、信号的处理到信号的分析,采用的是顺序执行,单线程方式,需要等待所有数据处理过程完成之后才能进入下一个超声波发射,超声信号回波采集—滤波—分析的数据自动处理过程,当采样频率较高时,对于多通道数据同时处理时,就容易出现延时等待的问题,降低了数据重复采集、处理和分析的频率,特别是在超声探伤过程中,超声的发射接收重复频率是至关重要的一项指标,若超声发射接收的重复频率低,就容易导致漏探的现象出现,低效率的超声信号采集与处理装置及方法会降低探伤工作的工作效率、准确性和可靠性,对于探伤结构和零件的安全性造成一定的影响。 The existing ultrasonic signal data processing process, from signal acquisition, signal processing to signal analysis, adopts sequential execution and single-threaded mode. It is necessary to wait for all data processing processes to be completed before entering the next ultrasonic transmission. The ultrasonic signal returns Wave acquisition-filtering-analysis data automatic processing process, when the sampling frequency is high, when processing multi-channel data at the same time, it is easy to have the problem of delay waiting, which reduces the frequency of repeated data acquisition, processing and analysis, especially In the process of ultrasonic flaw detection, the repetition frequency of ultrasonic transmission and reception is a crucial index. If the repetition frequency of ultrasonic transmission and reception is low, it will easily lead to the phenomenon of missed detection. Low-efficiency ultrasonic signal acquisition and processing devices and methods It will reduce the efficiency, accuracy and reliability of flaw detection work, and have a certain impact on the safety of flaw detection structures and parts.

发明内容 Contents of the invention

本发明的目的是为克服已有技术的不足之处,针对多个超声波探伤通道,实现实时发射超声波,采集超声信号,同时处理与分析不同通道的超声信号,提高超声波发射与回波信号采集的重复频率,提出一种基于多线程的多通道超声信号收发装置及处理方法。 The purpose of the present invention is to overcome the deficiencies of the prior art, aim at multiple ultrasonic flaw detection channels, realize real-time emission of ultrasonic waves, collect ultrasonic signals, process and analyze ultrasonic signals of different channels at the same time, and improve the efficiency of ultrasonic emission and echo signal acquisition. repetition frequency, a multi-thread-based multi-channel ultrasonic signal transceiver device and processing method are proposed.

本发明的技术方案如下: Technical scheme of the present invention is as follows:

一种动态多线程多通道超声信号处理装置,其特征在于:该超声信号处理装置包括控制器单元、超声收发单元和超声探头单元;其中,所述的控制器单元包括多线程处理器、至少一个A/D转换器、至少一个D/A转换器和至少一个I/O控制器;所述的多线程处理器包括信号采集器、噪声抑制器和缺陷分析器;所述的超声收发单元包括至少一个超声收发器;所述的超声探头单元包括至少一个超声探头;所述的每一个A/D转换器的输入端与对应的超声收发器的超声回波信号输出端连接;所述的的每一个D/A转换器的输出端与超声收发器的增益设置信号输入端连接;所述的的每一个I/O控制器的输出端与对应的超声收发器的超声触发信号输入端连接;所述的每一个超声收发器的超声激发输出端与对应的超声探头的超声激发输入端连接;所述的每一个超声收发器的超声回波输入端与对应的超声探头的超声回波输出端 连接;所述的信号采集器包括至少一个采集信号队列;所述的噪声抑制器包括至少一个滤波信号队列;所述的缺陷分析器包括至少一个分析信号队列;所述的信号采集器从每一个A/D转换器采集超声信号并放入对应的采集信号队列头部;所述的噪声抑制器从每一个采集信号队列中的尾部读取超声信号并放入对应的滤波信号队列的头部;所述的缺陷分析器从每一个滤波信号队列中的尾部读取超声信号并放入对应的分析信号队列的头部。 A dynamic multi-thread multi-channel ultrasonic signal processing device is characterized in that: the ultrasonic signal processing device includes a controller unit, an ultrasonic transceiver unit and an ultrasonic probe unit; wherein the controller unit includes a multi-thread processor, at least one A/D converter, at least one D/A converter and at least one I/O controller; the multi-thread processor includes a signal collector, a noise suppressor and a defect analyzer; the ultrasonic transceiver unit includes at least An ultrasonic transceiver; the ultrasonic probe unit includes at least one ultrasonic probe; the input end of each A/D converter is connected to the ultrasonic echo signal output end of the corresponding ultrasonic transceiver; each of the The output end of a D/A converter is connected with the gain setting signal input end of the ultrasonic transceiver; the output end of each of the I/O controllers is connected with the ultrasonic trigger signal input end of the corresponding ultrasonic transceiver; the The ultrasonic excitation output end of each ultrasonic transceiver described above is connected with the ultrasonic excitation input end of the corresponding ultrasonic probe; the ultrasonic echo input end of each ultrasonic transceiver described is connected with the ultrasonic echo output end of the corresponding ultrasonic probe ; The signal collector includes at least one acquisition signal queue; the noise suppressor includes at least one filter signal queue; the defect analyzer includes at least one analysis signal queue; the signal collector from each A The /D converter collects the ultrasonic signal and puts it into the head of the corresponding collection signal queue; the noise suppressor reads the ultrasonic signal from the tail of each collection signal queue and puts it into the head of the corresponding filter signal queue; The defect analyzer described above reads the ultrasonic signal from the tail of each filtered signal queue and puts it into the head of the corresponding analysis signal queue.

所述的控制器单元采用计算机、嵌入式计算机、智能手机和智能平板电脑中的一种或几种的组合。 The controller unit adopts one or a combination of computers, embedded computers, smart phones and smart tablet computers.

所述的多线程处理器采用多线程CPU、多线程GPU、FPGA和DSP中的一种或几种的组合。 The multi-thread processor adopts one or a combination of multi-thread CPU, multi-thread GPU, FPGA and DSP.

所述的超声探头采用压电超声探头、电磁超声探头和激光超声探头中的一种或几种的组合。 The ultrasonic probe adopts one or a combination of piezoelectric ultrasonic probes, electromagnetic ultrasonic probes and laser ultrasonic probes.

所述的超声收发单元的超声收发器采用与超声探头类型对应的压电超声收发器、电磁超声收发器和激光超声收发器中的一种或几种的组合。 The ultrasonic transceiver of the ultrasonic transceiver unit adopts one or a combination of piezoelectric ultrasonic transceivers, electromagnetic ultrasonic transceivers and laser ultrasonic transceivers corresponding to the type of ultrasonic probe.

本发明提供的一种动态多线程多通道超声信号处理方法,其特征在于该方法包括如下步骤: A kind of dynamic multi-thread multi-channel ultrasonic signal processing method provided by the present invention is characterized in that the method comprises the following steps:

a)分配采集信号队列存储区,可存储L个采集信号存储区的地址,该队列采用队尾入队,队首出队的队列数据结构;分配滤波信号队列存储区,可存储M个滤波信号存储区的地址,该队列采用队尾入队,队首出队的队列数据结构;分配分析信号队列存储区,可存储N个分析信号存储区地址,该队列采用队尾入队,队首出队的队列数据结构; a) Allocate the acquisition signal queue storage area, which can store the addresses of L acquisition signal storage areas. The queue adopts a queue data structure in which the tail of the team enters the team and the head of the team leaves the team; the filter signal queue storage area is allocated, and M filter signals can be stored The address of the storage area, the queue adopts the queue data structure that enters at the tail of the queue and exits at the head of the queue; assigns the storage area of the analysis signal queue, which can store N analysis signal storage area addresses, and the queue adopts the queue entering at the tail of the queue and exiting at the head of the queue The queue data structure of the team;

b)同时启动超声信号采集线程、超声信号噪声抑制线程和超声信号缺陷分析线程; b) Simultaneously start the ultrasonic signal acquisition thread, the ultrasonic signal noise suppression thread and the ultrasonic signal defect analysis thread;

c)所述的超声信号采集线程采用如下步骤: c) The ultrasonic signal acquisition thread adopts the following steps:

i.分配信号存储区,该存储区地址为P; i. Allocate a signal storage area, the address of which is P;

ii.从对应的A/D转换器读入超声信号,并放入地址为P的数据存储区中; ii. read in the ultrasonic signal from the corresponding A/D converter, and put it into the data storage area whose address is P;

iii.判断采集信号队列是否已满,若已满,则等待直至采集信号队列空出至少一个位置; iii. Judging whether the collection signal queue is full, if it is full, wait until at least one position is vacated in the collection signal queue;

iv.信号存储区地址P入采集信号队列; iv. The address P of the signal storage area is entered into the collection signal queue;

v.主程序是否需要结束,如果结束,则结束线程,否则跳转到步骤i; v. Whether the main program needs to end, if it ends, then end the thread, otherwise jump to step i;

d)所述的超声信号噪声抑制线程包括如下步骤: D) described ultrasonic signal noise suppression thread comprises the steps:

i.滤波信号队列是否为满,如未满,则跳转到步骤ii,如已满,则跳转到步骤v; i. Whether the filter signal queue is full, if not full, then jump to step ii, if full, then jump to step v;

ii.采集信号队列的队首信号存储区地址Q出队列; ii. The address Q of the first signal storage area of the collection signal queue goes out of the queue;

iii.对信号存储区地址Q的信号进行数字滤波处理,抑制噪声; iii. Carry out digital filter processing to the signal of address Q in the signal storage area, and suppress noise;

iv.将信号存储区地址Q存入滤波信号队列; iv. Store the address Q of the signal storage area into the filter signal queue;

v.主程序是否需要结束,“是”则结束超声信号噪声抑制线程;“否”则跳转到步骤i; v. Whether the main program needs to end, if "Yes", then end the ultrasonic signal noise suppression thread; "No", then jump to step i;

e)所述的超声信号缺陷分析线程包括如下步骤: E) described ultrasonic signal defect analysis thread comprises the following steps:

i.分析信号队列是否为满,如未满,则跳转到步骤ii,如已满,则跳转到步骤v; i. Analyze whether the signal queue is full, if not full, then jump to step ii, if full, then jump to step v;

ii.滤波信号队列的队首信号存储区地址R出队列; ii. The head signal storage area address R of the filtered signal queue is out of the queue;

iii.对信号存储区地址R的信号进行缺陷分析,识别缺陷; iii. Perform defect analysis on the signal at the address R of the signal storage area to identify defects;

iv.保存缺陷信息; iv. Save defect information;

v.释放地址为R的信号存储区空间; v. Release the signal storage area space whose address is R;

vi.主程序是否需要结束,“是”则清理分析信号队列中的所有信号存储区地址对应的数据存储空间,结束超声信号缺陷分析线程;“否”则跳转到步骤i; vi. Whether the main program needs to end, if "Yes", clean up the data storage space corresponding to the address of all signal storage areas in the analysis signal queue, and end the ultrasonic signal defect analysis thread; "No", then jump to step i;

f)超声信号采集线程、超声信号噪声抑制线程和超声信号缺陷分析线程是否均结束,“是”则结束程序,“否”则等待所有线程均结束。 f) Whether the ultrasonic signal acquisition thread, ultrasonic signal noise suppression thread and ultrasonic signal defect analysis thread are all finished, if "Yes", the program ends, and if "No", wait for all threads to end.

本发明与现有技术相比,具有以下优点和突出性效果: Compared with the prior art, the present invention has the following advantages and outstanding effects:

本发明采用多线程的处理方式,实现了动态完成多通道超声探头的信号触发与采集、噪声抑制及缺陷分析,利用本发明装置及处理方法,对不同的处理过程和处理线程均采用独立的线程,利用多线程处理器的多线程运算优势,同时对多个超声通道的超声信号进行数据采集、处理与分析,共享处理器及内存资源,保护数据不发生冲突,采用指针形式的内存管理方式,减少内存移动数据的时间,从而改进超声信号的数据采集、处理与分析的效率,提高超声信号装置的重复发射接收频率,提高超声自动探伤装置的可靠性。 The present invention adopts a multi-threaded processing method to realize the dynamic completion of signal triggering and acquisition, noise suppression and defect analysis of multi-channel ultrasonic probes. Using the device and processing method of the present invention, independent threads are used for different processing processes and processing threads , using the advantages of multi-threaded computing of multi-threaded processors, simultaneously collects, processes and analyzes the ultrasonic signals of multiple ultrasonic channels, shares processor and memory resources, protects data from conflicts, and adopts a memory management method in the form of pointers. Reduce the time for moving data in the memory, thereby improving the efficiency of data collection, processing and analysis of ultrasonic signals, increasing the frequency of repeated transmission and reception of ultrasonic signal devices, and improving the reliability of ultrasonic automatic flaw detection devices.

附图说明 Description of drawings

图1是本发明所述的动态多线程多通道超声信号处理装置结构图。 Fig. 1 is a structural diagram of a dynamic multi-thread multi-channel ultrasonic signal processing device according to the present invention.

图2是图1所示实施例的多线程处理器的信号流程图。 FIG. 2 is a signal flow diagram of the multi-thread processor of the embodiment shown in FIG. 1 .

图3是图1所示实施例的信号处理方法流程图。 FIG. 3 is a flowchart of a signal processing method in the embodiment shown in FIG. 1 .

1-控制器单元;          10-多线程处理器;           11-A/D转换器; 1-controller unit; 10-multi-thread processor; 11-A/D converter;

12-D/A转换器;          13-I/O控制器; 12-D/A converter; 13-I/O controller;

101-信号采集器;        102-噪声抑制器;            103-缺陷分析器; 101-signal collector; 102-noise suppressor; 103-defect analyzer;

104-采集信号队列;      105-滤波信号队列;          106-分析信号队列; 104-acquisition signal queue; 105-filter signal queue; 106-analysis signal queue;

2-超声收发单元;        3-超声探头单元;            31-超声探头; 2-ultrasonic transceiver unit; 3-ultrasonic probe unit; 31-ultrasonic probe;

41-超声信号采集线程;   42-超声信号噪声抑制线程;   43-超声信号分析线程; 41-ultrasonic signal acquisition thread; 42-ultrasonic signal noise suppression thread; 43-ultrasonic signal analysis thread;

CPU-Central Processing Unit,中央处理器; CPU-Central Processing Unit, central processing unit;

GPU-Graphics Processing Unit,图形处理器; GPU-Graphics Processing Unit, graphics processor;

FPGA-Field Programmable Gate Array,现场可编程门阵列; FPGA-Field Programmable Gate Array, Field Programmable Gate Array;

DSP-Digital Signal Processor,数字信号处理器。 DSP-Digital Signal Processor, digital signal processor.

具体实施方式 Detailed ways

下面结合附图及实施例进一步详细说明本发明具体结构、工作原理的内容。 The content of the specific structure and working principle of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.

图1是本发明所述的动态多线程多通道超声信号处理装置结构图,该装置包括控制器单元1、超声收发单元2和超声探头单元3;其中,所述的控制器单元1包括多线程处理器10、至少一个A/D转换器11、至少一个D/A转换器12和至少一个I/O控制器13;所述的多线程 处理器10包括信号采集器101、噪声抑制器102和缺陷分析器103;所述的超声收发单元2包括至少一个超声收发器21;所述的超声探头单元3包括至少一个超声探头31;所述的每一个A/D转换器11的输入端与对应的超声收发器21的超声回波信号输出端连接;所述的的每一个D/A转换器12的输出端与超声收发器21的增益设置信号输入端连接;所述的的每一个I/O控制器13的输出端与对应的超声收发器21的超声触发信号输入端连接;所述的每一个超声收发器21的超声激发输出端与对应的超声探头31的超声激发输入端连接;所述的每一个超声收发器21的超声回波输入端与对应的超声探头31的超声回波输出端连接;所述的信号采集器101包括至少一个采集信号队列104;所述的噪声抑制器102包括至少一个滤波信号队列105;所述的缺陷分析器103包括至少一个分析信号队列106;所述的信号采集器101从每一个A/D转换器11采集超声信号并放入对应的采集信号队列104头部;所述的噪声抑制器102从每一个采集信号队列104中的尾部读取超声信号并放入对应的滤波信号队列105的头部;所述的缺陷分析器103从每一个滤波信号队列105中的尾部读取超声信号并放入对应的分析信号队列106的头部。 Fig. 1 is a structural diagram of a dynamic multi-threaded multi-channel ultrasonic signal processing device according to the present invention, which device includes a controller unit 1, an ultrasonic transceiver unit 2 and an ultrasonic probe unit 3; wherein, the described controller unit 1 includes multi-threaded Processor 10, at least one A/D converter 11, at least one D/A converter 12 and at least one I/O controller 13; Described multi-thread processor 10 includes signal collector 101, noise suppressor 102 and Defect analyzer 103; the ultrasonic transceiver unit 2 includes at least one ultrasonic transceiver 21; the ultrasonic probe unit 3 includes at least one ultrasonic probe 31; the input end of each of the A/D converters 11 corresponds to The ultrasonic echo signal output end of the ultrasonic transceiver 21 is connected; the output end of each of the D/A converters 12 is connected with the gain setting signal input end of the ultrasonic transceiver 21; each of the I/ The output end of O controller 13 is connected with the ultrasonic trigger signal input end of corresponding ultrasonic transceiver 21; The ultrasonic excitation output end of each ultrasonic transceiver 21 is connected with the ultrasonic excitation input end of corresponding ultrasonic probe 31; The ultrasonic echo input end of each ultrasonic transceiver 21 described above is connected with the ultrasonic echo output end of the corresponding ultrasonic probe 31; the described signal collector 101 includes at least one acquisition signal queue 104; the described noise suppressor 102 Including at least one filter signal queue 105; the defect analyzer 103 includes at least one analysis signal queue 106; the signal collector 101 collects ultrasonic signals from each A/D converter 11 and puts them into the corresponding acquisition signal queue 104 head; the noise suppressor 102 reads the ultrasonic signal from the tail in each acquisition signal queue 104 and puts it into the head of the corresponding filter signal queue 105; the defect analyzer 103 reads the ultrasonic signal from each filter signal The tail of the queue 105 reads the ultrasound signal and puts it into the head of the corresponding analysis signal queue 106 .

所述的控制器单元1采用计算机、嵌入式计算机、智能手机和智能平板电脑中的一种或几种的组合。本实施例中,控制器单元1采用计算机。 The controller unit 1 adopts one or a combination of computers, embedded computers, smart phones and smart tablet computers. In this embodiment, the controller unit 1 adopts a computer.

所述的多线程处理器10采用多线程CPU、多线程GPU、FPGA和DSP中的一种或几种的组合。本实施例中,多线程处理器10采用四核八线程CPU。 The multi-thread processor 10 adopts one or a combination of multi-thread CPU, multi-thread GPU, FPGA and DSP. In this embodiment, the multi-thread processor 10 adopts a CPU with four cores and eight threads.

所述的超声探头31采用压电超声探头、电磁超声探头和激光超声探头中的一种或几种的组合。本实施例中,超声探头31均采用中心频率为2.5MHz的压电超声探头。 The ultrasonic probe 31 adopts one or a combination of piezoelectric ultrasonic probes, electromagnetic ultrasonic probes and laser ultrasonic probes. In this embodiment, the ultrasonic probes 31 all use piezoelectric ultrasonic probes with a center frequency of 2.5 MHz.

所述的超声收发单元2的超声收发器21采用与超声探头31类型对应的压电超声收发器、电磁超声收发器和激光超声收发器中的一种或几种的组合。本实施例中,超声收发器21均采用压电超声收发器。 The ultrasonic transceiver 21 of the ultrasonic transceiver unit 2 adopts one or a combination of piezoelectric ultrasonic transceivers, electromagnetic ultrasonic transceivers and laser ultrasonic transceivers corresponding to the type of ultrasonic probe 31 . In this embodiment, the ultrasonic transceivers 21 all use piezoelectric ultrasonic transceivers.

所述的动态多线程多通道超声信号处理方法针对每一路超声采集信号采用如下步骤: The described dynamic multi-thread multi-channel ultrasonic signal processing method adopts the following steps for each ultrasonic acquisition signal:

a)分配采集信号队列104存储区,可存储L个采集信号存储区的地址,该队列采用队尾入队,队首出队的队列数据结构;分配滤波信号队列105存储区,可存储M个滤波信号存储区的地址,该队列采用队尾入队,队首出队的队列数据结构;分配分析信号队列106存储区,可存储N个分析信号存储区地址,该队列采用队尾入队,队首出队的队列数据结构; a) distribute collection signal formation 104 storage areas, can store the addresses of L collection signal storage areas, this formation adopts the queue data structure that the tail of the team enters the queue, and the head of the team goes out of the formation; distributes filter signal formation 105 storage areas, can store M The address of the filter signal storage area, this queue adopts the tail of the team to enter the team, and the queue data structure of the head of the team to go out of the team; the distribution analysis signal queue 106 storage areas can store N analysis signal storage area addresses, and this queue adopts the tail of the team to enter the team, The queue data structure of the head of the queue;

b)同时启动超声信号采集线程41、超声信号噪声抑制线程42和超声信号缺陷分析线程43; b) Simultaneously start the ultrasonic signal acquisition thread 41, the ultrasonic signal noise suppression thread 42 and the ultrasonic signal defect analysis thread 43;

c)所述的超声信号采集线程41采用如下步骤: c) The ultrasonic signal acquisition thread 41 adopts the following steps:

i.分配信号存储区,该存储区地址为P; i. Allocate a signal storage area, the address of which is P;

ii.从对应的A/D转换器11读入超声信号,并放入地址为P的数据存储区中; ii. read in the ultrasonic signal from the corresponding A/D converter 11, and put it into the data storage area whose address is P;

iii.判断采集信号队列104是否已满,若已满,则等待直至采集信号队列104空出至少一个位置; iii. judging whether the collection signal queue 104 is full, if full, then wait until at least one position is vacant in the collection signal queue 104;

iv.信号存储区地址P入采集信号队列104; iv. The signal storage area address P enters the collection signal queue 104;

v.主程序是否需要结束,如果结束,则结束线程,否则跳转到步骤i; v. Whether the main program needs to end, if it ends, then end the thread, otherwise jump to step i;

d)所述的超声信号噪声抑制线程42包括如下步骤: D) described ultrasonic signal noise suppression thread 42 comprises the following steps:

i.滤波信号队列120是否为满,如未满,则跳转到步骤ii,如已满,则跳转到步骤v; i. Whether the filtered signal queue 120 is full, if not full, then jump to step ii, if full, then jump to step v;

ii.采集信号队列104的队首信号存储区地址Q出队列; ii. the queue head signal storage area address Q of the collection signal queue 104 goes out of the queue;

iii.对信号存储区地址Q的信号进行数字滤波处理,抑制噪声;本实施例中,采用带通滤波法,设置下截止频率为1.5MHz,上截止频率为6MHz; iii. carry out digital filter processing to the signal of signal storage area address Q, suppress noise; In the present embodiment, adopt band-pass filtering method, set lower cut-off frequency as 1.5MHz, upper cut-off frequency is 6MHz;

iv.将信号存储区地址Q存入滤波信号队列105; iv. Store the address Q of the signal storage area into the filter signal queue 105;

v.主程序是否需要结束,“是”则结束超声信号噪声抑制线程;“否”则跳转到步骤i; v. Whether the main program needs to end, if "Yes", then end the ultrasonic signal noise suppression thread; "No", then jump to step i;

e)所述的超声信号缺陷分析线程43包括如下步骤: E) described ultrasonic signal defect analysis thread 43 comprises the following steps:

i.分析信号队列106是否为满,如未满,则跳转到步骤ii,如已满,则跳转到步骤v; i. whether the analysis signal queue 106 is full, if not full, then jump to step ii, if full, then jump to step v;

ii.滤波信号队列105的队首信号存储区地址R出队列; ii. The address R of the first signal storage area of the filter signal queue 105 goes out of the queue;

iii.对信号存储区地址R的信号进行缺陷分析,识别缺陷;本实施例中,采用DAC曲线阈值判断法分析信号中是否存在缺陷信号; iii. Carry out defect analysis to the signal of the address R of the signal storage area to identify the defect; in this embodiment, the DAC curve threshold judgment method is used to analyze whether there is a defect signal in the signal;

iv.保存缺陷信息; iv. Save defect information;

v.释放地址为R的信号存储区空间; v. Release the signal storage area space whose address is R;

vi.主程序是否需要结束,“是”则清理分析信号队列106中的所有信号存储区地址对应的数据存储空间,结束超声信号缺陷分析线程;“否”则跳转到步骤i; vi. Whether the main program needs to end, if "Yes", the data storage space corresponding to all signal storage area addresses in the analysis signal queue 106 is cleaned up, and the ultrasonic signal defect analysis thread is ended; "No", then jump to step i;

f)超声信号采集线程41、超声信号噪声抑制线程42和超声信号缺陷分析线程43是否均结束,“是”则结束程序,“否”则等待所有线程均结束。 f) Whether the ultrasonic signal acquisition thread 41, the ultrasonic signal noise suppression thread 42 and the ultrasonic signal defect analysis thread 43 are all finished, if "Yes", the program ends, and if "No", wait for all the threads to end.

本发明采用多线程的处理方式,实现了动态完成多通道超声探头的信号触发与采集、噪声抑制及缺陷分析,利用本发明装置及处理方法,对不同的处理过程和处理线程均采用独立的线程,利用多线程处理器的多线程运算优势,同时对多个超声通道的超声信号进行数据采集、处理与分析,共享处理器及内存资源,保护数据不发生冲突,采用指针形式的内存管理方式,减少内存移动数据的时间,从而改进超声信号的数据采集、处理与分析的效率,提高超声信号装置的重复发射接收频率,提高超声自动探伤装置的可靠性。 The present invention adopts a multi-threaded processing method to realize the dynamic completion of signal triggering and acquisition, noise suppression and defect analysis of multi-channel ultrasonic probes. Using the device and processing method of the present invention, independent threads are used for different processing processes and processing threads , using the advantages of multi-threaded computing of multi-threaded processors, simultaneously collects, processes and analyzes the ultrasonic signals of multiple ultrasonic channels, shares processor and memory resources, protects data from conflicts, and adopts a memory management method in the form of pointers. Reduce the time for moving data in the memory, thereby improving the efficiency of data collection, processing and analysis of ultrasonic signals, increasing the frequency of repeated transmission and reception of ultrasonic signal devices, and improving the reliability of ultrasonic automatic flaw detection devices.

Claims (5)

1. a dynamic multi streaming channel ultrasonic signal processing method, is characterized in that: the signal processing apparatus that the method adopts comprises controller unit (1), ultrasonic Transmit-Receive Unit (2) and ultrasonic probe unit (3); Wherein, described controller unit (1) comprises multiline procedure processor (10), at least one A/D converter (11), at least one D/A converter (12) and at least one I/O controller (13); Described multiline procedure processor (10) comprises signal picker (101), noise suppressor (102) and defect analyzer (103); Described ultrasonic Transmit-Receive Unit (2) comprises at least one ultrasonic transceiver (21); Described ultrasonic probe unit (3) comprises at least one ultrasonic probe (31); The input end of described each A/D converter (11) connects with the ultrasound echo signal output terminal of corresponding ultrasonic transceiver (21); The output terminal of described each D/A converter (12) is connected with the gain set input end of ultrasonic transceiver (21); The described output terminal of each I/O controller (13) connects with the ultrasonic trigger pip input end of corresponding ultrasonic transceiver (21); The ultrasonic excitation output terminal of described each ultrasonic transceiver (21) connects with the ultrasonic excitation input end of corresponding ultrasonic probe (31); The ultrasonic echo input end of described each ultrasonic transceiver (21) connects with the ultrasonic echo output terminal of corresponding ultrasonic probe (31); Described signal picker (101) comprises at least one collection signal queue (104); Described noise suppressor (102) comprises at least one filtering signal queue (105); Described defect analyzer (103) comprises at least one analytic signal queue (106); Described signal picker (101) gathers ultrasonic signal from each A/D converter (11) and puts into corresponding collection signal queue (104) head; Described noise suppressor (102) reads ultrasonic signal from the afterbody each collection signal queue (104) and puts into the head of corresponding filtering signal queue (105); Described defect analyzer (103) reads ultrasonic signal from the afterbody each filtering signal queue (105) and puts into the head of corresponding analytic signal queue (106);
Described ultrasonic signal processing method comprises the steps:
A) distribute collection signal queue (104) memory block, can store the address of L collection signal memory block, this queue adopts tail of the queue to join the team, and head of the queue goes out the queue data structure of team; Distribute filtering signal queue (105) memory block, can the address of a store M filtering signal memory block, this queue employing tail of the queue is joined the team, and head of the queue goes out the queue data structure of team; Distribute analytic signal queue (106) memory block, can store address, N number of analytic signal memory block, this queue adopts tail of the queue to join the team, and head of the queue goes out the queue data structure of team;
B) start ultrasonic signal acquisition thread (41), ultrasonic signal squelch thread (42) and ultrasonic signal defect analysis thread (43) simultaneously;
C) the ultrasonic signal acquisition thread (41) described in adopts following steps:
I. distributing signal memory block, this address, memory block is P;
Ii. read in ultrasonic signal from the A/D converter (11) of correspondence, and put into the data storage area that address is P;
Iii. judge that whether collection signal queue (104) is full, if full, then wait for until at least one position is vacated in collection signal queue (104);
Iv. signal storage regional address P enters collection signal queue (104);
V. master routine is the need of end, if terminated, then terminates thread, otherwise jumps to step I;
D) the ultrasonic signal squelch thread (42) described in comprises the steps:
Whether i. filtering signal queue (120) is full, as less than, then jump to step I i, as full, then jump to step v;
The head of the queue signal storage regional address Q dequeue of ii. collection signal queue (104);
Iii. digital filtering process is carried out, restraint speckle to the signal of signal storage regional address Q;
Iv. by signal storage regional address Q stored in filtering signal queue (105);
V. master routine is the need of end, and "Yes" then terminates ultrasonic signal squelch thread; "No" then jumps to step I;
E) the ultrasonic signal defect analysis thread (43) described in comprises the steps:
Whether i. analytic signal queue (106) is full, as less than, then jump to step I i, as full, then jump to step v;
The head of the queue signal storage regional address R dequeue of ii. filtering signal queue (105);
Iii. defect analysis is carried out, defect recognition to the signal of signal storage regional address R;
Iv. defect information is preserved;
V. the space, signal storage that address is R is discharged;
Vi. master routine is the need of end, and "Yes" then clears up data space corresponding to all signal storage regional addresss in analytic signal queue (106), terminates ultrasonic signal defect analysis thread; "No" then jumps to step I;
Whether ultrasonic signal acquisition thread (41), ultrasonic signal squelch thread (42) and ultrasonic signal defect analysis thread (43) all terminate, and "Yes" then terminates program, and "No" then waits for that all threads all terminate.
2. a kind of dynamic multi streaming channel ultrasonic signal processing method according to claim 1, is characterized in that: described controller unit (1) adopts the combination of one or more in computing machine, embedded computer, smart mobile phone and Intelligent flat computer.
3. a kind of dynamic multi streaming channel ultrasonic signal processing method according to claim 1, is characterized in that: described multiline procedure processor (10) adopts the combination of one or more in multi thread CPU, multithreading GPU, FPGA and DSP.
4. a kind of dynamic multi streaming channel ultrasonic signal processing method according to claim 1, is characterized in that: described ultrasonic probe (31) adopts the combination of one or more in piezoelectric supersonic probe, electromagnetic ultrasonic probe and laser-ultrasound probe.
5. a kind of dynamic multi streaming channel ultrasonic signal processing method according to claim 4, is characterized in that: the ultrasonic transceiver (21) of described ultrasonic Transmit-Receive Unit (2) adopts the combination of one or more in piezoelectric supersonic transceiver, electromagnetic acoustic transceiver and the laser-ultrasound transceiver corresponding with ultrasonic probe (31) type.
CN201310162733.0A 2013-05-06 2013-05-06 Dynamic multi streaming channel ultrasonic signal processing method Expired - Fee Related CN103487511B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310162733.0A CN103487511B (en) 2013-05-06 2013-05-06 Dynamic multi streaming channel ultrasonic signal processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310162733.0A CN103487511B (en) 2013-05-06 2013-05-06 Dynamic multi streaming channel ultrasonic signal processing method

Publications (2)

Publication Number Publication Date
CN103487511A CN103487511A (en) 2014-01-01
CN103487511B true CN103487511B (en) 2015-10-28

Family

ID=49827897

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310162733.0A Expired - Fee Related CN103487511B (en) 2013-05-06 2013-05-06 Dynamic multi streaming channel ultrasonic signal processing method

Country Status (1)

Country Link
CN (1) CN103487511B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103822974B (en) * 2014-03-12 2016-01-27 成都信息工程学院 Ultrasonic survey penetrating detection system
CN103956991B (en) * 2014-04-10 2017-09-29 北京遥测技术研究所 A kind of FIR filtering Parallel Realization methods based on CPU/GPU heterogeneous platforms
CN103956988B (en) * 2014-05-06 2017-04-26 北京遥测技术研究所 Ka frequency band large dynamic high-accuracy amplification attenuation module
CN105534545A (en) * 2015-12-11 2016-05-04 青岛海信医疗设备股份有限公司 Ultrasonic device
CN109488886B (en) * 2017-09-11 2024-01-23 清华大学 Data line concentration system of detector in oil and gas pipeline and time sequence control method
CN114166159B (en) * 2021-11-11 2022-09-20 大连理工大学 Multifunctional portable ultrasonic measuring instrument based on PCI/PCIe and use method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09145694A (en) * 1995-11-24 1997-06-06 Kawasaki Steel Corp Method and apparatus for multi-channel automatic ultrasonic flaw detection of rolled metal sheet
CN2702310Y (en) * 2004-02-08 2005-05-25 胡建华 Unit combined type multiple channel supersonic crack detector
CN2938090Y (en) * 2006-08-03 2007-08-22 长安大学 Networked Concrete Ultrasonic Signal Acquisition Instrument
CN101067618A (en) * 2007-06-08 2007-11-07 华中科技大学 A multi-channel ultrasonic acquisition device for detecting non-metallic media
CN101331395A (en) * 2005-10-14 2008-12-24 奥林巴斯Ndt公司 Ultrasonic flaw detection system
JP2011237346A (en) * 2010-05-12 2011-11-24 Central Res Inst Of Electric Power Ind Multichannel flaw detector
CN102854253A (en) * 2012-09-28 2013-01-02 北京交通大学 Multi-channel ultrasonic fault detection single-line transmission signal system and method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1078416A (en) * 1996-09-02 1998-03-24 Kawasaki Steel Corp Multi-channel automatic ultrasonic flaw detection method and apparatus for metal plate
US6725721B2 (en) * 2001-10-22 2004-04-27 Magnetic Analysis Corporation Ultrasonic multi-element transducers and methods for testing

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09145694A (en) * 1995-11-24 1997-06-06 Kawasaki Steel Corp Method and apparatus for multi-channel automatic ultrasonic flaw detection of rolled metal sheet
CN2702310Y (en) * 2004-02-08 2005-05-25 胡建华 Unit combined type multiple channel supersonic crack detector
CN101331395A (en) * 2005-10-14 2008-12-24 奥林巴斯Ndt公司 Ultrasonic flaw detection system
CN2938090Y (en) * 2006-08-03 2007-08-22 长安大学 Networked Concrete Ultrasonic Signal Acquisition Instrument
CN101067618A (en) * 2007-06-08 2007-11-07 华中科技大学 A multi-channel ultrasonic acquisition device for detecting non-metallic media
JP2011237346A (en) * 2010-05-12 2011-11-24 Central Res Inst Of Electric Power Ind Multichannel flaw detector
CN102854253A (en) * 2012-09-28 2013-01-02 北京交通大学 Multi-channel ultrasonic fault detection single-line transmission signal system and method

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Design of Ultrasonic Detecting System for Drill Collar Defects;Lu Yang et al.;《Journal of Convergence Information Technology》;20120731;第7卷(第13期);第372-379页 *
Development of 3D flaw detection system with multi-channel plannar array probes and 3D saft algorithms;Narongsak RATTANASUWANNACHART et al.;《Structal Eng./Earthquake Eng.,JSCE》;20050430;第22卷(第1期);第33-45页 *
基于PXI的多通道超声自动检测系统的设计及其多功能模块的开发;付旺超;《中国优秀硕士学位论文全文数据库 信息科技辑》;20081115(第11期);第16-18页第3.2.2、3.2.3节,第20页第3.2.3.2节,图3-1、3-2、3-3、3-4、3-6 *
机车车轴超声自动探伤系统;支正轩 等;《NDT无损检测》;20051231;第25卷(第11期);第572-575页 *

Also Published As

Publication number Publication date
CN103487511A (en) 2014-01-01

Similar Documents

Publication Publication Date Title
CN103487511B (en) Dynamic multi streaming channel ultrasonic signal processing method
CN101493438B (en) Phased array ultrasonic detection, data acquisition and process device
CN107919130B (en) Cloud-based voice processing method and device
CN106546960B (en) A kind of real-time acquisition analysis system of Radar IF Echo multi-mode and method
CN105446934B (en) A kind of moving-target and CFAR detection system based on multi-core DSP
EP3117774B1 (en) Software-based ultrasound imaging system
CN208110038U (en) Ultrasonic imaging apparatus and system
CN102426194A (en) Array ultrasonic detection technology of complex surface microdefect
CN103166606B (en) The method and apparatus that digital pulse signal is screened
CN108318582B (en) Signal acquisition method for ultrasonic reflection and transmission parallel detection of sandwich structure
CN103049417A (en) System device and method for synchronously acquiring multichannel signals based on USB (universal serial bus) transmission
CN205353013U (en) Ultrasonic wave nondestructive detection system
CN115856087A (en) Full-focusing imaging method based on longitudinal wave transmitting-receiving ultrasonic phased array probe
CN115508787A (en) Sliding window streamline point trace aggregation processing method and system based on three-coordinate radar
CN205353014U (en) Ultrasonic wave work piece detecting system
CN114354751A (en) Ultrasonic detection system and method for internal defects of metal materials based on 5G embedded
CN109596707A (en) It is a kind of based on position-ultrasonic signal honeycomb sandwich construction detection method
CN104698946B (en) A kind of high-speed data acquistion system
CN106647435B (en) The multi-channel data method of sampling, system and device
Liu et al. Design of data acquisition system based on Labview
CN102854253A (en) Multi-channel ultrasonic fault detection single-line transmission signal system and method
CN119861346A (en) Echo resolving method, echo resolving engine, laser radar and medium
CN104764806B (en) A kind of quantifying defects method for parameter estimation
CN203299175U (en) Accurate delayer
JP2015534647A (en) Kind of magnetostrictive wave guide calibration signal processing method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20151028