[go: up one dir, main page]

CN114324972B - Self-adaptive generalized cross-correlation time delay estimation method suitable for fluid cross-correlation speed measurement - Google Patents

Self-adaptive generalized cross-correlation time delay estimation method suitable for fluid cross-correlation speed measurement Download PDF

Info

Publication number
CN114324972B
CN114324972B CN202210020810.8A CN202210020810A CN114324972B CN 114324972 B CN114324972 B CN 114324972B CN 202210020810 A CN202210020810 A CN 202210020810A CN 114324972 B CN114324972 B CN 114324972B
Authority
CN
China
Prior art keywords
cross
correlation
signal
bsf
time delay
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
CN202210020810.8A
Other languages
Chinese (zh)
Other versions
CN114324972A (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.)
Zhejiang University ZJU
Original Assignee
Zhejiang University ZJU
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 Zhejiang University ZJU filed Critical Zhejiang University ZJU
Priority to CN202210020810.8A priority Critical patent/CN114324972B/en
Publication of CN114324972A publication Critical patent/CN114324972A/en
Application granted granted Critical
Publication of CN114324972B publication Critical patent/CN114324972B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measuring Volume Flow (AREA)

Abstract

The invention discloses a self-adaptive generalized cross-correlation time delay estimation method suitable for fluid cross-correlation speed measurement. Aiming at the problem that the existing cross-correlation method cannot effectively realize the time delay estimation of the fluid signal containing the strong periodic component, the method introduces an adaptive filter to realize the time delay estimation of the fluid signal containing the strong periodic component based on the basic idea of the generalized cross-correlation. The invention determines whether strong periodic components exist and the corresponding frequency thereof and designs the corresponding band elimination filter for inhibition by carrying out frequency domain analysis on the input upstream and downstream signals, then calculates the cross-power spectral density after inhibition, obtains a cross-correlation function by Fourier inversion, and finally determines the time delay by peak detection. The method has stronger application universality by adaptively designing and adjusting the band elimination filter. The method inhibits strong periodic components in the measured fluid signal, the time delay estimation is effective and reliable, the flow velocity measurement precision is high, and the flow velocity measurement range is large.

Description

一种适用于流体互相关测速的自适应广义互相关时延估计 方法An Adaptive Generalized Cross-correlation Delay Estimation Applicable to Fluid Cross-correlation Velocity Measurement method

技术领域technical field

本发明涉及时延估计方法,尤其是一种适用于流体互相关测速的自适应广义互相关时延估计方法。The invention relates to a time delay estimation method, in particular to an adaptive generalized cross-correlation time delay estimation method suitable for fluid cross-correlation velocity measurement.

背景技术Background technique

流体流速测量是流体参数测量领域中非常重要的部分,对于过程控制、系统安全和工业稳定性等都具有重要意义。尤其对于气液两相流、气固两相流等复杂流体,流体流速测量一直广受关注和重视。互相关时延估计方法是流速测量中应用最广泛的方法,该方法通过计算上下游传感信号的互相关函数,通过峰值检测估计时延以获取流体从上游到下游的渡越时间,从而根据上下游之间的距离计算得到流速。然而,在两相流等复杂流体中,极易出现强周期性信号,如图1所示即为通过电学传感器获得的小通道段塞流中的电阻抗信号,该类强周期性信号在频域上表现为能量集中在某一频率范围,且该频率段的幅值远大于其他频率段的幅值。对于该类强周期性信号,使用传统的互相关函数进行时延估计会存在峰值不明显的问题,从而造成利用互相关进行时延估计失效的问题,并进一步导致流速测量出现巨大的误差。Fluid velocity measurement is a very important part in the field of fluid parameter measurement, which is of great significance to process control, system safety and industrial stability. Especially for complex fluids such as gas-liquid two-phase flow, gas-solid two-phase flow, etc., fluid velocity measurement has been widely concerned and valued. The cross-correlation delay estimation method is the most widely used method in flow velocity measurement. This method calculates the cross-correlation function of the upstream and downstream sensing signals, and estimates the delay through peak detection to obtain the transit time of the fluid from upstream to downstream. The distance between upstream and downstream is calculated to obtain the flow velocity. However, in complex fluids such as two-phase flow, strong periodic signals are very likely to appear, as shown in Figure 1, which is the electrical impedance signal in the small channel slug flow obtained by the electrical sensor. In the domain, the energy is concentrated in a certain frequency range, and the amplitude of this frequency band is much larger than that of other frequency bands. For such strong periodic signals, using the traditional cross-correlation function for time delay estimation will have the problem of insignificant peaks, which leads to the failure of time delay estimation using cross-correlation, and further leads to huge errors in flow velocity measurement.

广义互相关时延估计方法可以通过在频域上对信号功率谱进行处理以提高时延估计精度,该方法的基本流程为:首先对两路时域信号x(i)和y(i)进行傅里叶变换,分别转化为频域上的X(f)和Y(f),随后求得互功率谱密度函数Gxy(f),再引入加权函数

