CN104268425B - The self adaptation low-power consumption method of sampling of ultrasonic water meter - Google Patents

The self adaptation low-power consumption method of sampling of ultrasonic water meter Download PDF

Info

Publication number
CN104268425B
CN104268425B CN201410536655.0A CN201410536655A CN104268425B CN 104268425 B CN104268425 B CN 104268425B CN 201410536655 A CN201410536655 A CN 201410536655A CN 104268425 B CN104268425 B CN 104268425B
Authority
CN
China
Prior art keywords
sampling
carried out
data
sample phase
power consumption
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
CN201410536655.0A
Other languages
Chinese (zh)
Other versions
CN104268425A (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.)
Weihai Ploumeter Co Ltd
Original Assignee
Weihai Ploumeter 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 Weihai Ploumeter Co Ltd filed Critical Weihai Ploumeter Co Ltd
Priority to CN201410536655.0A priority Critical patent/CN104268425B/en
Publication of CN104268425A publication Critical patent/CN104268425A/en
Application granted granted Critical
Publication of CN104268425B publication Critical patent/CN104268425B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to a kind of self adaptation low-power consumption method of sampling of ultrasonic water meter, it is characterized in that by reduce the T1 of sample phase downstream in microprocessor or against the current the sampled data number of times of sample phase T2 come reach reduce power consumption purpose, the present invention is due to using the above-mentioned method of sampling, the advantages of with power consumption, energy saving, reduces cost is reduced.

Description

The self adaptation low-power consumption method of sampling of ultrasonic water meter
Technical field
The present invention relates to flow metering device technical field, the self adaptation low-power consumption of specifically a kind of ultrasonic water meter The method of sampling.
Background technology
It is well known that the sampling period of existing ultrasonic water meter includes four-stage, it is specially sample phase downstream T1, against the current sample phase T2, data processing and calculation stages T3 and system dormant stage T4, this traditional sampling mode is every T milliseconds once measure downstream and against the current, extremely low in the power consumption of dormant stage T4 consumption from power consumption angle analysis, and downstream Sample phase T1, the power consumption of sample phase T2 consumption against the current are maximum, and the power consumption of T3 discrete consumings falls between.Typically In the case of, in a T millisecond period, the value of T1, T2 and T3 of the usual system is a definite value, T4 according to sampling period T change Change and change.In order to reduce power consumption, this traditional system can only be reached by dynamic adjustment cycle T, it can thus be seen that This mode for reducing power consumption does not reach significant effect.
The content of the invention
Present invention aim to address above-mentioned the deficiencies in the prior art, there is provided a kind of method is simple, notable energy saving and Reduce the self adaptation low-power consumption method of sampling of the ultrasonic water meter of power consumption.
The technical solution adopted for the present invention to solve the technical problems is:
The self adaptation low-power consumption method of sampling of a kind of ultrasonic water meter, it is characterised in that suitable in microprocessor by reducing The sampled data number of times of water sample phase T1 or against the current sample phase T2 reduces the purpose of power consumption, its specific method step to reach Suddenly it is:
1) sampling of sample phase T1 downstream is carried out within the K sampling periods, and sampled data S (K) is stored in queue Q1 In;
2)Judge whether sampled data S (K) and S (K-1) distances exceed threshold value L, if being no more than threshold value L, jump to step Rapid 5, otherwise continue next step;
3)The sampling of sample phase T2 against the current is carried out within the K sampling periods, and sampled data N (K) is stored in queue Q2 In;
4)Data processing and calculation stages T3 and system dormant stage T4 are carried out within the K sampling periods, makes K=K+1, then Jump to step 1;
5)The data sampling of data processing and calculation stages T3 and system dormant stage T4 is carried out within the K sampling periods, makes K =K+1;
6)The data sampling of sample phase T2 against the current is carried out within the K sampling periods, and sampled data N (K) is stored in team In row Q2;
7)Judge whether N (K) and N (K-1) distances exceed threshold value L, if being no more than threshold value L, jump to step 10), it is no Then continue;
8)The sampling of sample phase T1 downstream is carried out within the K sampling periods, and sampled data S (K) is stored in queue Q1 In;
9)Data processing and calculation stages T3 and system dormant stage T4 are carried out within the K sampling periods, makes K=K+1, then Jump to step 6);
10) data processing and calculation stages T3 and system dormant stage T4 are carried out within the K sampling periods, makes K=K+1, so After jump to step 1).
Threshold value L of the present invention can be more than the absolute value of S (K) and S (K-1) or the absolute value of N (K) and N (K-1), described Threshold range preferably between 300ps-500ps, to ensure program to the current fast-changing reaction time.
The present invention due to using the above-mentioned method of sampling, with reducing power consumption, the advantages of energy saving, reduces cost.
Specific embodiment
With reference to flow chart, the present invention is further described:
As shown in Figure 1, the self adaptation low-power consumption method of sampling of a kind of ultrasonic water meter, it is characterised in that micro- by reducing The T1 of sample phase downstream in processor or against the current the sampled data number of times of sample phase T2 reduce the purpose of power consumption to reach, Its specific method step is:
1) sampling of sample phase T1 downstream is carried out within the K sampling periods, and sampled data S (K) is stored in queue Q1 In;
2) judge whether sampled data S (K) and S (K-1) distances exceed threshold value L, if being no more than threshold value L, jump to step Rapid 5), otherwise continue next step;
3) sampling of sample phase T2 against the current is carried out within the K sampling periods, and sampled data N (K) is stored in queue Q2 In;
4) data processing and calculation stages T3 and system dormant stage T4 are carried out within the K sampling periods, makes K=K+1, then Jump to step 1);
5) data sampling of data processing and calculation stages T3 and system dormant stage T4 is carried out within the K sampling periods, is made K=K+1;
6) data sampling of sample phase T2 against the current is carried out within the K sampling periods, and sampled data N (K) is stored in team In row Q2;
7) judge whether N (K) and N (K-1) distances exceed threshold value L, if being no more than threshold value L, jump to step 10), it is no Then continue;
8) sampling of sample phase T1 downstream is carried out within the K sampling periods, and sampled data S (K) is stored in queue Q1 In;
9) data processing and calculation stages T3 and system dormant stage T4 are carried out within the K sampling periods, makes K=K+1, then Jump to step 6);
10) data processing and calculation stages T3 and system dormant stage T4 are carried out within the K sampling periods, makes K=K+1, then Jump to step 1).
Threshold value L of the present invention can be more than the absolute value of S (K) and S (K-1) or the absolute value of N (K) and N (K-1), described Threshold range preferably between 300ps-500ps, to ensure program to the current fast-changing reaction time.
The present invention enters in a T millisecond period first when the liquid to inflow table vivo detection region is detected Row sample phase T1 and the sampling of sample phase T2 against the current downstream, storage sampled value is in queue Q, and follow-up T millisecond periods are interior only Carry out sample phase T1 or against the current sample phase T2 downstream, the T1 ranks set in the data that sampling is returned and microprocessor queue Section or T2 phase datas are compared analyzing and processing, decide whether to carry out afterwards according to the size of time change the T2 stages or In the T1 stages, so as to realize reducing power consumption and quickly tracking flow velocity, can thus take into account power consumption and reaction speed Two aspects, and without very complicated computing.
The present invention due to using the above-mentioned method of sampling, with reducing power consumption, the advantages of energy saving, reduces cost.

