Method for efficiently measuring liquid level depth of long-distance pipe string on the basis of short-time linear frequency modulation excitation

By using short-time linear frequency modulation excitation and specific window function processing, combined with the three-spectral-line interpolation method, the problems of acoustic wave attenuation and noise interference in long-distance tubular columns were solved, achieving accuracy and stability in liquid level detection.

WO2026232947A1PCT designated stage Publication Date: 2026-11-12CHONGQING UNIV OF POSTS & TELECOMM
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2026/081978
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-05-06
Filing Date
2026-03-06
Publication Date
2026-11-12

AI Technical Summary

Technical Problem

In long-distance tubular columns, the high-frequency components of acoustic waves decay rapidly, and the resonance signal is easily interfered with by noise, resulting in unstable liquid level measurement and large errors. Existing technologies cannot achieve accurate liquid level detection.

Method used

Short-time linear frequency modulation excitation was used, and resonance characteristics were extracted and liquid surface depth was calculated by applying windowing with the Plancktaper window function and three-line interpolation.

Benefits of technology

It improves the accuracy and noise resistance of liquid level detection in long-distance tubular columns, expands the measurement range, and enables accurate detection in complex noise environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2026081978_12112026_PF_FP_ABST
    Figure CN2026081978_12112026_PF_FP_ABST
Patent Text Reader

Abstract

The present invention belongs to the field of liquid level measurement, and relates to a method for efficiently measuring the liquid level depth of a long-distance pipe string on the basis of short-time linear frequency modulation excitation, comprising: inputting linear frequency modulated acoustic waves into a long-distance pipe string to cause continuous resonance on an air column in the pipe; acquiring an acoustic signal of the air column in the pipe; using a filter to filter the acoustic signal; using a window function to perform windowing processing on a time domain signal; by means of discrete Fourier transform, calculating a frequency amplitude at a non-integer sequence number in an excitation frequency band, so as to obtain a refined frequency spectrum; normalizing the refined frequency spectrum and taking the logarithm to obtain a logarithmic frequency spectrum; performing smoothing filtering processing on the logarithmic frequency spectrum, and correspondingly subtracting the logarithmic frequency spectrum from a filtering result frequency spectrum to obtain a resonance characteristic of the signal; performing fast Fourier transform on the resonance characteristic, using a three-spectral-line interpolation method to calculate a correction quantity, and estimating the number of resonance peaks of the resonance characteristic; and, on the basis of the number of resonance peaks, calculating the liquid level depth of the long-distance pipe string. The present invention has the advantages of strong anti-noise capability, measurement results not being affected by the arrangement of the pipe string, and shorter measurement time.
Need to check novelty before this filing date? Find Prior Art

Description

A High-Efficiency Method for Detecting Liquid Level Depth in Long-Distance Tube Columns Based on Short-Time Linear Frequency Modulation Excitation Technical Field

[0001] This invention belongs to the field of liquid level depth detection in long-distance tubular columns, specifically relating to an efficient method for liquid level depth detection in long-distance tubular columns based on short-time linear frequency modulation excitation. Background Technology

[0002] In fields such as petroleum engineering, chemical engineering, and aerospace, liquid level is a crucial control parameter. Real-time, rapid, and accurate liquid level detection is essential for assessing system operating status and conducting monitoring and maintenance, and has become a necessary task to ensure safe production. In practical applications in industrial scenarios such as oil well dynamic fluid level measurement, long-distance pipeline transportation, and large-scale water conservancy projects, the length of the tubing string often exceeds 500 meters, and even reaches several kilometers, highlighting the increasing demand for long-distance liquid level detection.

[0003] Currently, liquid level measurement methods based on a tubular acoustic field model excite the air column inside the tube by sending white noise and high-frequency linear acoustic waves. After acquiring the resonance signal, signal processing is performed, and the liquid level depth is measured based on the mathematical relationship between the resonance characteristics and the tube length. However, during long-distance propagation, the high-frequency components of the acoustic waves attenuate rapidly and are often completely attenuated before reaching the liquid surface, severely affecting the excitation effect. Secondly, the acoustic signal acquired by the acoustic sensor not only includes the resonance signal of the air column but also interference from the excitation source itself and complex background noise. Weak resonance signals are easily submerged, severely interfering with the extraction and identification of resonance characteristics, thus affecting the stability and accuracy of liquid level measurement, and even leading to large measurement errors. Summary of the Invention

[0004] To address the problems existing in the prior art, this invention proposes a highly efficient method for detecting liquid level depth in long-distance tubular columns based on short-time linear frequency modulation excitation. This method includes:

[0005] S101. Set the measuring device at the port of the long-distance tubing;

[0006] S102. Set the parameters of the measuring device. The measuring device will input the generated linear frequency modulated sound wave into the long-distance tube column to continuously resonate the air column inside the tube.

[0007] S103. Acquire the acoustic signal of the air column inside the tube, filter the acoustic signal, normalize the filtered signal, and obtain the normalized time domain signal.

[0008] S104. The normalized time-domain signal is windowed using the plancktaper window function.

[0009] S105. Calculate the frequency amplitude at non-integer indexes within the excitation frequency band using the discrete Fourier transform based on the windowed time-domain signal. Add additional refined frequency points between every two adjacent spectral lines to obtain a more densely distributed refined spectrum. Normalize the obtained refined spectrum and take the logarithm of the normalized amplitude spectrum.

[0010] S106. Perform smoothing filtering on the logarithmic spectrum to obtain the filtering result;

[0011] S107. Subtract the corresponding logarithmic spectrum from the filtering result to obtain the resonance characteristics of the signal;

[0012] S108. Perform a fast Fourier transform on the resonance characteristics to obtain... According to the obtained The correction amount was calculated using the three-line interpolation method, and the number of resonance peaks of the resonance characteristics was estimated based on the correction amount; the liquid level depth of the long-distance tubing was calculated based on the number of resonance peaks.

[0013] The beneficial effects of this invention are:

[0014] The method proposed in this invention employs short-time linear frequency modulated acoustic wave excitation, which effectively solves the problems of rapid energy attenuation of excitation acoustic waves and difficulty in extracting weak resonance characteristics caused by noise excitation. The detection method is not limited by the arrangement of the tubing, has good noise resistance, enables rapid extraction of resonance characteristics, expands the measurement range, and provides reliable technical support for liquid level detection in long-distance tubing under complex noise backgrounds. It achieves accurate detection of liquid level depth in long-distance tubing under various application scenarios. This invention uses a plancktaper window function to window the time-domain signal and estimates the signal correction amount through three-spectral-line interpolation, thereby improving the accuracy of liquid level detection in long-distance tubing. Attached Figure Description

[0015] Figure 1 is a flowchart of the method of the present invention;

[0016] Figure 2 is a time-domain diagram of the acoustic signal collected by the acoustic sensor in the embodiment;

[0017] Figure 3 is a signal diagram of the acoustic signal collected in the embodiment after time-varying bandpass filtering;

[0018] Figure 4 shows the signal obtained after normalization of the filtered signal in the embodiment;

[0019] Figure 5 is a time-domain signal diagram of the normalized signal with a Plancktaper window in the embodiment;

[0020] Figure 6 shows the refined spectrum obtained by calculating the excitation frequency band using discrete Fourier transform in the embodiment;

[0021] Figure 7 is a comparison between the result of refining the spectrum, normalizing the spectrum, taking the logarithmic spectrum, and then smoothing and filtering it, and the logarithmic spectrum in the embodiment.

[0022] Figure 8 shows the signal resonance characteristics obtained by subtracting the corresponding spectrum of the logarithmic spectrum from the smoothing filter result in the embodiment.

[0023] Figure 9 is a schematic diagram of the calculation results of the number of resonance peaks obtained by estimating the three-spectral-line interpolation parameters after FFT of the resonance characteristics in the embodiment. Detailed Implementation

[0024] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0025] A highly efficient method for detecting liquid level depth in long-distance tubular columns based on short-time linear frequency modulation excitation, the method comprising:

[0026] S101. Set the measuring device at the port of the long-distance tubing;

[0027] S102. Set the parameters of the measuring device. The measuring device will input the generated linear frequency modulated sound wave into the long-distance tube column to continuously resonate the air column inside the tube.

[0028] S103. Acquire the acoustic signal of the air column inside the tube, filter the acoustic signal, normalize the filtered signal, and obtain the normalized time domain signal.

[0029] S104. The normalized time-domain signal is windowed using the plancktaper window function.

[0030] S105. Calculate the frequency amplitude at non-integer indexes within the excitation frequency band using the discrete Fourier transform based on the windowed time-domain signal. Add additional refined frequency points between every two adjacent spectral lines to obtain a more densely distributed refined spectrum. Normalize the obtained refined spectrum and take the logarithm of the normalized amplitude spectrum.

