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

Electromagnetic ultrasonic sound time measuring method and device Download PDF

Info

Publication number
CN113008174A
CN113008174A CN201911306654.6A CN201911306654A CN113008174A CN 113008174 A CN113008174 A CN 113008174A CN 201911306654 A CN201911306654 A CN 201911306654A CN 113008174 A CN113008174 A CN 113008174A
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.)
Granted
Application number
CN201911306654.6A
Other languages
Chinese (zh)
Other versions
CN113008174B (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

Abstract

The invention provides an electromagnetic ultrasonic sound time measuring method and device, wherein the method comprises the following steps: acquiring an induced electrical signal generated by a receiving coil of the electromagnetic ultrasonic transducer; inputting the induction 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; performing OR operation on the first digital signal and the second digital signal to obtain a third digital signal; weighting the third digital signal by taking the pulse width as weight to obtain a fourth digital signal; converting the fourth digital signal to obtain a reconstructed echo signal; and calculating and determining a sound time value according to the reconstructed echo signal. According to the method, the third digital signal is weighted by taking the pulse width as the weight, and noise with short duration and large amplitude is filtered, so that the calculation of the sound time value effectively avoids the interference of spike noise, and the precision and accuracy of electromagnetic ultrasonic sound time measurement are improved.

Description

Electromagnetic ultrasonic sound time measuring method and device
Technical Field
The invention relates to the technical field of nondestructive testing, in particular to an electromagnetic ultrasonic sound time measuring method and device.
Background
The electromagnetic ultrasonic transducer exciting coil excites ultrasonic waves in a test piece, the ultrasonic waves are transmitted in the test piece, the upper surface and the lower surface of the test piece are reflected, reflected waves vibrate and cut magnetic induction lines to generate induced currents in the test piece, the induced currents in the test piece are coupled to a receiving coil, the time interval (namely sound time) between adjacent echo signals of echo signals received by the receiving coil reflects the time required for the ultrasonic waves generated on the excited surface of the test piece to return to the excited surface of the test piece after being reflected once, and the thickness of the test piece can be obtained by combining the wave speed of the ultrasonic wave transmission. Therefore, in thickness measurement, the key to electromagnetic ultrasonic signal processing is acoustic time measurement.
In the prior art, when the electromagnetic ultrasonic signals are simply superposed and the sound is simplified in modes of increasing the signals in equal proportion and the like, the noise, especially the interference of spike noise, cannot be effectively reduced.
Disclosure of Invention
The embodiment of the invention provides an electromagnetic ultrasonic sound time measuring method, which is used for reducing the influence of noise on electromagnetic ultrasonic sound time measurement and comprises the following steps:
acquiring an induced electrical signal generated by a receiving coil of the electromagnetic ultrasonic transducer;
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;
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 by taking the pulse width as weight to obtain a fourth digital signal;
converting the fourth digital signal to obtain a reconstructed echo signal;
and calculating and determining a sound time value according to the reconstructed echo signal.
The embodiment of the present invention further provides an electromagnetic ultrasonic sound time measuring apparatus, for reducing the influence of noise on electromagnetic ultrasonic sound time measurement and simplifying a processing circuit, the apparatus including:
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 weighting the third digital signal by taking the pulse width as weight to obtain a fourth digital signal;
the reconstruction echo signal conversion module is used for converting the fourth digital signal to obtain a reconstruction echo signal;
and the calculation module is used for calculating and determining a sound time value according to the reconstructed echo signal.
The embodiment of the invention also provides computer equipment which comprises a memory, a processor and a computer program which is stored on the memory and can be run on the processor, wherein the processor realizes the electromagnetic ultrasonic sound time measuring method when executing the computer program.
Embodiments of the present invention also provide a computer-readable storage medium storing a computer program for executing the electromagnetic ultrasonic acoustic time measurement method.
In the embodiment of the invention, the acquired induced electrical signal generated by the receiving coil of the electromagnetic ultrasonic transducer is input to a positive voltage comparator with a threshold value being a first preset value to obtain a first digital signal, and is input to a negative voltage comparator with a threshold value being a second preset value to obtain a second digital signal; performing OR operation on the first digital signal and the second digital signal to obtain a third digital signal; weighting the third digital signal by taking the pulse width as weight to obtain a fourth digital signal; performing low-pass filtering processing on the fourth digital signal to obtain a reconstructed echo signal; calculating and determining a sound time value according to the reconstructed echo signal; and weighting the third digital signal by taking the pulse width as the weight, and filtering the noise with short duration and large amplitude, so that the calculation of the sound time value effectively avoids the interference of spike noise, and the precision and accuracy of the electromagnetic ultrasonic sound time measurement are improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of an electromagnetic ultrasonic time measurement method in an embodiment of the present invention.
FIG. 2 is a diagram illustrating a specific step of step 102 in an embodiment of the present invention.
FIG. 3 is a diagram illustrating a specific step of step 105 in an embodiment of the present invention.
FIG. 4 is a diagram illustrating a specific step of step 106 according to an embodiment of the present invention.
Fig. 5 is a flowchart illustrating an implementation of a specific application of the electromagnetic ultrasonic time measurement in the embodiment of the present invention.
Fig. 6 is a schematic diagram of an induced electrical signal generated by the receiving coil according to an embodiment of the present invention.
Fig. 7 is a diagram illustrating an intercepted echo signal Sig0 according to an embodiment of the invention.
Fig. 8 is a schematic diagram of the noise signal N obtained by the embodiment of the present invention.
Fig. 9 is a diagram of a third digital signal Sig3 according to an embodiment of the invention.
Fig. 10 is a diagram of a fourth digital signal Sig4 according to an embodiment of the invention.
Fig. 11 is a diagram illustrating the reconstruction of the echo signal Sig5 according to an embodiment of the present invention.
Fig. 12 is a schematic diagram of an electromagnetic ultrasonic sound time measuring device in the embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
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, which is used for reducing the influence of noise on electromagnetic ultrasonic sound time measurement, and as shown in fig. 1, the method includes:
step 101: acquiring an induced electrical signal generated by a receiving coil of the electromagnetic ultrasonic transducer;
step 102: inputting the induction 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;
step 103: performing OR operation on the first digital signal and the second digital signal to obtain a third digital signal;
step 104: weighting the third digital signal by taking the pulse width as weight to obtain a fourth digital signal;
step 105: converting the fourth digital signal to obtain a reconstructed echo signal;
step 106: and calculating and determining a sound time value according to the reconstructed echo signal.
As can be seen from fig. 1, 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 with the threshold value being the first preset value, and the second digital signal is obtained by inputting the obtained induced electrical signal to the negative voltage comparator with the threshold value being the second preset value; performing OR operation on the first digital signal and the second digital signal to obtain a third digital signal; weighting the third digital signal by taking the pulse width as weight to obtain a fourth digital signal; performing low-pass filtering processing on the fourth digital signal to obtain a reconstructed echo signal; calculating and determining a sound time value according to the reconstructed echo signal; and weighting the third digital signal by taking the pulse width as the weight, and filtering the noise with short duration and large amplitude, so that the calculation of the sound time value effectively avoids the interference of spike noise, and the precision and accuracy of the electromagnetic ultrasonic sound time measurement are improved.
When the method is implemented, firstly, an induced electric signal generated by a receiving coil of the electromagnetic ultrasonic transducer is obtained. An exciting coil and a receiving coil of the electromagnetic ultrasonic transducer are installed on a test piece, the exciting coil of the electromagnetic ultrasonic transducer sends out an exciting signal, and after coupling, an induced electrical signal is generated at the receiving coil and is collected.
After the induction electrical signal is obtained, the induction electrical signal is input into a positive voltage comparator with a threshold value of a first preset value to obtain a first digital signal, and a negative voltage comparator with a threshold value of a second preset value is input to obtain a second digital signal, and the specific process is as shown in fig. 2 and includes the following steps:
step 201: determining a signal before an excitation starting moment in the intercepted induction electric signal as a noise signal;
step 202: determining a signal with a first preset duration after a first preset time in the intercepted induction electric signal is started as an echo signal; the distance between the first preset moment and the excitation starting moment is a second preset duration;
step 203: 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.
Intercepting a signal before an excitation starting moment to determine as a noise signal N; intercepting the excitation onset T0The last time length is T1The echo signal Sig0, i.e. the first predetermined time is a second predetermined time period T from the excitation start time0The first preset duration is T1. Wherein, T0Is selected to be larger than the blocking time of the electromagnetic ultrasonic amplifying circuit and is required to make the intercepted echo signal have high amplitude and high signal-to-noise ratio, for example, the basic threshold value can be preset, T is selected0Enabling the amplitude value and the signal-to-noise ratio of the intercepted echo signal to be higher than a preset basic threshold value; t is1The selection of the echo signal is required to be more than three times of the echo signal period value; after a number of tests, in general, T0For example, 30 to 150. mu.s, T1For example, 10 to 500. mu.s can be used.
In a specific embodiment, the induced electrical signal with periodic variation is preferably intercepted and determined as an echo signal, and a first preset time length T is preset after a first preset time in the intercepted induced electrical signal starts1The periodically varying signal of (2) is determined as an echo signal.
Inputting the intercepted echo signal Sig0 into a positive voltage comparator with a threshold value Thd1 to obtain a first digital signal Sig1, and inputting a negative voltage comparator with a threshold value Thd2 to obtain a second digital signal Sig2, so that low-amplitude noise signals in the echo signal are filtered.
The threshold value setting Thd1 of the positive voltage comparator may satisfy, for example:
0.5Npp<Thd1<Vpp
wherein N isppRepresents the peak-to-peak value of the noise signal N; vppRepresenting the peak-to-peak value of the echo signal Sig 0.
The threshold value setting value Thd2 of the negative voltage comparator may, for example, satisfy:
-Vpp<Thd2<-0.5Npp
wherein N isppRepresents the peak-to-peak value of the noise signal N; vppRepresenting the peak-to-peak value of the echo signal Sig 0.
After the first digital signal Sig1 and the second digital signal Sig2 are obtained, the first digital signal Sig1 and the second digital signal Sig2 are ored to obtain a third digital signal Sig 3.
Weighting the third digital signal Sig3 by taking the pulse width as the weight to obtain a fourth digital signal Sig4, which comprises the following steps:
traversing the third digital signal Sig3 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 Sig3 is 0, the amplitude of the fourth digital signal Sig4 is 0 at the first sampling time; if the amplitude of the first sampling point of the third digital signal Sig3 is not 0, at the first sampling time, the amplitude of the fourth digital signal Sig4 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 sampling point of the third digital signal Sig3 is 0, the amplitude of the fourth digital signal Sig4 is 0 at the sampling time; if the value of the sampling point of the third digital signal Sig3 is not 0, the amplitude of the fourth digital signal Sig4 at the sampling time is the amplitude of the fourth digital signal Sig3 at the previous sampling time plus one.
Through weighting processing according to pulse width, reconstruction of signal amplitude is achieved, and spike noise with short duration and large amplitude is filtered.
After the fourth digital signal Sig4 is obtained, the fourth digital signal Sig4 is converted to obtain a reconstructed echo signal Sig5, and the specific process is as shown in fig. 3, and includes:
step 301: low-pass filtering the fourth digital signal Sig 4;
step 302: 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;
step 303: and performing fitting processing according to the amplitude points to obtain a reconstructed echo signal Sig 5.
The range of the cutoff frequency of the low-pass filter that performs the low-pass filtering process on the fourth digital signal Sig4 may be, for example:
[0.1,0.9]×fe
ferepresenting the frequency of the excitation signal emitted by the excitation coil of the electromagnetic ultrasound transducer.
The echo signal is reconstructed by the processing of the initial induced electrical signal, so that an A/D converter does not need to be additionally arranged, and a hardware circuit is simplified.
After the reconstructed echo signal Sig5 is obtained, an acoustic time value is calculated and determined according to the reconstructed echo signal Sig5, and a specific process is shown in fig. 4, and includes:
step 401: obtaining the peak value V of the reconstructed echo signal according to the reconstructed echo signalp
Step 402: according to peak value VpDetermining a threshold value Thd 3;
step 403: according to the threshold value Thd3, determining an extreme point exceeding the threshold value Thd3 in the reconstructed echo signal;
step 404: and according to the extreme point, calculating and determining a sound time value according to the following formula:
T=t1-t2
wherein T represents a sound time value; t is t1Indicating the time corresponding to the first extremum point exceeding the threshold Thd 3; t is t2Indicating the time corresponding to the second extremum point that exceeds the threshold Thd 3.
The threshold value Thd3 may be, for example:
[0.3,0.9]×Vp
wherein, VpRepresenting the peak of the reconstructed echo signal Sig 5.
It should be understood that the values of the above quantities are only examples, and are only preferred ranges in the embodiments of the present invention, and the value ranges may be adjusted according to actual needs during implementation, and all of the value ranges fall within the protection range of the present invention, and no further description is given in the embodiments.
A specific example is given below to illustrate how embodiments of the present invention measure electromagnetic ultrasound. The example is applied to a test piece with the thickness of 8mm and the material of 45 steel, and the specific process is shown in FIG. 5.
The excitation voltage of the sensor is 800V, the excitation frequency is 1MHz, and the distance from the bottom end of the sensor to the surface of the test piece is 1 mm. First, the sensor is mounted on an 8mm test piece, and an induced electrical signal generated by the receiving coil can be obtained, as shown in fig. 6.
Intercept T0Is 40 mus, T1The echo signal Sig0 and the noise signal N of 120 μ s, and the obtained echo signal Sig0 are shown in fig. 7, and it can be found that the peak-to-peak value of the echo signal Sig0 is about 4.8; noise signal as shown in fig. 8, the peak-to-peak value of the noise signal N can be found to be 2.
According to the peak-to-peak value 4.8 of the echo signal Sig0 and the peak-to-peak value 2 of the noise signal N, the threshold values of the positive and negative voltage comparators can be set to +1.2V and-1.2V, and the echo signal Sig0 is input into the set positive and negative voltage comparators to obtain the first digital signal Sig1 and the second digital signal Sig 2.
The first digital signal Sig1 and the second digital signal Sig2 are ored to obtain a third digital signal Sig3 shown in fig. 9.
Weighting the third digital signal Sig3 by using the pulse width as the weight to obtain a fourth digital signal Sig4, specifically comprising the following steps: traversing the third digital signal Sig3 at 50MHz, if the amplitude of the first sampling point of the third digital signal Sig3 is 0, then at the first sampling time, 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, at the first sampling time, the amplitude of the fourth digital signal Sig4 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 sampling point of the third digital signal Sig3 is 0, then at this sampling time, 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, at the sampling time, the amplitude of the fourth digital signal Sig4 is the amplitude of the fourth digital signal Sig3 at the previous sampling time plus one, and the fourth digital signal Sig4 is as shown in fig. 10.
Passing the fourth digital signal Sig4 through a 5-order butterworth filter with a cut-off frequency of 500KHz to obtain 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; according to the amplitude points, fitting processing is performed to obtain a reconstructed echo signal Sig5, as shown in fig. 11.
The peak V of the reconstructed echo signal Sig5 can be read out from fig. 11pAt 7.16, take 0.707VpAs the threshold Thd3, it can be found that the corresponding time difference T of the first two maximum values exceeding the threshold Thd3 is 6.08 μ s, that is, the sound value is 6.08 μ s.
Based on the same inventive concept, embodiments of the present invention further provide an electromagnetic ultrasonic sound time measurement apparatus, and because the principle of the problem solved by the apparatus is similar to the electromagnetic ultrasonic sound time measurement method, the implementation of the electromagnetic ultrasonic sound time measurement apparatus can refer to the implementation of the electromagnetic ultrasonic sound time measurement method, and the repeated parts are not repeated, and the specific structure is as shown in fig. 12:
a signal obtaining module 1201, configured to obtain an induced electrical signal generated by a receiving coil of the electromagnetic ultrasonic transducer;
the second digital signal conversion module 1202 is configured to input the sensing electrical signal into a positive voltage comparator with a threshold value being a first preset value to obtain a first digital signal, and input into a negative voltage comparator with a threshold value being a second preset value to obtain a second digital signal;
a third digital signal conversion module 1203, 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 1204, configured to perform weighting processing on the third digital signal with pulse width as a weight to obtain a fourth digital signal;
a reconstructed echo signal conversion module 1205, configured to convert the fourth digital signal to obtain a reconstructed echo signal;
and the calculating module 1206 is used for calculating and determining the sound time value according to the reconstructed echo signal. In specific implementation, the second digital signal conversion module 1202 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 electric 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.
In a specific embodiment, the fourth digital signal conversion module 1204 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.
In a specific embodiment, the reconstruction echo signal conversion module 1205 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.
In a specific embodiment, the calculating module 1206 is specifically configured to:
obtaining the peak value V of the reconstructed echo signal according to the reconstructed echo signalp
According to peak value VpDetermining a threshold value Thd 3;
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=t1-t2
wherein T represents a sound time value; t is t1Indicating the time corresponding to the first extremum point exceeding the threshold Thd 3; t is t2Indicating the time corresponding to the second extremum point that exceeds the threshold Thd 3.
The embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the method when executing the computer program.
An embodiment of the present invention further provides a computer-readable storage medium storing a computer program for executing the method.
In summary, the electromagnetic ultrasonic sound time measuring method and the device provided by the embodiment of the invention have the following advantages:
the obtained induction electrical signal generated by the receiving coil of the electromagnetic ultrasonic transducer is input to a positive voltage comparator with a threshold value of a first preset value to obtain a first digital signal, and is input to a negative voltage comparator with a threshold value of a second preset value to obtain a second digital signal, so that a low-amplitude noise signal is filtered; performing OR operation on the first digital signal and the second digital signal to obtain a third digital signal; weighting the third digital signal by taking the pulse width as weight to obtain a fourth digital signal, realizing reconstruction of signal amplitude, and filtering spike noise with short duration and larger amplitude; performing low-pass filtering processing on the fourth digital signal to obtain a reconstructed echo signal; calculating and determining a sound time value according to the reconstructed echo signal; and weighting the third digital signal by taking the pulse width as the weight, and filtering the noise with short duration and large amplitude, so that the calculation of the sound time value effectively avoids the interference of spike noise, and the precision and accuracy of the electromagnetic ultrasonic sound time measurement are improved. The echo signal is reconstructed by processing the initial induction electric signal, so that an A/D converter is not required to be additionally arranged, and a hardware circuit is simplified.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may 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, and the like) 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 will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes may be made to the embodiment of the present invention by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (17)

1. An electromagnetic ultrasonic sound time measuring method is characterized by comprising the following steps:
acquiring an induced electrical signal generated by a receiving coil of the electromagnetic ultrasonic transducer;
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;
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 by taking the pulse width as weight to obtain a fourth digital signal;
converting the fourth digital signal to obtain a reconstructed echo signal;
and calculating and determining a sound time value according to the reconstructed echo signal.
2. The method of claim 1, wherein inputting the induced electrical signal into a positive voltage comparator having a threshold value of a first predetermined value to obtain a first digital signal, and inputting the induced electrical signal into a negative voltage comparator having a threshold value of a second predetermined value to obtain a second digital signal 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 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.
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 positive voltage comparator threshold setting value Thd1 satisfies:
0.5Npp<Thd1<Vpp
wherein N isppA peak-to-peak value representing the noise signal; vppRepresenting 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:
-Vpp<Thd2<-0.5Npp
wherein N isppA peak-to-peak value representing the noise signal; vppRepresenting the peak-to-peak value of the echo signal.
6. The method of claim 1, wherein weighting the third digital signal with a pulse width as a weight to obtain a fourth 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; 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.
7. 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.
8. The method of claim 7, 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]×fe
wherein f iseRepresenting electromagnetic ultrasonic transducersThe frequency of the excitation signal emitted by the excitation coil.
9. The method of claim 1, wherein from the reconstructed echo digital signal, computing a determined acoustic time value comprises:
obtaining the peak value V of the reconstructed echo signal according to the reconstructed echo signalp
According to the peak value VpDetermining a threshold value Thd 3;
according to the threshold value Thd3, determining an extreme point in the reconstructed echo signal exceeding the threshold value Thd 3;
and according to the extreme point, calculating and determining a sound time value according to the following formula:
T=t1-t2
wherein T represents a sound time value; t is t1Representing the time corresponding to the first extremum point exceeding the threshold Thd 3; t is t2Indicating the time corresponding to the second extremum point exceeding the threshold Thd 3.
10. The method of claim 9, wherein the threshold value Thd3 ranges from:
[0.3,0.9]×Vp
wherein, VpRepresenting the peak of the reconstructed echo signal.
11. An electromagnetic ultrasonic acoustic 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 weighting the third digital signal by taking the pulse width as weight to obtain a fourth digital signal;
the reconstruction echo signal conversion module is used for converting the fourth digital signal to obtain a reconstruction echo signal;
and the calculation module is used for calculating and determining a sound time value according to the reconstructed echo signal.
12. The apparatus of claim 11, 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.
13. The apparatus of claim 11, wherein 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.
14. 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.
15. The apparatus of claim 11, wherein the computing module is specifically configured to:
obtaining the peak value V of the reconstructed echo signal according to the reconstructed echo signalp
According to the peak value VpDetermining a threshold value Thd 3;
according to the threshold value Thd3, determining an extreme point in the reconstructed echo signal exceeding the threshold value Thd 3;
and according to the extreme point, calculating and determining a sound time value according to the following formula:
T=t1-t2
wherein T represents a sound time value; t is t1Representing the time corresponding to the first extremum point exceeding the threshold Thd 3; t is t2Indicating the time corresponding to the second extremum point exceeding the threshold Thd 3.
16. 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 one of claims 1 to 10 when executing the computer program.
17. 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 10.
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 true CN113008174A (en) 2021-06-22
CN113008174B 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)

