[go: up one dir, main page]

CN113008174B - Electromagnetic ultrasonic sound time measuring method and device - Google Patents

Electromagnetic ultrasonic sound time measuring method and device Download PDF

Info

Publication number
CN113008174B
CN113008174B CN201911306654.6A CN201911306654A CN113008174B CN 113008174 B CN113008174 B CN 113008174B CN 201911306654 A CN201911306654 A CN 201911306654A CN 113008174 B CN113008174 B CN 113008174B
Authority
CN
China
Prior art keywords
digital signal
signal
amplitude
value
sampling
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.)
Active
Application number
CN201911306654.6A
Other languages
Chinese (zh)
Other versions
CN113008174A (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.)
Petrochina Co Ltd
CNPC Research Institute of Safety and Environmental Technology Co Ltd
Original Assignee
Petrochina Co Ltd
CNPC Research Institute of Safety and Environmental Technology Co Ltd
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 Petrochina Co Ltd, CNPC Research Institute of Safety and Environmental Technology Co Ltd filed Critical Petrochina Co Ltd
Priority to CN201911306654.6A priority Critical patent/CN113008174B/en
Publication of CN113008174A publication Critical patent/CN113008174A/en
Application granted granted Critical
Publication of CN113008174B publication Critical patent/CN113008174B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B17/00Measuring arrangements characterised by the use of infrasonic, sonic or ultrasonic vibrations
    • G01B17/02Measuring arrangements characterised by the use of infrasonic, sonic or ultrasonic vibrations for measuring thickness

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Investigating Or Analyzing Materials By The Use Of Ultrasonic Waves (AREA)

Abstract

本发明提供了一种电磁超声声时测量方法及装置,其中该方法包括:获取电磁超声换能器接收线圈产生的感应电信号;将感应电信号输入门限值为第一预设值的正电压比较器得到第一数字信号,输入门限值为第二预设值的负电压比较器得到第二数字信号;对第一数字信号和第二数字信号进行或操作,得到第三数字信号;将第三数字信号以脉冲宽度为权重,进行加权处理,得到第四数字信号;对第四数字信号进行转化处理,得到重建回波信号;根据重建回波信号,计算确定声时值。该方法通过将第三数字信号以脉冲宽度为权重,进行加权处理,过滤了持续时间短且幅值较大的噪声,使得声时值的计算有效避免了尖峰噪声的干扰,提高了电磁超声声时测量的精度和准确性。

Figure 201911306654

The present invention provides a method and device for measuring electromagnetic ultrasonic sound time, wherein the method includes: acquiring an induced electrical signal generated by a receiving coil of an electromagnetic ultrasonic transducer; inputting the induced electrical signal into a positive signal whose threshold value is a first preset The voltage comparator obtains the first digital signal, and the negative voltage comparator whose input threshold value is the second preset value obtains the second digital signal; performing an OR operation on the first digital signal and the second digital signal to obtain a third digital signal; Weighting the third digital signal with the pulse width as a weight to obtain a fourth digital signal; converting the fourth digital signal to obtain a reconstructed echo signal; calculating and determining the sound time value according to the reconstructed echo signal. By weighting the third digital signal with the pulse width as the weight, the method filters the noise with short duration and large amplitude, so that the calculation of sound time value can effectively avoid the interference of spike noise and improve the electromagnetic ultrasonic sound quality. precision and accuracy of measurements.

Figure 201911306654

Description

电磁超声声时测量方法及装置Method and device for measuring electromagnetic ultrasonic sound time

技术领域technical field

本发明涉及于无损检测技术领域,尤其涉及一种电磁超声声时测量方法及装置。The invention relates to the technical field of non-destructive testing, in particular to an electromagnetic ultrasonic sound time measuring method and device.

背景技术Background technique

电磁超声是新兴的无损检测技术,电磁超声换能器激励线圈在试件中激励出超声波后,超声波在试件中传播,在上下表面会发生反射,反射波振动切割磁感线又会在试件中产生感应电流,试件中的感应电流耦合到接收线圈,接收线圈接收到的回波信号相邻回波之间的时间间隔(即声时),就反映了试件被激励表面产生的超声波经过一次反射后再返回到试件被激励表面所需要的时间,再结合超声波传播的波速,就可以得到试件厚度。因此,在厚度测量中,电磁超声信号处理的关键是声时的测量。Electromagnetic ultrasonic is an emerging non-destructive testing technology. After the excitation coil of the electromagnetic ultrasonic transducer excites ultrasonic waves in the test piece, the ultrasonic waves propagate in the test piece and will be reflected on the upper and lower surfaces. The reflected wave vibration will cut the magnetic induction line in the test piece The induced current is generated in the test piece, and the induced current in the test piece is coupled to the receiving coil, and the time interval between adjacent echoes of the echo signal received by the receiving coil (that is, the acoustic time) reflects the vibration generated by the excited surface of the test piece. The thickness of the test piece can be obtained by combining the time required for the ultrasonic wave to return to the excited surface of the test piece after a reflection, combined with the wave speed of the ultrasonic wave. Therefore, in thickness measurement, the key to electromagnetic ultrasonic signal processing is the measurement of acoustic time.

目前现有技术中,将电磁超声信号进行简单的叠加,等比例增大信号等方式简化声时,但是无法有效减小噪声,尤其是尖峰噪声的干扰。In the current prior art, the acoustic time is simplified by simply superimposing the electromagnetic ultrasonic signals, increasing the signals proportionally, etc., but it cannot effectively reduce noise, especially the interference of spike noise.

发明内容Contents of the invention

本发明实施例提供一种电磁超声声时测量方法,用以减少噪声对电磁超声声时测量的影响,该方法包括:An embodiment of the present invention provides a method for measuring electromagnetic ultrasonic sound time to reduce the influence of noise on electromagnetic ultrasonic sound time measurement. The method includes:

获取电磁超声换能器接收线圈产生的感应电信号;Obtain the induced electrical signal generated by the receiving coil of the electromagnetic ultrasonic transducer;

将所述感应电信号输入门限值为第一预设值的正电压比较器得到第一数字信号,输入门限值为第二预设值的负电压比较器得到第二数字信号;inputting the induced electrical signal into a positive voltage comparator whose threshold value is a first preset value to obtain a first digital signal, and inputting a threshold value to a negative voltage comparator whose threshold value is a second preset value to obtain a second digital signal;

对所述第一数字信号和所述第二数字信号进行或操作,得到第三数字信号;performing an OR operation on the first digital signal and the second digital signal to obtain a third digital signal;

根据所述第三数字信号确定第四数字信号;determining a fourth digital signal based on the third digital signal;

对所述第四数字信号进行转化处理,得到重建回波信号;performing conversion processing on the fourth digital signal to obtain a reconstructed echo signal;

根据所述重建回波信号,计算确定声时值;Calculate and determine the acoustic time value according to the reconstructed echo signal;

根据所述第三数字信号确定第四数字信号包括:Determining a fourth digital signal according to the third digital signal includes:

以一固定采样频率遍历所述第三数字信号,确定多个采样点;Traversing the third digital signal at a fixed sampling frequency to determine a plurality of sampling points;