[0031] S106. Perform smoothing filtering on the logarithmic spectrum to obtain the filtering result;

[0032] S107. Subtract the corresponding logarithmic spectrum from the filtering result to obtain the resonance characteristics of the signal;

[0033] S108. Perform a fast Fourier transform on the resonance characteristics to obtain... According to the obtained The correction amount was calculated using the three-line interpolation method, and the number of resonance peaks of the resonance characteristics was estimated based on the correction amount; the liquid level depth of the long-distance tubing was calculated based on the number of resonance peaks.

[0034] This invention provides a method for detecting liquid level depth in a long-distance tubular column based on short-time linear frequency modulation excitation, as shown in Figure 1, including the following steps:

[0035] S1. Install the measuring device, including a signal generator, a vibration sound source and a sound sensor, all of which are installed on the same side of the tube end. The vibration sound source is installed at the tube end and the sound sensor is installed close to the vibration sound source.

[0036] S2. Set the sampling frequency Total sampling time The starting frequency of the linear frequency modulated signal Termination frequency A linear frequency modulated signal is generated by a signal generator and transmitted to an excitation sound source for continuous driving, thereby generating a linear frequency modulated sound wave.

[0037] S3. A linearly modulated (LFM) sound wave is input into the tube column to induce continuous resonance in the air column. The acoustic sensor collects the acoustic signal under LFM excitation. The main components include the linear frequency modulated sound wave signal generated by the excitation sound source and its higher-order response, the resonance signal of the air column inside the tube, noise and its interference;

[0038] S4. Constructing the center frequency Bandwidth that tracks the instantaneous frequency change of linear frequency modulated sound waves A time-varying bandpass filter for acoustic signals Filtering process is performed to obtain It effectively extracts the response signal components within a selected frequency range, while simultaneously achieving a higher-order response to linear frequency modulated sound waves. Noise of the measurement system and the environment Effective suppression. The filtered time-domain signal is normalized to obtain... This normalizes the signal amplitude to the range of [-1, 1].

[0039] S5. Normalize the signal after step S4. Using the plancktaper window function Windowing is applied to obtain a weighted signal. By applying a windowing filter, the Gibbs effect in the spectrum is effectively reduced, and the amplitude distortion of the spectrum caused by discontinuities at the endpoints is decreased.

[0040] S6. Calculate the windowed signal using Discrete Fourier Transform. The frequency amplitudes at non-integer indices within the mid-excitation frequency band are further refined by adding additional refined frequency points between every two adjacent spectral lines to obtain a more densely distributed refined spectrum. This significantly reduces the computational burden of frequency domain analysis while making the spectrum smoother. Frequency domain normalization is then applied to the refined spectrum to obtain... Taking the logarithm of the normalized spectrum yields the logarithmic spectrum. .

[0041] S7. To Perform smoothing filtering to obtain the filtering result Then and Perform spectral subtraction to extract signal resonance characteristics. . It contains a series of continuous resonance peaks and has a very strong periodicity. The number of signal resonance peaks can be obtained through a precise parameter estimation algorithm.

[0042] S8. Number of resonance peaks It is also a resonance characteristic. Normalized frequencies of the periodic components. For resonance characteristics. Obtained using Fast Fourier Transform ,remember for The largest spectral line number in the spectrum, and simultaneously recorded To normalize the frequency correction amount, using The correction amount was calculated using the three-line interpolation method for the highest spectral line and the two second-highest spectral lines to its left and right. Finally, a precise estimate of the number of resonance peaks was calculated.

[0043] S9. The liquid level depth in the tubular column over long distances is calculated by using the mathematical relationship between the number of resonance peaks obtained from accurate estimation and the liquid level depth.

[0044] In this embodiment, a measuring device is installed, the excitation sound source is installed at the inlet of the experimental pipe, and the sound sensor is installed at the front end of the excitation sound source. The inner diameter of the experimental pipe is... =0.46m, the actual distance from the pipe opening to the liquid surface is 956.29m.

[0045] Set the signal sampling frequency =5120Hz, linear frequency modulation excitation starting frequency =12Hz, cutoff frequency =67Hz, frequency change rate is 0.5Hz / s, total sampling time =110s, the speed of sound inside the tube is approximately =348.8m / s.

[0046] The acoustic sensor acquires acoustic signals under linear frequency modulation excitation, and its time-domain signal is shown in Figure 2. It can be seen that the useful signal is completely submerged. The acquired acoustic signal... After constructing a time-varying bandpass filter and performing filtering, the result is obtained. Filter center frequency The frequency range is 12~67Hz, and the bandwidth is... =8Hz. The time-domain signal after filtering is shown in Figure 3. It can be seen that the acoustic signal components within the selected frequency range have been effectively extracted, and a high-order response to linear frequency modulated sound waves has been achieved. Noise of the measurement system and the environment Effective suppression. The filtered time-domain signal is normalized to obtain... The calculation formula is expressed as:

[0047]

[0048] After normalization, the signal with a cutoff time of 20-80s is shown in Figure 4, corresponding to an excitation frequency range of 22-52Hz. It can be seen that the signal amplitude has been normalized to the range [-1, 1]. The plancktaper window function is then constructed. Weighting of time-domain signals, window function Represented as:

[0049]

[0050] in, This is the transition bandwidth control parameter for the window function. For the number of points of the window function, This is the sample number.

[0051] The plancktaper window function parameter is set to the transition bandwidth control parameter. =0.2. Signal after windowing. As shown in Figure 5, it can be seen that the signal exhibits smooth attenuation at both ends, effectively suppressing the Gibbs effect in the spectrum and suppressing energy overshoot at the truncation boundary, while also preserving the main components of the signal well.

[0052] Consider windowed signals The frequency band of the intermediate excitation is 20~55Hz. The frequency amplitude at non-integer indices within this frequency band is calculated using discrete Fourier transform. Additional refined frequency points are added between every two adjacent spectral lines to obtain a more densely distributed refined spectrum. The calculation formula is expressed as:

[0053]

[0054] in, , These are the upper and lower limit frequencies of the excitation frequency band, respectively; This is the frequency sequence number.

[0055] The refined spectrum obtained is shown in Figure 6. It can be seen that the considered excitation frequency band already includes the effective resonance characteristics of the tubular column.

[0056] After normalizing the refined spectrum, we obtain The calculation formula is expressed as:

[0057]

[0058] Take the logarithm of the normalization result to obtain the logarithmic spectrum. The calculation formula is expressed as:

[0059]

[0060] The logarithmic spectrum is smoothed using a filtering method, as shown in Figure 7. The red line in Figure 7 represents the result of the band smoothing filter. This refers to the unknown interference applied to the resonance characteristics due to the measurement system's characteristics. The resonance feature is extracted by subtracting the corresponding spectral values ​​from the logarithmic spectrum and its filtered result. The calculation formula is as follows:

[0061]

[0062] in, , These are the upper and lower limits of the selected frequency band, based on the considered excitation frequency band. =20Hz, =55Hz. Extracted resonance characteristics. As shown in Figure 8, the extracted resonance characteristics exhibit strong periodicity. Regarding the resonance characteristics... Obtained using FFT Calculated The spectral line number corresponding to the largest spectral line in the spectrum =165. Number of resonance peaks The calculation formula is:

[0063]

[0064] in, This is the normalized frequency correction value.

[0065] Using the three-spectral-line interpolation method, The precise parameter estimation is calculated using the following formula:

[0066]

[0067] in, , , express The modulus values ​​corresponding to the highest spectral line and the two second-highest spectral lines to its left and right; This represents the coefficients associated with the window function.

[0068] Due to the window function's transition bandwidth control parameter =0.2, we get =1.08, so the correction amount can be obtained by substituting it into the three-spectral-line interpolation formula. =-0.4815. Finally, the calculated number of resonance peaks is shown in Figure 9, with the normalized frequency... =164.5021.

[0069] Based on the relationship between the number of resonance peaks and the liquid level depth in the tubing, the liquid level depth in a long-distance tubing column can be calculated. The calculation formula is:

[0070]

[0071] in, This represents the average sound velocity within the tubular column; Indicates the number of resonance peaks; Representing acoustic signals Total points; Indicates resonance characteristics The number of points contained in it; Indicates the sampling frequency; This represents the inner diameter of the tubing. Substituting the parameters into the above formula, we can calculate the experimental pipe length L = 956.1839 m, with an actual measurement error of only 10.6 cm.

[0072] The above-described embodiments further illustrate the purpose, technical solution, and advantages of the present invention. It should be understood that the above-described embodiments are merely preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made to the present invention within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A method for efficient detection of liquid level depth in a long-distance tubular column based on short-time linear frequency modulation excitation, characterized in that, include: S101. Set the measuring device at the port of the long-distance tubing; S102. Set the parameters of the measuring device. The measuring device will input the generated linear frequency modulated sound wave into the long-distance tube column to continuously resonate the air column inside the tube. S103. Acquire the acoustic signal of the air column inside the tube, filter the acoustic signal, normalize the filtered signal, and obtain the normalized time domain signal. S104. The normalized time-domain signal is windowed using the plancktaper window function. S105. Calculate the frequency amplitude at non-integer indexes within the excitation frequency band using the discrete Fourier transform based on the windowed time-domain signal. Add additional refined frequency points between every two adjacent spectral lines to obtain a more densely distributed refined spectrum. Normalize the obtained refined spectrum and take the logarithm of the normalized amplitude spectrum. S106. Perform smoothing filtering on the logarithmic spectrum to obtain the filtering result; S107. Subtract the corresponding logarithmic spectrum from the filtering result to extract the resonance characteristics of the signal; S108. Perform a fast Fourier transform on the resonance characteristics to obtain... According to the obtained The correction amount was calculated using the three-line interpolation method, and the number of resonance peaks of the resonance characteristics was estimated based on the correction amount; the liquid level depth of the long-distance tubing was calculated based on the number of resonance peaks.

2. The efficient method for detecting liquid level depth in a long-distance tubular column based on short-time linear frequency modulation excitation according to claim 1, characterized in that, The measuring device includes a signal generator, an excitation sound source, and an acoustic sensor; wherein the signal generator, the excitation sound source, and the acoustic sensor are installed on the same side of the port of the long-distance tubing; the signal generator is used to generate a linear frequency modulated signal; the excitation sound source is installed at the port of the long-distance tubing, and the acoustic sensor is adjacent to the excitation sound source. The excitation sound source is used to generate linear frequency modulated sound waves, and the acoustic sensor is used to collect acoustic signals.

3. The efficient method for detecting liquid level depth in a long-distance tubular column based on short-time linear frequency modulation excitation according to claim 1, characterized in that, The measurement device generates linear frequency modulated sound waves by: a signal generator generating a linear frequency modulated signal, converting the linear frequency modulated signal into an analog signal through digital-to-analog conversion; inputting the analog signal into a power amplifier, and then inputting the amplified analog signal into an excitation sound source to continuously drive the excitation sound source to generate linear frequency modulated sound waves.

4. The efficient method for detecting liquid level depth in a long-distance tubular column based on short-time linear frequency modulation excitation according to claim 1, characterized in that, The filter is the center frequency. The bandwidth varies with the instantaneous frequency of the tracking linear frequency modulated sound wave. A time-varying bandpass filter.

5. The efficient method for detecting liquid level depth in a long-distance tubular column based on short-time linear frequency modulation excitation according to claim 1, characterized in that, The plancktaper window function is: ; in, This is the transition bandwidth control parameter for the window function. For the number of points of the window function, This is the sample number.

6. The efficient method for detecting liquid level depth in a long-distance tubular column based on short-time linear frequency modulation excitation according to claim 1, characterized in that, Obtaining a more densely distributed, refined spectrum includes: ; in, 、 These are the upper and lower limit frequencies of the excitation frequency band, respectively; Frequency number; For the number of points of the window function, This is the sample number.

7. The efficient method for detecting liquid level depth in a long-distance tubular column based on short-time linear frequency modulation excitation according to claim 1, characterized in that, The correction amount calculated using the three-line interpolation method includes: ; in, 、 、 express The modulus values ​​corresponding to the highest spectral line and the two second-highest spectral lines to its left and right; This represents the coefficients associated with the window function.

8. The efficient method for detecting liquid level depth in a long-distance tubular column based on short-time linear frequency modulation excitation according to claim 1, characterized in that, The number of resonance peaks in the resonance characteristics estimated based on the correction amount includes: ; in, for The largest spectral line number in; This is the normalized frequency correction value.

9. The efficient method for detecting liquid level depth in a long-distance tubular column based on short-time linear frequency modulation excitation according to claim 1, characterized in that, Calculating the liquid level depth in a long tubing string includes: ; in, This represents the average sound velocity within the tubular column; Indicates the number of resonance peaks; Representing acoustic signals Total points; Indicates resonance characteristics The number of points contained in it; Indicates the sampling frequency; Indicates the inner diameter of the tubular column.