Cited By (1)

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

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1204397A (en) * 1995-10-19 1999-01-06 联邦科学及工业研究组织 Digital speed determination in ultrasonic flow measurements
JP2003121425A (en) * 2001-10-10 2003-04-23 Hitachi Eng Co Ltd Ultrasonic test equipment and method
CN101124832A (en) * 2004-11-04 2008-02-13 美商内数位科技公司 Wireless communication method and apparatus for adaptively biasing channel quality indicators to maintain a desired block error rate
CN101144798A (en) * 2006-09-14 2008-03-19 Ge医疗系统环球技术有限公司 Ultrasonic transducer driving circuit and ultrasonic diagnostic apparatus
US20100253241A1 (en) * 2007-10-26 2010-10-07 Tony Petrus Van Endert Low Cost System Concept for Gesture Light Control
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

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1204397A (en) * 1995-10-19 1999-01-06 联邦科学及工业研究组织 Digital speed determination in ultrasonic flow measurements
JP2003121425A (en) * 2001-10-10 2003-04-23 Hitachi Eng Co Ltd Ultrasonic test equipment and method
CN101124832A (en) * 2004-11-04 2008-02-13 美商内数位科技公司 Wireless communication method and apparatus for adaptively biasing channel quality indicators to maintain a desired block error rate
CN101144798A (en) * 2006-09-14 2008-03-19 Ge医疗系统环球技术有限公司 Ultrasonic transducer driving circuit and ultrasonic diagnostic apparatus
US20100253241A1 (en) * 2007-10-26 2010-10-07 Tony Petrus Van Endert Low Cost System Concept for Gesture Light Control
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
张博轩 等: "单比特相关器在超声测距中的应用研究", 《无线电工程》 *