若所述第三数字信号的第一个采样点的幅值为0,则在第一个采样时刻,所述第四数字信号的幅值为0;若所述第三数字信号的第一个采样点的幅值不为0,则在第一个采样时刻,所述第四数字信号的幅值为第三数字信号的第一个采样点的幅值加一;If the amplitude of the first sampling point of the third digital signal is 0, then at the first sampling moment, the amplitude of the fourth digital signal is 0; if the first sampling point of the third digital signal The amplitude of the sampling point is not 0, then at the first sampling moment, the amplitude of the fourth digital signal is the amplitude of the first sampling point of the third digital signal plus one;

除第一个采样点外,若所述第三数字信号采样点的幅值为0,则在采样时刻,所述第四数字信号的幅值为0;若所述第三数字信号采样点数值不为0,则在采样时刻,所述第四数字信号的幅值为前一采样时刻的第四数字信号的幅值加一。Except for the first sampling point, if the amplitude of the sampling point of the third digital signal is 0, then at the sampling moment, the amplitude of the fourth digital signal is 0; if the value of the sampling point of the third digital signal If it is not 0, then at the sampling moment, the amplitude of the fourth digital signal is the amplitude of the fourth digital signal at the previous sampling moment plus one.

本发明实施例还提供一种电磁超声声时测量装置,用以减少噪声对电磁超声声时测量的影响,简化处理电路,该装置包括:The embodiment of the present invention also provides an electromagnetic ultrasonic sound time measuring device, which is used to reduce the influence of noise on the electromagnetic ultrasonic sound time measurement and simplify the processing circuit. The device includes:

信号获取模块,用于获取电磁超声换能器接收线圈产生的感应电信号;The signal acquisition module is used to acquire the induced electrical signal generated by the receiving coil of the electromagnetic ultrasonic transducer;

第二数字信号转化模块,用于将所述感应电信号输入门限值为第一预设值的正电压比较器得到第一数字信号,输入门限值为第二预设值的负电压比较器得到第二数字信号;The second digital signal conversion module is used to input the induced electrical signal to a positive voltage comparator whose threshold value is a first preset value to obtain a first digital signal, and to input a negative voltage comparator whose threshold value is a second preset value The device obtains the second digital signal;

第三数字信号转化模块,用于对所述第一数字信号和所述第二数字信号进行或操作,得到第三数字信号;A third digital signal conversion module, configured to perform an OR operation on the first digital signal and the second digital signal to obtain a third digital signal;

第四数字信号转化模块,用于根据所述第三数字信号确定第四数字信号;A fourth digital signal conversion module, configured to determine a fourth digital signal according to the third digital signal;

重建回波信号转化模块,用于对所述第四数字信号进行转化处理,得到重建回波信号;A reconstructed echo signal conversion module, configured to convert the fourth digital signal to obtain a reconstructed echo signal;

计算模块,用于根据所述重建回波信号,计算确定声时值;A calculation module, configured to calculate and determine the acoustic time value according to the reconstructed echo signal;

所述第四数字信号转化模块具体用于:The fourth digital signal conversion module is specifically used for:

以一固定采样频率遍历所述第三数字信号,确定多个采样点;Traversing the third digital signal at a fixed sampling frequency to determine a plurality of sampling points;

若所述第三数字信号的第一个采样点的幅值为0,则在第一个采样时刻,所述第四数字信号的幅值为0;若所述第三数字信号的第一个采样点的幅值不为0,则在第一个采样时刻,所述第四数字信号的幅值为第三数字信号的第一个采样点的幅值加一;If the amplitude of the first sampling point of the third digital signal is 0, then at the first sampling moment, the amplitude of the fourth digital signal is 0; if the first sampling point of the third digital signal The amplitude of the sampling point is not 0, then at the first sampling moment, the amplitude of the fourth digital signal is the amplitude of the first sampling point of the third digital signal plus one;

除第一个采样点外,若所述第三数字信号采样点的幅值为0,则在采样时刻,所述第四数字信号的幅值为0;若所述第三数字信号采样点数值不为0,则在采样时刻,所述第四数字信号的幅值为前一采样时刻的第四数字信号的幅值加一。Except for the first sampling point, if the amplitude of the sampling point of the third digital signal is 0, then at the sampling moment, the amplitude of the fourth digital signal is 0; if the value of the sampling point of the third digital signal If it is not 0, then at the sampling moment, the amplitude of the fourth digital signal is the amplitude of the fourth digital signal at the previous sampling moment plus one.

本发明实施例还提供一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述电磁超声声时测量方法。An embodiment of the present invention also provides a computer device, including a memory, a processor, and a computer program stored on the memory and operable on the processor, and the processor implements the above-mentioned electromagnetic ultrasonic sound time measurement method when executing the computer program .

本发明实施例也提供一种计算机可读存储介质,所述计算机可读存储介质存储有执行上述电磁超声声时测量方法的计算机程序。An embodiment of the present invention also provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for executing the above-mentioned electromagnetic ultrasonic acoustic measurement method.

本发明实施例中,通过将获取到的电磁超声换能器接收线圈产生的感应电信号输入到门限值为第一预设值的正电压比较器得到第一数字信号,输入到门限值为第二预设值的负电压比较器得到第二数字信号;对第一数字信号和第二数字信号进行或操作,得到第三数字信号;将第三数字信号以脉冲宽度为权重,进行加权处理,得到第四数字信号;对第四数字信号进行低通滤波处理,得到重建回波信号;根据重建回波信号,计算确定声时值;将第三数字信号以脉冲宽度为权重,进行加权处理,过滤了持续时间短且幅值较大的噪声,使得声时值的计算有效避免了尖峰噪声的干扰,提高了电磁超声声时测量的精度和准确性。In the embodiment of the present invention, the first digital signal is obtained by inputting the obtained induced electrical signal generated by the receiving coil of the electromagnetic ultrasonic transducer to the positive voltage comparator whose threshold value is the first preset value, and input to the threshold value The negative voltage comparator for the second preset value obtains the second digital signal; performs an OR operation on the first digital signal and the second digital signal to obtain a third digital signal; weights the third digital signal with the pulse width as the weight processing to obtain the fourth digital signal; performing low-pass filtering on the fourth digital signal to obtain the reconstructed echo signal; calculating and determining the sound time value according to the reconstructed echo signal; weighting the third digital signal with the pulse width as the weight Processing, the noise with short duration and large amplitude is filtered, so that the calculation of sound time value can effectively avoid the interference of spike noise, and improve the precision and accuracy of electromagnetic ultrasonic sound time measurement.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without making creative efforts.

图1为本发明实施例中电磁超声声时测量方法示意图。Fig. 1 is a schematic diagram of an electromagnetic ultrasonic sound time measurement method in an embodiment of the present invention.

图2为本发明实施例中步骤102的具体步骤示意图。FIG. 2 is a schematic diagram of specific steps of step 102 in the embodiment of the present invention.

图3为本发明实施例中步骤105的具体步骤示意图。FIG. 3 is a schematic diagram of specific steps of step 105 in the embodiment of the present invention.

图4为本发明实施例中步骤106的具体步骤示意图。FIG. 4 is a schematic diagram of specific steps of step 106 in the embodiment of the present invention.

图5为本发明实施例中电磁超声声时测量的一具体应用实施的流程示意图。FIG. 5 is a schematic flowchart of a specific application implementation of electromagnetic ultrasonic sound time measurement in an embodiment of the present invention.

图6为本发明具体实施例中接收线圈产生的感应电信号示意图。Fig. 6 is a schematic diagram of an induced electrical signal generated by a receiving coil in a specific embodiment of the present invention.