Claims (1)

1. the self adaptation low-power consumption method of sampling of a kind of ultrasonic water meter, it is characterised in that
Specific method step is:
1) sampling of sample phase T1 downstream is carried out within the K sampling periods, and sampled data S (K) is stored in queue Q1, and The absolute value of given threshold, absolute values of the threshold value L more than S (K) and S (K-1), or N (K) and N (K-1), the threshold value model It is trapped among between 300ps-500ps;
2) judge whether sampled data S (K) and S (K-1) distances exceed threshold value L, if being no more than threshold value L, jump to step 5), Otherwise continue next step;
3) sampling of sample phase T2 against the current is carried out within the K sampling periods, and sampled data N (K) is stored in queue Q2;
4) data processing and calculation stages T3 and system dormant stage T4 are carried out within the K sampling periods, makes K=K+1, then redirected To step 1);
5) data sampling of data processing and calculation stages T3 and system dormant stage T4 is carried out within the K sampling periods, makes K=K+ 1;
6) data sampling of sample phase T2 against the current is carried out within the K sampling periods, and sampled data N (K) is stored in queue Q2 In;
7) judge whether N (K) and N (K-1) distances exceed threshold value L, if being no more than threshold value L, jump to step 10), otherwise after It is continuous;
8) sampling of sample phase T1 downstream is carried out within the K sampling periods, and sampled data S (K) is stored in queue Q1;
9) data processing and calculation stages T3 and system dormant stage T4 are carried out within the K sampling periods, makes K=K+1, then redirected To step 6);
10) data processing and calculation stages T3 and system dormant stage T4 are carried out within the K sampling periods, makes K=K+1, then redirected To step 1),
When liquid to inflow table vivo detection region is detected, rank of being sampled downstream in a T millisecond period first Section T1 and the sampling of sample phase T2 against the current, storage sampled value are only sampled downstream in queue Q in follow-up T millisecond periods Stage T1 or against the current sample phase T2, the T1 stages or T2 stages set in data and microprocessor queue that sampling is returned Data are compared analyzing and processing, decide whether to carry out T2 stages or T1 stages afterwards according to the size of time change, so that Realize reducing power consumption and quickly tracking flow velocity.
CN201410536655.0A 2014-10-13 2014-10-13 The self adaptation low-power consumption method of sampling of ultrasonic water meter Active CN104268425B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410536655.0A CN104268425B (en) 2014-10-13 2014-10-13 The self adaptation low-power consumption method of sampling of ultrasonic water meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410536655.0A CN104268425B (en) 2014-10-13 2014-10-13 The self adaptation low-power consumption method of sampling of ultrasonic water meter

