JP2020134385A - Device, method, and system for integrating measured value - Google Patents

Device, method, and system for integrating measured value Download PDF

Info

Publication number
JP2020134385A
JP2020134385A JP2019030263A JP2019030263A JP2020134385A JP 2020134385 A JP2020134385 A JP 2020134385A JP 2019030263 A JP2019030263 A JP 2019030263A JP 2019030263 A JP2019030263 A JP 2019030263A JP 2020134385 A JP2020134385 A JP 2020134385A
Authority
JP
Japan
Prior art keywords
value
measured value
flow rate
time
integrated
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
JP2019030263A
Other languages
Japanese (ja)
Other versions
JP7260326B2 (en
Inventor
和史 小貝
Kazufumi Kogai
和史 小貝
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.)
Azbil Corp
Original Assignee
Azbil Corp
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 Azbil Corp filed Critical Azbil Corp
Priority to JP2019030263A priority Critical patent/JP7260326B2/en
Publication of JP2020134385A publication Critical patent/JP2020134385A/en
Application granted granted Critical
Publication of JP7260326B2 publication Critical patent/JP7260326B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S20/00Management or operation of end-user stationary applications or the last stages of power distribution; Controlling, monitoring or operating thereof
    • Y04S20/30Smart metering, e.g. specially adapted for remote reading

Landscapes

  • Measuring Volume Flow (AREA)
  • Details Of Flowmeters (AREA)

Abstract

To provide a device for integrating measured value capable of knowing, with a low power consumption, an accurate timing when the value of a predetermined digit changes of the integrated value of a measured value from the start of a measurement.SOLUTION: The present invention includes the steps of obtaining the integrated flow rate from the start of the measurement when an instant flow rate was acquired (S102) every time the instant flow rate (measured value) is acquired (updated) (YES in step S101); and estimating the time left until the integrated flow rate from the start of the measurement reaches a unit flow rate (for example, 1 L) on the basis of the obtained integrated flow rate and the acquired instant flow rate (S103).SELECTED DRAWING: Figure 3

Description

本発明は、計測値積算装置および方法ならびに計測値積算システムに関し、特に流体の流量など間欠的に計測される計測値の積算に用いられる計測値積算装置および方法ならびに計測値積算システムに関する。 The present invention relates to a measured value integrating device and method and a measured value integrating system, and more particularly to a measured value integrating device and method and a measured value integrating system used for integrating measured values intermittently measured such as a fluid flow rate.

従来より、超音波流量計などでは、流量計測部を間欠的に駆動することによって、配管を流れる流体の単位時間当たりの瞬時流量を周期的に計測し、この計測した瞬時流量から1周期毎の通過流量を求め、この1周期毎の通過流量を積算して、計測開始からの積算流量として求めるようにしている。この例では、「瞬時流量」が本発明でいう「計測値」に相当し、「計測開始からの積算流量」が本発明でいう「計測開始からの計測値の積算値」に相当する。 Conventionally, in ultrasonic flowmeters and the like, by intermittently driving the flow rate measuring unit, the instantaneous flow rate of the fluid flowing through the pipe per unit time is periodically measured, and from this measured instantaneous flow rate, every cycle. The passing flow rate is obtained, and the passing flow rate for each cycle is integrated to obtain the integrated flow rate from the start of measurement. In this example, the "instantaneous flow rate" corresponds to the "measured value" in the present invention, and the "integrated flow rate from the start of measurement" corresponds to the "integrated value of the measured value from the start of measurement" in the present invention.

例えば、ガスメータは10年間電池で動作する必要があるうえ、課金関連のために、低消費電力と精度の両方が求められる。このため、ガスメータでは、例えば1秒毎に瞬時流量を計測し、次の瞬時流量が計測されるまで今回計測した瞬時流量が続いているものとみなして、次の瞬時流量が計測されるまでの1秒間の瞬時流量の積算値を通過流量として求め、この1秒間の通過流量を瞬時流量が計測される毎に積算して、計測開始からの積算流量とする。以下、単に「積算流量」という場合には、全て「計測開始からの積算流量」のことを表している。 For example, a gas meter needs to operate on a battery for 10 years, and both low power consumption and accuracy are required due to billing-related matters. Therefore, in the gas meter, for example, the instantaneous flow rate is measured every second, and it is assumed that the instantaneous flow rate measured this time continues until the next instantaneous flow rate is measured, until the next instantaneous flow rate is measured. The integrated value of the instantaneous flow rate for 1 second is obtained as the passing flow rate, and the passing flow rate for 1 second is integrated each time the instantaneous flow rate is measured to obtain the integrated flow rate from the start of measurement. Hereinafter, the term "integrated flow rate" simply means "integrated flow rate from the start of measurement".

このようなガスメータにおいて、瞬時流量が計測される毎の通過流量の積算は、CPU(Central Processing Unit)をその主要な構成要素とする処理部において行われる。また、この処理部において求められる積算流量は、LCD(液晶ディスプレイ)などの表示部に表示される。この表示部に表示される積算流量の表示単位は、例えば1リットル(1L)とされ、積算流量の表示値の最小桁の値が1L単位で繰り上がる。すなわち、積算流量の単位流量が1Lとされ、1L単位で積算流量の表示値が変化する。 In such a gas meter, the integration of the passing flow rate each time the instantaneous flow rate is measured is performed in a processing unit whose main component is a CPU (Central Processing Unit). Further, the integrated flow rate required by this processing unit is displayed on a display unit such as an LCD (liquid crystal display). The display unit of the integrated flow rate displayed on this display unit is, for example, 1 liter (1 L), and the minimum digit value of the display value of the integrated flow rate is carried up in 1 L units. That is, the unit flow rate of the integrated flow rate is 1L, and the display value of the integrated flow rate changes in 1L units.

この場合、間欠駆動の1周期中に、単位流量を超えるような流量が流れると、積算流量の表示値に「飛び」が発生することがある。例えば、現在の積算流量の表示値の最小桁の値が「0」であった場合、「1」を飛ばして「2」となったり、「3」となったりすることがある。 In this case, if a flow rate exceeding the unit flow rate flows during one cycle of the intermittent drive, "jump" may occur in the displayed value of the integrated flow rate. For example, when the minimum digit value of the displayed value of the current integrated flow rate is "0", "1" may be skipped to become "2" or "3".

このような「飛び」の発生をなくすために、間欠駆動の1周期の時間をTとし、また1周期内の分割数をNとして、今回計測された瞬時流量からT/N時間当たりの通過流量を算出し、この算出した通過流量をT/N時間毎に積算して行くという手法が考えられている(例えば、特許文献1,2参照。)。以下、この手法を従来の手法という。 In order to eliminate the occurrence of such "jumping", the time of one cycle of intermittent drive is set to T, and the number of divisions in one cycle is set to N, and the passing flow rate per T / N time from the instantaneous flow rate measured this time. Is considered, and a method of integrating the calculated passing flow rate for each T / N time is considered (see, for example, Patent Documents 1 and 2). Hereinafter, this method is referred to as a conventional method.

図7に、従来の手法を適用した例として、T=1s、N=4とした場合を示す。この例では、積算流量の単位流量を1Lとし、t1,t2,t3,t4点を処理部における瞬時流量の更新時点としている。この例では、t1点で0.3〔L/s〕、t2点で0.6〔L/s〕、t3点で0.3〔L/s〕というように、流量計測部からの瞬時流量が処理部に取り込まれ更新されている。 FIG. 7 shows a case where T = 1s and N = 4 as an example of applying the conventional method. In this example, the unit flow rate of the integrated flow rate is 1 L, and the t1, t2, t3, and t4 points are the update points of the instantaneous flow rate in the processing unit. In this example, the instantaneous flow rate from the flow rate measuring unit is 0.3 [L / s] at the t1 point, 0.6 [L / s] at the t2 point, 0.3 [L / s] at the t3 point, and so on. Has been imported into the processing unit and updated.

なお、瞬時流量の単位は実際には〔L/h〕であるが、ここでは簡単のために〔L/s〕としている。また、図7に示した例では、t1点が計測開始点とされている。この場合、計測開始前の瞬時流量を0とすると、この瞬時流量0がt1点で取得された瞬時流量に更新されているといえる。以下、瞬時流量の取得と更新とは同時に行われるものとし、「瞬時流量の更新時点」を「瞬時流量の取得時点」と呼ぶ。 The unit of the instantaneous flow rate is actually [L / h], but here, it is set to [L / s] for simplicity. Further, in the example shown in FIG. 7, the t1 point is set as the measurement start point. In this case, assuming that the instantaneous flow rate before the start of measurement is 0, it can be said that this instantaneous flow rate 0 is updated to the instantaneous flow rate acquired at the t1 point. Hereinafter, it is assumed that the acquisition and update of the instantaneous flow rate are performed at the same time, and the "time point of updating the instantaneous flow rate" is referred to as the "time point of acquisition of the instantaneous flow rate".

図7に示した例では、t1点からt2点までの区間、瞬時流量を0.3〔L/s〕として250ms毎にその間の通過流量が求められ、積算されて行く。また、t2点からt3点までの区間、瞬時流量を0.6〔L/s〕として250ms毎にその間の通過流量が求められ、積算されて行く。また、t3点からt4点までの区間、瞬時流量を0.3〔L/s〕として250ms毎にその間の通過流量が求められ、積算されて行く。 In the example shown in FIG. 7, the passing flow rate in the section from the t1 point to the t2 point and the instantaneous flow rate is 0.3 [L / s] is obtained every 250 ms and integrated. Further, in the section from the t2 point to the t3 point, the instantaneous flow rate is set to 0.6 [L / s], and the passing flow rate during that period is obtained every 250 ms and integrated. Further, in the section from the t3 point to the t4 point, the instantaneous flow rate is set to 0.3 [L / s], and the passing flow rate during that period is obtained every 250 ms and integrated.

図7において、点線で示すラインSLは積算流量の理論値を示し、塗りつぶされた部分は250ms毎に積み上げられて行く積算流量を示している。また、▲は積算処理が行われるタイミングを示し、△は表示値が更新されるタイミング、すなわち250ms毎に積み上げられて行く積算流量が単位流量を超えたタイミングを示している。 In FIG. 7, the dotted line SL indicates the theoretical value of the integrated flow rate, and the filled portion indicates the integrated flow rate that is accumulated every 250 ms. Further, ▲ indicates the timing at which the integration process is performed, and Δ indicates the timing at which the displayed value is updated, that is, the timing at which the integrated flow rate accumulated every 250 ms exceeds the unit flow rate.

図7に示した例からも分かるように、従来の手法では、瞬時流量の取得時点だけではなく、その間の区間もT/N時間毎に通過流量の積算処理を行うようにしているので、上述したような「飛び」の発生を防ぐことができる。 As can be seen from the example shown in FIG. 7, in the conventional method, not only the time when the instantaneous flow rate is acquired but also the section between them is integrated with the passing flow rate every T / N time. It is possible to prevent the occurrence of such "flying".

なお、上述した例では、T/N時間毎に求められる積算流量が単位流量を超えたタイミングで表示値の更新が行われるものとしたが、T/N時間毎に求められる積算流量が単位流量を超えたタイミングで外部に信号を出力するような場合もある。例えば、検査専用モードで、0.1L単位など細かい単位で、パルスを発信する必要があるような機種もあり、このような機種ではパルスの発信タイミングの遅れは10ms以内であることが要求される。 In the above example, the display value is updated when the integrated flow rate obtained for each T / N time exceeds the unit flow rate, but the integrated flow rate obtained for each T / N time is the unit flow rate. In some cases, a signal is output to the outside at a timing that exceeds. For example, in the inspection-only mode, there is a model in which it is necessary to transmit a pulse in a fine unit such as 0.1 L unit, and in such a model, the delay of the pulse transmission timing is required to be within 10 ms. ..

特許第2937300号公報Japanese Patent No. 2937300 特許第3601523号公報Japanese Patent No. 3601523

しかしながら、上述した従来の手法では、表示値が更新されるタイミングが最大T/N時間遅れてしまうという難点がある。図7に示した例でいうと、積算流量の理論値が単位流量を超えるタイミングはta点であるのに対し、表示値が更新されるタイミング、すなわち積算流量の表示値の最小桁の値が繰り上げられるタイミングはtb点となり、tb点はta点に対して最大で250ms遅れる。また、従来の手法では、瞬時流量の取得時点だけではなく、その間の区間もT/N時間毎(図7の例では250ms毎)に積算処理を行わなければならないため、CPUの処理負荷が増え、消費電力が増大する。 However, the above-mentioned conventional method has a drawback that the timing at which the display value is updated is delayed by a maximum of T / N time. In the example shown in FIG. 7, the timing when the theoretical value of the integrated flow rate exceeds the unit flow rate is the ta point, whereas the timing when the displayed value is updated, that is, the value of the minimum digit of the displayed value of the integrated flow rate is The timing of the advance is the tb point, and the tb point is delayed by a maximum of 250 ms with respect to the ta point. Further, in the conventional method, not only the time when the instantaneous flow rate is acquired but also the section between them must be integrated every T / N time (every 250 ms in the example of FIG. 7), so that the processing load of the CPU increases. , Power consumption increases.

本発明は、このような課題を解決するためになされたもので、その目的とするところは、低消費電力で、計測開始からの計測値の積算値の所定の桁の値が変化するタイミングを正確に知ることができる計測値積算装置および方法ならびに計測値積算システムを提供することにある。 The present invention has been made to solve such a problem, and an object of the present invention is to set the timing at which a predetermined digit value of the integrated value of the measured values from the start of measurement changes with low power consumption. It is an object of the present invention to provide a measured value integrating device and method and a measured value integrating system that can be accurately known.

このような目的を達成するために、本発明に係る計測値積算装置(2)は、計測値を取得するように構成された計測値取得部(21)と、前記計測値が取得された時点の計測開始からの前記計測値の積算値を前記計測値を取得した時点の計測値の積算値として求めるように構成された第1の積算部(31)と、前記計測値取得部で取得された計測値と前記第1の積算部で求められた前記計測値を取得した時点の計測値の積算値とに基づいて、前記計測値を取得した時点の計測値の積算値の所定の桁の値が変化するまでの残り時間を推定するように構成された残り時間推定部(27)とを備えることを特徴とする。 In order to achieve such an object, the measured value integrating device (2) according to the present invention has a measured value acquisition unit (21) configured to acquire the measured value and a time point when the measured value is acquired. The first integration unit (31) configured to obtain the integrated value of the measured value from the start of the measurement as the integrated value of the measured value at the time when the measured value is acquired, and the measured value acquisition unit. Based on the measured value and the integrated value of the measured value at the time of acquiring the measured value obtained by the first integrating unit, a predetermined digit of the integrated value of the measured value at the time of acquiring the measured value. It is characterized by including a remaining time estimation unit (27) configured to estimate the remaining time until the value changes.

また、本発明に係る計測値積算方法は、計測値を取得する計測値取得ステップ(S101)と、前記計測値が取得された時点の計測開始からの前記計測値の積算値を前記計測値を取得した時点の計測値の積算値として求める第1の積算ステップ(S102)と、前記計測値取得ステップで取得された計測値と前記第1の積算ステップで求められた前記計測値を取得した時点の計測値の積算値とに基づいて、前記計測値を取得した時点の計測値の積算値の所定の桁の値が変化するまでの残り時間を推定する残り時間推定ステップ(S103)とを備えることを特徴とする。 Further, in the measurement value integration method according to the present invention, the measurement value acquisition step (S101) for acquiring the measurement value and the measurement value integrated value from the measurement start at the time when the measurement value is acquired are used as the measurement value. The first integration step (S102) obtained as the integrated value of the measured values at the time of acquisition, the measured value acquired in the measured value acquisition step, and the time when the measured value obtained in the first integrated step is acquired. It is provided with a remaining time estimation step (S103) for estimating the remaining time until a predetermined digit value of the integrated value of the measured value at the time of acquiring the measured value changes based on the integrated value of the measured values of. It is characterized by that.

また、本発明に係る計測値積算システム(100)は、計測値積算装置(2)と、前記計測値積算装置への計測値として所定の物理量を計測するように構成された計測部(1)と、前記計測値積算装置で求められる計測開始からの前記計測値の積算値を表示するように構成された表示部(3)とを備え、前記計測積算装置は、推定された残り時間が経過した時点で計測開始からの計測値の積算値の表示値の最小桁の値を変化させるように構成された表示値更新部(30)を備えた計測値積算装置であることを特徴とする。 Further, the measured value integrating system (100) according to the present invention is configured to measure a measured value integrating device (2) and a predetermined physical quantity as a measured value to the measured value integrating device (1). And a display unit (3) configured to display the integrated value of the measured value from the start of measurement obtained by the measured value integrating device, and the measured and integrated device has elapsed the estimated remaining time. It is characterized in that it is a measured value integrating device provided with a display value updating unit (30) configured to change the value of the minimum digit of the displayed value of the integrated value of the measured values from the start of measurement at that time.

この発明では、計測値が取得されると、この計測値が取得された時点の計測開始からの計測値の積算値が計測値が取得された時点の計測値の積算値として求められる。そして、この求められた計測値が取得された時点の計測値の積算値と取得された計測値とに基づいて、計測値が取得された時点の計測値の積算値の所定の桁の値が変化するまでの残り時間が推定される。 In the present invention, when a measured value is acquired, the integrated value of the measured values from the start of measurement at the time when the measured value is acquired is obtained as the integrated value of the measured values at the time when the measured value is acquired. Then, based on the integrated value of the measured value at the time when the obtained measured value is acquired and the acquired measured value, the value of a predetermined digit of the integrated value of the measured value at the time when the measured value is acquired is set. The time remaining until the change is estimated.

例えば、計測値として瞬時流量が取得されると、その瞬時流量が取得された時点の計測開始からの積算流量が計測値が取得された時点の積算流量として求められる。そして、この求められた計測値が取得された時点の積算流量と取得された瞬時流量とに基づいて、計測値が取得された時点の積算流量の所定の桁(例えば、単位流量の桁)の値が変化するまでの残り時間が推定される。 For example, when an instantaneous flow rate is acquired as a measured value, the integrated flow rate from the start of measurement at the time when the instantaneous flow rate is acquired is obtained as the integrated flow rate at the time when the measured value is acquired. Then, based on the integrated flow rate at the time when the obtained measured value is acquired and the acquired instantaneous flow rate, a predetermined digit of the integrated flow rate at the time when the measured value is acquired (for example, a digit of the unit flow rate). The time remaining until the value changes is estimated.

これにより、本発明では、計測値が取得された時点で、計測開始からの計測値の積算値の所定の桁の値が変化するタイミングを正確に知ることができるようになる。また、計測開始からの計測値の積算値の所定の桁の値が変化するタイミングを知るための定期的な積算処理が不要となり、消費電力の増大が避けられる。 Thereby, in the present invention, when the measured value is acquired, it becomes possible to accurately know the timing at which the value of a predetermined digit of the integrated value of the measured value from the start of measurement changes. In addition, periodic integration processing for knowing the timing at which the value of a predetermined digit of the integrated value of the measured value from the start of measurement changes is unnecessary, and an increase in power consumption can be avoided.

なお、本発明において、「計測開始」の定義には、積算値を途中でクリアした場合の積算を再開する点、特定の操作後に積算を開始する点なども含まれるものである。また、上記説明では、一例として、発明の構成要素に対応する図面上の構成要素を、括弧を付した参照符号によって示している。 In the present invention, the definition of "measurement start" includes a point of restarting the integration when the integrated value is cleared in the middle, a point of starting the integration after a specific operation, and the like. Further, in the above description, as an example, the components on the drawing corresponding to the components of the invention are indicated by reference numerals in parentheses.

以上説明したように、本発明によれば、計測値が取得された時点の計測開始からの計測値の積算値を計測値が取得された時点の計測値の積算値として求め、この求めた計測値が取得された時点の計測値の積算値と取得された計測値とに基づいて、計測値が取得された時点の計測値の積算値の所定の桁の値が変化するまでの残り時間を推定するようにしたので、低消費電力で、計測開始からの計測値の積算値の所定の桁の値が変化するタイミングを正確に知ることができるようになる。 As described above, according to the present invention, the integrated value of the measured values from the start of measurement at the time when the measured value is acquired is obtained as the integrated value of the measured values at the time when the measured value is acquired, and the obtained measurement is performed. Based on the integrated value of the measured value at the time when the value was acquired and the acquired measured value, the remaining time until the value of a predetermined digit of the integrated value of the measured value at the time when the measured value was acquired changes. Since the estimation is performed, it becomes possible to accurately know the timing at which the value of a predetermined digit of the integrated value of the measured value from the start of measurement changes with low power consumption.

図1は、本発明に係る計測値積算装置の一実施の形態を含む流量積算システムの概略を示す図である。FIG. 1 is a diagram showing an outline of a flow rate integrating system including an embodiment of the measured value integrating device according to the present invention. 図2は、この流量積算システムの処理部において積算流量が求められて行く様子を示す図である。FIG. 2 is a diagram showing how the integrated flow rate is obtained in the processing unit of this flow rate integration system. 図3は、処理部における瞬時流量取得時の動作を説明するためのフローチャートである。FIG. 3 is a flowchart for explaining the operation at the time of instantaneous flow rate acquisition in the processing unit. 図4は、処理部における残り時間計時完了時の動作を説明するためのフローチャートである。FIG. 4 is a flowchart for explaining the operation when the remaining time timing is completed in the processing unit. 図5は、積算流量の表示値の最小桁の値が繰り上がる様子を示す図である。FIG. 5 is a diagram showing how the value of the minimum digit of the displayed value of the integrated flow rate is carried up. 図6は、処理部の内部の機能ブロックを例示する図である。FIG. 6 is a diagram illustrating a functional block inside the processing unit. 図7は、従来の手法を適用した例を示す図である。FIG. 7 is a diagram showing an example in which a conventional method is applied.

以下、本発明の実施の形態を図面に基づいて詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

〔流量積算システム〕
図1に、本発明に係る計測値積算装置の一実施の形態を含む流量積算システム100の概略を示す。この流量積算システム100は、配管200を流れる流体の単位時間当たりの瞬時流量を周期的に計測する流量計測部1と、流量計測部1から周期的に送られてくる瞬時流量を取得し計測開始からの積算流量を求める処理部2と、処理部2において求められた計測開始からの積算流量を表示する表示部3とを備えている。なお、この流量積算システム100では、処理部2が本発明でいう計測値積算装置に相当し、流量積算システム100が計測値積算システムに相当する。
[Flow integration system]
FIG. 1 shows an outline of a flow rate integrating system 100 including an embodiment of the measured value integrating device according to the present invention. The flow rate integration system 100 acquires and starts measurement with a flow rate measuring unit 1 that periodically measures the instantaneous flow rate of the fluid flowing through the pipe 200 per unit time and an instantaneous flow rate that is periodically sent from the flow rate measuring unit 1. It is provided with a processing unit 2 for obtaining the integrated flow rate from the above, and a display unit 3 for displaying the integrated flow rate from the start of measurement obtained by the processing unit 2. In the flow rate integrating system 100, the processing unit 2 corresponds to the measured value integrating device according to the present invention, and the flow rate integrating system 100 corresponds to the measured value integrating system.

この流量積算システム100において、処理部2はCPUや記憶装置からなるハードウェアと、これらのハードウェアと協働して各種機能を実現させるプログラムとによって実現される。また、表示部3は例えばLCDとされ、この表示部3に表示される積算流量の表示単位は1Lとされている。すなわち、積算流量の単位流量が1Lとされ、表示部3における積算流量の表示値が1L単位で変化するものとされている。また、この流量積算システム100は、ガスメータとして用いられる。 In the flow rate integration system 100, the processing unit 2 is realized by hardware including a CPU and a storage device, and a program that realizes various functions in cooperation with these hardware. Further, the display unit 3 is, for example, an LCD, and the display unit of the integrated flow rate displayed on the display unit 3 is 1 L. That is, the unit flow rate of the integrated flow rate is 1L, and the display value of the integrated flow rate on the display unit 3 changes in 1L units. Further, this flow rate integration system 100 is used as a gas meter.

