CN108072414A - A kind of electronic measurement temperature and pressure compensation method of gas meter, flow meter - Google Patents

A kind of electronic measurement temperature and pressure compensation method of gas meter, flow meter Download PDF

Info

Publication number
CN108072414A
CN108072414A CN201810014992.1A CN201810014992A CN108072414A CN 108072414 A CN108072414 A CN 108072414A CN 201810014992 A CN201810014992 A CN 201810014992A CN 108072414 A CN108072414 A CN 108072414A
Authority
CN
China
Prior art keywords
temperature
acquisition
pulse
value
calculating
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.)
Granted
Application number
CN201810014992.1A
Other languages
Chinese (zh)
Other versions
CN108072414B (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.)
Goldcard Smart Group Co Ltd
Original Assignee
Goldcard Smart Group Co Ltd
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 Goldcard Smart Group Co Ltd filed Critical Goldcard Smart Group Co Ltd
Priority to CN201810014992.1A priority Critical patent/CN108072414B/en
Publication of CN108072414A publication Critical patent/CN108072414A/en
Application granted granted Critical
Publication of CN108072414B publication Critical patent/CN108072414B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F15/00Details of, or accessories for, apparatus of groups G01F1/00 - G01F13/00 insofar as such details or appliances are not adapted to particular types of such apparatus
    • G01F15/02Compensating or correcting for variations in pressure, density or temperature
    • G01F15/04Compensating or correcting for variations in pressure, density or temperature of gases to be measured

Landscapes

  • Physics & Mathematics (AREA)
  • Fluid Mechanics (AREA)
  • General Physics & Mathematics (AREA)
  • Measuring Volume Flow (AREA)
  • Measuring Fluid Pressure (AREA)

Abstract

The present invention provides a kind of electronic measurement temperature and pressure compensation method of gas meter, flow meter, is related to valuation and adjusts technical field.Counter register stores temperature and the umber of pulse table of comparisons, is segmented in units of 10 DEG C, and the corresponding umber of pulse of every section of two ends temperature value is threshold impulse number;The acquisition pulse number of temperature sensor passback obtains calculating temperature score value compared with the threshold impulse number of each calculating section, and calculating temperature score value, temperature value corresponding with small thresholding umber of pulse is added to obtain temperature value again;By the way that compared with mark condition temperature, pressure and combustion gas volume, the combustion gas obtained under operating mode uses volume.The technical issues of present invention solves gas meter, flow meter in the prior art and is located at the use of temperature and pressure varying environment, and meter gaseous volume is not accurate enough.The present invention has the beneficial effect that:Operating mode gas consumption is calculated into bid condition gas consumption by the relation of temperature and pressure, more accurately reflection really uses the volume of combustion gas, mitigates the loss that gas company sells gas.

Description

A kind of electronic measurement temperature and pressure compensation method of gas meter, flow meter
Technical field
The present invention relates to valuation to adjust technical field, is compensated more particularly, to the temperature and pressure of the electronic measurement of gas meter, flow meter Computational methods.
Background technology
China has a vast territory, and for latitude across greatly, the temperature, pressure gap between different regions are big.The combustion gas of phase homogenous quantities, Temperature, pressure are different, and volume is also different.Gas metering is caused to have larger difference.General gas table is that volumetric flow measures, gas Body volume is substantially unrelated with temperature, pressure change.In this way, the combustion gas volume being metered into is not actual combustion gas under nonstandard condition Use volume, it is also not high for the metering precision under different temperatures.Chinese patent application publication No. CN106225862A, Shen Please date of publication on December 14th, 2016, the application for a patent for invention of entitled " the simple and direct compensation method of gas flow " discloses one kind The computational methods of gas warm-pressing compensation.Its method:Design conditions parameter and actual condition parameter based on gasmetry instrument, profit With variable backoff coefficient formulas, variable backoff coefficient is determined, in variable backoff coefficient formulas, variable backoff coefficient is The function of design conditions parameter and actual condition parameter;Design conditions flow value and the variable benefit based on gasmetry instrument It repays coefficient and compensates calculating, obtain actual condition flow value.This method metering or comparatively laborious, inapplicable combustion gas meter Amount.
The content of the invention
It is located at the use of temperature and pressure varying environment to solve gas meter, flow meter in the prior art, meter gaseous volume is not accurate enough The technical issues of true, the present invention provide a kind of electronic measurement temperature and pressure compensation method of gas meter, flow meter, it is ensured that gas metering is accurate Really.
The technical scheme is that:A kind of electronic measurement temperature and pressure compensation method of gas meter, flow meter, it includes:Combustion gas The controller of table, the counter register being connected with controller, temperature sensor and pressure sensor, counter register store with Temperature range in units of 10 DEG C, is divided into several calculating sections, often by the temperature and the umber of pulse table of comparisons that temperature sensor is adapted It is threshold impulse number to calculate the corresponding umber of pulse of section two ends temperature value;The acquisition pulse number that controller returns temperature sensor Compared with the threshold impulse number of each calculating section, determine which, which falls into, calculates section, obtains calculating temperature score value, calculates temperature score value again Temperature value corresponding with the small thresholding umber of pulse of the calculating section is added to obtain the calculating temperature value of temperature sensor measurement;This is calculated The weighted average of temperature value and last computation temperature value is the effective temperature value of this temperature acquisition;According to gas equation, By compared with mark condition temperature, pressure and combustion gas volume, obtaining the effective temperature value and pressure sensor of temperature sensor measurement Combustion gas under the pressure value of passback uses volume.It is compensated by temperature and pressure, accurately reflects the true volume for using combustion gas, subtract Sell the loss of gas in light gas company.
Preferably, during the effective temperature value of temperature acquisition calculates, in the effective temperature value calculating of temperature acquisition, this temperature The flexible strategy of the calculating temperature value of degree acquisition are 70%, and the flexible strategy that last time temperature acquisition calculates temperature value are 30%;Reduce cas fortuit The influence of lower abnormal temperature.
Preferably, in this temperature acquisition of temperature sensor, acquisition pulse number not in temperature and the umber of pulse table of comparisons, Then temperature sensor needs resurvey;Ensure that the temperature value collected is true.
Preferably, the temperature value that this temperature acquisition is calculated is differed with the effective temperature value of last temperature acquisition During more than or equal to 20 DEG C, then temperature acquisition three times is carried out, if the temperature value being calculated twice three times in temperature acquisition is still big In equal to 20 DEG C, then the temperature value this being calculated twice is averaged, the effective temperature value as this temperature acquisition;It reduces The influence of external interference ensures that the temperature value collected is correct.
Preferably, temperature sensor beams back acquisition pulse number, this acquisition pulse number and last time are gathered arteries and veins by controller It is more identical to rush number, starts counting up storage, takes the umber of pulse of acquisition pulse number consecutive identical three times, is this temperature sensor Acquisition pulse number;In the case that in acquisition, umber of pulse is constant three times, it is judged to having got all umber of pulses, sampling is accurate Really.
Compared with prior art, the beneficial effects of the invention are as follows:The judgement of multi collect temperature reduces the temperature because accidental Spend the abnormal influence for causing current temperature data exception of sensor.Using temperature value weighting algorithm, reduce different under cas fortuit The influence of normal temperature.Operating mode gas consumption is calculated into bid condition gas consumption by the relation of temperature and pressure, more accurately reflection is true The real volume for using combustion gas mitigates the loss that gas company sells gas.
Specific embodiment
Below by embodiment, the technical solutions of the present invention will be further described.
Embodiment 1:
A kind of electronic measurement temperature and pressure compensation method of gas meter, flow meter, it includes:The controller of gas meter, flow meter is connected with controller Counter register, temperature sensor and pressure sensor.Counter register stores the temperature being adapted with temperature sensor With the umber of pulse table of comparisons.The present embodiment temperature sensor temperature and the umber of pulse table of comparisons are temperature:It is -40 DEG C to 150 DEG C, corresponding Umber of pulse is 181 to 3220.In units of 10 DEG C, temperature range is divided into 19 calculating sections.Often calculate section two ends temperature It is worth corresponding umber of pulse for threshold impulse number.The collecting temperature time arrives, controller control temperature sensor start temperature acquisition.Control Counter register storage data are read in device timing processed.Temperature sensor is powered after 50 milliseconds, then is controlled with one millisecond of cycle Device reads counter register data, judges that this temperature sensor beams back acquisition pulse number and whether last time is identical:Difference, then again One millisecond of delay carries out reading with judging;It is identical, storage is started counting up, takes the pulse of acquisition pulse number consecutive identical three times Number is the acquisition pulse number of this temperature sensor.Maximum 120 milliseconds of the duration of acquisition every time.If temperature sensor In this temperature acquisition, acquisition pulse number is not in temperature and the umber of pulse table of comparisons, then temperature sensor needs resurvey.Such as Fruit not in temperature and the umber of pulse table of comparisons, then judges temperature in rear continuous temperature sensor temperature acquisition umber of pulse three times Sensor fault or exception.The acquisition pulse number that controller returns temperature sensor and the threshold impulse number ratio of each calculating section Compared with which determines to fall into and calculates section.It will be greater than the small thresholding umber of pulse of the calculating section and less than the acquisition pulse of big thresholding umber of pulse Number, is linearly calculated with the temperature of the calculating section and corresponding umber of pulse, obtains calculating temperature score value.Calculate temperature score value again Temperature value corresponding with the small thresholding umber of pulse of the calculating section is added to obtain the calculating temperature value of temperature sensor measurement.Such as: In certain temperature acquisition, the umber of pulse that controller obtains sampling pulse is 1200.Which first determine whether that umber of pulse 1200 falls to count at It calculates in section.Temperature sensor temperature and the umber of pulse table of comparisons are inquired about, 20 DEG C of corresponding threshold impulse numbers are corresponding for 1125,30 DEG C Threshold impulse number is 1284.So, umber of pulse is 1200 corresponding temperature ranges just at 20 ~ 30 DEG C.In 20 ~ 30 DEG C of models of the table of comparisons In enclosing:The corresponding umber of pulse of difference of 10 DEG C of temperature is 159(1284-1125=159).Among these, temperature is done with umber of pulse Linear calculating processing:One pulse corresponds to about 0.06289 DEG C(10/159≈0.06289).The umber of pulse of present sample pulse is 1200, it is 1125 to subtract 20 DEG C of corresponding threshold impulse numbers, obtains umber of pulse 75.75 umber of pulses and a pulse corresponding temperature 0.06289 is multiplied, and obtains temperature score value 4.717.The sum of temperature value 20 corresponding with small thresholding umber of pulse of temperature score value 4.717, For 24.717 DEG C of the calculating temperature value of temperature sensor measurement.When the calculating temperature value and upper one that this temperature acquisition is calculated , it is necessary to carry out temperature acquisition three times again when the calculating temperature value of secondary temperature acquisition is differed by more than equal to 20 DEG C.If temperature is adopted three times The temperature value that calculates twice concentrated is differed with the calculating temperature value of last time temperature acquisition still greater than equal to 20 DEG C, then by this twice It calculates temperature value and takes arithmetic mean of instantaneous value, the calculating temperature value as this temperature acquisition.Such as:In certain temperature acquisition, deposit The calculating temperature value of the last temperature sensor measurement of device storage is 24.017.The acquisition pulse number of temperature sensor passback, The calculating temperature value calculated by controller is more than 44.017.It then needs to carry out temperature acquisition three times again.If it is posterior twice It is 44.117 and 44.317 to calculate temperature value, then this is taken to calculate the calculating of the arithmetic mean of instantaneous value of temperature value twice as follows:(44.117+ 44.317)/ 2=44.217, the calculating temperature value of this temperature acquisition is 44.217 DEG C.If there was only one in temperature acquisition three times The secondary temperature value that calculates is differed with the calculating temperature value of last time temperature acquisition still greater than equal to 20 DEG C, then abandoning adopting when this temperature Collection.In order to reduce the influence of abnormal temperature under cas fortuit, it is necessary to calculate the effective temperature value of temperature acquisition.This calculates temperature 30% weighted average of 70% be worth and last computation temperature value is the effective temperature value of this temperature acquisition.Such as:In certain temperature In degree acquisition, controller obtains 24.717 DEG C of the calculating temperature value of this temperature sensor measurement, and counter register stores upper The calculating temperature value of temperature sensor measurement is 24.017 DEG C, then the effective temperature value of this temperature acquisition of temperature sensor It calculates as follows:(24.717 × 70%+24.017 × 30%)/(70%+30%)=24.507, this temperature acquisition of degree sensor Effective temperature value is 24.507 DEG C.Gas equation P0 × V0/T0=P1 × V1/T1, wherein:P0, V0, T0 are under standard condition Pressure, volume and the temperature of combustion gas, are known.P1, V1, T1 are pressure, volume and the temperature of combustion gas under current environment.Pressure P1 It is returned by pressure sensor, T1 temperature is effective temperature value, and controller is calculated volume V1 according to gas equation, as works as Preceding combustion gas uses volume.