Publications (2)

Publication Number Publication Date
CN104268425A CN104268425A (en) 2015-01-07
CN104268425B true CN104268425B (en) 2017-07-04

Family

ID=52159946

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410536655.0A Active CN104268425B (en) 2014-10-13 2014-10-13 The self adaptation low-power consumption method of sampling of ultrasonic water meter

Country Status (1)

Country Link
CN (1) CN104268425B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104949724B (en) * 2015-07-10 2017-11-21 安徽水联水务科技有限公司 The dynamic econometric analysis of supersonic wave metering instrument

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1828234A (en) * 2005-03-02 2006-09-06 陈庆斌 Low-power consumption GPRS data collection terminal for water gauge flow analysis and settlement
CN101762288A (en) * 2009-11-14 2010-06-30 湖南常德牌水表制造有限公司 Micropower photoelectric reversible intelligence sensor
CN102435462A (en) * 2011-09-21 2012-05-02 东南大学 Intelligent waste water sampling control system and sampling control method thereof
CN103323063A (en) * 2013-05-17 2013-09-25 深圳职业技术学院 Ultrasonic flow meter and time difference measuring method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5957242B2 (en) * 2012-03-01 2016-07-27 アズビル株式会社 Ultrasonic flowmeter simple diagnostic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1828234A (en) * 2005-03-02 2006-09-06 陈庆斌 Low-power consumption GPRS data collection terminal for water gauge flow analysis and settlement
CN101762288A (en) * 2009-11-14 2010-06-30 湖南常德牌水表制造有限公司 Micropower photoelectric reversible intelligence sensor
CN102435462A (en) * 2011-09-21 2012-05-02 东南大学 Intelligent waste water sampling control system and sampling control method thereof
CN103323063A (en) * 2013-05-17 2013-09-25 深圳职业技术学院 Ultrasonic flow meter and time difference measuring method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
一种适于时差法超声流量计的自适应采样方法;罗永 等;《微电子学与计算机》;20120930;第29卷(第9期);第121-124页 *

Also Published As

Publication number Publication date
CN104268425A (en) 2015-01-07

Similar Documents

Publication Publication Date Title
PH12019501499A1 (en) Blockchain consensus method and device
EP2549354A3 (en) Dynamic frequency control using coarse clock gating
WO2013070425A3 (en) Conserving power through work load estimation for a portable computing device using scheduled resource set transitions
JP2015513336A5 (en)
BR112014017784A8 (en) ACTIVITY AND INACTIVITY MONITORING
GB2513509A (en) Processor performance improvement for instruction sequences that include barrier instructions
GB2508124A (en) Methods and systems to determine a context of a device
RU2015139743A (en) SYSTEMS AND METHODS FOR ANALYSIS OF ANIMAL FEED
GB2525768A (en) Techniques for platform duty cycling
EP2642368A3 (en) Running state power saving via reduced instructions per clock operation
EP2755165A3 (en) Gesture pre-processing of video stream with hold-off period to reduce platform power
CN104268425B (en) The self adaptation low-power consumption method of sampling of ultrasonic water meter
WO2012121913A3 (en) Improved method for quantitative analysis of sugars, sugar alcohols and related dehydration products
BR112016012712A2 (en) process for preparing elongated 2-keto acids and c6-c10 compounds from them by genetic modifications in microbial metabolic pathways
WO2011103329A3 (en) Weight loss method and system for performing and monitoring the same
Di et al. Review of Community Participation in Tourism Development at Home and Abroad over the Past Decade
Yan et al. The impact of technological innovation on industrial efficiency and food manufacturing industry
Jiang et al. Strengthen the Construction of Water Resources Monitoring Ability, Support the Strictest System of Water Resources management
Winkelmann et al. Diffusion coefficient of acetic acid into 4-methyl-pentan-2-one and water solution
CN103210875A (en) Low-carbon energy-saving aeration system
沈欣媛 et al. Efficiencies of water use in Jiangsu Province based on super-efficiency-DEA
Miller et al. Laboratory investigation on effects of flood intermittency on river delta dynamics
Ying et al. The Tactic Choice of Reform of Social Regulation in China——on the Basis of Characteristics of Reform and Practice
Freeman Will depreciation of the dollar decrease the US trade deficit with China?
Winkelmann et al. Diffusion coefficient of butanedioic acid into butan-1-ol and water solution

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant