A method for anti-vibration interference of small-caliber vortex flowmeter

By performing spectrum analysis and high-pass filtering on the data of the small-diameter vortex flowmeter, the effective peak and trend frequencies are extracted, which solves the impact of vibration interference on the vortex signal, achieves accurate segmentation and stable output of the signal, and reduces misjudgments. Rate.

CN114166291BActive Publication Date: 2024-09-10HEFEI COMATE INTELLIGENT SENSOR TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111446223.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-30
Publication Date
2024-09-10
Estimated Expiration
2041-11-30

AI Technical Summary

Technical Problem

Small-diameter vortex flowmeters are susceptible to vibration interference, causing the vortex signal to be interfered. Existing technologies such as autocorrelation calculations are difficult to effectively solve, and there are many misjudgment problems.

Method used

After amplifying and filtering the collected data, the processor is used to perform spectrum analysis, extract effective peaks, calculate the energy percentage of the main peak, and determine whether there is vibration interference based on the threshold. If so, search for trend frequencies, and use a high-pass filter to reduce the impact of vibration interference. The segmentation processing signal distinguishes the flow signal and the vibration interference signal.

Benefits of technology

It effectively reduces the impact of vibration interference on the flow signal, improves the accuracy of signal segmentation, reduces misjudgments, and improves the flow meter's ability to resist vibration interference.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114166291B
    Figure CN114166291B
Patent Text Reader

Abstract

The present invention proposes a method for resisting vibration interference of a small-caliber vortex flowmeter, comprising the following steps: 1. The data collected by the sensor is input into a processor after being processed by high-pass filtering, amplification, and low-pass filtering; 2. The processor A / D samples and converts and performs spectrum analysis, extracts n effective peaks in each round and saves the frequency and energy of the effective peaks; 3. Calculates the main peak energy percentage S and compares it with the threshold M; 4. If S≥threshold M, directly perform signal trend judgment, if the trend is stable, output the current main peak frequency, otherwise output 0; 5. If S<threshold M, search for the trend frequency from T peak frequencies, perform signal trend judgment based on the trend frequency, if the trend is stable, output the peak frequency with the smallest absolute difference with the trend frequency, otherwise output 0. The present invention greatly reduces the influence of vibration interference on the flow signal and has good effectiveness.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of anti-vibration interference algorithms, in particular to an anti-vibration interference method for a small-caliber vortex flowmeter. Background Art

[0002] Single sensors are widely used because of their simple manufacturing process and low cost. However, vortex flowmeters based on single sensors can not only sense the vortex force on the sensor, but also other external forces on the sensor, such as the vibration force transmitted by the pipeline, the impact force of the pipeline fluid, etc. These other external forces superimposed on the vortex force will cause vibration noise interference to the vortex signal. In some cases, the vibration noise energy is large, even exceeding the energy of the vortex signal, and the vibration frequency is within the frequency range of the vortex signal. In this case, the common time domain pulse counting method or frequency domain energy maximum method cannot solve the problem of interference with the vortex signal.

[0003] The invention patent CN101644590 B authorized by the State Intellectual Property Office on December 8, 2010 uses the different frequency bandwidth characteristics of vortex flow signals and mechanical vibration noise to screen out vortex flow signals through autocorrelation calculation. However, in actual applications, the number of autocorrelation points is determined by the system memory space. In order to be compatible with the functions of other modules, the number of autocorrelation points can only be reduced. In the autocorrelation calculation with a small number of points, the attenuation curve of the autocorrelation function of the flow signal fluctuates instead of being completely unidirectional, resulting in misjudgment problems.

[0004] Small-diameter (generally DN32 and below, most commonly DN25 and DN15) vortex flowmeters are more susceptible to vibration interference during actual use due to their light weight. According to the relationship between the shedding frequency f of the Karman vortex street on both sides of the downstream of the vortex generator and the average flow velocity v of the fluid in the pipeline, (Where S r is the Strouhal number, m is the ratio of the cross-sectional area on both sides of the bluff body to the cross-sectional area of ​​the pipe, and d is the width of the flow-facing surface of the bluff body) It can be seen that d of the small-diameter vortex flowmeter is relatively small. Under the same flow rate, f is relatively large, that is to say, the cut-off frequency of the small-diameter vortex flowmeter is relatively high. Summary of the invention