〔処理部における積算流量の算出〕
図2に、処理部2において積算流量が求められて行く様子を示す。処理部2は、流量計測部1から周期的に送られてくる瞬時流量を受信し、その受信した瞬時流量を今回の瞬時流量として取り込む。
[Calculation of integrated flow rate in the processing unit]
FIG. 2 shows how the processing unit 2 obtains the integrated flow rate. The processing unit 2 receives the instantaneous flow rate periodically sent from the flow rate measuring unit 1, and takes in the received instantaneous flow rate as the current instantaneous flow rate.

この例においても、図7に示した例と同様、積算流量の単位流量を1Lとし、t1,t2,t3,t4点を処理部2における瞬時流量の取得時点(更新時点)としている。この例においても、t1点を計測開始点とし、t1点で0.3〔L/s〕、t2点で0.6〔L/s〕、t3点で0.3〔L/s〕というように、瞬時流量が取り込まれ更新されている。 In this example as well, as in the example shown in FIG. 7, the unit flow rate of the integrated flow rate is 1 L, and the points t1, t2, t3, and t4 are set as the time of acquisition (update time) of the instantaneous flow rate in the processing unit 2. Also in this example, the measurement start point is t1 point, 0.3 [L / s] at t1 point, 0.6 [L / s] at t2 point, 0.3 [L / s] at t3 point, and so on. In addition, the instantaneous flow rate is taken in and updated.

以下、図2を用いて、図3および図4に示すフローチャートを参照しながら、処理部2における本実施の形態特有の動作について説明する。 Hereinafter, with reference to the flowcharts shown in FIGS. 3 and 4, the operation peculiar to the present embodiment in the processing unit 2 will be described with reference to FIG.

処理部2は、t1点で瞬時流量が取得されると(図3:ステップS101のYES)、t1点の積算流量を求める(ステップS102)。この場合、t1点は計測開始点であり、t1点の積算流量すなわち計測開始からの積算流量は0である。 When the instantaneous flow rate is acquired at the t1 point (FIG. 3: YES in step S101), the processing unit 2 obtains the integrated flow rate at the t1 point (step S102). In this case, the t1 point is the measurement start point, and the integrated flow rate at the t1 point, that is, the integrated flow rate from the measurement start is 0.

次に、処理部2は、t1点で取得された瞬時流量とt1点の積算流量とに基づいて、t1点の積算流量が単位流量に達するまでの残り時間を推定する(ステップS103)。すなわち、t1点の積算流量の単位流量の桁の値が繰り上げられるまでの残り時間を推定する。この残り時間の推定は、残り時間をTrとし、下記の(1)式を用いて行う。
Tr〔s〕=(単位流量〔L〕−積算流量の端数〔L〕)/瞬時流量〔L/s〕 ・・・・(1)
Next, the processing unit 2 estimates the remaining time until the integrated flow rate at the t1 point reaches the unit flow rate based on the instantaneous flow rate acquired at the t1 point and the integrated flow rate at the t1 point (step S103). That is, the remaining time until the value of the digit of the unit flow rate of the integrated flow rate at the t1 point is carried up is estimated. The remaining time is estimated using the following equation (1), where Tr is the remaining time.
Tr [s] = (unit flow rate [L] -fraction of integrated flow rate [L]) / instantaneous flow rate [L / s] ... (1)

なお、この(1)式において、「積算流量の端数」とは、積算流量の単位流量に満たない半端の数(積算流量を単位流量で除した場合の余りの数)のことであり、この例ではt1点の積算流量は0であるので、積算流量の端数は0とされる。また、「単位流量−積算流量の端数」は、瞬時流量が取得された時点の積算流量の単位流量の桁の値が変化するまでの不足分を示している。 In addition, in this equation (1), the "fraction of the integrated flow rate" is the number of odds that is less than the unit flow rate of the integrated flow rate (the number of remainders when the integrated flow rate is divided by the unit flow rate). In the example, the integrated flow rate at the t1 point is 0, so the fraction of the integrated flow rate is 0. Further, "unit flow rate-fraction of integrated flow rate" indicates the shortage until the digit value of the unit flow rate of the integrated flow rate at the time when the instantaneous flow rate is acquired changes.

次に、処理部2は、推定された残り時間Trの計時と、t1点からt2点までの経過時間T1の計時を開始する(ステップS104)。この例では、Tr>T1となるので、残り時間Trの計時が完了する前に経過時間T1の計時が完了する。この場合、処理部2は、経過時間T1の計時が完了した時点で残り時間Trの計時を中止し、後述する残り時間Trの計時が完了した時点での処理は行わない。 Next, the processing unit 2 starts the time counting of the estimated remaining time Tr and the time counting of the elapsed time T1 from the t1 point to the t2 point (step S104). In this example, since Tr> T1, the time counting of the elapsed time T1 is completed before the time counting of the remaining time Tr is completed. In this case, the processing unit 2 stops the time counting of the remaining time Tr when the time counting of the elapsed time T1 is completed, and does not perform the processing when the time counting of the remaining time Tr described later is completed.

処理部2は、次のt2点で瞬時流量が取得されると(ステップS101のYES)、t1点からt2点までt1点で取得された瞬時流量が続いているものとみなして、t1点からt2点までの区間の通過流量Q1を算出する(Q1=0.3〔L/s〕×T1〔s〕)。そして、この算出したt1点からt2点までの区間の通過流量Q1をt1点の積算流量に加算し、t2点の積算流量とする(ステップS102)。この例では、前の区間の通過流量は0であるので、t2点の積算流量はQ1とされる。 When the instantaneous flow rate is acquired at the next t2 point (YES in step S101), the processing unit 2 considers that the instantaneous flow rate acquired at the t1 point continues from the t1 point to the t2 point, and starts from the t1 point. The passing flow rate Q1 in the section up to the t2 point is calculated (Q1 = 0.3 [L / s] × T1 [s]). Then, the calculated passing flow rate Q1 in the section from the t1 point to the t2 point is added to the integrated flow rate at the t1 point to obtain the integrated flow rate at the t2 point (step S102). In this example, the passing flow rate in the previous section is 0, so the integrated flow rate at the t2 point is Q1.

また、処理部2は、t2点で瞬時流量が取得されると、t2点で取得された瞬時流量とt2点で求められた積算流量とに基づいて、上記(1)式を用いて、t2点の積算流量が単位流量に達するまでの残り時間Trを推定する(ステップS103)。そして、推定された残り時間Trの計時と、t2点からt3点までの経過時間T2の計時を開始する(ステップS104)。 Further, when the instantaneous flow rate is acquired at the t2 point, the processing unit 2 uses the above equation (1) based on the instantaneous flow rate acquired at the t2 point and the integrated flow rate obtained at the t2 point to t2. The remaining time Tr until the integrated flow rate of the points reaches the unit flow rate is estimated (step S103). Then, the time of the estimated remaining time Tr and the time of the elapsed time T2 from the t2 point to the t3 point are started (step S104).

この例では、Tr>T2となるので、残り時間Trの計時が完了する前に経過時間T2の計時が完了する。この場合、処理部2は、経過時間T2の計時が完了した時点で残り時間Trの計時を中止し、後述する残り時間Trの計時が完了した時点での処理は行わない。 In this example, since Tr> T2, the time counting of the elapsed time T2 is completed before the time counting of the remaining time Tr is completed. In this case, the processing unit 2 stops the time counting of the remaining time Tr when the time counting of the elapsed time T2 is completed, and does not perform the processing when the time counting of the remaining time Tr described later is completed.

処理部2は、次のt3点で瞬時流量が取得されると(ステップS101のYES)、t2点からt3点までt2点で取得された瞬時流量が続いているものとみなして、t2点からt3点までの区間の通過流量Q2を算出する(Q2=0.6〔L/s〕×T2〔s〕)。そして、この算出したt2点からt3点までの区間の通過流量Q2をt2点の積算流量に加算し、t3点の積算流量とする(ステップS102)。 When the instantaneous flow rate is acquired at the next t3 point (YES in step S101), the processing unit 2 considers that the instantaneous flow rate acquired at the t2 point continues from the t2 point to the t3 point, and starts from the t2 point. The passing flow rate Q2 in the section up to the t3 point is calculated (Q2 = 0.6 [L / s] × T2 [s]). Then, the calculated passing flow rate Q2 in the section from the t2 point to the t3 point is added to the integrated flow rate at the t2 point to obtain the integrated flow rate at the t3 point (step S102).

また、処理部2は、t3点で瞬時流量が取得されると、t3点で取得された瞬時流量とt3点で求められた積算流量とに基づいて、上記(1)式を用いて、t3点の積算流量が単位流量に達するまでの残り時間Trを推定する(ステップS103)。そして、推定された残り時間Trの計時と、t3点からt4点までの経過時間T3の計時を開始する(ステップS104)。 Further, when the instantaneous flow rate is acquired at the t3 point, the processing unit 2 uses the above equation (1) based on the instantaneous flow rate acquired at the t3 point and the integrated flow rate obtained at the t3 point to t3. The remaining time Tr until the integrated flow rate of the points reaches the unit flow rate is estimated (step S103). Then, the time of the estimated remaining time Tr and the time of the elapsed time T3 from the t3 point to the t4 point are started (step S104).

この例おいて、t3点で求められる残り時間TrはTr<T3となり、t3点からt4点までの間で残り時間Trの計時が完了する(図4:ステップS201のYES)。処理部2は、この残り時間Trの計時を完了した時点trで、t3点からtr点までの区間の通過流量Q3’を算出する。この例では、計時した残り時間TrをT3’とし、t3点からtr点までの区間の通過流量Q3’をQ3’=0.3〔L/s〕×T3’〔s〕として算出する。そして、この算出した通過流量Q3’をt3点の積算流量に加算し、tr点の積算流量とする(ステップS202)。 In this example, the remaining time Tr obtained at the t3 point is Tr <T3, and the time remaining time Tr is completed between the t3 point and the t4 point (FIG. 4: YES in step S201). The processing unit 2 calculates the passing flow rate Q3'in the section from the t3 point to the tr point at the time tr when the time counting of the remaining time Tr is completed. In this example, the timed remaining time Tr is T3', and the passing flow rate Q3'in the section from the t3 point to the tr point is calculated as Q3'= 0.3 [L / s] x T3'[s]. Then, the calculated passing flow rate Q3'is added to the integrated flow rate at the t3 point to obtain the integrated flow rate at the tr point (step S202).

そして、処理部2は、表示部3に指令を送り、積算流量の表示値の最小桁の値を繰り上げる(ステップS203)。この例では、積算流量の表示値の最小桁の値を「0」から「1」に繰り上げる(図5参照)。なお、表示部3では、積算流量の表示値の最小桁の値がオーバフローすると、次の位の桁の値が1つ繰り上がるとともに、最小桁の値が「0」に戻る。他の桁でも、同様にして、その桁の値がオーバフローすると、次の位の桁の値が1つ繰り上がるとともに、その桁の値が「0」に戻る。 Then, the processing unit 2 sends a command to the display unit 3 to move up the value of the minimum digit of the displayed value of the integrated flow rate (step S203). In this example, the minimum digit value of the displayed value of the integrated flow rate is rounded up from "0" to "1" (see FIG. 5). In the display unit 3, when the value of the minimum digit of the display value of the integrated flow rate overflows, the value of the next digit is incremented by one and the value of the minimum digit returns to "0". Similarly for other digits, when the value of that digit overflows, the value of the next digit is incremented by one and the value of that digit returns to "0".

また、処理部2は、tr点の積算流量を求めると、このtr点の積算流量とt3点で取得された瞬時流量とに基づいて、上記(1)式を用いて、tr点の積算流量が次の単位流量に達するまでの残り時間Trを推定し(ステップS204)、その推定した残り時間の計時を開始する(ステップS205)。 Further, when the processing unit 2 obtains the integrated flow rate at the tr point, the integrated flow rate at the tr point is based on the integrated flow rate at the tr point and the instantaneous flow rate acquired at the t3 point, using the above equation (1). Estimates the remaining time Tr until it reaches the next unit flow rate (step S204), and starts the time measurement of the estimated remaining time (step S205).