Cited By (2)

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

Also Published As

Publication number Publication date
CN113008174B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
Prosser et al. Time-frequency analysis of the dispersion of Lamb modes
KR20130137203A (en) Improvements in or relating to ultrasound generating apparatus, and methods for generating ultrasound
CN101981442B (en) A method and apparatus for phase sensitive detection of eddy current measurements
CN101855440A (en) Knock signal detection in automotive systems
CN109781041B (en) Electromagnetic ultrasonic thickness measurement method based on frequency domain analysis
JPH10253339A (en) Method and apparatus for measurement by utilizing sound wave
CN104995530B (en) Subject information acquisition device and subject information acquisition method
JP2007225500A (en) Distance measuring method and device
CN113008174B (en) Electromagnetic ultrasonic sound time measuring method and device
CN110243421B (en) Method for correcting ultrasonic flowmeter with frequency drift correction function
JP2006220629A (en) Internal impedance measuring device for storage battery, and internal impedance measuring method of the storage battery
AU1788192A (en) Improvements in and relating to particle detection and analysis
US9395235B2 (en) Striking detection device and method
JP4121426B2 (en) Method and apparatus for measuring coefficient for vibration energy loss
CN111812404B (en) Signal processing method and processing device
JP2000137053A (en) On-line diagnostic method and device for diagnosing insulation deterioration
RU2354932C2 (en) Resonance method of ultrasonic thickness measurement
JP2891767B2 (en) AE generation position locating device
US7954378B2 (en) Ultrasonic sensor and method for determining a separation of an object from an ultrasonic sensor
KR100671418B1 (en) Method for Measuring Thickness of Metal Sheet by using Electromagnetic Acoustic Transducer
JP2008211762A (en) Detecting device and detecting method
RU2619812C1 (en) Method of non-destructive testing of hidden defects in technically complex structural element which is not accessible and device for its implementation
KR101550706B1 (en) Thickness meter using ultrasonic wave and thickness measuring method of the same
JP2818615B2 (en) Ultrasonic measuring device
RU2769080C1 (en) Method for ultrasonic control of materials and products

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