[0005] Aiming at the vibration interference problem of the existing single-sensor vortex flowmeter, the present invention proposes a method for resisting vibration interference of a small-caliber vortex flowmeter.

[0006] A method for resisting vibration interference of a small-caliber vortex flowmeter comprises the following steps:

[0007] Step 1: The data collected by the sensor is amplified and filtered before being input into the processor;

[0008] Step 2, the processor A / D samples and converts and performs spectrum analysis, extracts n effective peaks in each round and saves the frequency and energy of the effective peaks, where the effective peak is the peak whose peak signal energy value is greater than the threshold Q;

[0009] Step 3, calculate the main peak energy percentage S and compare it with the threshold M;

[0010] Step 4: If S ≥ threshold M, it is considered that there is no vibration interference signal, and the signal trend is directly judged. If the trend is stable, the current main peak frequency is output, otherwise 0 is output;

[0011] Step 5: If S < threshold M, it is considered that there is a vibration interference signal, and the trend frequency is searched from the T peak frequencies. The signal trend is judged based on the trend frequency. If the trend is stable, the peak frequency with the smallest absolute difference with the trend frequency is output, otherwise 0 is output.

[0012] Furthermore, the signal trend judgment standard in step 4 is: when the absolute difference of the main peak frequencies of N consecutive adjacent times is less than the jump frequency P, the flow signal trend is considered to be stable.

[0013] Furthermore, the trend frequency search in step 5 includes the following steps:

[0014] Step A1, the historical frequency array is recorded as F (i-1)1 、F (i -1)2, ..., F (i-1)n , the current frequency array is recorded as F i1 、F i2 , ..., F in , calculate the absolute difference between each frequency value in the current frequency array and all frequency values ​​in the historical frequency array to obtain n sets of data {|F i1 -F (i-1)1 |,|F i1 -F (i-1)2 |, ..., |F i1 -F (i-1)n |},{|F i2 -F (i-1)1 |,|F i2 -F (i-1)2 |, ..., |F i2 -F (i-1)n |}, ..., {|F in -F (i-1)1 |,|F in -F (i-1)2 |, ..., |F in -F (i-1)n |};

[0015] Step A2, selecting the minimum value of each set of data to form an absolute difference array {Z0, Z1, ..., Zn};

[0016] Step A3, select the minimum absolute difference in the absolute difference array {Z0, Z1, ..., Zn}. If the minimum absolute difference is less than the jump threshold P, the corresponding frequency of the minimum absolute difference is determined to be the trend frequency F. Otherwise, the current frequency array is updated to the historical frequency array and 0 is output.

[0017] Furthermore, the signal trend determination in step 5 includes the following steps:

[0018] Step B1, obtain the absolute difference array {|F j1 -F|,|F j2 -F|, ..., |F j3 -F|}, and select the minimum absolute difference;

[0019] Step B2: If the minimum absolute difference is less than the jump threshold P for N consecutive times, it is considered that a frequency trend is formed, the trend frequency flag is set, and the frequency with the minimum absolute difference with the trend frequency is output; otherwise, the trend frequency search is started again.

[0020] The present invention is based on the fact that when there is a vibration interference signal, the main frequency is attenuated through a high-pass filter, thereby generating harmonic frequencies, and the main peak energy percentage affected by the harmonic interference has a significant decrease. The main peak energy percentage is used as a dividing point to distinguish and process flow signals with and without vibration interference. In the mixed signal with vibration interference, the corresponding frequency of the flow signal is searched out and output after the trend is stable. Accordingly, the present invention greatly reduces the impact of vibration interference on the flow signal and has good effectiveness. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 It is a schematic diagram comparing the main peak energy percentage of pure flow signal and vibration interference mixed signal;

[0022] Figure 2 This is the main flow chart of the anti-vibration interference method for small-caliber vortex flowmeter;

[0023] Figure 3 This is a flowchart of searching trend frequency. DETAILED DESCRIPTION

[0024] The present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. The embodiments of the present invention are provided for the purpose of illustration and description, and are not intended to be exhaustive or to limit the present invention to the disclosed forms. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiments are selected and described in order to better illustrate the principles and practical applications of the present invention, and to enable those of ordinary skill in the art to understand the present invention and thereby design various embodiments with various modifications suitable for specific uses.

[0025] Example 1

[0026] The common vibration interference frequency in industrial sites is in the range of 10-150Hz, while the effective frequency of small-diameter vortex flowmeters is above 200Hz. Therefore, adding a high-pass filter to the hardware can physically isolate the impact of the vibration interference frequency on the flow signal. The data collected by the sensor passes through the high-pass filter and then is processed by the charge and voltage amplifier to adjust the signal voltage to the voltage range that meets the processor input signal.

[0027] After analysis, when there is only a flow signal (i.e., there is no vibration interference signal), the time domain is a stable sine or square wave signal, and the main peak energy percentage is high; when there is a vibration interference signal, the main frequency is attenuated by the high-pass filter, resulting in harmonic frequencies, and the main peak energy percentage affected by harmonic interference will be significantly reduced, such as Figure 1 Based on this feature, the present invention proposes a method for anti-vibration interference of a small-caliber vortex flowmeter. Figure 2 To elaborate.

[0028] First, the data collected by the sensor is input into the processor after high-pass filtering, amplification, and low-pass filtering. The processor A / D sampling conversion and spectrum analysis are performed. In each round, n effective peaks are extracted (n should not exceed 3) and the frequency and energy of the effective peaks are saved. The effective peak is the peak whose peak signal energy value is greater than the threshold Q.

[0029] Then, the main peak energy percentage S (S = main peak energy value / sum of all peak energies) is calculated and compared with the threshold M. If S ≥ threshold M (refer to Figure 1 If the signal is stable, the current main peak frequency is output, otherwise 0 is output; if S < threshold M (refer to Figure 1 middle line), it is considered that there is a vibration interference signal, and the trend frequency (the frequency of the flow signal) is searched from the n peak frequencies. The signal trend is judged based on the trend frequency. If the trend is stable, the peak frequency with the smallest absolute difference with the trend frequency is output, otherwise 0 is output.

[0030] The principle of filtering flow signals is that in the presence of vibration interference, the frequency corresponding to the flow signal is relatively stable, while the vibration interference signal is unstable due to the forces in all directions. The algorithm disclosed in the present invention aims to extract a relatively stable flow signal from a mixed signal with unstable frequency.

[0031] When there is no vibration interference signal (i.e. S ≥ threshold M), the signal trend judgment standard is: when the absolute difference of the N consecutive adjacent main peak frequencies is less than the jump frequency P, the flow signal trend is considered stable. For the specific process, see Figure 2 .

[0032] When there is a vibration interference signal (ie, S < threshold M), the trend frequency search includes the following steps (refer to Figure 3 , described with n=3):

[0033] 1. Assume that the historical frequency array is F 11 、F 12 、F 13 , the current frequency array is F 21 、F 22 、F 23 , calculate the absolute difference between each frequency value in the current frequency array and all frequency values ​​in the historical frequency array to obtain n sets of data {|F 21 -F 11 |,|F 21 -F 12 |,|F 21 -F 13 |},{|F 22 -F 11 |,|F 22 -F 12 |,|F 22 -F 13 |},{|F 23 -F 11 |,|F 23 -F 12 |,|F 23 -F 13 |};

[0034] 2. Select the minimum value of each group of data to form the absolute difference array {Z0, Z1, Z3};

[0035] 3. Select the minimum absolute difference in the absolute difference array {Z0, Z1, Z3}. If the minimum absolute difference is less than the jump threshold P, the corresponding frequency of the minimum absolute difference is determined to be the trend frequency F. Otherwise, the current frequency array is updated to the historical frequency array and 0 is output.

[0036] The subsequent signal trend judgment includes the following steps (combined with Figure 2 ):

[0037] 1. Obtain the absolute difference array between each frequency value of the current frequency array and the trend frequency {|F 31 -F|,|F 32 -F|,|F 33 -F|}, and select the minimum absolute difference;

[0038] 2. If the minimum absolute difference is less than the jump threshold P for N consecutive times, it is considered that a frequency trend is formed, the trend frequency flag is set, and the frequency with the smallest absolute difference with the trend frequency is output; otherwise, the trend frequency search is started again.

[0039] For example, if the minimum absolute difference is greater than or equal to the jump threshold P, the trend frequency search is started again, and the historical frequency array is F 31 、F 32 、F 33 , the current frequency array is F 41 、F 42 、F 43 , calculate the absolute difference between each frequency value in the current frequency array and all frequency values ​​in the historical frequency array to obtain n sets of data {|F 41 -F 31 |,|F 41 -F 32 |,|F 41 -F 33 |},{|F 42 -F 31 |,|F 42 -F 32 |,|F 42 -F 33 |},{|F 43 -F 31 |,|F 43 -F 32 |,|F 43 -F 33 |}; then select the minimum value of each group of data to form the minimum absolute difference in the absolute difference array {Z0, Z1, Z3}. If the minimum absolute difference is less than the jump threshold P, the corresponding frequency of the minimum absolute difference is determined to be the trend frequency F, otherwise the current frequency array is updated to the historical frequency array and 0 is output.

[0040] Then enter a new round, extract n valid peaks again and save the frequency and energy of the valid peaks, calculate the main peak energy percentage S (S = main peak energy value / sum of all peak energies) and compare it with the threshold M until the output is stable.

[0041] Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field and related fields without creative work should fall within the scope of protection of the present invention.

Claims

1. A method for resisting vibration interference of a small-caliber vortex flowmeter, characterized in that: The following steps are involved: Step 1: The data collected by the sensor is input into the processor after amplification and filtering; Step 2, the processor A / D samples and converts and performs spectrum analysis, extracts n effective peaks in each round and saves the frequency and energy of the effective peaks, where the effective peak is the peak whose peak signal energy value is greater than the threshold Q; Step 3, calculate the main peak energy percentage S and compare it with the threshold M; Step 4: If S ≥ threshold M, it is considered that there is no vibration interference signal, and the signal trend is directly judged. If the trend is stable, the current main peak frequency is output, otherwise 0 is output; Step 5: If S < threshold M, it is considered that there is a vibration interference signal, and the trend frequency is searched from the T peak frequencies. The signal trend is judged based on the trend frequency. If the trend is stable, the peak frequency with the smallest absolute difference with the trend frequency is output, otherwise 0 is output; The trend frequency search includes the following steps: Step A1, the historical frequency array is recorded as F (i-1)1 、F (i -1)2, ..., F (i-1)n , the current frequency array is recorded as F i1 、F i2 , ..., F in , calculate the absolute difference between each frequency value in the current frequency array and all frequency values ​​in the historical frequency array to obtain n sets of data {|F i1 -F (i-1)1 |,|F i1 -F (i-1)2 |, ..., |F i1 -F (i-1)n |},{|F i2 -F (i-1)1 |,|F i2 -F (i-1)2 |, ..., |F i2 -F (i-1)n |}, ..., {|F in -F (i-1)1 |,|F in -F (i-1)2 |, ..., |F in -F (i-1)n |}; Step A2, selecting the minimum value of each set of data to form an absolute difference array {Z0, Z1, ..., Zn}; Step A3, select the minimum absolute difference in the absolute difference array {Z0, Z1, ..., Zn}, if the minimum absolute difference < the jump threshold P, then determine that the corresponding frequency of the minimum absolute difference is the trend frequency F, otherwise update the current frequency array to the historical frequency array, and output 0; Among them, the signal trend judgment includes the following steps: Step B1, obtain the absolute difference array {|F j1 -F|,|F j2 -F|, ..., |F j3 -F|}, and select the minimum absolute difference; Step B2: If the minimum absolute difference is less than the jump threshold P for N consecutive times, it is considered that a frequency trend is formed, the trend frequency flag is set, and the frequency with the minimum absolute difference with the trend frequency is output; otherwise, the trend frequency search is started again.

2. The anti-vibration interference method of a small-caliber vortex flowmeter according to claim 1 is characterized in that: Signal trend judgment standard in step 4: when the absolute difference of N consecutive adjacent main peak frequencies is less than the jump frequency P, the flow signal trend is considered to be stable.