图7为本发明具体实施例中截取到的回波信号Sig0的示意图。FIG. 7 is a schematic diagram of an echo signal Sig0 intercepted in a specific embodiment of the present invention.

图8为本发明具体实施例中截取到的噪声信号N的示意图。FIG. 8 is a schematic diagram of a noise signal N intercepted in a specific embodiment of the present invention.

图9为本发明具体实施例中第三数字信号Sig3的示意图。FIG. 9 is a schematic diagram of the third digital signal Sig3 in a specific embodiment of the present invention.

图10为本发明具体实施例中第四数字信号Sig4的示意图。FIG. 10 is a schematic diagram of the fourth digital signal Sig4 in a specific embodiment of the present invention.

图11为本发明具体实施例中重建回波信号Sig5的示意图。Fig. 11 is a schematic diagram of reconstructed echo signal Sig5 in a specific embodiment of the present invention.

图12为本发明实施例中电磁超声声时测量装置示意图。Fig. 12 is a schematic diagram of an electromagnetic ultrasonic sound time measurement device in an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

为了解决现有技术中受尖峰噪声干扰导致的电磁超声声时测量精度低的问题,本发明实施例提供了一种电磁超声声时测量方法,用以减少噪声对电磁超声声时测量的影响,如图1所示,该方法包括:In order to solve the problem of low measurement accuracy of electromagnetic ultrasonic sound time caused by spike noise interference in the prior art, an embodiment of the present invention provides an electromagnetic ultrasonic sound time measurement method to reduce the influence of noise on electromagnetic ultrasonic sound time measurement, As shown in Figure 1, the method includes:

步骤101:获取电磁超声换能器接收线圈产生的感应电信号;Step 101: Obtain the induced electrical signal generated by the receiving coil of the electromagnetic ultrasonic transducer;

步骤102:将感应电信号输入门限值为第一预设值的正电压比较器得到第一数字信号,输入门限值为第二预设值的负电压比较器得到第二数字信号;Step 102: input the induction electrical signal into a positive voltage comparator whose threshold value is a first preset value to obtain a first digital signal, and input a negative voltage comparator whose threshold value is a second preset value to obtain a second digital signal;

步骤103:对第一数字信号和第二数字信号进行或操作,得到第三数字信号;Step 103: performing an OR operation on the first digital signal and the second digital signal to obtain a third digital signal;

步骤104:将第三数字信号以脉冲宽度为权重,进行加权处理,得到第四数字信号;Step 104: weighting the third digital signal with the pulse width as the weight to obtain the fourth digital signal;

步骤105:对第四数字信号进行转化处理,得到重建回波信号;Step 105: converting the fourth digital signal to obtain a reconstructed echo signal;

步骤106:根据重建回波信号,计算确定声时值。Step 106: Calculate and determine the acoustic time value according to the reconstructed echo signal.

从图1可以看出,通过将获取到的电磁超声换能器接收线圈产生的感应电信号输入到门限值为第一预设值的正电压比较器得到第一数字信号,输入到门限值为第二预设值的负电压比较器得到第二数字信号;对第一数字信号和第二数字信号进行或操作,得到第三数字信号;将第三数字信号以脉冲宽度为权重,进行加权处理,得到第四数字信号;对第四数字信号进行低通滤波处理,得到重建回波信号;根据重建回波信号,计算确定声时值;将第三数字信号以脉冲宽度为权重,进行加权处理,过滤了持续时间短且幅值较大的噪声,使得声时值的计算有效避免了尖峰噪声的干扰,提高了电磁超声声时测量的精度和准确性。It can be seen from Fig. 1 that the first digital signal is obtained by inputting the obtained induced electrical signal generated by the receiving coil of the electromagnetic ultrasonic transducer to the positive voltage comparator whose threshold value is the first preset value, and inputting it to the threshold The negative voltage comparator whose value is the second preset value obtains the second digital signal; performs an OR operation on the first digital signal and the second digital signal to obtain a third digital signal; takes the pulse width of the third digital signal as a weight, and performs Weighting processing to obtain the fourth digital signal; performing low-pass filtering processing on the fourth digital signal to obtain the reconstructed echo signal; calculating and determining the sound time value according to the reconstructed echo signal; taking the pulse width as the weight of the third digital signal, performing Weighting processing filters the noise with short duration and large amplitude, so that the calculation of sound time value can effectively avoid the interference of spike noise, and improve the precision and accuracy of electromagnetic ultrasonic sound time measurement.

具体实施时,首先获取电磁超声换能器接收线圈产生的感应电信号。将电磁超声换能器的激励线圈和接收线圈安装在试件上,电磁超声换能器激励线圈发出激励信号,经过耦合后,在接收线圈会产生感应电信号,采集感应电信号。During specific implementation, firstly, the induced electric signal generated by the receiving coil of the electromagnetic ultrasonic transducer is acquired. The excitation coil and receiving coil of the electromagnetic ultrasonic transducer are installed on the test piece, and the excitation coil of the electromagnetic ultrasonic transducer sends an excitation signal. After coupling, an induced electrical signal is generated in the receiving coil, and the induced electrical signal is collected.

获取感应电信号后,将感应电信号输入门限值为第一预设值的正电压比较器得到第一数字信号,输入门限值为第二预设值的负电压比较器得到第二数字信号,具体过程如图2所示,包括:After obtaining the induction electrical signal, input the induction electrical signal into a positive voltage comparator whose threshold value is the first preset value to obtain the first digital signal, and input a negative voltage comparator whose threshold value is the second preset value to obtain the second digital signal Signal, the specific process is shown in Figure 2, including:

步骤201:将截取的感应电信号中激励起始时刻前的信号确定为噪声信号;Step 201: Determining the signal before the excitation start moment in the intercepted induction electrical signal as a noise signal;

步骤202:将截取的感应电信号中第一预设时刻开始后第一预设时长的信号确定为回波信号;第一预设时刻距离激励起始时刻为第二预设时长;Step 202: Determine the signal of the first preset duration after the first preset moment in the intercepted induction electrical signal as the echo signal; the distance from the first preset moment to the excitation start time is the second preset duration;

步骤203:将回波信号输入门限值为第一预设值的正电压比较器得到第一数字信号,输入门限值为第二预设值的负电压比较器得到第二数字信号。Step 203: Input the echo signal into a positive voltage comparator with a threshold value of a first preset value to obtain a first digital signal, and input a negative voltage comparator with a threshold value of a second preset value to obtain a second digital signal.

截取激励起始时刻前的信号确定为噪声信号N;截取激励开始T0后时长为T1的回波信号Sig0,即第一预设时刻距离激励起始时刻为第二预设时长T0,第一预设时长为T1。其中,T0的选取要大于电磁超声放大电路的阻塞时间,并且需要使得截取到的回波信号具有高幅值和高信噪比,例如可预设基础阈值,选取T0使得截取到的回波信号的幅值和信噪比高于预设基础阈值;T1的选取需要大于回波信号周期值的三倍;经过多次试验,一般的,T0例如可取30~150μs,T1例如可取10~500μs。Intercepting the signal before the start time of the excitation is determined as the noise signal N; intercepting the echo signal Sig0 whose duration is T1 after the start of the excitation T0 , that is, the distance from the first preset time to the start time of the excitation is the second preset time length T0 , The first preset duration is T 1 . Among them, the selection of T0 should be greater than the blocking time of the electromagnetic ultrasonic amplifier circuit, and it is necessary to make the intercepted echo signal have high amplitude and high signal-to-noise ratio. For example, the basic threshold can be preset, and T0 is selected so that the intercepted echo signal The amplitude and signal-to-noise ratio of the wave signal are higher than the preset basic threshold; the selection of T 1 needs to be greater than three times the period value of the echo signal; Desirable 10 ~ 500μs.