ここで、tr点の積算流量が目標の単位流量に達していたとすると、tr点で推定される残り時間Trは次の瞬時流量が取得される時点t4までの時間T3”よりも長くなる(Tr>T3”)。このため、tr点で推定された残り時間Trの計時が完了する前に経過時間T3の計時が完了し(ステップS206のYES)、残り時間Trの計時は中止される(ステップS207)。 Here, assuming that the integrated flow rate at the tr point has reached the target unit flow rate, the remaining time Tr estimated at the tr point is longer than the time T3 "until the time when the next instantaneous flow rate is acquired (Tr). > T3 "). Therefore, the time measurement of the elapsed time T3 is completed before the time measurement of the remaining time Tr estimated at the tr point is completed (YES in step S206), and the time measurement of the remaining time Tr is stopped (step S207).

処理部2は、t4点で瞬時流量が取得されると(ステップS101のYES)、tr点からt4点までの区間の通過流量Q3”を求める。この場合、Q3”=0.3〔L/s〕×(T3−T3’)〔s〕として、tr点からt4点までの区間の通過流量Q3”を求める。そして、この算出した通過流量Q3”をtr点の積算流量に加算し、t4点の積算流量とする(ステップS102)。 When the instantaneous flow rate is acquired at the t4 point (YES in step S101), the processing unit 2 obtains the passing flow rate Q3 "in the section from the tr point to the t4 point. In this case, Q3" = 0.3 [L / As [s] × (T3-T3') [s], the passing flow rate Q3 "in the section from the tr point to the t4 point is obtained, and the calculated passing flow rate Q3" is added to the integrated flow rate of the tr point to t4. The integrated flow rate of points is used (step S102).

図2において、▲は積算処理が行われるタイミングを示し、△は積算処理+表示値の更新が行われるタイミングを示している。このように、本実施の形態では、t3点において積算流量が単位流量に達するまでの残り時間Trが推定され、この残り時間Trが経過した時点trで積算流量の表示値の最小桁の値の繰り上げが行われるので、正確なタイミングで積算流量の表示値の更新を行うことができるようになる。また、積算流量の単位流量の桁の値が単位流量を超えたことを知るための定期的な積算処理が不要となり、消費電力の増大が避けられる。 In FIG. 2, ▲ indicates the timing at which the integration process is performed, and Δ indicates the timing at which the integration process + the display value is updated. As described above, in the present embodiment, the remaining time Tr until the integrated flow rate reaches the unit flow rate is estimated at the t3 point, and the minimum digit value of the display value of the integrated flow rate is estimated at the time tr when the remaining time Tr elapses. Since the advance is performed, the display value of the integrated flow rate can be updated at an accurate timing. Further, it is not necessary to perform a periodic integration process for knowing that the digit value of the unit flow rate of the integrated flow rate exceeds the unit flow rate, and an increase in power consumption can be avoided.

ガスメータの場合、10年間で最大6000〔L/h〕×2000〔h〕程度しか流れない(JIA(日本ガス機器検査協会))。よって、本実施の形態における△のタイミング(積算処理+表示値の更新が行われるタイミング)の回数は平均0.038〔回/s〕程度であり、図7を用いて説明した従来の手法に比べて積算処理を平均(N−1.038)〔回/s〕程度削減できる。また、最悪の場合(10000〔L/h〕継続)でも平均2.778〔回/s〕程度であり、積算処理の削減による効果は大きい。 In the case of a gas meter, only about 6000 [L / h] x 2000 [h] can flow in 10 years (JIA (Japan Gas Appliance Inspection Association)). Therefore, the number of times of Δ timing (timing when integration processing + display value update is performed) in the present embodiment is about 0.038 [times / s] on average, which is the same as the conventional method described with reference to FIG. In comparison, the integration process can be reduced by an average (N-1.038) [times / s]. Further, even in the worst case (10000 [L / h] continuation), the average is about 2.778 [times / s], and the effect of reducing the integration process is great.

ガスメータでは10年間電池で動作する必要があり、低消費電力であることが求められる。低消費電力化を図るには、処理を低負荷で行うことができるように工夫するか、必要でない場合に処理そのものをしなくても済むように構成することが望まれる。本実施の形態では、ガスメータの重要な処理の1つである積算処理を、瞬時流量を取得したタイミングおよび積算流量の表示値を更新するタイミングだけ行うことによって、低消費電力化を図っている。 Gas meters need to be battery-powered for 10 years and are required to have low power consumption. In order to reduce power consumption, it is desirable to devise so that the processing can be performed with a low load, or to configure it so that the processing itself does not have to be performed when it is not necessary. In the present embodiment, the power consumption is reduced by performing the integration process, which is one of the important processes of the gas meter, only at the timing of acquiring the instantaneous flow rate and the timing of updating the display value of the integrated flow rate.

なお、図2には、tr点で推定される残り時間Trが次の瞬時流量が取得される時点t4までの時間T3”よりも長くなる例を示したが(Tr>T3”)、Tr<T3”となる場合もある。この場合、処理部2は、経過時間T4の計時が完了する前にtr点で推定された残り時間Trの計時が完了したことを確認し(ステップS206のNO,ステップS201のYES)、ステップS202以降の処理を繰り返す。そして、t4点で瞬時流量が取得されると(ステップS101のYES)、最後のtr点からt4点までの区間の通過流量Q3”を算出し、この算出した通過流量Q3”を最後のtr点の積算流量に加算し、t4点の積算流量とする(ステップS102)。この場合、処理部2は、経過時間Ti内でも、残り時間Trの計時が完了する毎に、積算流量の表示値の最小桁の値を繰り上げる(ステップS203)。 Note that FIG. 2 shows an example in which the remaining time Tr estimated at the tr point is longer than the time T3 "until the time when the next instantaneous flow rate is acquired (Tr> T3"), but Tr < In this case, the processing unit 2 confirms that the time measurement of the remaining time Tr estimated at the tr point is completed before the time measurement of the elapsed time T4 is completed (NO, in step S206). (YES in step S201), the processing after step S202 is repeated. Then, when the instantaneous flow rate is acquired at the t4 point (YES in step S101), the passing flow rate Q3 in the section from the last tr point to the t4 point is calculated. Then, the calculated passing flow rate Q3 ”is added to the integrated flow rate at the last tr point to obtain the integrated flow rate at t4 points (step S102). In this case, the processing unit 2 has the remaining time Tr even within the elapsed time Ti. Every time the time counting is completed, the value of the minimum digit of the displayed value of the integrated flow rate is incremented (step S203).

〔瞬時流量の更新間隔のぶれ〕
図1に示した流量積算システム100では、流量計測部1が実際に瞬時流量の計測を実施してから、処理部2におけるCPUが処理するまでの時間(例えば、流量計測部1と処理部2との間の通信やCPUの他の占有処理など)によって、処理部2における瞬時流量の更新タイミングがずれ、瞬時流量の更新間隔にぶれが発生することがある。また、ガスメータのように低速なクロック(1MHzや32KHzなど)で動作し、CPUが休眠状態を繰り返す製品の場合、容易にぶれが発生する。
[Fluctuation of instantaneous flow rate update interval]
In the flow rate integration system 100 shown in FIG. 1, the time from when the flow rate measuring unit 1 actually measures the instantaneous flow rate to when the CPU in the processing unit 2 processes (for example, the flow rate measuring unit 1 and the processing unit 2). The update timing of the instantaneous flow rate in the processing unit 2 may be shifted due to communication with or other occupation processing of the CPU, and the update interval of the instantaneous flow rate may be changed. Further, in the case of a product that operates with a low-speed clock (1 MHz, 32 KHz, etc.) such as a gas meter and the CPU repeats a dormant state, blurring easily occurs.

〔瞬時流量の更新間隔にぶれがない場合〕
図2に示した例において、流量計測部1における瞬時流量の計測周期を1000〔ms〕とし、瞬時流量の更新間隔にぶれがなく、t1点からt2点までの経過時間T1、t2点からt3点までの経過時間T2、t3点からt4点までの経過時間T3が、全て計測周期と同じ1000〔ms〕であったものとする。
[When there is no fluctuation in the update interval of the instantaneous flow rate]
In the example shown in FIG. 2, the measurement cycle of the instantaneous flow rate in the flow rate measuring unit 1 is 1000 [ms], the update interval of the instantaneous flow rate does not fluctuate, and the elapsed time from the t1 point to the t2 point is T1 and t2 to t3. It is assumed that the elapsed time T2 to the point and the elapsed time T3 from the t3 point to the t4 point are all 1000 [ms], which is the same as the measurement cycle.

この場合、t2点の積算流量はQ1=0.3〔L/s〕×1000〔ms〕=0.3〔L〕となり、t3点の積算流量はQ1+Q2=0.3〔L〕+0.6〔L/s〕×1000〔ms〕=0.9〔L〕となる。また、t3点で推定される残り時間TrはTr=(1.0〔L〕−0.9〔L〕)/0.3〔L/s〕=333.33・・・〔ms〕となる。 In this case, the integrated flow rate at the t2 point is Q1 = 0.3 [L / s] × 1000 [ms] = 0.3 [L], and the integrated flow rate at the t3 point is Q1 + Q2 = 0.3 [L] +0.6. [L / s] × 1000 [ms] = 0.9 [L]. The remaining time Tr estimated at the t3 point is Tr = (1.0 [L] -0.9 [L]) /0.3 [L / s] = 333.33 ... [ms]. ..

ここで、処理部2におけるCPUの起動ルーチン(OS(Operating System)など)の都合によるが、今回はt3点から334ms経過した時点で処理部2におけるCPUが起動できたとすると、処理部2は、残り時間Trが経過した時点をt3点から334ms経過した時点とみなし、この時点で表示部3における積算流量の表示値の最小桁の値を繰り上げる。 Here, depending on the convenience of the CPU startup routine (OS (Operating System), etc.) in the processing unit 2, assuming that the CPU in the processing unit 2 can be started when 334 ms has elapsed from the t3 point, the processing unit 2 The time when the remaining time Tr has elapsed is regarded as the time when 334 ms has elapsed from the t3 point, and at this point, the value of the minimum digit of the display value of the integrated flow rate on the display unit 3 is incremented.

この場合、残り時間Trが経過したとみなした時点の積算流量はQ1+Q2+Q3’=0.9〔L〕+0.3〔L/s〕×334〔ms〕=1.0002〔L〕となる。また、t4点の積算流量はQ1+Q2+Q3’+Q3”=1.0002〔L〕+0.3〔L/s〕×666〔ms〕=1.2000〔L〕となる。 In this case, the integrated flow rate at the time when the remaining time Tr is considered to have elapsed is Q1 + Q2 + Q3'= 0.9 [L] + 0.3 [L / s] x 334 [ms] = 1.0002 [L]. The integrated flow rate at the t4 point is Q1 + Q2 + Q3'+ Q3 "= 1.0002 [L] +0.3 [L / s] x 666 [ms] = 1.2000 [L].

〔瞬時流量の更新間隔にぶれがある場合〕
図2に示した例において、流量計測部1における瞬時流量の計測周期を1000〔ms〕とし、瞬時流量の更新間隔にぶれがあり、例えば、t1点からt2点までの経過時間T1が999〔ms〕、t2点からt3点までの経過時間T2が1001〔ms〕、t3点からt4点までの経過時間T3が1000〔ms〕であったものとする。
[When there is a fluctuation in the update interval of the instantaneous flow rate]
In the example shown in FIG. 2, the measurement cycle of the instantaneous flow rate in the flow rate measuring unit 1 is 1000 [ms], and the update interval of the instantaneous flow rate varies. For example, the elapsed time T1 from the t1 point to the t2 point is 999 [. It is assumed that the elapsed time T2 from the t2 point to the t3 point is 1001 [ms], and the elapsed time T3 from the t3 point to the t4 point is 1000 [ms].

この場合、t2点の積算流量はQ1=0.3〔L/s〕×999〔ms〕=0.2997〔L〕となり、t3点の積算流量はQ1+Q2=0.2997〔L〕+0.6〔L/s〕×1001〔ms〕=0.9003〔L〕となる。また、t3点で推定される残り時間TrはTr=(1.0〔L〕−0.9003〔L〕)/0.3〔L/s〕=332.33・・・〔ms〕となる。 In this case, the integrated flow rate at the t2 point is Q1 = 0.3 [L / s] × 999 [ms] = 0.2997 [L], and the integrated flow rate at the t3 point is Q1 + Q2 = 0.2997 [L] +0.6. [L / s] × 1001 [ms] = 0.9003 [L]. Further, the remaining time Tr estimated at the t3 point is Tr = (1.0 [L] −0.9003 [L]) /0.3 [L / s] = 332.33 ... [ms]. ..

ここで、今回はt3点から333ms経過した時点で処理部2におけるCPUが起動できたとすると、処理部2は、残り時間Trが経過した時点をt3点から333ms経過した時点とみなし、この時点で表示部3における積算流量の表示値の最小桁の値を繰り上げる。 Here, assuming that the CPU in the processing unit 2 can be started when 333 ms has elapsed from the t3 point this time, the processing unit 2 considers the time when the remaining time Tr has elapsed as the time when 333 ms has elapsed from the t3 point, and at this point. The value of the minimum digit of the display value of the integrated flow rate on the display unit 3 is carried up.

この場合、残り時間Trが経過したとみなした時点の積算流量はQ1+Q2+Q3’=0.9003〔L〕+0.3〔L/s〕×333〔ms〕=1.0002〔L〕となる。また、t4点の積算流量はQ1+Q2+Q3’+Q3”=1.0002〔L〕+0.3〔L/s〕×667〔ms〕=1.2001〔L〕となる。 In this case, the integrated flow rate at the time when the remaining time Tr is considered to have elapsed is Q1 + Q2 + Q3'= 0.9003 [L] + 0.3 [L / s] x 333 [ms] = 1.0002 [L]. The integrated flow rate at the t4 point is Q1 + Q2 + Q3'+ Q3 "= 1.0002 [L] +0.3 [L / s] x 667 [ms] = 1.2001 [L].

この例からも分かるように、本実施の形態によれば、処理部2における瞬時流量の更新タイミングがずれ、瞬時流量の更新間隔にぶれが発生する場合でも、瞬時流量を取得(更新)してからの経過時間を考慮しているので、計算される積算流量に誤差が発生しないものとなる。 As can be seen from this example, according to the present embodiment, even if the update timing of the instantaneous flow rate in the processing unit 2 shifts and the update interval of the instantaneous flow rate fluctuates, the instantaneous flow rate is acquired (updated). Since the elapsed time from the above is taken into consideration, there is no error in the calculated integrated flow rate.

〔瞬時流量の更新間隔を固定とみなす場合〕
水晶クロックで生成するなどした誤差の小さいタイマで、流量計測部1が正確に計測周期を守れる場合には、その計測周期を利用するようにしてもよい。
[When the update interval of the instantaneous flow rate is regarded as fixed]
If the flow rate measuring unit 1 can accurately keep the measurement cycle with a timer having a small error such as generated by a crystal clock, the measurement cycle may be used.

例えば、図2に示した例において、t1点からt2点までの経過時間T1が999〔ms〕、t2点からt3点までの経過時間T2が1001〔ms〕、t3点からt4点までの経過時間T3が1000〔ms〕であるが、これを無視して全て1000〔ms〕とみなすようにしてもよい。 For example, in the example shown in FIG. 2, the elapsed time T1 from the t1 point to the t2 point is 999 [ms], the elapsed time T2 from the t2 point to the t3 point is 1001 [ms], and the elapsed time from the t3 point to the t4 point. Although the time T3 is 1000 [ms], this may be ignored and all may be regarded as 1000 [ms].

この場合、t2点の積算流量はQ1=0.3〔L/s〕×1000〔ms〕=0.3〔L〕となり、t3点の積算流量はQ1+Q2=0.3〔L〕+0.6〔L/s〕×1000〔ms〕=0.9〔L〕となる。また、t3点で推定される残り時間TrはTr=(1.0〔L〕−0.9〔L〕)/0.3〔L/s〕=333.33・・・〔ms〕となる。 In this case, the integrated flow rate at the t2 point is Q1 = 0.3 [L / s] × 1000 [ms] = 0.3 [L], and the integrated flow rate at the t3 point is Q1 + Q2 = 0.3 [L] +0.6. [L / s] × 1000 [ms] = 0.9 [L]. The remaining time Tr estimated at the t3 point is Tr = (1.0 [L] -0.9 [L]) /0.3 [L / s] = 333.33 ... [ms]. ..

ここで、今回はt3点ら340ms経過した時点で処理部2におけるCPUが起動できたとすると、処理部2は、残り時間Trが経過した時点をt3点から340ms経過した時点とみなし、この時点で表示部3における積算流量の表示値の最小桁の値を繰り上げる。 Here, assuming that the CPU in the processing unit 2 can be started when 340 ms have elapsed from the t3 point, the processing unit 2 considers the time when the remaining time Tr has elapsed as the time when 340 ms has elapsed from the t3 point, and at this point. The value of the minimum digit of the display value of the integrated flow rate on the display unit 3 is carried up.

この場合、残り時間Trが経過したとみなした時点の瞬時流量はQ1+Q2+Q3’=0.9〔L〕+0.3〔L/s〕×340〔ms〕=1.0200〔L〕となる。また、t4点の積算流量は、Q1+Q2+Q3=0.9〔L〕+0.3〔L/s〕×1000〔ms〕=1.2000〔L〕となる。なお、t4点の積算流量を、Q1+Q2+Q3’+Q3”=1.0200〔L〕+0.3〔L/s〕×(1000−340)〔ms〕として求めるようにしてもよい。 In this case, the instantaneous flow rate at the time when the remaining time Tr is considered to have elapsed is Q1 + Q2 + Q3'= 0.9 [L] + 0.3 [L / s] x 340 [ms] = 1.0200 [L]. The integrated flow rate at the t4 point is Q1 + Q2 + Q3 = 0.9 [L] + 0.3 [L / s] × 1000 [ms] = 1.2000 [L]. The integrated flow rate at the t4 point may be obtained as Q1 + Q2 + Q3'+ Q3 "= 1.0200 [L] + 0.3 [L / s] x (1000-340) [ms].

〔残り時間Trの計算の省略〕
上述した実施の形態では、瞬時流量を取得する毎に、前記(1)式を用いて残り時間Trの計算を行うようにしている。この残り時間Trの計算には割算があり、処理負荷としては重くなる。
[Omission of calculation of remaining time Tr]
In the above-described embodiment, the remaining time Tr is calculated using the above equation (1) every time the instantaneous flow rate is acquired. There is division in the calculation of the remaining time Tr, which makes the processing load heavy.

図2に示した例において、t1点で求められる残り時間TrはTr>T1であり、経過時間T1の計時中に残り時間Trの計時は完了しない。また、t2点で求められる残り時間もTr>T2であり、経過時間T2の計時中に残り時間Trの計時は完了しない。この場合、t1点やt2点での残り時間Trの計算は不要であり、この不要な残り時間Trの計算を省略すれば処理負荷をさらに軽減することができる。 In the example shown in FIG. 2, the remaining time Tr obtained at the t1 point is Tr> T1, and the time remaining time Tr is not completed during the time counting of the elapsed time T1. Further, the remaining time obtained at the t2 point is also Tr> T2, and the timing of the remaining time Tr is not completed during the timing of the elapsed time T2. In this case, it is not necessary to calculate the remaining time Tr at the t1 point and the t2 point, and the processing load can be further reduced by omitting the calculation of the unnecessary remaining time Tr.

t1点やt2点での残り時間Trの計算を省略する方法として、瞬時流量が取得された場合、この瞬時流量が取得された時点の積算流量が次回の瞬時流量の取得時までに単位流量を超えるか否かを判断し、単位流量を超えないと判断された場合には残り時間Trの計算を行わないようにすることが考えられる。例えば、瞬時流量を取得した時点において、(単位流量−積算流量の端数)>(計測周期×瞬時流量)の場合に、残り時間Trの計算を行わないようにする。 As a method of omitting the calculation of the remaining time Tr at the t1 point and the t2 point, when the instantaneous flow rate is acquired, the integrated flow rate at the time when the instantaneous flow rate is acquired is the unit flow rate by the time when the next instantaneous flow rate is acquired. It is conceivable to determine whether or not to exceed the unit flow rate, and if it is determined that the unit flow rate is not exceeded, do not calculate the remaining time Tr. For example, when the instantaneous flow rate is acquired, if (unit flow rate-fraction of integrated flow rate)> (measurement cycle x instantaneous flow rate), the remaining time Tr is not calculated.

なお、ガスメータでは、瞬時流量が数L/h以下は0L/hとみなして、流量の積算を行わない場合もある。このような場合、瞬時流量を0L/hとみなしている間、残り時間Trを計算する処理を省略するようにしてもよい。 In the gas meter, if the instantaneous flow rate is several L / h or less, it may be regarded as 0 L / h and the flow rate may not be integrated. In such a case, the process of calculating the remaining time Tr may be omitted while the instantaneous flow rate is regarded as 0 L / h.

〔流量計測部からの処理部への瞬時流量の送信の省略〕
流量計測部1からの処理部2への瞬時流量の送信方式として、今回の瞬時流量が前回の瞬時流量と同じであった場合、処理部2への瞬時流量の送信を省略する方式をとることがある。このような方式をとる場合でも、本実施の形態では、問題なく、積算流量が単位流量に達したタイミングで、積算流量の表示値の最小桁の値を繰り上げることができる。
[Omission of transmission of instantaneous flow rate from the flow rate measurement unit to the processing unit]
As a method of transmitting the instantaneous flow rate from the flow rate measuring unit 1 to the processing unit 2, if the current instantaneous flow rate is the same as the previous instantaneous flow rate, the method of omitting the transmission of the instantaneous flow rate to the processing unit 2 shall be adopted. There is. Even when such a method is adopted, in the present embodiment, the value of the minimum digit of the displayed value of the integrated flow rate can be advanced at the timing when the integrated flow rate reaches the unit flow rate without any problem.

例えば、図2に示した例において、t1点で取得された瞬時流量が0.3〔L/s〕であった場合、次に積算流量の単位流量の桁の値が繰り上がるのは3.3秒後であることが分かる。3.3秒後まで次の瞬時流量が送られてこなくても、処理部2は、3.3秒後に積算処理を行うとともに、積算流量の表示値の最小桁の値を繰り上げる。この場合、3.3秒が経過するまでの間は積算処理や残り時間Trの推定は行われないので、処理負荷が軽くなり、さらなる低消費電力化が図られる。 For example, in the example shown in FIG. 2, when the instantaneous flow rate acquired at the t1 point is 0.3 [L / s], the next digit value of the unit flow rate of the integrated flow rate is 3. It turns out that it is 3 seconds later. Even if the next instantaneous flow rate is not sent until 3.3 seconds later, the processing unit 2 performs the integration process after 3.3 seconds and advances the value of the minimum digit of the display value of the integrated flow rate. In this case, since the integration process and the estimation of the remaining time Tr are not performed until 3.3 seconds have elapsed, the processing load is lightened and the power consumption can be further reduced.

なお、処理部2において、今回取得した瞬時流量が前回取得した瞬時流量と同じであった場合、今回取得した瞬時流量に対しての積算処理や残り時間Trの推定を行わないようにしてもよい。このような方式をとる場合にも、流量計測部1からの処理部2への瞬時流量の送信を省略する方式とした場合と同様、問題なく、積算流量が単位流量に達したタイミングで、積算流量の表示値の最小桁の値を繰り上げることができる。また、処理負荷が軽くなり、さらなる低消費電力化が図られる。なお、今回取得した瞬時流量が前回取得した瞬時流量と同じであるか否かの判断に際しては、それまでの瞬時流量の変化を考慮に入れ、ある程度幅を持たせて判断するようにするとよい。 If the instantaneous flow rate acquired this time is the same as the instantaneous flow rate acquired last time, the processing unit 2 may not perform the integration processing or the estimation of the remaining time Tr for the instantaneous flow rate acquired this time. .. Even when such a method is adopted, there is no problem as in the case of omitting the transmission of the instantaneous flow rate from the flow rate measuring unit 1 to the processing unit 2, and the integrated flow rate reaches the unit flow rate without any problem. The value of the minimum digit of the displayed value of the flow rate can be carried up. In addition, the processing load is lightened, and power consumption can be further reduced. When determining whether or not the instantaneous flow rate acquired this time is the same as the instantaneous flow rate acquired last time, it is advisable to take into consideration the change in the instantaneous flow rate up to that point and make a judgment with a certain range.

図6に、図1に示した流量積算システム100における処理部2の内部の機能ブロックを例示する。処理部2は、流量計測部1からの周期的に送られてくる瞬時流量を取得する瞬時流量取得部21と、瞬時流量の取得区間(更新区間)毎の通過流量を算出する第1の通過流量算出部22と、残り時間の計時完了までの区間の通過流量を算出する第2の通過流量算出部23と、残り時間の計時完了後の残りの区間の通過流量を算出する第3の通過流量算出部24と、瞬時流量の取得時点の積算流量を算出する第1の積算流量算出部25と、残り時間の計時完了時点の積算流量を算出する第2の積算流量算出部26と、瞬時流量の取得毎に残り時間を推定する第1の残り時間推定部27と、残り時間の計時完了毎に残り時間を推定する第2の残り時間推定部28と、時間管理部29と、表示値更新部30とを備えている。 FIG. 6 illustrates an internal functional block of the processing unit 2 in the flow rate integration system 100 shown in FIG. The processing unit 2 has an instantaneous flow rate acquisition unit 21 that acquires the instantaneous flow rate periodically sent from the flow rate measurement unit 1, and a first passage that calculates the passing flow rate for each instantaneous flow rate acquisition section (update section). The flow rate calculation unit 22, the second passage flow rate calculation unit 23 that calculates the passing flow rate of the section until the remaining time is timed, and the third passage that calculates the passing flow rate of the remaining section after the remaining time is timed. The flow rate calculation unit 24, the first integrated flow rate calculation unit 25 that calculates the integrated flow rate at the time of acquisition of the instantaneous flow rate, the second integrated flow rate calculation unit 26 that calculates the integrated flow rate at the time when the remaining time is timed, and the instantaneous flow rate calculation unit 26. A first remaining time estimation unit 27 that estimates the remaining time each time the flow rate is acquired, a second remaining time estimation unit 28 that estimates the remaining time each time the remaining time is timed, a time management unit 29, and a display value. It is provided with an update unit 30.

処理部2において、瞬時流量取得部21、第1の通過流量算出部22、第2の通過流量算出部23、第3の通過流量算出部24、第1の積算流量算出部25、第2の積算流量算出部26、第1の残り時間推定部27、第2の残り時間推定部28および表示値更新部30はCPUの処理機能として設けられ、時間管理部29はCPUとは別に設けられたタイマの計時機能として設けられている。また、時間管理部29は、残り時間計時部291と経過時間計時部292とを備えている。 In the processing unit 2, the instantaneous flow rate acquisition unit 21, the first pass flow rate calculation unit 22, the second pass flow rate calculation unit 23, the third pass flow rate calculation unit 24, the first integrated flow rate calculation unit 25, and the second The integrated flow rate calculation unit 26, the first remaining time estimation unit 27, the second remaining time estimation unit 28, and the display value updating unit 30 are provided as processing functions of the CPU, and the time management unit 29 is provided separately from the CPU. It is provided as a timing function of the timer. Moreover, time management unit 29, and a elapsed time counting unit 29 2 and the remaining time counting unit 29 1.

また、第1の通過流量算出部22と第1の積算流量算出部25とで第1の流量積算部31が構成され、第2の通過流量算出部23と第2の積算流量算出部26とで第2の流量積算部32が構成されている。この処理部2において、第1の流量積算部31が本発明でいう第1の積算部に相当し、第1の通過流量算出部22が第1の区間積算値算出部に相当し、第1の積算流量算出部25が第1の積算値算出部に相当する。また、第2の流量積算部32が本発明でいう第2の積算部に相当し、第2の通過流量算出部23が第2の区間積算値算出部に相当し、第2の積算流量算出部26が第2の積算値算出部に相当する。 Further, the first pass flow rate calculation unit 22 and the first integrated flow rate calculation unit 25 constitute the first flow rate integration unit 31, and the second pass flow rate calculation unit 23 and the second integrated flow rate calculation unit 26 The second flow rate integrating unit 32 is configured. In this processing unit 2, the first flow rate integration unit 31 corresponds to the first integration unit referred to in the present invention, the first passing flow rate calculation unit 22 corresponds to the first section integration value calculation unit, and the first The integrated flow rate calculation unit 25 of the above corresponds to the first integrated value calculation unit. Further, the second flow rate integrating unit 32 corresponds to the second integrating unit referred to in the present invention, the second passing flow rate calculating unit 23 corresponds to the second section integrated value calculating unit, and the second integrated flow rate calculation. The unit 26 corresponds to the second integrated value calculation unit.

処理部2において、瞬時流量取得部21は、流量計測部1から周期的に送られてくる瞬時流量qi(i=1,2,3,・・・・)を取得する。また、瞬時流量取得部21は、取得した瞬時流量qiを第1の通過流量算出部22および第1の残り時間推定部27へ送り、瞬時流量qiを取得した時刻tiを経過時間計時部292へ送る。 In the processing unit 2, the instantaneous flow rate acquisition unit 21 acquires the instantaneous flow rate qi (i = 1, 2, 3, ...) Periodically sent from the flow rate measurement unit 1. Further, the instantaneous flow rate acquisition unit 21 sends the acquired instantaneous flow rate qi to the first passing flow rate calculation unit 22 and the first remaining time estimation unit 27, and sets the time ti at which the instantaneous flow rate qi is acquired to the elapsed time timing unit 29 2 Send to.

経過時間計時部292は、瞬時流量取得部21から瞬時流量qiの取得時刻tiを受けると、次の瞬時流量qi+1の取得時刻ti+1までの計時を開始する。そして、経過時間計時部292は、瞬時流量qi+1の取得時刻ti+1までの計時を完了すると、その計時した時間「ti+1−ti」を経過時間Tiとして第1の通過流量算出部22へ送る。 Elapsed time counting unit 29 2, when the instantaneous flow rate acquiring unit 21 receives the acquisition time ti of instantaneous flow rate qi, it starts counting up acquisition time ti +1 of the next instantaneous flow rate qi +1. The elapsed time counting unit 29 2 completes the counting of up to the acquisition time ti +1 of instantaneous flow rate qi +1, first passing flow calculated as the elapsed time Ti to "ti +1 -ti" its counting the time Send to department 22.

第1の通過流量算出部22は、瞬時流量取得部21からの瞬時流量qiを取得すると、その瞬時流量qiを前回の瞬時流量として記憶するとともに、経過時間計時部292からの経過時間Tiを得た時点で、前回の瞬時流量qiと経過時間Tiとから瞬時流量qiが前回取得されてから今回取得されるまでの区間の通過流量Qiを求め、第1の積算流量算出部25へ送る。 First pass flow rate calculation unit 22 obtains the instantaneous flow rate qi from the instantaneous flow rate acquisition unit 21 stores the instantaneous flow rate qi as the instantaneous flow rate of the last elapsed time Ti from elapsed time counting unit 29 2 At the time of acquisition, the passing flow rate Qi in the section from the previous acquisition of the instantaneous flow rate qi to the current acquisition is obtained from the previous instantaneous flow rate qi and the elapsed time Ti, and is sent to the first integrated flow rate calculation unit 25.

第1の積算流量算出部25は、第1の通過流量算出部22から通過流量Qiが送られてくる毎に、その通過流量Qiを加算して瞬時流量取得時点の積算流量ΣQとする。なお、第1の積算流量算出部25において、計測開始時の積算流量ΣQ、すなわち瞬時流量q1の取得時点(図2に示すt1点)の積算流量ΣQは0とされている。 Each time the passing flow rate Qi is sent from the first passing flow rate calculating unit 22, the first integrated flow rate calculation unit 25 adds the passing flow rate Qi to obtain the integrated flow rate ΣQ at the time of instantaneous flow rate acquisition. In the first integrated flow rate calculation unit 25, the integrated flow rate ΣQ at the start of measurement, that is, the integrated flow rate ΣQ at the acquisition time (t1 point shown in FIG. 2) of the instantaneous flow rate q1 is set to 0.

一方、第1の残り時間推定部27は、瞬時流量取得部21からの瞬時流量qiと、この瞬時流量qiの取得時点の積算流量ΣQとから、瞬時流量qiの取得時点の積算流量ΣQが単位流量に達するまでの残り時間Tr、すなわち瞬時流量qiの取得時点の積算流量ΣQの単位流量の桁の値が繰り上げられるまでの残り時間Trを推定する。この残り時間Trの推定には前記の(1)式を用いる。そして、第1の残り時間推定部27は、その推定した残り時間Trを残り時間計時部291へ送る。 On the other hand, in the first remaining time estimation unit 27, the integrated flow rate ΣQ at the time of acquisition of the instantaneous flow rate qi is a unit from the instantaneous flow rate qi from the instantaneous flow rate acquisition unit 21 and the integrated flow rate ΣQ at the time of acquisition of the instantaneous flow rate qi. The remaining time Tr until the flow rate is reached, that is, the remaining time Tr until the value of the unit flow rate digit of the integrated flow rate ΣQ at the time of acquisition of the instantaneous flow rate qi is carried up is estimated. The above equation (1) is used to estimate the remaining time Tr. The first remaining time estimation unit 27 sends the remaining time Tr which is the estimated to the remaining time counting unit 29 1.

残り時間計時部291は、第1の残り時間推定部27から送られてくる残り時間Trの計時を開始し、経過時間計時部292での経過時間Tiの計時中に残り時間Trの計時を完了すると、残り時間Trの計時を完了した旨を表示値更新部30へ知らせる。表示値更新部30は、残り時間計時部291からの残り時間Trの計時が完了した旨の知らせを受けると、表示部3における積算流量の表示値の最小桁の値を繰り上げる。 Remaining time counting unit 29 1, the measurement of the remaining time Tr transmitted from the first remaining time estimating unit 27 starts timekeeping of rest during counting of the elapsed time Ti at elapsed time counting unit 29 2 time Tr When the above is completed, the display value update unit 30 is notified that the time counting of the remaining time Tr has been completed. Display value updating unit 30 receives the remaining time Tr inform the clocking that it has completed from the remaining time counting unit 29 1, moves up the least significant value of the display value of the integrated flow rate in the display unit 3.

また、残り時間計時部291からの残り時間Trの計時が完了した旨の知らせは、残り時間Trの計時値Ti’と合わせて、第2の通過流量算出部23へも送られる。第2の通過流量算出部23は、残り時間計時部291からの残り時間Trの計時を完了した旨の知らせを受けると、その知らせに含まれている残り時間Trの計時値Ti’と瞬時流量取得部21からの瞬時流量qiとから残り時間Trの計時完了までの区間の通過流量Qi’を算出し、第2の積算流量算出部26へ送る。 Also, news of that the counting of the remaining time Tr has been completed from the remaining time counting unit 29 1, together with the counting value Ti of the remaining time Tr ', is also fed to the second passage flow rate calculation unit 23. Second pass flow rate calculation unit 23 receives the news of that it has completed the counting of the remaining time Tr from the remaining time counting unit 29 1, a timer value Ti 'of the remaining time Tr, which is included in the news instantly The passing flow rate Qi'in the section from the instantaneous flow rate qi from the flow rate acquisition unit 21 to the completion of timing of the remaining time Tr is calculated and sent to the second integrated flow rate calculation unit 26.

第2の積算流量算出部26は、第2の通過流量算出部23からの残り時間Trの計時完了までの区間の通過流量Qi’を受けて、この通過流量Qi’を第1の積算流量算出部25からのその時の積算流量ΣQに加算して、残り時間Trの計時完了時点の積算流量とする。この第2の積算流量算出部26で算出された残り時間Trの計時完了時点の積算流量は第2の残り時間推定部28へ送られる。 The second integrated flow rate calculation unit 26 receives the passing flow rate Qi'in the section from the second passing flow rate calculation unit 23 to the completion of the time counting of the remaining time Tr, and calculates this passing flow rate Qi'as the first integrated flow rate. It is added to the integrated flow rate ΣQ at that time from the unit 25 to obtain the integrated flow rate at the time when the measurement of the remaining time Tr is completed. The integrated flow rate at the time of completion of the time measurement of the remaining time Tr calculated by the second integrated flow rate calculation unit 26 is sent to the second remaining time estimation unit 28.

第2の残り時間推定部28は、瞬時流量取得部21からの瞬時流量qiと第2の積算流量算出部26からの残り時間Trの計時完了時点の積算流量とから、残り時間Trの計時完了時点の積算流量が次の単位流量に達するまでの残り時間を推定する。この残り時間Trの推定には前記の(1)式を用いる。そして、第2の残り時間推定部28は、その推定した残り時間Trを残り時間計時部291へ送る。 The second remaining time estimation unit 28 completes the timing of the remaining time Tr from the instantaneous flow rate qi from the instantaneous flow rate acquisition unit 21 and the integrated flow rate at the time when the remaining time Tr from the second integrated flow rate calculation unit 26 is completed. Estimate the remaining time until the integrated flow rate at that time reaches the next unit flow rate. The above equation (1) is used to estimate the remaining time Tr. The second remaining time estimating unit 28 sends the remaining time Tr which is the estimated to the remaining time counting unit 29 1.

残り時間計時部291は、第2の残り時間推定部28から送られてくる残り時間Trの計時を開始し、残り時間Trの計時中に経過時間計時部292での経過時間Tiの計時が完了したことを確認すると、その旨を第3の通過流量算出部24へ知らせる。この知らせには、残り時間Trの計時値Ti’と、その時の計時を完了した経過時間Tiが含まれている。 Remaining time counting unit 29 1, the measurement of the remaining time Tr transmitted from the second remaining time estimating unit 28 starts, counting of the elapsed time Ti at time while counting the remaining time Tr timer unit 29 2 When it is confirmed that the above is completed, the third passing flow rate calculation unit 24 is notified to that effect. This notification includes the timed value Ti'of the remaining time Tr and the elapsed time Ti'that completed the timed time at that time.

第3の通過流量算出部24は、残り時間計時部291からの経過時間Tiの計時が完了した旨の知らせを受けると、その知らせに含まれている経過時間Tiから計時を完了している残り時間Trの計時値Ti’を差し引いて残りの区間の時間Ti”とし、この残りの区間の時間Ti”と瞬時流量取得部21からの瞬時流量qiとから、経過時間Ti内での残りの区間の通過流量Qi”を算出し、第1の積算流量算出部25へ送る。 Third pass flow rate calculation unit 24 has completed the time counting from when receiving a notice of that the counting of the elapsed time Ti from the remaining time counting unit 29 1 is completed, the elapsed time is included in the news Ti The time Ti'of the remaining time Tr is subtracted to obtain the time Ti "of the remaining section, and the remaining time Ti" within the elapsed time Ti is obtained from the time Ti "of the remaining section and the instantaneous flow rate qi from the instantaneous flow rate acquisition unit 21. The passing flow rate Qi "of the section is calculated and sent to the first integrated flow rate calculation unit 25.

第1の積算流量算出部25は、第3の通過流量算出部24からの経過時間Ti内の残りの区間の通過流量Qi”を受けると、その経過時間Tiを計時した区間の第1の通過流量算出部22からの通過流量Qiの積算は行わず、第2の積算流量算出部26における残り時間Trの計時完了時点の積算流量を取り込み、この取り込んだ残り時間Trの計時完了時点の積算流量に第3の通過流量算出部24からの経過時間Ti内での残りの区間の通過流量Qi”を加算し、その加算した値を経過時間Tiの計時完了時点の積算流量ΣQとする。 When the first integrated flow rate calculation unit 25 receives the passing flow rate Qi "of the remaining section in the elapsed time Ti from the third passing flow rate calculation unit 24, the first passing of the section in which the elapsed time Ti is measured is received. The passing flow rate Qi from the flow rate calculation unit 22 is not integrated, but the integrated flow rate at the time of completion of the time measurement of the remaining time Tr in the second integrated flow rate calculation unit 26 is taken in, and the integrated flow rate at the time of completion of the time measurement of the captured remaining time Tr. The passing flow rate Qi "of the remaining section in the elapsed time Ti from the third passing flow rate calculation unit 24 is added, and the added value is taken as the integrated flow rate ΣQ at the time of completion of the time measurement of the elapsed time Ti.

なお、上述した実施の形態では、処理部2において推定される残り時間Trの計時が完了した時点で積算流量の表示値の更新が行われるものとしたが、外部に信号を出力するようにしてもよい。前述したように、ガスメータには、検査専用モードでパルスの発信が必要な機種もあり、このような機種ではパルスの発信タイミングの遅れは10ms以内であることが要求される。本実施の形態では、残り時間Trの計時が完了した時点でパルスの発信を行うようにすることもでき、パルスの発信タイミングの遅れを10ms以内に抑えることが可能である。 In the above-described embodiment, the display value of the integrated flow rate is updated when the time measurement of the remaining time Tr estimated by the processing unit 2 is completed, but the signal is output to the outside. May be good. As described above, some gas meters need to transmit a pulse in the inspection-only mode, and such a model is required to delay the pulse transmission timing within 10 ms. In the present embodiment, the pulse can be transmitted when the time counting of the remaining time Tr is completed, and the delay in the pulse transmission timing can be suppressed within 10 ms.

また、上述した実施の形態では、処理部2において、瞬時流量が前回取得されてから今回取得されるまでの時間を経過時間Tiとして計時するようにしたが、流量計測部1からの瞬時流量にその瞬時流量を計測した時刻を含ませ、今回の瞬時流量の計測時刻と前回の瞬時流量の計測時刻との差を経過時間Tiとして得るようにしてもよい。また、処理部2から周期的に流量計測部1に対して瞬時流量の計測を要求する指令を送るようにしてもよく、流量計測部1における瞬時流量の計測周期を可変としてもよい。処理部2から流量計測部1に対して瞬時流量の計測を要求する指令を送る場合、前回瞬時流量の計測を要求してから今回瞬時流量の計測を要求するまでの時間を経過時間Tiとして用いるようにしてもよい。 Further, in the above-described embodiment, the processing unit 2 measures the time from the previous acquisition of the instantaneous flow rate to the current acquisition as the elapsed time Ti, but the instantaneous flow rate from the flow rate measuring unit 1 is used. The time when the instantaneous flow rate is measured may be included, and the difference between the measurement time of the current instantaneous flow rate and the measurement time of the previous instantaneous flow rate may be obtained as the elapsed time Ti. Further, the processing unit 2 may periodically send a command requesting the measurement of the instantaneous flow rate to the flow rate measuring unit 1, or the instantaneous flow rate measuring cycle in the flow rate measuring unit 1 may be variable. When the processing unit 2 sends a command to the flow rate measuring unit 1 to request the measurement of the instantaneous flow rate, the time from the previous request for the measurement of the instantaneous flow rate to the request for the measurement of the instantaneous flow rate this time is used as the elapsed time Ti. You may do so.

また、上述した実施の形態では、瞬時流量が正であるものとしたが、瞬時流量が負となる場合もある。この場合、瞬時流量が取得される毎に、直前の瞬時流量を取得してからの経過時間と直前に取得した瞬時流量との積から求めた通過流量を直前の瞬時流量の取得時点の積算流量から減算し、瞬時流量取得時点の積算流量とする。また、積算流量の単位流量の桁の値が繰り上がるまでの時間ではなく、積算流量の単位流量の桁の値が繰り下がるまでの時間を残り時間Trとして推定するようにする。但し、ガスメータの場合では、積算流量は繰り下がらないので、内部でしか使用しない。 Further, in the above-described embodiment, the instantaneous flow rate is assumed to be positive, but the instantaneous flow rate may be negative. In this case, each time the instantaneous flow rate is acquired, the passing flow rate obtained from the product of the elapsed time from the acquisition of the immediately preceding instantaneous flow rate and the instantaneous flow rate acquired immediately before is the integrated flow rate at the time of acquisition of the immediately preceding instantaneous flow rate. Subtract from to obtain the integrated flow rate at the time of instantaneous flow rate acquisition. Further, the time until the digit value of the unit flow rate of the integrated flow rate is carried down is estimated as the remaining time Tr, not the time until the digit value of the unit flow rate of the integrated flow rate is carried down. However, in the case of a gas meter, the integrated flow rate does not carry down, so it is used only internally.

また、上述した実施の形態では、計測対象を流量としたが、流量に限られるものではなく、他の物理量であっても構わない。また、上述した実施の形態では、積算流量の単位流量を1Lとしたが、1Lに限られるものではなく、0.1Lとしたり、0.5Lとしたりするなどしてもよい。 Further, in the above-described embodiment, the measurement target is the flow rate, but the measurement target is not limited to the flow rate, and other physical quantities may be used. Further, in the above-described embodiment, the unit flow rate of the integrated flow rate is set to 1 L, but the unit flow rate is not limited to 1 L, and may be 0.1 L, 0.5 L, or the like.

〔実施の形態の拡張〕
以上、実施の形態を参照して本発明を説明したが、本発明は上記の実施の形態に限定されるものではない。本発明の構成や詳細には、本発明の技術思想の範囲内で当業者が理解し得る様々な変更をすることができる。
[Extension of Embodiment]
Although the present invention has been described above with reference to the embodiments, the present invention is not limited to the above embodiments. Various changes that can be understood by those skilled in the art can be made to the structure and details of the present invention within the scope of the technical idea of the present invention.

1…流量計測部、2…処理部、3…表示部、21…瞬時流量取得部、22…第1の通過流量算出部、23…第2の通過流量算出部、24…第3の通過流量算出部、25…第1の積算流量算出部、26…第2の積算流量算出部、27…第1の残り時間推定部、28…第2の残り時間推定部、29…時間管理部、291…残り時間計時部、292…経過時間計時部、30…表示値更新部、31…第1の流量積算部、32…第2の流量積算部、100…流量積算システム。 1 ... Flow rate measuring unit, 2 ... Processing unit, 3 ... Display unit, 21 ... Instantaneous flow rate acquisition unit, 22 ... First passing flow rate calculation unit, 23 ... Second passing flow rate calculation unit, 24 ... Third passing flow rate Calculation unit, 25 ... 1st integrated flow rate calculation unit, 26 ... 2nd integrated flow rate calculation unit, 27 ... 1st remaining time estimation unit, 28 ... 2nd remaining time estimation unit, 29 ... time management unit, 29 1 ... Remaining time metering unit, 29 2 ... Elapsed time measuring unit, 30 ... Display value update unit, 31 ... First flow rate integrating unit, 32 ... Second flow rate integrating unit, 100 ... Flow rate integrating system.

Claims (12)

計測値を取得するように構成された計測値取得部と、
前記計測値が取得された時点の計測開始からの前記計測値の積算値を前記計測値を取得した時点の計測値の積算値として求めるように構成された第1の積算部と、
前記計測値取得部で取得された計測値と前記第1の積算部で求められた前記計測値を取得した時点の計測値の積算値とに基づいて、前記計測値を取得した時点の計測値の積算値の所定の桁の値が変化するまでの残り時間を推定するように構成された残り時間推定部と
を備える計測値積算装置。
A measurement value acquisition unit configured to acquire measurement values,
A first integrating unit configured to obtain the integrated value of the measured value from the start of measurement at the time when the measured value is acquired as the integrated value of the measured value at the time when the measured value is acquired, and
Based on the measured value acquired by the measured value acquisition unit and the integrated value of the measured value at the time of acquiring the measured value obtained by the first integrating unit, the measured value at the time of acquiring the measured value. A measured value integrating device including a remaining time estimation unit configured to estimate the remaining time until a predetermined digit value of the integrated value changes.
請求項1に記載された計測値積算装置において、
前記残り時間推定部は、
前記計測値を取得した時点の計測値の積算値の所定の桁の値が変化するまでの不足分と前記取得された計測値とから前記残り時間を推定するように構成されている
ことを特徴とする計測値積算装置。
In the measured value integrating device according to claim 1,
The remaining time estimation unit
It is characterized in that the remaining time is estimated from the shortage until the value of a predetermined digit of the integrated value of the measured value at the time of acquiring the measured value changes and the acquired measured value. Measured value integrating device.
請求項1または2に記載された計測値積算装置において、
前記残り時間推定部で推定された残り時間が経過した時点の前記計測開始からの計測値の積算値を前記残り時間が経過した時点の計測値の積算値として取得するように構成された第2の積算部
をさらに備えることを特徴とする計測値積算装置。
In the measured value integrating device according to claim 1 or 2.
A second configuration configured to acquire the integrated value of the measured values from the start of the measurement at the time when the remaining time estimated by the remaining time estimation unit has elapsed as the integrated value of the measured values at the time when the remaining time has elapsed. A measured value integrating device characterized by further including an integrating unit.
請求項3に記載された計測値積算装置において、
前記第2の積算部は、
前記計測値が取得された時点から前記残り時間が経過した時点までの区間の前記計測値の積算値を求めるように構成された第2の区間積算値算出部と、
前記第2の区間積算値算出部で求められた前記計測値の積算値を前記計測値を取得した時点の計測値の積算値に加算することによって、前記残り時間が経過した時点の計測値の積算値を求めるように構成された第2の積算値算出部と
を備えることを特徴とする計測値積算装置。
In the measured value integrating device according to claim 3,
The second integrating unit is
A second section integrated value calculation unit configured to obtain an integrated value of the measured values in the section from the time when the measured value is acquired to the time when the remaining time elapses.
By adding the integrated value of the measured value obtained by the second section integrated value calculation unit to the integrated value of the measured value at the time when the measured value is acquired, the measured value at the time when the remaining time elapses. A measured value integrating device including a second integrated value calculating unit configured to obtain an integrated value.
請求項1から4のいずれか1項に記載された計測値積算装置において、
前記第1の積算部は、
前記計測値が取得される毎に、その計測値が取得された時点の前記計測開始からの計測値の積算値を前記計測値を取得した時点の計測値の積算値として求めるように構成されている
ことを特徴とする計測値積算装置。
In the measured value integrating device according to any one of claims 1 to 4.
The first integrating unit is
Each time the measured value is acquired, the integrated value of the measured values from the start of the measurement at the time when the measured value is acquired is calculated as the integrated value of the measured values at the time when the measured value is acquired. A measured value integrating device characterized by being present.
請求項5に記載された計測値積算装置において、
前記第1の積算部は、
前記計測値が前回取得されてから今回取得されるまでの経過時間と前回取得された計測値とから前記計測値が前回取得されてから今回取得されるまでの区間の前記計測値の積算値を求めるように構成された第1の区間積算値算出部と、
前記第1の区間積算値算出部で求められた前記計測値の積算値を前記計測値が前回取得された時点の前記計測開始からの計測値の積算値に加算して、前記計測値が今回取得された時点の前記計測開始からの計測値の積算値とするように構成された第1の積算値算出部と
を備えることを特徴とする計測値積算装置。
In the measured value integrating device according to claim 5.
The first integrating unit is
From the elapsed time from the previous acquisition of the measured value to the current acquisition and the previously acquired measured value, the integrated value of the measured value in the section from the previous acquisition of the measured value to the current acquisition is calculated. The first section integrated value calculation unit configured to be obtained, and
The integrated value of the measured value obtained by the first section integrated value calculation unit is added to the integrated value of the measured value from the start of the measurement at the time when the measured value was previously acquired, and the measured value is obtained this time. A measured value integrating device including a first integrated value calculating unit configured to be an integrated value of the measured values from the start of the measurement at the time of acquisition.
請求項5に記載された計測値積算装置において、
前記第1の積算部は、
前記計測値が前回取得されてから今回取得されるまでの時間を一定とみなし、この一定の時間と前回取得された計測値とから前記計測値が前回取得されてから今回取得されるまでの区間の前記計測値の積算値を求めるように構成された第1の区間積算値算出部と、
前記第1の区間積算値算出部で求められた前記計測値の積算値を前記計測値が前回取得された時点の前記計測開始からの計測値の積算値に加算して、前記計測値が今回取得された時点の前記計測開始からの計測値の積算値とするように構成された第1の積算値算出部と
を備えることを特徴とする計測値積算装置。
In the measured value integrating device according to claim 5.
The first integrating unit is
The time from the previous acquisition of the measured value to the current acquisition is regarded as constant, and the interval from the last acquired to the current acquisition of the measured value from this constant time and the previously acquired measured value is considered to be constant. A first section integrated value calculation unit configured to obtain an integrated value of the measured values of
The integrated value of the measured value obtained by the first section integrated value calculation unit is added to the integrated value of the measured value from the start of the measurement at the time when the measured value was previously acquired, and the measured value is obtained this time. A measured value integrating device including a first integrated value calculating unit configured to be an integrated value of the measured values from the start of the measurement at the time of acquisition.
請求項5から7のいずれか1項に記載された計測値積算装置において、
前記残り時間推定部は、
前記計測値が取得された場合、前記計測値を取得した時点の計測値の積算値の前記所定の桁の値が次の計測値が取得されるまでの間に変化するか否かを判断し、変化しないと判断された場合には前記残り時間の推定を行わないように構成されている
ことを特徴とする計測値積算装置。
In the measured value integrating device according to any one of claims 5 to 7.
The remaining time estimation unit
When the measured value is acquired, it is determined whether or not the value of the predetermined digit of the integrated value of the measured value at the time of acquiring the measured value changes until the next measured value is acquired. , A measured value integrating device characterized in that the remaining time is not estimated when it is determined that the value does not change.
請求項1から8のいずれか1項に記載された計測値積算装置において、
前記推定された残り時間が経過した時点で前記計測開始からの計測値の積算値の前記所定の桁の値が変化することを通知するように構成された積算値変化通知部
をさらに備えることを特徴とする計測値積算装置。
In the measured value integrating device according to any one of claims 1 to 8.
It is further provided with an integrated value change notification unit configured to notify that the value of the predetermined digit of the integrated value of the measured value from the start of the measurement changes when the estimated remaining time elapses. A featured measurement value integrating device.
請求項1から8のいずれか1項に記載された計測値積算装置において、
前記推定された残り時間が経過した時点で前記計測開始からの計測値の積算値の表示値の最小桁の値を変化させるように構成された表示値更新部
をさらに備えることを特徴とする計測値積算装置。
In the measured value integrating device according to any one of claims 1 to 8.
The measurement is further provided with a display value update unit configured to change the value of the minimum digit of the display value of the integrated value of the measured values from the start of the measurement when the estimated remaining time elapses. Value accumulator.
計測値を取得する計測値取得ステップと、
前記計測値が取得された時点の計測開始からの前記計測値の積算値を前記計測値を取得した時点の計測値の積算値として求める第1の積算ステップと、
前記計測値取得ステップで取得された計測値と前記第1の積算ステップで求められた前記計測値を取得した時点の計測値の積算値とに基づいて、前記計測値を取得した時点の計測値の積算値の所定の桁の値が変化するまでの残り時間を推定する残り時間推定ステップと
を備える計測値積算方法。
The measurement value acquisition step to acquire the measurement value and
The first integration step of obtaining the integrated value of the measured value from the start of measurement at the time when the measured value is acquired as the integrated value of the measured value at the time when the measured value is acquired, and
Based on the measured value acquired in the measured value acquisition step and the integrated value of the measured value at the time of acquiring the measured value obtained in the first integration step, the measured value at the time of acquiring the measured value. A measurement value integration method comprising a remaining time estimation step for estimating the remaining time until a predetermined digit value of the integrated value changes.
計測値積算装置と、
前記計測値積算装置への計測値として所定の物理量を計測するように構成された計測部と、
前記計測値積算装置で求められる計測開始からの前記計測値の積算値を表示するように構成された表示部とを備え、
前記計測積算装置は、
請求項10に記載された計測値積算装置である
ことを特徴とする計測値積算システム。
Measured value integrating device and
A measuring unit configured to measure a predetermined physical quantity as a measured value to the measured value integrating device, and a measuring unit.
It is provided with a display unit configured to display the integrated value of the measured value from the start of measurement obtained by the measured value integrating device.
The measurement integration device
A measured value integrating system according to claim 10, wherein the measured value integrating device is used.
JP2019030263A 2019-02-22 2019-02-22 Measurement value integration device and method, and measurement value integration system Active JP7260326B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019030263A JP7260326B2 (en) 2019-02-22 2019-02-22 Measurement value integration device and method, and measurement value integration system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019030263A JP7260326B2 (en) 2019-02-22 2019-02-22 Measurement value integration device and method, and measurement value integration system

Publications (2)

Publication Number Publication Date
JP2020134385A true JP2020134385A (en) 2020-08-31
JP7260326B2 JP7260326B2 (en) 2023-04-18

Family

ID=72278398

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019030263A Active JP7260326B2 (en) 2019-02-22 2019-02-22 Measurement value integration device and method, and measurement value integration system

Country Status (1)

Country Link
JP (1) JP7260326B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113984135A (en) * 2021-10-11 2022-01-28 青岛海尔空调电子有限公司 Flow statistical method, device, computer readable storage medium and system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006258513A (en) * 2005-03-16 2006-09-28 Aichi Tokei Denki Co Ltd Flowmeter

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006258513A (en) * 2005-03-16 2006-09-28 Aichi Tokei Denki Co Ltd Flowmeter

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113984135A (en) * 2021-10-11 2022-01-28 青岛海尔空调电子有限公司 Flow statistical method, device, computer readable storage medium and system

Also Published As

Publication number Publication date
JP7260326B2 (en) 2023-04-18

Similar Documents

Publication Publication Date Title
US20060149984A1 (en) Positioning signal receiving apparatus
CN109067394B (en) On-chip clock calibration device and calibration method
JP5753970B2 (en) Flow measuring device
US20070025484A1 (en) Apparatus and method for compensating the drift of a local clock used as sampling frequency
CN202256438U (en) Hardware real time clock (RTC) error compensation system of intelligent electric energy meter
JP6612678B2 (en) Correction method between measuring meters for power consumption
CN103017736A (en) Method for determining exposure moment of star sensor data of satellite
JP2020134385A (en) Device, method, and system for integrating measured value
WO2013111527A1 (en) Flow measurement device
WO2015032132A1 (en) Quartz electronic watch high-precision timekeeping method
JP4851106B2 (en) Flowmeter
US6442704B1 (en) Ring oscillator clock frequency measuring method, ring oscillator clock frequency measuring circuit, and microcomputer
JP2009216643A (en) Ultrasonic flowmeter
JP4973035B2 (en) Ultrasonic flow meter
JP2002261591A (en) Accurate time delay system and method using innacurate oscillator
CN103901271A (en) Frequency test method and frequency test system
US6618456B1 (en) Asynchronous timing oscillator re-synchronizer and method
CN108873669B (en) UTC time calculation method of computer synchronous clock
US10211973B2 (en) Method and device for transmitting data on asynchronous paths between domains with different clock frequencies
JP4952406B2 (en) Time correction method, microcomputer internal clock, electronic control unit
TWI772810B (en) Time measurement apparatus and method
JP5308495B2 (en) Flowmeter
JP4296824B2 (en) Fluid flow measuring device and fluid flow measuring method
JP3601523B2 (en) Flow measurement device
RU2542666C1 (en) Device for determination of optimal period for control of product technical condition

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20211223

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220831

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220927

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221116

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20230314

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230406

R150 Certificate of patent or registration of utility model

Ref document number: 7260326

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150