Figure BDA0003462496810000011
与互功率谱密度函数Gxy(f)相乘,然后通过傅里叶反变换获得互相关函数,最后检测互相关函数的峰值来确定时延。其中常见的加权函数有HB函数、Roth函数、SCOT函数、PHAT函数等,能起到锐化峰值的效果,然而,当信号如图1所示具有强周期性时,通过广义互相关方法计算时延的效果也不令人满意,即使在不同的加权函数下,也都存在峰值不突出,利用互相关进行时延估计失效的问题。此时,亟待寻求一种新的适用于强周期性流体信号的互相关时延估计方法,能对于强周期性流体信号起到锐化互相关函数峰值的效果,从而保证互相关时延估计的有效性,提高时延估计精度,最终提高流速测量精度。The generalized cross-correlation delay estimation method can improve the accuracy of delay estimation by processing the signal power spectrum in the frequency domain. Fourier transform, respectively converted into X(f) and Y(f) in the frequency domain, then obtain the cross power spectral density function G xy (f), and then introduce the weighting function
Figure BDA0003462496810000011
Multiply with the cross-power spectral density function G xy (f), then obtain the cross-correlation function through inverse Fourier transform, and finally detect the peak value of the cross-correlation function to determine the time delay. Among them, the common weighting functions include HB function, Roth function, SCOT function, PHAT function, etc., which can sharpen the peak value. However, when the signal has strong periodicity as shown in Figure 1, when the generalized cross-correlation method is used to calculate The effect of delay is also unsatisfactory. Even under different weighting functions, there is a problem that the peak value is not prominent, and the use of cross-correlation for delay estimation fails. At this time, it is urgent to find a new cross-correlation delay estimation method suitable for strong periodic fluid signals, which can sharpen the peak value of the cross-correlation function for strong periodic fluid signals, so as to ensure the accuracy of cross-correlation delay estimation. Effectiveness, improve the accuracy of delay estimation, and ultimately improve the accuracy of flow velocity measurement.

发明内容SUMMARY OF THE INVENTION

本发明针对传统互相关时延估计方法和现有的广义互相关时延估计算法无法满足强周期性流体信号时延估计,从而无法满足流体流速测量的问题,基于广义互相关时延估计方法对信号在频域上进行分析处理的思想,提出一种适用于流体互相关测速的自适应广义互相关时延估计方法。强周期性信号的特征为:在频域上,信号表现为能量集中在某一频域范围内。故本方法考虑到强周期性对于时延估计的不利影响,拟通过抑制信号中的强周期性成分,达到峰值锐化、提高时延估计精度的目的。该方法的基本流程如图2所示,其基本步骤为:Aiming at the problem that the traditional cross-correlation time delay estimation method and the existing generalized cross-correlation time delay estimation algorithm cannot satisfy the strong periodic fluid signal time delay estimation, and thus cannot satisfy the fluid flow velocity measurement, the present invention is based on the generalized cross-correlation time delay estimation method. Based on the idea of analyzing and processing signals in the frequency domain, an adaptive generalized cross-correlation delay estimation method suitable for fluid cross-correlation velocity measurement is proposed. The characteristics of strong periodic signals are: in the frequency domain, the signal appears as energy concentrated in a certain frequency domain range. Therefore, this method takes into account the adverse effect of strong periodicity on time delay estimation, and intends to achieve the purpose of peak sharpening and improving the accuracy of time delay estimation by suppressing strong periodic components in the signal. The basic flow of the method is shown in Figure 2, and its basic steps are:

步骤一:利用布置在流体流动路径上间距为L的上游传感器和下游传感器,分别获得反映被测流体流动信息的上游输入信号x(i)和下游输入信号y(i),通过离散傅里叶变换获得x(i)和y(i)的频谱,分别为X(f)和Y(f);Step 1: Using the upstream sensor and the downstream sensor arranged on the fluid flow path with a distance of L, the upstream input signal x(i) and the downstream input signal y(i) reflecting the measured fluid flow information are obtained respectively. Transform to obtain the spectrum of x(i) and y(i), which are X(f) and Y(f) respectively;

步骤二:分析X(f)和Y(f)的频域特征,确定信号是否为强周期性信号;Step 2: Analyze the frequency domain characteristics of X(f) and Y(f) to determine whether the signal is a strong periodic signal;

步骤三:若信号为强周期性信号,则确定强周期性成分所对应的频率,即需要被抑制的频率,随后设计相应的带阻滤波器BSFX(f)和BSFY(f)以抑制周期性成分;若信号不为强周期性信号,则BSFX(f)=BSFY(f)=1;Step 3: If the signal is a strong periodic signal, determine the frequency corresponding to the strong periodic component, that is, the frequency that needs to be suppressed, and then design the corresponding band-stop filters BSF X (f) and BSF Y (f) to suppress. Periodic component; if the signal is not a strong periodic signal, then BSF X (f)=BSF Y (f)=1;

通过带阻滤波器进行信号处理之后,频域信号分别转换为X1(f)和Y1(f);After signal processing by band-stop filter, the frequency domain signal is converted into X 1 (f) and Y 1 (f) respectively;

步骤四:将X1(f)与Y1(f)的共轭做乘积运算,得到互功率谱密度函数GPxy(f),然后进行离散傅里叶反变换,得到互相关函数gpxy(i);Step 4: Multiply the conjugate of X 1 (f) and Y 1 (f) to obtain the cross-power spectral density function GP xy (f), and then perform inverse discrete Fourier transform to obtain the cross-correlation function gp xy ( i);

步骤五:对互相关函数gpxy(i)进行峰值检测,计算获得信号x(i)和信号y(i)之间的时延τ,将上、下游传感器间距L除以上下游时延,就可以确定被测流体的流速v,即v=L/τ。Step 5: Perform peak detection on the cross-correlation function gp xy (i), calculate and obtain the time delay τ between the signal x(i) and the signal y(i), divide the upstream and downstream sensor distance L by the upstream and downstream delay, then The flow velocity v of the fluid to be measured can be determined, that is, v=L/τ.

本发明与现有技术相比具有的有益效果:Compared with the prior art, the present invention has the following beneficial effects:

1)消除了由于存在强周期性分量而导致峰值不突出的问题,以达到锐化互相关函数峰值的目的。1) Eliminate the problem that the peak value is not prominent due to the existence of strong periodic components, so as to achieve the purpose of sharpening the peak value of the cross-correlation function.

2)根据被测时域信号的频域特征,能自适应地调整带阻滤波器结构,提高方法普适性。2) According to the frequency domain characteristics of the measured time domain signal, the band-stop filter structure can be adaptively adjusted to improve the universality of the method.

3)针对强周期性流体信号,解决了传统互相关和现有的广义互相关方法中存在的时延估计误差大的问题,提高了时延估计的精度和可靠性,从而提高流速测量精度。3) For strong periodic fluid signals, the problem of large delay estimation error in traditional cross-correlation and existing generalized cross-correlation methods is solved, and the accuracy and reliability of delay estimation are improved, thereby improving flow velocity measurement accuracy.

附图说明Description of drawings

图1一个典型的小通道段塞流中的强周期性信号及其频谱。Fig. 1 Strong periodic signal and its spectrum in a typical small channel slug flow.

图2本发明适用于流体互相关测速的自适应广义互相关时延估计方法的工作流程。FIG. 2 is the workflow of the adaptive generalized cross-correlation time delay estimation method suitable for fluid cross-correlation velocity measurement according to the present invention.

图3用电学传感器获得的小通道段塞流上下游的强周期性电阻抗信号。Figure 3. Strong periodic electrical impedance signals upstream and downstream of small channel slug flow obtained with electrical sensors.

图4传统互相关结果图。Figure 4. Traditional cross-correlation result graph.

图5基于Roth加权函数的广义互相关结果图。Figure 5. Graph of generalized cross-correlation results based on Roth weighting function.

图6所提出新方法的互相关结果图。Figure 6. Cross-correlation results of the proposed new method.

具体实施方式Detailed ways

下面结合具体实施方式对本发明做进一步阐述和说明。本发明中各个实施方式的技术特征在没有相互冲突的前提下,均可进行相应组合。The present invention will be further elaborated and described below in conjunction with specific embodiments. The technical features of the various embodiments of the present invention can be combined correspondingly on the premise that there is no conflict with each other.

本发明适用于流体互相关测速的自适应广义互相关时延估计方法的工作流程如图2所示。The workflow of the adaptive generalized cross-correlation time delay estimation method suitable for the fluid cross-correlation velocity measurement of the present invention is shown in FIG. 2 .

首先,利用布置在流体流动路径上下游的两个传感器,获得反映被测流体流动信息的上游输入信号x(i)和下游输入信号y(i)。然后,如式(1)和式(2)所示,通过离散傅里叶变换获得相应的频谱信号X(f)和Y(f)。First, using two sensors arranged upstream and downstream of the fluid flow path, an upstream input signal x(i) and a downstream input signal y(i) reflecting the measured fluid flow information are obtained. Then, as shown in equations (1) and (2), the corresponding spectral signals X(f) and Y(f) are obtained through discrete Fourier transform.

Figure BDA0003462496810000031
Figure BDA0003462496810000031

Figure BDA0003462496810000032
Figure BDA0003462496810000032

在实际应用中,可通过快速傅里叶变换(Fast Fourier Transform,FFT)来获得频谱信号X(f)和Y(f)。通过分析X(f)和Y(f),分别设计两个带阻滤波器BSFX(f)和HBSFY(f)。In practical applications, the spectral signals X(f) and Y(f) can be obtained through a Fast Fourier Transform (Fast Fourier Transform, FFT). By analyzing X(f) and Y(f), two band-stop filters, BSF X (f) and HBSF Y (f), are designed, respectively.

X(f)和Y(f)的分析以及带通滤波器BSFX(f)和BSFY(f)的设计步骤如下:The analysis of X(f) and Y(f) and the design steps of the bandpass filters BSF X (f) and BSF Y (f) are as follows:

步骤一:确定信号是否存在强周期性Step 1: Determine whether the signal has strong periodicity

根据幅频特性,当信号存在较强周期性时,频域表现为在某几个频率点上具有较大的幅值,且幅值明显大于其他频率点上的幅值。在实际工作流程中,由于两路信号的相似度X(i)和Y(i)很高(理论上仅存在时延),因此只分析X(f)和Y(f)中的其中一个即可(以X(f)为例)。通过式(3)可确定信号是否具有强周期性。According to the amplitude-frequency characteristics, when the signal has strong periodicity, the frequency domain shows that it has a large amplitude at certain frequency points, and the amplitude is significantly larger than that at other frequency points. In the actual workflow, since the similarity X(i) and Y(i) of the two signals are very high (theoretically there is only a delay), only one of X(f) and Y(f) is analyzed, namely Yes (take X(f) as an example). Whether the signal has strong periodicity can be determined by formula (3).

X(fmax,1)>kσ (3)X(f max, 1 )>kσ (3)

其中,X(fmax,1)是X(f)中的最大值,k为判别系数,通常取k>3,σ为频域信号的方差。Among them, X(f max, 1 ) is the maximum value in X(f), k is the discriminant coefficient, usually k>3, and σ is the variance of the frequency domain signal.

如果式(3)成立,则确定信号具有强周期性,否则,信号不具有强周期性。If Equation (3) holds, it is determined that the signal has strong periodicity, otherwise, the signal does not have strong periodicity.

步骤二:确定需要被抑制的频率Step 2: Determine the frequencies that need to be suppressed

如果信号具有强周期性,则需要进一步确定需要被抑制的频率。根据式(4),可提取所有频域幅值大于kσ的相应的频率点。If the signal has strong periodicity, it is necessary to further determine the frequencies that need to be suppressed. According to formula (4), all corresponding frequency points whose amplitudes in the frequency domain are greater than kσ can be extracted.

X(fmax,i)>kσ (4)X(f max, i )>kσ (4)

其中,fmax,i表示所有频域幅值大于kσ的相应的频率点,i=1,2,3...n。Among them, f max, i represents all the corresponding frequency points whose amplitude in the frequency domain is greater than kσ, i=1, 2, 3...n.

步骤三:设计带通滤波器BSFX(f)和BSFY(f)Step 3: Design Bandpass Filters BSF X (f) and BSF Y (f)

根据步骤一中的判定,如果信号不具有强周期性,则BSFX(f)=BSFY(f)=1,否则,根据步骤二中判定得到的需要被抑制的频率(fmax,i,i=1,2,3,4...n),对频域中范围为[(1-α)fmax,i,(1+α)fmax,i]内的频率相应的幅值设计带阻滤波器BSFX(f)和BSFY(f)消除X(f)和Y(f)中的强周期性成分,得到X1(f)和Y1(f),并记录频率点fmax,i;其中,α为经验系数,可根据幅频分布进行调整,通常可取α=0.05;According to the judgment in step 1, if the signal does not have strong periodicity, then BSF X (f)=BSF Y (f)=1, otherwise, according to the frequency (f max, i , i=1, 2, 3, 4...n), design the corresponding amplitudes for frequencies in the range of [(1-α)f max, i , (1+α) f max, i ] in the frequency domain Band-stop filters BSF X (f) and BSF Y (f) eliminate strong periodic components in X(f) and Y(f), get X 1 (f) and Y 1 (f), and record the frequency point f max, i ; wherein, α is an empirical coefficient, which can be adjusted according to the amplitude-frequency distribution, usually α=0.05;

通过式(5)设计滤波器BSFX(f)和BSFY(f)。The filters BSF X (f) and BSF Y (f) are designed by formula (5).

Figure BDA0003462496810000041
Figure BDA0003462496810000041

然后,X1(f)和Y1(f)可通过式(6)和式(7)获得。Then, X 1 (f) and Y 1 (f) can be obtained by formula (6) and formula (7).

X1(f)=X(f)BSFX(f) (6)X 1 (f)=X(f)BSF X (f) (6)

Y1(f)=Y(f)BSFY(f) (7) Y1 (f)=Y(f)BSF Y (f)(7)

则互功率谱密度函数GPxy(f)可通过式(8)计算获得。Then the cross-power spectral density function GP xy (f) can be calculated and obtained by formula (8).

GPxy(f)=[X1(f)]·[Y1(f)]* (8)GP xy (f)=[X 1 (f)]·[Y 1 (f)] * (8)

其中,[]*表示共轭。通过对GPxy(f)进行离散傅里叶反变换(在实际应用中,可通过快速傅里叶反变换(Inverse Fast Fourier Transform,IFFT)进行计算),获得广义互相关函数gpxy(t)。gpxy(t)的峰值所对应的时间即为两路信号x(i)和y(i)之间的时延τ。where [] * denotes conjugation. The generalized cross-correlation function gp xy (t) is obtained by performing an inverse discrete Fourier transform on GP xy (f) (in practical applications, it can be calculated by an inverse fast Fourier transform (IFFT)) . The time corresponding to the peak value of gp xy (t) is the time delay τ between the two signals x(i) and y(i).

本发明以小通道中段塞流的强周期性信号为例,来验证本发明的有效性。首先通过上下游两个电学传感器(上下游电学传感器的间距为30mm)获得小通道上下游反映流体流动的强周期性电阻抗信号(实际时延为56ms,相应的实际流速为:0.536m/s),上下游信号如图3所示。若用传统互相关和现有的广义互相关方法(以Roth加权函数为例)进行时延估计,其互相关函数如图4和图5所示。The present invention takes the strong periodic signal of the slug flow in the small channel as an example to verify the effectiveness of the present invention. First, a strong periodic electrical impedance signal reflecting the fluid flow in the upstream and downstream of the small channel is obtained through two upstream and downstream electrical sensors (the distance between the upstream and downstream electrical sensors is 30mm) (the actual time delay is 56ms, and the corresponding actual flow rate is: 0.536m/s ), the upstream and downstream signals are shown in Figure 3. If the traditional cross-correlation and the existing generalized cross-correlation method (taking the Roth weighting function as an example) are used for time delay estimation, the cross-correlation functions are shown in Figures 4 and 5.

其中基于传统互相关的实验结果中,出现了多个峰值,并且互相关函数值的最大处对应的时延估计结果为:13ms,与实际时延相比误差很大。若按照此结果进行流速测量,则其流速测量结果为:2.308m/s,相对误差高达300%以上,该结果不能用于实际应用。而对于广义互相关(以Roth加权函数为例)的结果,从图5中可见,该结果很难找到有意义的峰值,若仅以互相关函数值最大为标准,其对应的时延估计结果为:141ms,与实际时延相比误差很大。若按照此结果进行流速测量,则其流速测量结果为:0.213m/s,相对误差高达60%以上,该结果也不能用于实际应用。Among them, in the experimental results based on traditional cross-correlation, there are multiple peaks, and the delay estimation result corresponding to the maximum value of the cross-correlation function is: 13ms, which has a large error compared with the actual delay. If the flow velocity measurement is carried out according to this result, the flow velocity measurement result is: 2.308m/s, the relative error is as high as 300% or more, and the result cannot be used for practical application. For the results of generalized cross-correlation (taking the Roth weighting function as an example), it can be seen from Figure 5 that it is difficult to find meaningful peaks in this result. If only the maximum value of the cross-correlation function is used as the criterion, the corresponding delay estimation result is: 141ms, which has a large error compared with the actual delay. If the flow velocity measurement is carried out according to this result, the flow velocity measurement result is: 0.213m/s, the relative error is as high as 60% or more, and the result cannot be used in practical applications.

当用本发明中的时延估计方法计算互相关函数值,结果如图6所示。相比于传统互相关的结果和基于Roth加权函数的广义互相关结果,利用本发明所述方法获取的互相关函数值,具有明显突出的峰值,且峰值对应的时延为56ms,与实际时延一致,能精准估计时延,从而实现有效的流速测量。可见,对于强周期性流体信号,通过本发明所提出的方法保证了时延估计的有效性,且时延估计精度较高,进一步地提高了流体流速测量精度并拓展了流速测量适用范围。When the time delay estimation method in the present invention is used to calculate the cross-correlation function value, the result is shown in FIG. 6 . Compared with the traditional cross-correlation result and the generalized cross-correlation result based on the Roth weighting function, the cross-correlation function value obtained by the method of the present invention has a prominent peak value, and the delay corresponding to the peak value is 56ms, which is different from the actual time. The delay is consistent, and the delay can be accurately estimated, so as to achieve effective flow rate measurement. It can be seen that for strong periodic fluid signals, the method proposed in the present invention ensures the validity of the time delay estimation, and the time delay estimation accuracy is high, which further improves the fluid velocity measurement accuracy and expands the application range of the velocity measurement.

Claims (2)