具体实施例中,优选截取周期性变化的感应电信号确定为回波信号,将截取的感应电信号中第一预设时刻开始后第一预设时长T1的呈周期性变化的信号确定为回波信号。In a specific embodiment, it is preferable to intercept the periodically changing induction electrical signal and determine it as an echo signal, and determine the periodically changing signal of the first preset duration T1 after the first preset time in the intercepted induction electrical signal as echo signal.

将截取到的回波信号Sig0输入门限值为Thd1的正电压比较器得到第一数字信号Sig1,输入门限值为Thd2的负电压比较器得到第二数字信号Sig2,滤除了回波信号中的低幅值噪声信号。Input the intercepted echo signal Sig0 into a positive voltage comparator with a threshold value of Thd1 to obtain the first digital signal Sig1, and input a negative voltage comparator with a threshold value of Thd2 to obtain the second digital signal Sig2, and filter out the echo signal low amplitude noise signal.

正电压比较器的门限值设置值Thd1例如可以满足:The threshold setting value Thd1 of the positive voltage comparator can satisfy, for example:

0.5Npp<Thd1<Vpp 0.5N pp < Thd1 < V pp

其中,Npp表示噪声信号N的峰峰值;Vpp表示回波信号Sig0的峰峰值。Among them, N pp represents the peak-to-peak value of the noise signal N; V pp represents the peak-to-peak value of the echo signal Sig0.

负电压比较器的门限值设置值Thd2例如可以满足:The threshold setting value Thd2 of the negative voltage comparator can satisfy, for example:

-Vpp<Thd2<-0.5Npp -Vpp <Thd2< -0.5Npp

其中,Npp表示噪声信号N的峰峰值;Vpp表示回波信号Sig0的峰峰值。Among them, N pp represents the peak-to-peak value of the noise signal N; V pp represents the peak-to-peak value of the echo signal Sig0.

得到第一数字信号Sig1和第二数字信号Sig2后,对第一数字信号Sig1和第二数字信号Sig2进行或操作,得到第三数字信号Sig3。After the first digital signal Sig1 and the second digital signal Sig2 are obtained, an OR operation is performed on the first digital signal Sig1 and the second digital signal Sig2 to obtain a third digital signal Sig3.

将第三数字信号Sig3以脉冲宽度为权重,进行加权处理,得到第四数字信号Sig4,具体步骤包括:The third digital signal Sig3 is weighted by the pulse width, and weighted to obtain the fourth digital signal Sig4. The specific steps include:

以一固定采样频率遍历第三数字信号Sig3,确定多个采样点;Traversing the third digital signal Sig3 with a fixed sampling frequency to determine a plurality of sampling points;

若第三数字信号Sig3的第一个采样点的幅值为0,则在第一个采样时刻,第四数字信号Sig4的幅值为0;若第三数字信号Sig3的第一个采样点的幅值不为0,则在第一个采样时刻,第四数字信号Sig4的幅值为第三数字信号的第一个采样点的幅值加一;If the amplitude of the first sampling point of the third digital signal Sig3 is 0, then at the first sampling moment, the amplitude of the fourth digital signal Sig4 is 0; if the amplitude of the first sampling point of the third digital signal Sig3 is If the amplitude is not 0, then at the first sampling moment, the amplitude of the fourth digital signal Sig4 is the amplitude of the first sampling point of the third digital signal plus one;

除第一个采样点外,若第三数字信号Sig3采样点的幅值为0,则在采样时刻,第四数字信号Sig4的幅值为0;若第三数字信号Sig3采样点数值不为0,则在采样时刻,第四数字信号Sig4的幅值为前一采样时刻的第四数字信号Sig3的幅值加一。Except for the first sampling point, if the amplitude of the sampling point of the third digital signal Sig3 is 0, then at the sampling moment, the amplitude of the fourth digital signal Sig4 is 0; if the value of the sampling point of the third digital signal Sig3 is not 0 , then at the sampling moment, the amplitude of the fourth digital signal Sig4 is the amplitude of the fourth digital signal Sig3 at the previous sampling moment plus one.

通过按脉宽加权处理,实现了信号幅值的重建,过滤了持续时间短而幅值较大的尖峰噪声。By weighting the pulse width, the reconstruction of the signal amplitude is realized, and the spike noise with short duration and large amplitude is filtered.

得到第四数字信号Sig4后,对第四数字信号Sig4进行转化处理,得到重建回波信号Sig5,具体过程如图3所示,包括:After obtaining the fourth digital signal Sig4, convert the fourth digital signal Sig4 to obtain the reconstructed echo signal Sig5, the specific process is shown in Figure 3, including:

步骤301:对第四数字信号Sig4进行低通滤波处理;Step 301: Perform low-pass filtering processing on the fourth digital signal Sig4;

步骤302:得到经过低通滤波处理后的第四数字信号的多个幅值点;幅值点为低通滤波处理后的第四数字信号中采样时刻对应的信号幅值处的点;Step 302: Obtain a plurality of amplitude points of the fourth digital signal after low-pass filtering; the amplitude point is a point at the signal amplitude corresponding to the sampling time in the fourth digital signal after low-pass filtering;

步骤303:根据幅值点,做拟合处理得到重建回波信号Sig5。Step 303: Perform fitting processing according to the amplitude points to obtain the reconstructed echo signal Sig5.

其中,对第四数字信号Sig4进行低通滤波处理的低通滤波器的截止频率取值范围例如可以为:Wherein, the value range of the cutoff frequency of the low-pass filter for performing low-pass filtering processing on the fourth digital signal Sig4 may be, for example:

[0.1,0.9]×fe [0.1,0.9]×f e

fe表示电磁超声换能器激励线圈发射的激励信号的频率。f e represents the frequency of the excitation signal emitted by the excitation coil of the electromagnetic ultrasonic transducer.

通过对初始的感应电信号的上述处理重建了回波信号,使得无需增设A/D转换器,简化了硬件电路。The echo signal is reconstructed through the above-mentioned processing of the initial induced electrical signal, so that no additional A/D converter is needed, and the hardware circuit is simplified.

得到重建回波信号Sig5后,根据重建回波信号Sig5,计算确定声时值,具体过程如图4所示,包括:After obtaining the reconstructed echo signal Sig5, calculate and determine the sound time value according to the reconstructed echo signal Sig5, the specific process is shown in Figure 4, including:

步骤401:根据重建回波信号,得到重建回波信号的峰值VpStep 401: Obtain the peak value V p of the reconstructed echo signal according to the reconstructed echo signal;

步骤402:根据峰值Vp,确定阈值Thd3;Step 402: Determine the threshold Thd3 according to the peak value V p ;

步骤403:根据阈值Thd3,确定重建回波信号中超出阈值Thd3的极值点;Step 403: According to the threshold Thd3, determine the extreme point in the reconstructed echo signal exceeding the threshold Thd3;