Claims (5)

1. a kind of electronic measurement temperature and pressure compensation method of gas meter, flow meter, it includes:The controller of gas meter, flow meter connects with controller The counter register that connects, temperature sensor and pressure sensor, which is characterized in that the counter register stores and the temperature The temperature and the umber of pulse table of comparisons that degree sensor is adapted, in units of 10 DEG C, are divided into several calculating sections by temperature range, often count It is threshold impulse number to calculate the corresponding umber of pulse of section two ends temperature value;Acquisition pulse number that controller returns temperature sensor with Each threshold impulse number for calculating section compares, and determines which, which falls into, calculates section, will be greater than the small thresholding umber of pulse of the calculating section and is less than The acquisition pulse number of big thresholding umber of pulse, is linearly calculated with the temperature of the calculating section and corresponding umber of pulse, is calculated Temperature score value, calculating temperature score value, temperature value corresponding with the small thresholding umber of pulse of the calculating section is added to obtain temperature sensor survey again The calculating temperature value of amount;This calculates the weighted average of temperature value and last computation temperature value, for having for this temperature acquisition Imitate temperature value;According to gas equation, by compared with mark condition temperature, pressure and combustion gas volume, obtaining temperature sensor measurement The passback of effective temperature value and pressure sensor pressure value under combustion gas use volume.
2. a kind of electronic measurement temperature and pressure compensation method of gas meter, flow meter according to claim 1, it is characterised in that:Temperature During the effective temperature value of degree acquisition calculates, the flexible strategy of the calculating temperature value of this temperature acquisition are 70%, and last time temperature acquisition calculates The flexible strategy of temperature value are 30%.
3. a kind of electronic measurement temperature and pressure compensation method of gas meter, flow meter according to claim 1, it is characterised in that:Temperature In this temperature acquisition of degree sensor, acquisition pulse number is not in temperature and the umber of pulse table of comparisons, then temperature sensor needs weight New acquisition.
4. a kind of electronic measurement temperature and pressure compensation method of gas meter, flow meter according to claim 1, it is characterised in that:This When the calculating temperature value of secondary temperature acquisition and the calculating temperature value of last temperature acquisition are differed by more than equal to 20 DEG C, then carry out three Secondary temperature acquisition, if the temperature value that calculates twice three times in temperature acquisition differs still with the calculating temperature value of last temperature acquisition More than or equal to 20 DEG C, then this is calculated to temperature value twice and take arithmetic mean of instantaneous value, the calculating temperature value as this temperature acquisition.
5. a kind of electronic measurement temperature and pressure compensation method of gas meter, flow meter according to claim 1, it is characterised in that:Temperature Degree sensor beams back acquisition pulse number, and controller is more identical with last time acquisition pulse number by this acquisition pulse number, starts to count Number storage takes the umber of pulse of acquisition pulse number consecutive identical three times, is the acquisition pulse number of this temperature sensor.
CN201810014992.1A 2018-01-08 2018-01-08 Electronic metering temperature and pressure compensation method for gas meter Active CN108072414B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810014992.1A CN108072414B (en) 2018-01-08 2018-01-08 Electronic metering temperature and pressure compensation method for gas meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810014992.1A CN108072414B (en) 2018-01-08 2018-01-08 Electronic metering temperature and pressure compensation method for gas meter

Publications (2)

Publication Number Publication Date
CN108072414A true CN108072414A (en) 2018-05-25
CN108072414B CN108072414B (en) 2021-02-19

Family

ID=62156443

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810014992.1A Active CN108072414B (en) 2018-01-08 2018-01-08 Electronic metering temperature and pressure compensation method for gas meter

Country Status (1)

Country Link
CN (1) CN108072414B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109060060A (en) * 2018-09-04 2018-12-21 宁夏隆基宁光仪表股份有限公司 A kind of gas metering method and device based on temperature-compensating

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201215671Y (en) * 2008-03-19 2009-04-01 康逸 Pre-payment temperature compensation gas meter
CN202158882U (en) * 2011-02-10 2012-03-07 银川天佳仪器仪表有限公司 Diaphragm gas meter with temperature and pressure compensation
CN102944268A (en) * 2012-12-05 2013-02-27 四川海力智能科技有限公司 Intelligent gas meter with temperature compensation
CN205483117U (en) * 2016-01-18 2016-08-17 广州市壹普电子科技有限公司 Take temperature pressure compensation's diaphragm type gas table
CN205537807U (en) * 2016-01-21 2016-08-31 四川海力智能科技股份有限公司 Take temperature pressure compensation's gas table
CN106225862A (en) * 2016-07-14 2016-12-14 神华集团有限责任公司 The simple and direct compensation method of gas flow
WO2016200330A1 (en) * 2015-06-12 2016-12-15 Provtagaren Ab Pulse cancelling for flow measurements

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201215671Y (en) * 2008-03-19 2009-04-01 康逸 Pre-payment temperature compensation gas meter
CN202158882U (en) * 2011-02-10 2012-03-07 银川天佳仪器仪表有限公司 Diaphragm gas meter with temperature and pressure compensation
CN102944268A (en) * 2012-12-05 2013-02-27 四川海力智能科技有限公司 Intelligent gas meter with temperature compensation
WO2016200330A1 (en) * 2015-06-12 2016-12-15 Provtagaren Ab Pulse cancelling for flow measurements
CN205483117U (en) * 2016-01-18 2016-08-17 广州市壹普电子科技有限公司 Take temperature pressure compensation's diaphragm type gas table
CN205537807U (en) * 2016-01-21 2016-08-31 四川海力智能科技股份有限公司 Take temperature pressure compensation's gas table
CN106225862A (en) * 2016-07-14 2016-12-14 神华集团有限责任公司 The simple and direct compensation method of gas flow

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
何立民: "《单片机应用技术选编(1)》", 31 March 1993, 北京航空航天大学出版社 *
邓立三: "《燃气计量》", 30 November 2011, 黄河水利出版社 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109060060A (en) * 2018-09-04 2018-12-21 宁夏隆基宁光仪表股份有限公司 A kind of gas metering method and device based on temperature-compensating

Also Published As

Publication number Publication date
CN108072414B (en) 2021-02-19

Similar Documents

Publication Publication Date Title
JP4799168B2 (en) Water distribution and pipeline information analysis system
CN105807027B (en) gas energy metering method and device
CN102486390B (en) Method for steam pipe network of iron and steel enterprise to correct metering data
CN103175582B (en) Fluid metering method and apparatus
CN105841762A (en) Supersonic wave water meter flow metering method and system
DE60010224D1 (en) DEVICE, COMPUTER SYSTEM AND COMPUTER PROGRAM FOR DETERMINING A CARDIOVASCULAR PARAMETER
CN108072414A (en) A kind of electronic measurement temperature and pressure compensation method of gas meter, flow meter
CN106092371B (en) Method and device for predicting temperature
JPH0617680A (en) Device for controlling fuel injection quantity in internal combustion engine
CN101879378B (en) Internal thermally coupled distillation column (ITCDIC) temperature nonlinear observing system and method
CN111238591A (en) Temperature and pressure compensation checking method and system for gas metering system and storage medium
CN109332393A (en) A kind of strip continuous rolling method for controlling thickness
US7454954B2 (en) Knocking presence evaluation circuit for an internal combustion engine, knocking identification and control system and corresponding pressure signal processing method
JP3554823B2 (en) Method and apparatus for measuring the amount of grain entering the combine tank
JP5833228B2 (en) Blood pressure estimation apparatus and method
CN105286812A (en) Body temperature measurement method and device
CN110632521B (en) Fusion estimation method for lithium ion battery capacity
CN107340038A (en) Mass flowmenter automatic Calibration and measuring and testing device system and detection method
CN104330122B (en) A kind of anti-interference Control During Paint Spraying by Robot flow online test method of Weighing type
JPH0674076A (en) Intake air amount calculating method for internal combustion engine
CN115088858A (en) Perfuming control and instantaneous precision evaluation method for cigarette production line production and application
CN109060060A (en) A kind of gas metering method and device based on temperature-compensating
FI121214B (en) Procedure, apparatus and computer software for observing the physiological state of a person
CN108474679A (en) Flow measurement device
CN110133383A (en) Noise-sensitive coefficient measuring method based on noise correlation

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