1.一种适用于流体互相关测速的自适应广义互相关时延估计方法,其特征在于,包括如下步骤:1. an adaptive generalized cross-correlation time delay estimation method that is applicable to fluid cross-correlation velocity measurement, is characterized in that, comprises the steps: 步骤一:利用布置在流体流动路径上间距为L的上游传感器和下游传感器,分别获得反映被测流体流动信息的上游输入信号x(i)和下游输入信号y(i),通过离散傅里叶变换获得x(i)和y(i)的频谱,分别为X(f)和Y(f);Step 1: Using the upstream sensor and the downstream sensor arranged on the fluid flow path with a distance of L, the upstream input signal x(i) and the downstream input signal y(i) reflecting the fluid flow information to be measured are obtained respectively. Transform to obtain the spectrum of x(i) and y(i), which are X(f) and Y(f) respectively;
Figure FDA0003760741910000011
Figure FDA0003760741910000011
Figure FDA0003760741910000012
Figure FDA0003760741910000012
步骤二:分析X(f)和Y(f)的频域特征,确定信号是否为强周期性信号;Step 2: Analyze the frequency domain characteristics of X(f) and Y(f) to determine whether the signal is a strong periodic signal; 所述的步骤二,具体为:The second step is specifically: 由于时域信号x(i)和y(i)仅认为存在时延,因此X(f)和Y(f)中的强周期性判定结果相同,其中X(f)通过下式确定信号是否具有强周期性:Since the time-domain signals x(i) and y(i) are only considered to have time delay, the strong periodicity determination results in X(f) and Y(f) are the same, where X(f) determines whether the signal has a Strong periodicity: X(fmax,1)>kσX(f max,1 )>kσ 其中,X(fmax,1)是X(f)中的最大值,k为判别系数,σ为频域信号的标准差;Among them, X(f max,1 ) is the maximum value in X(f), k is the discrimination coefficient, and σ is the standard deviation of the frequency domain signal; 如果上式成立,则确定信号具有强周期性,否则,信号不具有强周期性;If the above formula holds, it is determined that the signal has strong periodicity, otherwise, the signal does not have strong periodicity; 步骤三:若信号为强周期性信号,则确定强周期性成分所对应的频率,即需要被抑制的频率,随后设计相应的带阻滤波器BSFX(f)和BSFY(f)以抑制周期性成分;若信号不为强周期性信号,则BSFX(f)=BSFY(f)=1;Step 3: If the signal is a strong periodic signal, determine the frequency corresponding to the strong periodic component, that is, the frequency that needs to be suppressed, and then design the corresponding band-stop filters BSF X (f) and BSF Y (f) to suppress. Periodic component; if the signal is not a strong periodic signal, then BSF X (f)=BSF Y (f)=1; 通过带阻滤波器进行信号处理之后,频域信号分别转换为X1(f)和Y1(f);After signal processing by band-stop filter, the frequency domain signal is converted into X 1 (f) and Y 1 (f) respectively; 步骤三中,需要被抑制的频率的确定方法如下:In step 3, the method for determining the frequency to be suppressed is as follows: 根据频域信号X(f)提取所有满足下式的所有频率点:Extract all frequency points that satisfy the following formula according to the frequency domain signal X(f): X(fmax,i)>kσX(f max,i )>kσ 其中,fmax,i表示所有频域幅值大于kσ的相应的频率点,i=1,2,3…n;Among them, f max,i represents all the corresponding frequency points whose amplitude in the frequency domain is greater than kσ, i=1,2,3...n; 所述的设计相应的带阻滤波器BSFX(f)和BSFY(f)以抑制周期性成分,具体为:The described design of the corresponding band-stop filters BSF X (f) and BSF Y (f) to suppress periodic components, specifically: 根据确定的需要被抑制的频率点fmax,i,i=1,2,3,4…n,对频域中范围为[(1-α)fmax,i,(1+α)fmax,i]内的频率相应的幅值设计带阻滤波器BSFX(f)和BSFY(f)消除X(f)和Y(f)中的强周期性成分,得到X1(f)和Y1(f),并记录频率点fmax,i;其中,α为经验系数,可根据幅频分布进行调整;According to the determined frequency points f max,i to be suppressed, i=1, 2, 3, 4...n, the range in the frequency domain is [(1-α)f max,i , (1+α)f max ,i ] design band-stop filters BSF X (f) and BSF Y (f) to eliminate the strong periodic components in X(f) and Y(f), and obtain X 1 (f) and Y 1 (f), and record the frequency point f max,i ; where α is an empirical coefficient, which can be adjusted according to the amplitude-frequency distribution; 其中,通过式(5)设计滤波器BSFX(f)和BSFY(f):Among them, the filters BSF X (f) and BSF Y (f) are designed by formula (5):
Figure FDA0003760741910000021
Figure FDA0003760741910000021
然后,X1(f)和Y1(f)可通过式(6)和式(7)获得:Then, X 1 (f) and Y 1 (f) can be obtained by equations (6) and (7): X1(f)=X(f)BSFX(f) (6)X 1 (f)=X(f)BSF X (f) (6) Y1(f)=Y(f)BSFY(f) (7) Y1 (f)=Y(f)BSF Y (f)(7) 步骤四:将X1(f)与Y1(f)的共轭做乘积运算,得到互功率谱密度函数GPxy(f),即GPxy(f)=X1(f)[Y1(f)]*,然后进行离散傅里叶反变换,得到互相关函数gpxy(i);Step 4: Multiply the conjugate of X 1 (f) and Y 1 (f) to obtain the cross-power spectral density function GP xy (f), that is, GP xy (f)=X 1 (f)[Y 1 ( f)] * , and then perform inverse discrete Fourier transform to obtain the cross-correlation function gp xy (i); 步骤五:对互相关函数gpxy(i)进行峰值检测,计算获得上游输入信号x(i)和下游输入信号y(i)之间的时延τ,将上、下游传感器间距L除以上游输入信号x(i)和下游输入信号y(i)之间的时延,就可以确定被测流体的流速v,即v=L/τ。Step 5: Perform peak detection on the cross-correlation function gp xy (i), calculate and obtain the time delay τ between the upstream input signal x(i) and the downstream input signal y(i), and divide the upstream and downstream sensor distance L by the upstream The time delay between the input signal x(i) and the downstream input signal y(i) can determine the flow velocity v of the fluid to be measured, that is, v=L/τ.
2.根据权利要求1所述的适用于流体互相关测速的自适应广义互相关时延估计方法,其特征在于,步骤四中,互功率谱密度函数GPxy(f)通过式(8)计算获得:2. the adaptive generalized cross-correlation time delay estimation method that is applicable to fluid cross-correlation velocity measurement according to claim 1, is characterized in that, in step 4, cross-power spectral density function GP xy (f) is calculated by formula (8) get: GPxy(f)=[X1(f)]·[Y1(f)]* (8)GP xy (f)=[X 1 (f)]·[Y 1 (f)] * (8) 其中,[]*表示共轭,通过对GPxy(f)进行离散傅里叶反变换,获得广义互相关函数gpxy(i)。Among them, [] * represents the conjugate, and the generalized cross-correlation function gp xy (i) is obtained by performing the inverse discrete Fourier transform on GP xy (f).
CN202210020810.8A 2022-01-10 2022-01-10 Self-adaptive generalized cross-correlation time delay estimation method suitable for fluid cross-correlation speed measurement Active CN114324972B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210020810.8A CN114324972B (en) 2022-01-10 2022-01-10 Self-adaptive generalized cross-correlation time delay estimation method suitable for fluid cross-correlation speed measurement

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210020810.8A CN114324972B (en) 2022-01-10 2022-01-10 Self-adaptive generalized cross-correlation time delay estimation method suitable for fluid cross-correlation speed measurement

Publications (2)

Publication Number Publication Date
CN114324972A CN114324972A (en) 2022-04-12
CN114324972B true CN114324972B (en) 2022-09-13

Family

ID=81026728

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210020810.8A Active CN114324972B (en) 2022-01-10 2022-01-10 Self-adaptive generalized cross-correlation time delay estimation method suitable for fluid cross-correlation speed measurement

Country Status (1)

Country Link
CN (1) CN114324972B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114722335B (en) * 2022-04-19 2025-03-25 泉州装备制造研究所 A method for analyzing time-varying data delay

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5724485A (en) * 1994-09-30 1998-03-03 Atr Human Information Processing Research Laboratories Adaptive cross correlator apparatus comprising adaptive controller for adaptively adjusting transfer functions of two filters
CN101246467A (en) * 2007-11-19 2008-08-20 清华大学 Leak location method based on adaptive threshold leak detection combined with multi-scale fast time-delay search
CN101645701A (en) * 2009-08-25 2010-02-10 中国科学院声学研究所 Time delay estimation method based on filter bank and system thereof
CN102064891A (en) * 2010-11-18 2011-05-18 哈尔滨工程大学 Anti-string leakage high-accuracy time delay estimation method
CN102539826A (en) * 2012-01-17 2012-07-04 燕山大学 Oil-gas-water three-phase flow velocity measurement method and measurement device
CN104143970A (en) * 2014-07-30 2014-11-12 中国人民解放军军械工程学院 An Accumulation Detection Method for Detecting Aperiodic Weak Signal Sources
CN104777328A (en) * 2015-04-21 2015-07-15 华北电力大学 System capable of measuring flow velocity of gas by sound, and measuring method
CN105319389A (en) * 2015-12-07 2016-02-10 吉林大学 High-precision and wide-range ultrasonic wind speed measuring system and method
WO2019193070A1 (en) * 2018-04-05 2019-10-10 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Apparatus, method or computer program for estimating an inter-channel time difference
CN110389007A (en) * 2018-04-19 2019-10-29 中国科学院声学研究所 An Adaptive Phase Spectrum Delay Estimation Method
CN110469782A (en) * 2019-07-31 2019-11-19 中国科学院声学研究所 A kind of pipe leakage positioning device based on sef-adapting filter
CN111344088A (en) * 2017-09-22 2020-06-26 纽科尔公司 Iterative learning control for periodic disturbances in twin roll strip casting with measurement delay
CN111365625A (en) * 2020-04-13 2020-07-03 安徽理工大学 Pipeline leakage sound wave positioning method based on delay summation
WO2021169883A1 (en) * 2020-02-27 2021-09-02 成都千嘉科技有限公司 Ultrasonic gas meter flow measurement algorithm

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10309813B2 (en) * 2015-05-15 2019-06-04 Reliance Worldwide Corporation Method and system for fluid flow rate measurement

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5724485A (en) * 1994-09-30 1998-03-03 Atr Human Information Processing Research Laboratories Adaptive cross correlator apparatus comprising adaptive controller for adaptively adjusting transfer functions of two filters
CN101246467A (en) * 2007-11-19 2008-08-20 清华大学 Leak location method based on adaptive threshold leak detection combined with multi-scale fast time-delay search
CN101645701A (en) * 2009-08-25 2010-02-10 中国科学院声学研究所 Time delay estimation method based on filter bank and system thereof
CN102064891A (en) * 2010-11-18 2011-05-18 哈尔滨工程大学 Anti-string leakage high-accuracy time delay estimation method
CN102539826A (en) * 2012-01-17 2012-07-04 燕山大学 Oil-gas-water three-phase flow velocity measurement method and measurement device
CN104143970A (en) * 2014-07-30 2014-11-12 中国人民解放军军械工程学院 An Accumulation Detection Method for Detecting Aperiodic Weak Signal Sources
CN104777328A (en) * 2015-04-21 2015-07-15 华北电力大学 System capable of measuring flow velocity of gas by sound, and measuring method
CN105319389A (en) * 2015-12-07 2016-02-10 吉林大学 High-precision and wide-range ultrasonic wind speed measuring system and method
CN111344088A (en) * 2017-09-22 2020-06-26 纽科尔公司 Iterative learning control for periodic disturbances in twin roll strip casting with measurement delay
WO2019193070A1 (en) * 2018-04-05 2019-10-10 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Apparatus, method or computer program for estimating an inter-channel time difference
CN110389007A (en) * 2018-04-19 2019-10-29 中国科学院声学研究所 An Adaptive Phase Spectrum Delay Estimation Method
CN110469782A (en) * 2019-07-31 2019-11-19 中国科学院声学研究所 A kind of pipe leakage positioning device based on sef-adapting filter
WO2021169883A1 (en) * 2020-02-27 2021-09-02 成都千嘉科技有限公司 Ultrasonic gas meter flow measurement algorithm
CN111365625A (en) * 2020-04-13 2020-07-03 安徽理工大学 Pipeline leakage sound wave positioning method based on delay summation

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
A New Contactless Bubble/Slug Velocity Measurement Method of Gas–Liquid Two-Phase Flow in Small Channels;Junchao Huang 等;《 IEEE Transactions on Instrumentation and Measurement》;20190930;第68卷(第9期);第3253–3267页 *
基于互相关时延估计和气固两相流速度的声学测量研究;杨杰栋;《中国优秀博硕士学位论文全文数据库(硕士)工程科技Ⅱ辑》;20200515(第05期);第7-17页 *

Also Published As

Publication number Publication date
CN114324972A (en) 2022-04-12

Similar Documents

Publication Publication Date Title
CN109490862B (en) Carrier frequency estimation method based on phase difference statistical spectrum
CN108548957A (en) The double-spectrum analysis method being combined based on circular modulating frequency spectrum and segmentation cross-correlation
CN106054159B (en) A kind of instantaneous frequency distilling method of Doppler signal
CN108344895A (en) signal detecting method and device
CN110048741A (en) A kind of method for parameter estimation of the Frequency Hopping Signal based on Short-Time Fractional Fourier Transform
CN107315714B (en) Deconvolution power spectrum estimation method
CN110133598A (en) Fast Estimation Method of Chirp Signal Parameters Based on FrFT
CN114324972B (en) Self-adaptive generalized cross-correlation time delay estimation method suitable for fluid cross-correlation speed measurement
CN105137180A (en) High precision harmonic wave analysis method based on six item cosine window four spectral line interpolation
CN112881796A (en) Multi-frequency real signal frequency estimation algorithm for spectrum leakage correction
CN112698271B (en) Time delay estimation method for low signal-to-noise ratio signal
Zhang et al. Power system dynamic frequency measurement based on novel interpolated STFT algorithm
CN109959434B (en) Sodium flowmeter online calibration method based on phase frequency characteristics
CN105429720B (en) The Time Delay Estimation Based reconstructed based on EMD
CN113008336A (en) Method for realizing permanent magnet sodium flowmeter cross-correlation method in-situ calibration based on error correction
CN110110341A (en) A kind of pulse detecting method that decision threshold is recommended automatically
CN108535542B (en) A method of peak seeking and phase identification
Orović et al. A class of highly concentrated time-frequency distributions based on the ambiguity domain representation and complex-lag moment
CN102889926A (en) Ultrasonic wave anti-noise detection method and system
CN106533394A (en) High-precision frequency estimation method based on amplitude-frequency response of adaptive filter
CN105717490A (en) LFM signal separating and parameter estimating method based on time frequency analysis
CN102707157B (en) A kind of pure-tone polse signal parameter estimation method based on power spectrum
CN109270573B (en) A fast frequency-preserving amplitude-preserving S-transform method
CN112162153B (en) Sine wave signal frequency estimation method based on phase straight line fitting
CN103207011A (en) Ultrasonic precise time delay detection method based on circuit phase shift

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