步骤404:根据极值点,按如下公式计算确定声时值:Step 404: According to the extreme point, calculate and determine the sound time value according to the following formula:

T=t1-t2 T=t 1 -t 2

其中,T表示声时值;t1表示第一个超出阈值Thd3的极值点对应的时刻;t2表示第二个超出阈值Thd3的极值点对应的时刻。Among them, T represents the acoustic time value; t 1 represents the moment corresponding to the first extreme point exceeding the threshold Thd3; t 2 represents the moment corresponding to the second extreme point exceeding the threshold Thd3.

上述阈值Thd3取值例如可以为:The value of the above threshold Thd3 can be, for example:

[0.3,0.9]×Vp [0.3,0.9]× Vp

其中,Vp表示重建回波信号Sig5的峰值。Wherein, V p represents the peak value of the reconstructed echo signal Sig5.

可以理解的是,上述各个量的取值仅为举例,仅为本发明实施例中优选范围,实施时可以根据实际需要调整取值范围,这些取值范围均落入本发明的保护范围,实施例中不再赘述。It can be understood that the values of the above-mentioned quantities are only examples, and are only the preferred ranges in the embodiments of the present invention. During implementation, the value ranges can be adjusted according to actual needs. These value ranges all fall within the protection scope of the present invention. Implementation No more details in the example.

下面给出一具体实例说明本发明实施例如何测量电磁超声声时。本例应用于一厚度为8mm,材料为45号钢的试件,具体过程如图5所示。A specific example is given below to illustrate how the embodiment of the present invention measures electromagnetic ultrasonic sound. This example is applied to a test piece with a thickness of 8mm and a material of No. 45 steel. The specific process is shown in Figure 5.

传感器激励电压800V,激励频率为1MHz,传感器底端距离试件表面提离1mm。首先将传感器安装在8mm试件上,可以得到接收线圈产生的感应电信号,如图6所示。The excitation voltage of the sensor is 800V, the excitation frequency is 1MHz, and the bottom of the sensor is lifted 1mm away from the surface of the test piece. First, the sensor is installed on the 8mm test piece, and the induced electrical signal generated by the receiving coil can be obtained, as shown in Figure 6.

截取T0为40μs,T1为120μs的回波信号Sig0和噪声信号N,得到的回波信号Sig0如图7所示,可以得出回波信号Sig0的峰峰值约为4.8;噪声信号如图8所示,可以得出噪声信号N的峰峰值为2。Intercept echo signal Sig0 and noise signal N with T 0 of 40 μs and T 1 of 120 μs, the obtained echo signal Sig0 is shown in Figure 7, and the peak-to-peak value of echo signal Sig0 is about 4.8; the noise signal is shown in Figure 7 As shown in 8, it can be concluded that the peak-to-peak value of the noise signal N is 2.

根据回波信号Sig0的峰峰值4.8和噪声信号N的峰峰值2,可以设置正负电压比较器门限值为+1.2V和-1.2V,将回波信号Sig0输入设置好的正负电压比较器得到第一数字信号Sig1和第二数字信号Sig2。According to the peak-to-peak value of the echo signal Sig0 of 4.8 and the peak-to-peak value of the noise signal N of 2, the positive and negative voltage comparator thresholds can be set to +1.2V and -1.2V, and the echo signal Sig0 is input to the set positive and negative voltage comparison The device obtains the first digital signal Sig1 and the second digital signal Sig2.

对第一数字信号Sig1和第二数字信号Sig2进行或处理,得到如图9所示的第三数字信号Sig3。OR processing is performed on the first digital signal Sig1 and the second digital signal Sig2 to obtain a third digital signal Sig3 as shown in FIG. 9 .

将第三数字信号Sig3以脉冲宽度为权重,进行加权处理,得到第四数字信号Sig4,具体过程为:以50MHz遍历第三数字信号Sig3,若第三数字信号Sig3的第一个采样点的幅值为0,则在第一个采样时刻,第四数字信号Sig4的幅值为0;若第三数字信号Sig3的第一个采样点的幅值不为0,则在第一个采样时刻,第四数字信号Sig4的幅值为第三数字信号的第一个采样点的幅值加一;The third digital signal Sig3 is weighted by the pulse width, and the fourth digital signal Sig4 is obtained. The specific process is: traverse the third digital signal Sig3 at 50MHz, if the amplitude of the first sampling point of the third digital signal Sig3 If the value is 0, then at the first sampling moment, the amplitude of the fourth digital signal Sig4 is 0; if the amplitude of the first sampling point of the third digital signal Sig3 is not 0, then at the first sampling moment, The amplitude of the fourth digital signal Sig4 is the amplitude of the first sampling point of the third digital signal plus one;

除第一个采样点外,若第三数字信号Sig3采样点的幅值为0,则在该采样时刻,第四数字信号Sig4的幅值为0;若第三数字信号Sig3采样点数值不为0,则在该采样时刻,第四数字信号Sig4的幅值为前一采样时刻的第四数字信号Sig3的幅值加一,得到第四数字信号Sig4如图10所示。Except for the first sampling point, if the amplitude of the sampling point of the third digital signal Sig3 is 0, then at this sampling moment, the amplitude of the fourth digital signal Sig4 is 0; if the value of the sampling point of the third digital signal Sig3 is not 0, then at this sampling moment, the amplitude of the fourth digital signal Sig4 is the amplitude of the fourth digital signal Sig3 at the previous sampling moment plus one, and the fourth digital signal Sig4 is obtained as shown in FIG. 10 .

将第四数字信号Sig4通过截止频率为500KHz的5阶巴特沃斯滤波器,得到经过低通滤波处理后的第四数字信号的多个幅值点;幅值点为低通滤波处理后的第四数字信号中采样时刻对应的信号幅值处的点;根据幅值点,做拟合处理得到重建回波信号Sig5,如图11所示。The fourth digital signal Sig4 is passed through a 5th-order Butterworth filter with a cutoff frequency of 500KHz to obtain a plurality of amplitude points of the fourth digital signal after low-pass filtering; The point at the signal amplitude corresponding to the sampling time in the four digital signals; according to the amplitude point, perform fitting processing to obtain the reconstructed echo signal Sig5, as shown in FIG. 11 .

从图11中可以读出重建回波信号Sig5的峰值Vp为7.16,取0.707Vp作为阈值Thd3,可以得到前两个超出阈值Thd3的极大值的对应的时间差T为6.08μs,即声时值为6.08μs。It can be read from Fig. 11 that the peak value V p of the reconstructed echo signal Sig5 is 7.16, and taking 0.707 V p as the threshold Thd3, the time difference T corresponding to the first two maximum values exceeding the threshold Thd3 can be obtained as 6.08 μs, that is, the acoustic The time value is 6.08μs.

基于同一发明构思,本发明实施例还提供一种电磁超声声时测量装置,由于装置所解决问题的原理与电磁超声声时测量方法相似,因此电磁超声声时测量装置的实施可以参见电磁超声声时测量方法的实施,重复之处不再赘述,具体结构如图12所示:Based on the same inventive concept, the embodiment of the present invention also provides an electromagnetic ultrasonic sound time measurement device. Since the principle of the problem solved by the device is similar to the electromagnetic ultrasonic sound time measurement method, the implementation of the electromagnetic ultrasonic sound time measurement device can be found in the electromagnetic ultrasonic sound time measurement device. The implementation of the time measurement method, the repetition will not be repeated, the specific structure is shown in Figure 12:

信号获取模块1201,用于获取电磁超声换能器接收线圈产生的感应电信号;A signal acquisition module 1201, configured to acquire the induced electrical signal generated by the receiving coil of the electromagnetic ultrasonic transducer;

第二数字信号转化模块1202,用于将感应电信号输入门限值为第一预设值的正电压比较器得到第一数字信号,输入门限值为第二预设值的负电压比较器得到第二数字信号;The second digital signal conversion module 1202 is configured to input the induced electrical signal into a positive voltage comparator whose threshold value is a first preset value to obtain a first digital signal, and input a negative voltage comparator whose threshold value is a second preset value obtaining a second digital signal;

第三数字信号转化模块1203,用于对第一数字信号和第二数字信号进行或操作,得到第三数字信号;The third digital signal conversion module 1203 is configured to perform an OR operation on the first digital signal and the second digital signal to obtain a third digital signal;

第四数字信号转化模块1204,用于将第三数字信号以脉冲宽度为权重,进行加权处理,得到第四数字信号;A fourth digital signal conversion module 1204, configured to perform weighting processing on the third digital signal with the pulse width as the weight to obtain a fourth digital signal;

重建回波信号转化模块1205,用于对第四数字信号进行转化处理,得到重建回波信号;The reconstructed echo signal conversion module 1205 is configured to convert the fourth digital signal to obtain the reconstructed echo signal;

计算模块1206,用于根据重建回波信号,计算确定声时值。具体实施时,第二数字信号转化模块1202具体用于:将截取的感应电信号中激励起始时刻前的信号确定为噪声信号;Calculation module 1206, configured to calculate and determine the acoustic time value according to the reconstructed echo signal. During specific implementation, the second digital signal conversion module 1202 is specifically configured to: determine the signal before the excitation start moment in the intercepted induced electrical signal as a noise signal;

将截取的感应电信号中第一预设时刻开始后第一预设时长的信号确定为回波信号;第一预设时刻距离激励起始时刻为第二预设时长;Determining the signal of the first preset duration after the first preset moment in the intercepted induction electrical signal as the echo signal; the distance from the first preset moment to the excitation start time is the second preset duration;

将回波信号输入门限值为第一预设值的正电压比较器得到第一数字信号,输入门限值为第二预设值的负电压比较器得到第二数字信号。The echo signal is input to a positive voltage comparator with a threshold value of a first preset value to obtain a first digital signal, and input to a negative voltage comparator with a threshold value of a second preset value to obtain a second digital signal.

具体实施例中,第四数字信号转化模块1204具体用于:In a specific embodiment, the fourth digital signal conversion module 1204 is specifically used for:

以一固定采样频率遍历第三数字信号,确定多个采样点;traverse the third digital signal with a fixed sampling frequency, and determine a plurality of sampling points;

若第三数字信号的第一个采样点的幅值为0,则在第一个采样时刻,第四数字信号的幅值为0;若第三数字信号的第一个采样点的幅值不为0,则在第一个采样时刻,第四数字信号的幅值为第三数字信号的第一个采样点的幅值加一;If the amplitude of the first sampling point of the third digital signal is 0, then at the first sampling moment, the amplitude of the fourth digital signal is 0; if the amplitude of the first sampling point of the third digital signal is not is 0, then at the first sampling moment, the amplitude of the fourth digital signal is the amplitude of the first sampling point of the third digital signal plus one;

除第一个采样点外,若第三数字信号采样点的幅值为0,则在采样时刻,第四数字信号的幅值为0;若第三数字信号采样点数值不为0,则在采样时刻,第四数字信号的幅值为前一采样时刻的第四数字信号的幅值加一。Except for the first sampling point, if the amplitude of the sampling point of the third digital signal is 0, then at the sampling moment, the amplitude of the fourth digital signal is 0; if the value of the sampling point of the third digital signal is not 0, then at At the sampling moment, the amplitude of the fourth digital signal is the amplitude of the fourth digital signal at the previous sampling moment plus one.

具体实施例中,重建回波信号转化模块1205具体用于:In a specific embodiment, the reconstructed echo signal conversion module 1205 is specifically used for:

对第四数字信号进行低通滤波处理;performing low-pass filtering processing on the fourth digital signal;

得到经过低通滤波处理后的第四数字信号的多个幅值点;幅值点为低通滤波处理后的第四数字信号中采样时刻对应的信号幅值处的点;Obtaining a plurality of amplitude points of the fourth digital signal after the low-pass filtering process; the amplitude point is a point at the signal amplitude corresponding to the sampling moment in the fourth digital signal after the low-pass filtering process;

根据幅值点,做拟合处理得到重建回波信号。According to the amplitude points, a fitting process is performed to obtain a reconstructed echo signal.

具体实施例中,计算模块1206具体用于:In a specific embodiment, the calculating module 1206 is specifically used for:

根据重建回波信号,得到重建回波信号的峰值VpAccording to the reconstructed echo signal, the peak value V p of the reconstructed echo signal is obtained;

根据峰值Vp,确定阈值Thd3;Determine the threshold Thd3 according to the peak value V p ;

根据阈值Thd3,确定重建回波信号中超出阈值Thd3的极值点;According to the threshold Thd3, determine the extreme point in the reconstructed echo signal exceeding the threshold Thd3;

根据极值点,按如下公式计算确定声时值:According to the extreme point, calculate and determine the sound time value according to the following formula:

T=t1-t2 T=t 1 -t 2

其中,T表示声时值;t1表示第一个超出阈值Thd3的极值点对应的时刻;t2表示第二个超出阈值Thd3的极值点对应的时刻。Among them, T represents the acoustic time value; t 1 represents the moment corresponding to the first extreme point exceeding the threshold Thd3; t 2 represents the moment corresponding to the second extreme point exceeding the threshold Thd3.

本发明实施例还提供一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述方法。An embodiment of the present invention also provides a computer device, including a memory, a processor, and a computer program stored on the memory and operable on the processor, and the above method is implemented when the processor executes the computer program.

本发明实施例还提供一种计算机可读存储介质,存储有执行上述方法的计算机程序。An embodiment of the present invention also provides a computer-readable storage medium storing a computer program for executing the above method.

综上所述,本发明实施例提供的电磁超声声时测量方法及装置具有如下优点:In summary, the electromagnetic ultrasonic sound time measurement method and device provided by the embodiments of the present invention have the following advantages:

通过将获取到的电磁超声换能器接收线圈产生的感应电信号输入到门限值为第一预设值的正电压比较器得到第一数字信号,输入到门限值为第二预设值的负电压比较器得到第二数字信号,滤除了低幅值噪声信号;对第一数字信号和第二数字信号进行或操作,得到第三数字信号;将第三数字信号以脉冲宽度为权重,进行加权处理,得到第四数字信号,实现了信号幅值的重建,过滤了持续时间短而幅值较大的尖峰噪声;对第四数字信号进行低通滤波处理,得到重建回波信号;根据重建回波信号,计算确定声时值;将第三数字信号以脉冲宽度为权重,进行加权处理,过滤了持续时间短且幅值较大的噪声,使得声时值的计算有效避免了尖峰噪声的干扰,提高了电磁超声声时测量的精度和准确性。通过对初始的感应电信号的处理,重建了回波信号,使得无需增设A/D转换器,简化了硬件电路。The first digital signal is obtained by inputting the obtained induced electrical signal generated by the receiving coil of the electromagnetic ultrasonic transducer into a positive voltage comparator whose threshold value is the first preset value, and the threshold value input to the threshold value is the second preset value The negative voltage comparator of the second digital signal is obtained, and the low-amplitude noise signal is filtered; the first digital signal and the second digital signal are ORed to obtain the third digital signal; the third digital signal is weighted by the pulse width, Perform weighting processing to obtain the fourth digital signal, realize the reconstruction of the signal amplitude, and filter the peak noise with short duration and large amplitude; perform low-pass filtering on the fourth digital signal to obtain the reconstructed echo signal; Reconstruct the echo signal, calculate and determine the sound time value; weight the third digital signal with the pulse width as the weight, and filter the noise with short duration and large amplitude, so that the calculation of the sound time value effectively avoids the peak noise interference, which improves the precision and accuracy of electromagnetic ultrasonic sound measurement. The echo signal is reconstructed by processing the initial induced electric signal, so that no additional A/D converter is needed, and the hardware circuit is simplified.

本领域内的技术人员应明白,本发明的实施例可提供为方法、装置、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, apparatuses, or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本发明是参照根据本发明实施例的方法、装置和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus and computer program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.

以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明实施例可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, various modifications and changes may be made to the embodiments of the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims (15)

1. An electromagnetic ultrasonic sound time measurement method, characterized by comprising:
acquiring an induced electrical signal generated by a receiving coil of the electromagnetic ultrasonic transducer;
inputting the induced electrical signals into a positive voltage comparator with a threshold value of a first preset value to obtain first digital signals, and inputting a negative voltage comparator with a threshold value of a second preset value to obtain second digital signals;
performing an or operation on the first digital signal and the second digital signal to obtain a third digital signal;
determining a fourth digital signal according to the third digital signal;
converting the fourth digital signal to obtain a reconstructed echo signal;
calculating and determining a sound time value according to the reconstructed echo signal;
determining a fourth digital signal from the third digital signal comprises:
traversing the third digital signal at a fixed sampling frequency to determine a plurality of sampling points;
if the amplitude of the first sampling point of the third digital signal is 0, the amplitude of the fourth digital signal is 0 at the first sampling moment; if the amplitude of the first sampling point of the third digital signal is not 0, at the first sampling moment, the amplitude of the fourth digital signal is the amplitude of the first sampling point of the third digital signal plus one;
except for the first sampling point, if the amplitude of the third digital signal sampling point is 0, the amplitude of the fourth digital signal is 0 at the sampling moment; and if the value of the sampling point of the third digital signal is not 0, at the sampling moment, the amplitude of the fourth digital signal is the amplitude of the fourth digital signal at the previous sampling moment plus one.
2. The method of claim 1, wherein obtaining the first digital signal by a positive voltage comparator having an input threshold of the induced electrical signal of a first predetermined value, and obtaining the second digital signal by a negative voltage comparator having an input threshold of a second predetermined value comprises:
determining a signal before an excitation starting moment in the intercepted induction electric signal as a noise signal;
determining a signal with a first preset duration after a first preset time in the intercepted induced electrical signal is started as an echo signal; the distance between the first preset moment and the excitation starting moment is a second preset duration;
and inputting the echo signal into a positive voltage comparator with a threshold value of a first preset value to obtain a first digital signal, and inputting a negative voltage comparator with a threshold value of a second preset value to obtain a second digital signal.
3. The method of claim 2, wherein determining the intercepted induced electrical signal as an echo signal at a first predetermined time after a first predetermined time begins comprises:
and determining the intercepted signals which are periodically changed for a first preset time after the first preset time in the induction electric signals is started as echo signals.
4. The method of claim 2 wherein the threshold setting value Thd1 of the positive voltage comparator satisfies:
0.5N pp <Thd1<V pp
wherein, N pp A peak-to-peak value representing the noise signal; v pp Representing the peak-to-peak value of the echo signal.
5. The method of claim 2, wherein the threshold setting value Thd2 of the negative voltage comparator satisfies:
-V pp <Thd2<-0.5N pp
wherein, N pp A peak-to-peak value representing the noise signal; v pp Representing the peak-to-peak value of the echo signal.
6. The method of claim 1, wherein performing a conversion process on the fourth digital signal to obtain a reconstructed echo signal comprises:
performing low-pass filtering processing on the fourth digital signal;
obtaining a plurality of amplitude points of the fourth digital signal after low-pass filtering; the amplitude point is a point at a signal amplitude corresponding to the sampling moment in the fourth digital signal after the low-pass filtering processing;
and fitting according to the amplitude points to obtain a reconstructed echo signal.
7. The method of claim 6, wherein a cutoff frequency of a low-pass filter that performs low-pass filtering on the fourth digital signal ranges from:
[0.1,0.9]×f e
wherein f is e Representing the frequency of the excitation signal emitted by the excitation coil of the electromagnetic ultrasound transducer.
8. The method of claim 1, wherein calculating a determined acoustic time value from the reconstructed echo signal comprises:
obtaining the peak value V of the reconstructed echo signal according to the reconstructed echo signal p
According to the peak value V p Determining a threshold value Thd3;
according to the threshold value Thd3, determining an extreme point exceeding the threshold value Thd3 in the reconstructed echo signal;
and according to the extreme point, calculating and determining a sound time value according to the following formula:
T=t 1 -t 2
wherein T represents a sound time value; t is t 1 Representing the moment corresponding to the first extremum point exceeding said threshold Thd3; t is t 2 Indicating the moment in time corresponding to the second extreme point exceeding said threshold value Thd 3.
9. The method of claim 8, wherein the threshold value Thd3 ranges from:
[0.3,0.9]×V p
wherein, V p Representing the peak of the reconstructed echo signal.
10. An electromagnetic ultrasonic sound time measuring device, comprising:
the signal acquisition module is used for acquiring an induced electric signal generated by the receiving coil of the electromagnetic ultrasonic transducer;
the second digital signal conversion module is used for inputting the induced electrical signal into a positive voltage comparator with a threshold value of a first preset value to obtain a first digital signal, and inputting a negative voltage comparator with a threshold value of a second preset value to obtain a second digital signal;
the third digital signal conversion module is used for performing OR operation on the first digital signal and the second digital signal to obtain a third digital signal;
the fourth digital signal conversion module is used for determining a fourth digital signal according to the third digital signal;
the reconstruction echo signal conversion module is used for converting the fourth digital signal to obtain a reconstruction echo signal;
the calculation module is used for calculating and determining a sound time value according to the reconstructed echo signal;
the fourth digital signal conversion module is specifically configured to:
traversing the third digital signal at a fixed sampling frequency to determine a plurality of sampling points;
if the amplitude of the first sampling point of the third digital signal is 0, the amplitude of the fourth digital signal is 0 at the first sampling moment; if the amplitude of the first sampling point of the third digital signal is not 0, at the first sampling moment, the amplitude of the fourth digital signal is the amplitude of the first sampling point of the third digital signal plus one;
except for the first sampling point, if the amplitude of the third digital signal sampling point is 0, the amplitude of the fourth digital signal is 0 at the sampling moment; if the value of the sampling point of the third digital signal is not 0, at the sampling moment, the amplitude of the fourth digital signal is the amplitude of the fourth digital signal at the previous sampling moment plus one.
11. The apparatus of claim 10, wherein the second digital signal conversion module is specifically configured to:
determining a signal before an excitation starting moment in the intercepted induction electric signal as a noise signal;
determining a signal with a first preset duration after a first preset time in the intercepted induction electrical signal is started as an echo signal; the distance between the first preset moment and the excitation starting moment is a second preset duration;
and inputting the echo signal into a positive voltage comparator with a threshold value of a first preset value to obtain a first digital signal, and inputting a negative voltage comparator with a threshold value of a second preset value to obtain a second digital signal.
12. The apparatus of claim 11, wherein the reconstructed echo signal transformation module is specifically configured to:
performing low-pass filtering processing on the fourth digital signal;
obtaining a plurality of amplitude points of the fourth digital signal after low-pass filtering; the amplitude point is a point at a signal amplitude corresponding to the sampling moment in the fourth digital signal after the low-pass filtering processing;
and fitting according to the amplitude points to obtain a reconstructed echo signal.
13. The apparatus of claim 10, wherein the computing module is specifically configured to:
obtaining the peak value V of the reconstructed echo signal according to the reconstructed echo signal p
According to the peak value V p Determining a threshold value Thd3;
according to the threshold value Thd3, determining an extreme point exceeding the threshold value Thd3 in the reconstructed echo signal;
and according to the extreme point, calculating and determining a sound value according to the following formula:
T=t 1 -t 2
wherein T represents a sound time value; t is t 1 Representing the moment corresponding to the first extremum point exceeding said threshold Thd3; t is t 2 Indicating the moment in time corresponding to the second extreme point exceeding said threshold value Thd 3.
14. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any of claims 1 to 9 when executing the computer program.
15. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for executing the method of any one of claims 1 to 9.
CN201911306654.6A 2019-12-18 2019-12-18 Electromagnetic ultrasonic sound time measuring method and device Active CN113008174B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911306654.6A CN113008174B (en) 2019-12-18 2019-12-18 Electromagnetic ultrasonic sound time measuring method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911306654.6A CN113008174B (en) 2019-12-18 2019-12-18 Electromagnetic ultrasonic sound time measuring method and device

Publications (2)

Publication Number Publication Date
CN113008174A CN113008174A (en) 2021-06-22
CN113008174B true CN113008174B (en) 2023-04-07

Family

ID=76381078

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911306654.6A Active CN113008174B (en) 2019-12-18 2019-12-18 Electromagnetic ultrasonic sound time measuring method and device

Country Status (1)

Country Link
CN (1) CN113008174B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114760176B (en) * 2022-03-23 2023-11-24 深圳市国电科技通信有限公司 Power line communication adaptive impulse noise suppression method and device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1204397A (en) * 1995-10-19 1999-01-06 联邦科学及工业研究组织 Digital Velocimetry in Ultrasonic Velocity Measurement
JP2003121425A (en) * 2001-10-10 2003-04-23 Hitachi Eng Co Ltd Ultrasonic flaw detector and method
CN101124832A (en) * 2004-11-04 2008-02-13 美商内数位科技公司 Wireless Communication Method and Device for Adaptive Offset Channel Quality Indicator to Maintain Desirable Block Error Rate
CN101144798A (en) * 2006-09-14 2008-03-19 Ge医疗系统环球技术有限公司 Ultrasonic transducer driving circuit and ultrasonic diagnostic apparatus
CN107550517A (en) * 2016-06-30 2018-01-09 百胜集团 The method and system of backtracking dynamic emission focusing Wave beam forming is performed to ultrasonic signal
CN108332845A (en) * 2018-05-16 2018-07-27 上海小慧智能科技有限公司 Noise measuring method and acoustic meter

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2218181A4 (en) * 2007-10-26 2012-03-21 Lite On It Corp LOW COST SYSTEM CONCEPT FOR GESTURE CONTROL OF LIGHTING

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1204397A (en) * 1995-10-19 1999-01-06 联邦科学及工业研究组织 Digital Velocimetry in Ultrasonic Velocity Measurement
JP2003121425A (en) * 2001-10-10 2003-04-23 Hitachi Eng Co Ltd Ultrasonic flaw detector and method
CN101124832A (en) * 2004-11-04 2008-02-13 美商内数位科技公司 Wireless Communication Method and Device for Adaptive Offset Channel Quality Indicator to Maintain Desirable Block Error Rate
CN101144798A (en) * 2006-09-14 2008-03-19 Ge医疗系统环球技术有限公司 Ultrasonic transducer driving circuit and ultrasonic diagnostic apparatus
CN107550517A (en) * 2016-06-30 2018-01-09 百胜集团 The method and system of backtracking dynamic emission focusing Wave beam forming is performed to ultrasonic signal
CN108332845A (en) * 2018-05-16 2018-07-27 上海小慧智能科技有限公司 Noise measuring method and acoustic meter

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
单比特相关器在超声测距中的应用研究;张博轩 等;《无线电工程》;20190930;第49卷(第9期);第768-774页 *

Also Published As

Publication number Publication date
CN113008174A (en) 2021-06-22

Similar Documents

Publication Publication Date Title
Prosser et al. Time-frequency analysis of the dispersion of Lamb modes
KR101738803B1 (en) Ultrasonic flaw-detection method and ultrasonic flaw-detection device
KR20130137203A (en) Improvements in or relating to ultrasound generating apparatus, and methods for generating ultrasound
CN109781041B (en) A Method of Electromagnetic Ultrasonic Thickness Measurement Based on Frequency Domain Analysis
CN107991393B (en) Dual-frequency electromagnetic ultrasonic detection system
CN110108797B (en) Ultrasonic detection method of medium interface using acoustic impedance change information
CN110987102A (en) A kind of high anti-interference and high precision gas ultrasonic flowmeter and its measurement method
CN87102652A (en) The ultrasonic listening Apparatus and method for
CN108152362A (en) A kind of method of the magnetostriction detection steel construction defect based on pseudo-random sequence
KR20040066795A (en) Apparatus and method for indicating mechanical stiffness properties of body tissue technical field
CN113008174B (en) Electromagnetic ultrasonic sound time measuring method and device
CN100495021C (en) A Method of Using Ultrasonic Detecting Roll Internal Defects
JP2007225500A (en) Distance measuring method and device
KR100671418B1 (en) Metal plate thickness measurement device using electromagnetic induction ultrasound
CN110927729B (en) Acoustic radiation force pulse elastography method based on displacement attenuation characteristics
JP5904154B2 (en) Ultrasonic flaw detection method and ultrasonic flaw detection apparatus
WO2020191804A1 (en) High-precision long-distance underwater acoustic ranging method based on low-frequency continuous sound wave peak capture
CN116448217A (en) Signal processing system for magnetostrictive level meter
CN111504586B (en) System and method for measuring mechanical quality factor of vibrating body
KR101550706B1 (en) Thickness meter using ultrasonic wave and thickness measuring method of the same
Derhunov et al. Improvement of the ultrasonic testing method for materials with significant attenuaton
JP2818615B2 (en) Ultrasonic measuring device
WO2018208886A1 (en) Ultrasonic inspection methods and systems
RU2354932C2 (en) Resonance method of ultrasonic thickness measurement
US7954378B2 (en) Ultrasonic sensor and method for determining a separation of an object from an ultrasonic sensor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant