CN106092274A - A kind of diaphragm gas meter rapid verification method based on auto-correlation algorithm - Google Patents

A kind of diaphragm gas meter rapid verification method based on auto-correlation algorithm Download PDF

Info

Publication number
CN106092274A
CN106092274A CN201610363841.8A CN201610363841A CN106092274A CN 106092274 A CN106092274 A CN 106092274A CN 201610363841 A CN201610363841 A CN 201610363841A CN 106092274 A CN106092274 A CN 106092274A
Authority
CN
China
Prior art keywords
calibrating
signal
gas meter
diaphragm
diaphragm gas
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.)
Pending
Application number
CN201610363841.8A
Other languages
Chinese (zh)
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.)
China Jiliang University
Original Assignee
China Jiliang University
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 China Jiliang University filed Critical China Jiliang University
Priority to CN201610363841.8A priority Critical patent/CN106092274A/en
Publication of CN106092274A publication Critical patent/CN106092274A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F25/00Testing or calibration of apparatus for measuring volume, volume flow or liquid level or for metering by volume
    • G01F25/10Testing or calibration of apparatus for measuring volume, volume flow or liquid level or for metering by volume of flowmeters

Abstract

The invention discloses a kind of diaphragm gas meter rapid verification method based on auto-correlation algorithm, the method particularly as follows: within a period of time equal interval sampling differential pressure signal gained signal numerical value is done autocorrelation analysis, it is possible to obtain tested table gyration period value thus be calculated revolution volume.Lower-capacity point calibrating time, according to big or middle flow spot check timing gained tested film table revolving body product value as calibrating standard ventilation, by 2~3 revolution volumes of gas time stop calibrating, the calculating ventilation of standard tabular value Yu tested film table obtain the error of indication.The present invention is greatly shortened the calibrating time while ensureing accuracy of measurement, improves the efficiency of diaphragm gas meter calibrating.

Description

A kind of diaphragm gas meter rapid verification method based on auto-correlation algorithm
Technical field
The present invention relates to diaphragm gas meter error of indication Calibration Technology field, particularly relate to one and pass through auto-correlation algorithm Obtain diaphragm gas meter revolution volume with the method improving its error testing speed.
Background technology
Diaphragm gas meter is not only the measurement instrument of production development, trade settlement, and saves the energy, raising as a kind of Economic benefit and the important tool of management level, need active response country " low-carbon (LC) is lived, saved energy and reduce the cost " to call.Therefore, no Opinion is large, medium-sized enterprises or domestic consumer, and diaphragm gas meter all plays important role.The city that diaphragm gas meter is growing Field demand, also to constantly improving China's diaphragm gas meter assay device and calibration method, promotes sending out of China's gas energetically Exhibition is had higher requirement.
The traditional method of detecting gas meter mainly has: bell jar process, wet type table method, piston method and sonic nozzle method etc..But These methods have a universal shortcoming exactly when carrying out lower-capacity point calibrating the used time the longest.In order to improve diaphragm gas meter Calibrating efficiency, can by differential pressure method i.e. by detection gas meter, flow meter bellows internal round-trip movement parts motion conditions drive combustion gas The pressure reduction of table inlet, outlet obtains equivalent revolution volume.During lower-capacity point calibrating, according to big or middle flow spot check timing gained The revolving body product value of tested film table, as the standard ventilation of calibrating, stops calibrating during by 2~3 revolution volumes of gas, by Standard tabular value obtains the error of indication with the calculating ventilation of tested film table.
The method of currently acquired diaphragm gas meter revolution volume is extremely limited, due to returning of differential pressure signal and diaphragm gas meter Transhipment is dynamic has good dependency, and has had differential pressure biography at existing sonic nozzle standard calibrating device inlet, outlet Sensor, uses the cycle of the differential pressure signal that the method for autocorrelation analysis draws to represent the revolution week of gas meter, flow meter again after can directly reading Phase.Set forth herein a kind of revolution volume by auto-correlation algorithm acquisition diaphragm gas meter thus improve lower-capacity point calibrating speed Method.
Summary of the invention
The present invention, in order to overcome above-mentioned the deficiencies in the prior art, the invention provides a kind of membrane type based on auto-correlation algorithm Gas meter, flow meter rapid verification method.
Correlation analysis is a kind of conventional voice time domain wave analyzing device, and it is defined by correlation function.Correlation function Can be used to the time domain similarity measuring between signal.If two signals are entirely different, correlation function is close to zero;If two letters Number waveform is identical, peak value will occurs at place advanced, delayed.Auto-correlation function can be used for studying signal itself, same such as waveform Step property, periodicity etc..
Cross-correlation function for energy signal x (n) He y (n) is defined as:Its Middle m, n are centrifugal pumps, represent m, the n moment.rxyM (), in the value in m moment, is equal to be remained stationary as by x (n) and y (n) moves to right m Sampling period, then, two sampled sequences are multiplied in all corresponding moment value, then add and.If y (n)=x (n), then the most fixed The cross-correlation function of justice becomes auto-correlation function:Cross-correlation function represents signal y Waveform after (n) time delay m and the similarity degree of signal x (n) waveform.And auto-correlation function represent the waveform of signal x (n) and self The similarity degree of the waveform x (n+m) after the m moment.
For energy signalI.e. rxx(0) equal to the energy of signal x (n) self.According to The feature of power signal, rxx(0) will tend to infinitely great.Therefore, the auto-correlation function for power signal is defined as:If x (n) is periodic signal (periodic signal is power signal), its cycle is T, For the auto-correlation function of x (n), Therefore, the auto-correlation function of periodic signal is also the cycle, and cycle and original signal same cycle.
Owing to the gyration of differential pressure signal Yu diaphragm gas meter has good dependency, can be with autocorrelation analysis The cycle of the differential pressure signal that method draws represents the gyration period of gas meter, flow meter, thus calculates revolution volume and be applied to diaphragm gas In the rapid verification method of Watch Error.It specifically comprises the following steps that
1, record the differential pressure signal of diaphragm gas meter air inlet and gas outlet with a differential pressure pick-up, this pressure differential can To promote the diaphragm of diaphragm gas meter measuring indoor sport, and valve actuating mechanism is driven to coordinate distribution so that diaphragm Motion can be the most reciprocal carrying out.
2, the differential pressure signal obtaining step 1 carries out signal condition and A/D conversion is passed to a differential amplifier circuit Again by a programmable amplifying circuit to reach the purpose of signal condition, then it is passed to an A/D module to complete differential pressure letter Number to the conversion of voltage signal.
3, external data acquisition processing module, first samples to the voltage signal obtained by step 2, obtains discrete adopting Sample value x (n) (in order to ensure that signal analysis must correctly is fulfilled for the sampling period of sampling thereom states).
4, voltage signal x (n) obtaining step 3 carries out autocorrelation analysis process.Auto-correlation function computing formula is:The waveform of available signal x (n) is with self waveform x's (n+m) after the m moment Similarity degree, can draw r through emulationxxM () figure presents periodically, and at m=0, T, 2T, peak value occur, thus obtain Go out the periodic signal T lain in x (n).
5, T gyration period by obtaining in step 4 is calculated revolution volume and to carry out diaphragm gas Watch Error quick Calibrating: flow spot check timing, according to big or middle flow spot check timing gained tested film table revolving body product value as calibrating mark Quasi-ventilation, stops calibrating during by 2~3 revolution volumes of gas, the calculating ventilation of standard tabular value with tested film table obtains To the error of indication.
The technical solution adopted in the present invention is:
By above-mentioned principle, by external data acquisition processing module, within a period of time, equal interval sampling differential pressure signal is also Gained signal numerical value is done autocorrelation analysis, it is possible to obtain tested table gyration period value thus be calculated revolution volume.Little The timing of flow spot check, ventilates as the standard examined and determine according to the revolving body product value of big or middle flow spot check timing gained tested film table Amount, stops calibrating during by 2~3 revolution volumes of gas, the calculating ventilation of standard tabular value Yu tested film table obtains indicating value Error.
Compared with prior art, the invention has the beneficial effects as follows: in existing diaphragm gas meter indicating value based on sonic nozzle On the basis of error verification device, can effectively be obtained the equivalent revolution volume of diaphragm gas meter by auto-correlation algorithm, by rill Amount point calibrating volume is turned around by original least count dish, and (domestic table is usually 10dm3) it is reduced to a revolution volume (family It is usually 0.9 1.2dm with table3), while ensureing accuracy of measurement, calibrating time is greatly shortened, improves membrane type combustion The efficiency of gas meter calibrating.Correlation function mathematical formulae is simple, even if using low side single-chip microcomputer can also realize function algorithm, this is Reduce system cost and provide favourable condition.
Accompanying drawing explanation
Fig. 1 is: large-capacity point differential pressure pick-up output figure;
Fig. 2 is: differential pressure signal x (n) does autocorrelation analysis figure.
Detailed description of the invention
The invention provides a kind of diaphragm gas meter error of indication calibration method.Below in conjunction with the accompanying drawings and embodiment to this Invention further illustrates.Embodiment is that the present invention illustrates, and not limits this invention.
The revolution volume of diaphragm gas meter is the most basic unit of diaphragm gas meter metering.Want to shorten diaphragm gas meter The lower-capacity point calibrating time, can realize by reducing the ventilation of minimum discharge point, i.e. the calibrating ventilation of this point be set It is set to equivalent revolution volume.
Double chronometry is used to obtain the revolution volume of gas meter, flow meter: with a photoelectric sensor detection membrane type gas meter head Reading digit wheel signal, then the differential pressure of air inlet and gas outlet is recorded with a differential pressure pick-up, this pressure differential can promote The diaphragm of diaphragm gas meter is in metering indoor sport, and drives valve actuating mechanism to coordinate distribution so that the motion energy of diaphragm The most reciprocal enough carrying out.
Before photoelectric sensor being fixed on gas meter, flow meter during calibrating, the reflecting sign on least count dish on tested table can be detected Know.So when the counting character wheel of gas meter head often forwards at mark one time to, it is (right that photoelectric sensor will export a pulse 10dm is generally corresponded in Household diaphragm gas meter3).Gather the air inlet of existing sonic nozzle assay device, the difference of gas outlet The differential pressure signal of pressure sensor output, the voltage that during large-capacity point, differential pressure pick-up output signal is corresponding is as shown in Figure 1.Pass through With actual test, theory analysis all shows that differential pressure signal has good dependency, Ke Yiyong with the gyration of diaphragm gas meter The cycle of the differential pressure signal that the method for autocorrelation analysis draws represents the gyration period of gas meter, flow meter.
First the differential pressure signal of acquisition is carried out signal condition and A/D conversion, i.e. first passes through differential amplifier circuit, then pass through Programmable amplifying circuit, uses digital programmable gain instrumentation amplifier, can directly control to put according to signal peak by GPIO mouth Big multiple.It is passed to A/D module again be connected by parallel interface mode with processor.A/D module BUSY pin is received The external interrupt pin of STM32 is also configured to trailing edge and triggers, and thus can read data after converting in time.
Auto-correlation function according to periodic signal is also the cycle, and cycle and original signal are with cycle principle, by external Digital sampling and processing, first to the above-mentioned signal sampling converted through signal condition and A/D, obtains dis-crete sample values x (n) (in order to ensure that signal analysis must correctly is fulfilled for the sampling period of sampling thereom states).Then x (n) is asked auto-correlation letter Number, as shown in Figure 2, it can be deduced that rxxM () figure presents periodically, and at m=0, T, 2T, peak value occur, thus disclose Lie in the periodic signal in x (n).By being calculated revolution volume.
When flow point big or middle is examined and determine, industrial computer controls data collecting system and carries out data acquisition, by nozzle stagnation temperature Degree, pressure obtain mass flow, then are calculated gas at effusion meter by ambient temperature, atmospheric pressure, effusion meter temperature, pressure Density, thus obtain gas actual volume flow at effusion meter, i.e. standard volume flow, the stream then recorded with effusion meter Amount contrasts, and draws verification result according to calibrating rule, calculates simultaneously and preserve the revolving body product value of tested table;Lower-capacity point During calibrating, according to the revolving body product value of big or middle flow spot check timing gained tested film table as the standard ventilation of calibrating, logical Stop calibrating when crossing 2~3 revolution volumes of gas, the calculating ventilation of standard tabular value Yu tested film table obtain the error of indication also Do qualified judgement.

Claims (1)

1. a diaphragm gas meter rapid verification method based on auto-correlation algorithm, it is characterised in that: the method specifically include with Lower step:
Step one: record the differential pressure signal of diaphragm gas meter air inlet and gas outlet, this pressure differential with a differential pressure pick-up The diaphragm that can promote diaphragm gas meter is measuring indoor sport, and drives valve actuating mechanism to coordinate distribution so that diaphragm Motion can be the most reciprocal carrying out;
Step 2: the differential pressure signal obtaining step one carries out signal condition and A/D conversion is passed to a differential amplification electricity Road again by a programmable amplifying circuit to reach the purpose of signal condition, then be passed to an A/D module to complete differential pressure Signal is to the conversion of voltage signal;
Step 3: external data acquisition processing module, first samples to the voltage signal obtained by step 2, obtains discrete Sampled value x (n);
Step 4: voltage signal x (n) obtaining step 3 carries out autocorrelation analysis process;Auto-correlation function computing formula is:The waveform of available signal x (n) is with self waveform x's (n+m) after the m moment Similarity degree, can draw r through emulationxxM () figure presents periodically, and at m=0, T, 2T, peak value occur, thus obtain Go out the periodic signal T lain in x (n);
Step 5: be calculated revolution volume by T gyration period obtained in step 4 and to carry out diaphragm gas Watch Error fast Speed calibrating: flow spot check timing, according to big or middle flow spot check timing gained tested film table revolving body product value as calibrating Standard ventilation, stops calibrating, by the calculating ventilation of standard tabular value Yu tested film table during by 2~3 revolution volumes of gas Obtain the error of indication.
CN201610363841.8A 2016-05-27 2016-05-27 A kind of diaphragm gas meter rapid verification method based on auto-correlation algorithm Pending CN106092274A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610363841.8A CN106092274A (en) 2016-05-27 2016-05-27 A kind of diaphragm gas meter rapid verification method based on auto-correlation algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610363841.8A CN106092274A (en) 2016-05-27 2016-05-27 A kind of diaphragm gas meter rapid verification method based on auto-correlation algorithm

Publications (1)

Publication Number Publication Date
CN106092274A true CN106092274A (en) 2016-11-09

Family

ID=57230029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610363841.8A Pending CN106092274A (en) 2016-05-27 2016-05-27 A kind of diaphragm gas meter rapid verification method based on auto-correlation algorithm

Country Status (1)

Country Link
CN (1) CN106092274A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108458765A (en) * 2018-03-29 2018-08-28 威海拙诚燃气安全设备有限公司 A kind of gas metering method
CN108775934A (en) * 2018-07-20 2018-11-09 山东大学 The indirect metering method of digitlization gas flow based on AMFD algorithms
CN108801373A (en) * 2018-07-20 2018-11-13 山东大学 The indirect metering method of gas flow based on gas pressure integral of pulse shape periodicity extraction algorithm

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201463953U (en) * 2009-07-29 2010-05-12 重庆前卫仪表厂 Film type gas meter with dramatic turning volume
CN103278220A (en) * 2013-06-05 2013-09-04 中国计量学院 Method for rapidly verifying intrinsic errors of membrane type gas meter and device thereof
CN203376035U (en) * 2013-06-20 2014-01-01 浙江蓝宝石仪表科技有限公司 Device for detecting fundamental errors of industrial membrane type gas meter

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201463953U (en) * 2009-07-29 2010-05-12 重庆前卫仪表厂 Film type gas meter with dramatic turning volume
CN103278220A (en) * 2013-06-05 2013-09-04 中国计量学院 Method for rapidly verifying intrinsic errors of membrane type gas meter and device thereof
CN203376035U (en) * 2013-06-20 2014-01-01 浙江蓝宝石仪表科技有限公司 Device for detecting fundamental errors of industrial membrane type gas meter

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
钟晨 等: ""膜式燃气表示值误差快速检定装置设计"", 《质量技术监督研究》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108458765A (en) * 2018-03-29 2018-08-28 威海拙诚燃气安全设备有限公司 A kind of gas metering method
CN108775934A (en) * 2018-07-20 2018-11-09 山东大学 The indirect metering method of digitlization gas flow based on AMFD algorithms
CN108801373A (en) * 2018-07-20 2018-11-13 山东大学 The indirect metering method of gas flow based on gas pressure integral of pulse shape periodicity extraction algorithm

Similar Documents

Publication Publication Date Title
CN102109333B (en) Small-curvature radius complex curved surface intelligent ultrasonic thickness measurement system
CN109579950B (en) Mistake proofing ripples detection device of gaseous ultrasonic flowmeter
CN103278220B (en) A kind of method and device thereof diaphragm gas meter fundamental error being carried out to rapid verification
CN106092274A (en) A kind of diaphragm gas meter rapid verification method based on auto-correlation algorithm
CN103995263B (en) A kind of ultrasonic ranging method based on sequential
CN206905879U (en) A kind of separate type Natural Frequency of Blade detection means
CN105333925A (en) Supersonic liquid level measuring instrument based on single-chip microcomputer
CN101403635A (en) Infrasonic wave detection apparatus
CN102338776A (en) Method for measuring propagation time of stress wave in wood and nondestructive test system
CN110646042A (en) Cross-correlation interpolation method for calculating flight time difference of low-power-consumption ultrasonic flowmeter
CN204963959U (en) Improve device of diaphragm type gas table error examination speed
CN203376035U (en) Device for detecting fundamental errors of industrial membrane type gas meter
CN116955027A (en) MCU chip test system and test method thereof
CN207742153U (en) A kind of ultrasonic wave methane concentration detection device with time-to-digital converter chip
CN201583657U (en) Ultrasonic ranging device with temperature and humidity compensation
CN104897219A (en) High-accuracy low-power consumption ultrasonic flowmeter
CN204924390U (en) Detection apparatus for diaphragm type gas table equivalent gyration volume
CN116105836A (en) Remote self-diagnosis ultrasonic gas meter design based on temperature compensation algorithm
CN105841765A (en) Diaphragm type gas meter revolution volume acquisition method based on short-time self-correlation algorithm
CN204346486U (en) Multichannel pressure and temp monitoring and recording system
CN203502063U (en) Ultrasonic flowmeter enabling pipeline detection and self error correction
CN203204013U (en) IEPE type piezoelectric ceramic sensor with self-diagnosis function
CN109298238A (en) A kind of frequency measurement method and its measuring system
CN103438911B (en) LC resonant transducer reading system under fixed pattern frequently and method
CN206540578U (en) A kind of gas turbine meter

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20161109

WD01 Invention patent application deemed withdrawn after publication