CN100359293C - Digital signal resolving device and method for Coriolis mass flowmeter based on harmonious decomposition - Google Patents

Digital signal resolving device and method for Coriolis mass flowmeter based on harmonious decomposition Download PDF

Info

Publication number
CN100359293C
CN100359293C CNB2006100418573A CN200610041857A CN100359293C CN 100359293 C CN100359293 C CN 100359293C CN B2006100418573 A CNB2006100418573 A CN B2006100418573A CN 200610041857 A CN200610041857 A CN 200610041857A CN 100359293 C CN100359293 C CN 100359293C
Authority
CN
China
Prior art keywords
frequency
digital signal
filter
omega
delta
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
CNB2006100418573A
Other languages
Chinese (zh)
Other versions
CN1837758A (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.)
Xi'an Dongfeng electromechanical Limited by Share Ltd
Original Assignee
DONGFENG ELECTROMECHANIC Co Ltd XI-AN
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 DONGFENG ELECTROMECHANIC Co Ltd XI-AN filed Critical DONGFENG ELECTROMECHANIC Co Ltd XI-AN
Priority to CNB2006100418573A priority Critical patent/CN100359293C/en
Publication of CN1837758A publication Critical patent/CN1837758A/en
Application granted granted Critical
Publication of CN100359293C publication Critical patent/CN100359293C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measuring Volume Flow (AREA)

Abstract

The present invention relates to a digital signal resolving device for a Coriolis mass flow meter and a software algorithm thereof. A comb filter with special design is used in a digital signal processor (DSP) to realize broad pass band filtration. The comb filter is provided with a zero on the multiplication frequency of 50Hz to suppress dc and industrial frequency interference. A pass band of the filter can cover the total work frequency range of the device. Thus, the centre frequency of the pass band of the filter is fixed. The filter is realized by using an FIR filter, which avoids the problems of the instability of the filter and the overflow of fixed-point calculation. The algorithm in software is optimized, so the filter is allowed to be provided with a wider pass band. The base frequency is determined according to signal zero cross time. The least square method is used for doing harmonious decomposition for signal blocks, and the discrete fourier coefficient is obtained on each harmonic frequency. The present invention is different from discrete fourier transform and is not influenced by non-integer period interception.

Description

A kind of Coriolis mass flowmeter digital signal resolving device and method of decomposing based on harmonic wave
Technical field
The present invention relates to be used for the device and method that the Coriolis mass flowmeter digital signal resolves.
Background technology
The device that the measuring tube that utilizes the former reason of Coriolis (Coriolics) to vibrate is measured the mass rate and the density of the fluid in the flowing pipe is called coriolis mass flowmeters, in the U.S. Pat of authorizing people such as J.E.Smith-4109524 (on 08 29th, 1978), the ultimate principle and the method for relevant this flowmeter are disclosed among US-4491025 (on 01 01st, 1985) and the Re.31450 (02 month 11 days nineteen eighty-two), its key is the accurately frequency of measuring vibrations and the phase differential (or mistiming) of two paths of signals, though can realize such function with hardware circuit, the function that realizes with hardware circuit owing to various technical reasons is limited.
Adopt digital signal processor (DSP) can realize more complicated processing, influence phase differential thereby avoid that simultaneously two paths of signals is introduced uncertain delay.As the U.S. Pat-4934196 (06 month 19 days nineteen ninety) of authorizing Romano has adopted variable sample frequency, make the data block of carrying out discrete time Fourier transform (DTFT) comprise an integer vibration period, thereby avoid non-complete cycle to block the spectrum leakage that is caused, but it has increased the complicacy of hardware circuit.Authorize the mode that Chris's bridge spy's of German Endress+Hauser Flowtec AG Chinese patent CN-1455859A (09 month 05 day calendar year 2001) has adopted hardware to combine with software, control the ratio of the two paths of signals that enters differential amplifier by DSP, make differential signal and reference signal quadrature, thereby resolve phase differential by differential wave and reference signal.Authorize the fundamental frequency that the H.V. of U.S. Micro Motion, Inc Derby, T. ripple west and S. draw refined Chinese patent CN-1190461A (on 08 12nd, 1998) to adopt the adaptive notch filter (ANF) that strengthens (ALE) based on adaptive line to suppress various interference and try to achieve signal, again by the single-frequency point Fourier coefficient of Goertzel algorithm computation signal on fundamental frequency.The Chinese patent CN-1467485A that authorizes Xu Ke army of HeFei University of Technology and Xu Wenfu has done improvement to the method: replace ANF with self-adaptation funnel type wave filter (AFF), can take into account frequency-tracking ability and tracking accuracy; Replace traditional Goertzel algorithm with slip Goertzel algorithm (SGA), the change sinusoidal signal also can replace traditional Goertzel algorithm with slip Goertzel algorithm (SGA) when being fit to, and the change sinusoidal signal also can be used the calculated signals fourier coefficient less than one-period when being fit to.
The problem that exists
Can constitute orthogonal basis on the time interval in integral multiple cycle by one group of trigonometric function for periodic function, periodic function can be launched into fourier series on this orthogonal basis.When the time interval did not comprise integer basic cycle, this group trigonometric function base was not a quadrature just, adopted original formula calculating fourier coefficient will produce spectrum leakage.Adopt the variable sampling frequency can obtain effect preferably, but increased the complicacy of hardware circuit.The Goertzel algorithm can only guarantee that the calculating of fourier coefficient is to carry out on one group of sampled point near the integral multiple vibration period, because time interval still might differ less than a sampling period with the integral multiple vibration period, has a spot of spectrum leakage generation although taked the measure of windowing to still have.The Goertzel algorithm only calculates fourier coefficient on a Frequency point simultaneously, and therefore requiring signal must be undistorted sinusoidal signal, and this just requires original signal will pass through narrow band filter filtering earlier.
Adopt least square method periodic function can be carried out harmonic wave on non-orthogonal trigonometric function base and decompose, and can organize the trigonometric function that increases other frequency component in the function base at this.This harmonic wave decomposition method requires to record fundamental frequency earlier, but survey frequency always has error, has improved decomposition method for this reason, has increased by one group of degree of freedom in basis function, has improved the tolerance of described method to the fundamental frequency error.Because the method has been carried out filtering to signal at frequency domain in fact, therefore can reduce the requirement of prime time domain filtering.
Summary of the invention
The objective of the invention is to the advantage that comprehensive time domain is handled and frequency domain is handled, design a kind of Coriolis mass flowmeter digital signal resolving device and method of decomposing, the digital signal of short time is handled to obtain determining fluid mass flow and needed instantaneous phase difference of density and instantaneous frequency based on harmonic wave.
The present invention is in order to realize this purpose, adopt following technical scheme: a kind of Coriolis mass flowmeter digital signal resolving device that decomposes based on harmonic wave, it comprises: two-way vibration transducer and signal conditioning circuit thereof, the synchronous A/D converter of two-way (A/D), digital signal processor (DSP) and software algorithm wherein, it is characterized in that the coriolis mass flowmeters body contains the measuring tube of vibration, be used for the mass rate and the density of the fluid that wherein flows through are measured, said two-way vibration transducer is installed on the said measuring tube, said vibration transducer is responded to the vibration of said measuring tube and is converted thereof into electric signal, electric signal is transformed into digital signal through said signal conditioning circuit and said A/D converter, digital signal is sent into said digital signal processor, digital signal is calculated the phase differential of vibration frequency and two paths of signals by said software algorithm in said digital signal processor, obtain the mass rate and the density of measured fluid thus.
Said comb filter disposes zero point and disturbs to suppress direct current and power frequency on the frequency multiplication of 50Hz.
To through filtered signal double sampling, sample frequency is reduced to 8kHz, the aliasing that said wave filter causes the signal double sampling has the inhibition ability more than the 120dB.
Wave filter has wide passband and fixing centre frequency is arranged, and wave filter has the bandwidth of 100Hz, can cover the whole vibration frequency range of said measuring tube when work.
Said wave filter adopts finite impulse response FIR wave filter to realize, has avoided the overflow problem of the instability and the fixed point calculation of wave filter.
Method based on described resolver, press the zero passage of signal and determine fundamental frequency constantly, with least square method the signal piecemeal is carried out harmonic wave and decompose, try to achieve the discrete Fourier coefficient on each rank resonance frequency, this is different from discrete Fourier transform (DFT), the influence that it is not blocked by non-complete cycle.
Allow determined fundamental frequency that error is arranged, can estimate the influence of fundamental frequency error, and fundamental frequency is revised, described harmonic wave decomposition has following form:
y ( nΔt ) = Σ k = 1 M ( A k cos knωΔt + B k sin knωΔt + C k n cos knωΔ + D k n sin k nωΔ ) )
Algorithm in the software can be finished in real time under the double sampling frequency of 8kHz and resolve through optimizing, and therefore allows said wave filter to have the passband of broad.
The present invention realizes broad passband filtering by comb filter and suppresses power frequency and disturb, in the time of filtering to filtered signal double sampling to reduce sampling rate, determine with least square method signal to be carried out the harmonic wave decomposition after the signal frequency, obtain the fourier coefficient of signal on fundamental frequency and each harmonic frequency.In algorithm, frequency error is estimated and compensated, interference frequency main in the passband is estimated and compensated.
In digital signal processor (DSP), adopt the comb filter of particular design to suppress direct current and power frequency is disturbed, and the aliasing when suppressing the signal double sampling.After trying to achieve the signal fundamental frequency, with least square method the signal piecemeal is carried out harmonic wave and decompose, try to achieve the discrete Fourier coefficient on each rank resonance frequency.This is different from discrete Fourier transform (DFT), the influence that it is not blocked by non-complete cycle.The method can overcome the main influence of disturbing frequency in the fundamental frequency sum of errors passband through improving.Fourier coefficient with fundamental frequency can be in the hope of the phase differential of two paths of signals.
Method of the present invention is different from the method in the mentioned patent in front, the present invention adopts fixing sample frequency, do not use the Goertzel algorithm, and realize that with least square method harmonic wave decomposes on non-orthogonal function base, and replenished function base with the tolerance frequency error.Because the method has been carried out filtering to signal at frequency domain in fact, therefore can reduce the requirement of prime time domain filtering, the present invention does not use adaptive notch filter or self-adaptation funnel wave filter.Owing to simplified algorithm, method of the present invention can be finished in real time under higher double sampling frequency and resolve.Experimental result shows that apparatus and method of the present invention can reach very high calculation accuracy.
Description of drawings
Fig. 1 is a system architecture diagram of the present invention.
Fig. 2 is the amplitude versus frequency characte (dB) of wave filter.
Fig. 3 is the phase-frequency characteristic (degree) of wave filter.
Fig. 4 is a filtering of the present invention.
Embodiment
System architecture is as shown in Figure 1: the measuring tube (not shown) that the coriolis mass flowmeters body contains vibration is used for the mass rate and the density of the fluid that wherein flows through are measured, the two-way vibration transducer is installed on the measuring tube, the vibration of vibration transducer measurement of inductance pipe also converts thereof into electric signal, electric signal is transformed into digital signal through signal conditioning circuit and A/D converter, digital signal is sent into digital signal processor, digital signal is calculated the phase differential of vibration frequency and two paths of signals by software algorithm in digital signal processor, obtain the mass rate and the density of measured fluid thus.
The amplitude versus frequency characte of comb filter and phase-frequency characteristic can suppress direct current and power frequency the zero point of disposing and disturb respectively as shown in Figures 2 and 3 on the 50Hz frequency multiplication.Passband is selected in 50Hz to 150Hz, and the bandwidth of 100Hz is arranged, and can cover whole operating frequency range.Rejection ratio more than the 120dB is arranged, for follow-up 8kHz double sampling provides anti-aliasing filter at the 4kHz place.Linear phase-frequency characteristic is arranged in passband, be equivalent to the group delay of 7.4189ms.
Filtering as shown in Figure 4, the A/D sampling rate is 48kHz, digital signal is sent to the internal buffer by DMA (directly memory access or direct memory access), buffer zone can hold the data of 12 sampled points, when buffer zone is half-full, produce interrupt request, by task A the data of these 6 sampled points are sent into the buffer circle that can hold 960 sampled points and form frame data, the Frame in the buffer circle is carried out data after FIR (finite impulse response) filtering obtains a pair of double sampling.Through 6: 1 double samplings, sampling rate was reduced to 8kHz to filtered signal.
Task B determines instantaneous frequency to filtered digital signal, and instantaneous frequency can also obtain the density of measured material except that being used for phase differential resolves.Measure to adopt and survey periodic method, the sampled data of every 100ms is found out all zero passages constantly, determine the T.T. of an integer semiperiod among half cycle issue and the 100ms, calculate average vibration period and the frequency of every 100ms thus.Zero passage is determined through linear interpolation by two sampled points of opposite in sign constantly.Frequency measurement accuracy is better than 0.005Hz.
The sinusoidal signal of distortion can be expressed as the form that harmonic wave decomposes in the formula (1) after recording fundamental frequency omega:
y ( t ) = Σ k = 1 M ( A k cos kωt + B k sin kωt ) - - - ( 1 )
Consider the error delta ω of survey frequency, and can suppose that δ ω is a small amount of, then formula (1) can be expressed as formula (2):
y ( t ) = Σ k = 1 M ( A k cos k ( ω + δω ) t + B k sin k ( ω + δω ) t )
= Σ k = 1 M A k ( cos kω t cos kδωt + sin kωt sin kδωt ) +
Σ k = 1 M B k ( sin kωt cos kδωt + cos kωt sin kδωt ) - - - ( 2 )
≅ Σ k = 1 M ( A k cos kωt + B k sin k ωt + B k kδω t cos kωt - A k kδω t sin kωt )
Discretize obtains formula (3):
y ( nΔt ) = Σ k = 1 M ( A k cos knωΔt + B k sin knωΔ t ) ) + - - - ( 3 )
Σ k = 1 M ( C k n cos knωΔ + D k n sin knωΔ )
By least square method signal x (n Δ t) is expressed as the harmonic wave decomposed form of revising in the formula (3),
Should allow (4) to get minimum value to determine the coefficient (4) in the formula (3)
Φ ( A k , B k , C k , D k ) = Σ n = 1 N ( x ( nΔt ) - y ( nΔt ) ) 2
Can calculate phase differential by the coefficient of trying to achieve:
Figure C20061004185700082
Tens batches of experiments have been done with existing sensor, the result shows in 1: 20 flow measurement range, precision index can reach for 0.1% (need not add zero stability), in 1: 50 scope, precision can reach 0.1% ± zero stability, it is leading domestic that this index has reached, international most advanced level.

Claims (3)

1, a kind of Coriolis mass flowmeter digital signal resolving device that decomposes based on harmonic wave, it comprises: two-way vibration transducer and signal conditioning circuit thereof, the synchronous A/D converter of two-way, digital signal processor and software algorithm wherein, the measuring tube that the coriolis mass flowmeters body contains vibration is used for the mass rate and the density of the fluid that wherein flows through are measured, said two-way vibration transducer is installed on the said measuring tube, said vibration transducer is responded to the vibration of said measuring tube and is converted thereof into electric signal, electric signal is transformed into digital signal through said signal conditioning circuit and said A/D converter, digital signal is sent into said digital signal processor, it is characterized in that adopting the fixing broad passband wave filter of centre frequency to realize the anti-aliasing filter of double sampling, the passband of wave filter covers the whole vibration frequency range of said measuring tube when work, carry out double sampling in the time of filtering and make sampling rate be reduced to 8kHz, the aliasing that wave filter causes the signal double sampling has the inhibition ability more than the 120dB.
2, a kind of Coriolis mass flowmeter digital signal resolving device that decomposes based on harmonic wave as claimed in claim 1 is characterized in that adopting finite impulse response FIR wave filter to realize, has avoided the overflow problem of the instability and the fixed point calculation of wave filter.
3, based on the method for the described resolver of claim 1, it is characterized in that adopting harmonic wave decomposition algorithm based on the band frequency correction of least square method to calculate discrete Fourier coefficient on each rank resonance frequency, under the double sampling frequency of 8kHz, finish in real time and resolve, said algorithm allows the initial fundamental frequency of determining that error is arranged and can revise the error of fundamental frequency, calculate the phase differential of two paths of signals by the fourier coefficient on the fundamental frequency, obtain the mass rate and the density of measured fluid thus, the harmonic wave decomposition of said band frequency correction has following form:
y ( nΔt ) = Σ k = 1 M ( A k cos knωΔt + B k sin knωΔt + C k n cos knωΔ + D k n sin knωΔ )
CNB2006100418573A 2006-03-02 2006-03-02 Digital signal resolving device and method for Coriolis mass flowmeter based on harmonious decomposition Active CN100359293C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100418573A CN100359293C (en) 2006-03-02 2006-03-02 Digital signal resolving device and method for Coriolis mass flowmeter based on harmonious decomposition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100418573A CN100359293C (en) 2006-03-02 2006-03-02 Digital signal resolving device and method for Coriolis mass flowmeter based on harmonious decomposition

Publications (2)

Publication Number Publication Date
CN1837758A CN1837758A (en) 2006-09-27
CN100359293C true CN100359293C (en) 2008-01-02

Family

ID=37015223

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100418573A Active CN100359293C (en) 2006-03-02 2006-03-02 Digital signal resolving device and method for Coriolis mass flowmeter based on harmonious decomposition

Country Status (1)

Country Link
CN (1) CN100359293C (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2951036A1 (en) * 2009-10-01 2011-04-08 Commissariat Energie Atomique DEVICE FOR PROCESSING A SIGNAL DELIVERED BY A RADIATION DETECTOR
CN101832803B (en) * 2010-03-31 2012-01-11 太原太航流量工程有限公司 Coriolis mass flow meter digital signal processing method
CN103900653A (en) * 2012-12-31 2014-07-02 上海一诺仪表有限公司 Method for calculating phase difference in Coriolis mass flow meter
CN103245386B (en) * 2013-04-10 2015-03-04 温州新蓝科技有限公司 Coriolis flowmeter and information processing technology thereof
CN103353320B (en) * 2013-07-03 2016-07-06 太原太航科技有限公司 Coriolis mass flowmeter signal processing method based on mixing algorithm
CN105784037B (en) * 2016-05-04 2018-11-13 西北工业大学 All-digital waveform synthesis Coriolis flowmeter opens the device and method for the signal that shakes

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5429002A (en) * 1994-05-11 1995-07-04 Schlumberger Industries, Inc. Coriolis-type fluid mass flow rate measurement device and method employing a least-squares algorithm
CN1467485A (en) * 2003-04-04 2004-01-14 合肥工业大学 Ke's mass flowmeter digital signal processing system based on AFF and SGA

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5429002A (en) * 1994-05-11 1995-07-04 Schlumberger Industries, Inc. Coriolis-type fluid mass flow rate measurement device and method employing a least-squares algorithm
CN1467485A (en) * 2003-04-04 2004-01-14 合肥工业大学 Ke's mass flowmeter digital signal processing system based on AFF and SGA

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
一种滤除基线漂移和工频干扰的数字滤波算法. 邹波,周远.深圳职业技术学院学报,第2005年第4期. 2005 *
单片机系统中的数字滤波. 郭纲,董恩生.沈阳工业大学学报,第24卷第5期. 2002 *

Also Published As

Publication number Publication date
CN1837758A (en) 2006-09-27

Similar Documents

Publication Publication Date Title
CN100359293C (en) Digital signal resolving device and method for Coriolis mass flowmeter based on harmonious decomposition
JP4960967B2 (en) Instrument electronics and method for determining a phase difference between a first sensor signal and a second sensor signal of a flow meter
CN108020282B (en) Coriolis mass flowmeter signal processing method based on complex coefficient filtering
CN102128656B (en) Slightly bent Koch mass flow meter digital signal processing method and system
EP1249689A2 (en) Phase difference measuring apparatus and mass flowmeter thereof
CN103528634B (en) A kind of coriolis mass flowmeters cloud transmission digital signal processing device and method
JP2000505895A (en) Method and apparatus for pressure measurement in Coriolis mass flow meters
MX2011004353A (en) Method and apparatus for measuring a fluid parameter in a vibrating meter.
JP2012208131A (en) High speed frequency and phase estimation for flow meter
JP6173721B2 (en) Frequency analysis device, signal processing device using the frequency analysis device, and high-frequency measurement device using the signal processing device
CN108197339B (en) Dynamic displacement monitoring method of real-time acceleration integral algorithm based on recursive least square method
Lyons et al. Improvements to the sliding discrete fourier transform algorithm [Tips & Tricks]
Liu et al. Improved processing of harmonics and interharmonics by time-domain averaging
CN101556173A (en) Coriolis mass flowmeter digital resolver based on wavelet de-noising and method thereof
KR101121914B1 (en) Arithmetic unit, arithmetic method and flowmeter having an arithmetic unit
JP3200827B2 (en) Coriolis mass flowmeter
Hou et al. A DSP-based signal processing method and system for CMF
BRPI0610319A2 (en) electronic measurement components and methods for determining gas void fraction
CN106643944A (en) Method for tracking and estimating high-precision frequency of coriolis mass flowmeter
Zhu et al. Noise influence on estimation of signal parameter from the phase difference of discrete Fourier transforms
Nguyen et al. A fast and accurate method for estimating power systems phasors using DFT with interpolation
JP4951060B2 (en) Method for processing measurement signals from vortex flowmeters
KR100758492B1 (en) Apparatus and method for estimating frequency using orthogonal filter
GB2434046A (en) Filtering signals
CN116576931A (en) Coriolis mass flowmeter signal processing method based on quadrature demodulation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Digital signal resolving device and method for Coriolis mass flowmeter based on harmonious decomposition

Effective date of registration: 20130311

Granted publication date: 20080102

Pledgee: China Minsheng Banking Corp Xi'an branch

Pledgor: Dongfeng Electromechanic Co., Ltd., Xi-an

Registration number: 2013990000136

PLDC Enforcement, change and cancellation of contracts on pledge of patent right or utility model
C56 Change in the name or address of the patentee
CP01 Change in the name or title of a patent holder

Address after: 710075 No. 10, Gaoxin Road, Xi'an, Shaanxi

Patentee after: Xi'an Dongfeng electromechanical Limited by Share Ltd

Address before: 710075 No. 10, Gaoxin Road, Xi'an, Shaanxi

Patentee before: Dongfeng Electromechanic Co., Ltd., Xi-an