JP2542360B2 - Liquid flow rate detector - Google Patents

Liquid flow rate detector

Info

Publication number
JP2542360B2
JP2542360B2 JP60160769A JP16076985A JP2542360B2 JP 2542360 B2 JP2542360 B2 JP 2542360B2 JP 60160769 A JP60160769 A JP 60160769A JP 16076985 A JP16076985 A JP 16076985A JP 2542360 B2 JP2542360 B2 JP 2542360B2
Authority
JP
Japan
Prior art keywords
flow rate
value
overflow
pulse
running counter
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.)
Expired - Lifetime
Application number
JP60160769A
Other languages
Japanese (ja)
Other versions
JPS6221017A (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.)
Toto Ltd
Original Assignee
Toto 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 Toto Ltd filed Critical Toto Ltd
Priority to JP60160769A priority Critical patent/JP2542360B2/en
Publication of JPS6221017A publication Critical patent/JPS6221017A/en
Application granted granted Critical
Publication of JP2542360B2 publication Critical patent/JP2542360B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、ガス瞬間式給湯機等において液体流量をマ
イコンを用いて検出する装置に関する。
Description: TECHNICAL FIELD The present invention relates to a device for detecting a liquid flow rate in a gas instantaneous water heater or the like using a microcomputer.

(従来の技術) 従来、流路を流動する液体の流量、即ち流体機器への
流体の供給量の検出装置としては、第9図に検出原理を
示すように、流路途中に設けた流量センサーからの検出
パルスを電圧に変換し、該電圧を流量データとして取り
込んで流量を算出することが知られている。
(Prior Art) Conventionally, as a device for detecting a flow rate of a liquid flowing in a flow channel, that is, a supply amount of a fluid to a fluid device, a flow rate sensor provided in the middle of the flow channel as shown in the detection principle in FIG. It is known to convert the detection pulse from the above into a voltage and take in the voltage as flow rate data to calculate the flow rate.

しかし乍ら、上記の装置は、電源電圧の変動及び回路
部品のバラツキにより水量データの精度に問題があり、
また部品点数も多く故障率も高い上に、電圧が安定する
まではサンプリングタイムを長くする必要があるといっ
た欠点を有している。
However, the above-mentioned device has a problem in accuracy of water amount data due to fluctuations in power supply voltage and variations in circuit components,
In addition, it has a large number of parts and a high failure rate, and also has a drawback that it is necessary to lengthen the sampling time until the voltage becomes stable.

そこで、このような欠点をなくすため、流量センサー
からの検出パルスの周期を所定の基準パルスをカウント
することによって検出し、そのカウント値をマイコンを
用いて処理することにより、電源電圧の変動等の影響を
受けることなく流量を算出し得るようにすることが考え
られる。
Therefore, in order to eliminate such a defect, the period of the detection pulse from the flow rate sensor is detected by counting a predetermined reference pulse, and the count value is processed by a microcomputer to prevent the fluctuation of the power supply voltage. It may be possible to calculate the flow rate without being affected.

(発明が解決しようとする問題点) この基準パルスの巾は、流量データの分解能を上げる
ために小さい方が良い。
(Problems to be Solved by the Invention) The width of this reference pulse is preferably small in order to improve the resolution of the flow rate data.

ところが、例えば8ビットのマイコンを用いて、ある
検出パルスの周期における基準パルスの発生数が411で
あった場合、8ビットのマイコンの1バイトに収まるカ
ウント値の上限値は256であることから256を越える値を
取り扱うことができず、マイコンの記憶容量を越えてオ
ーバーフローを起こし、基準パルスの実際の発生数411
と上限値256との差である155がカウント値となって演算
データとして取り込まれてしまい、流量演算部ではその
演算データ155と基準パルス周期とを乗算し、この乗算
結果により実際の流量とは異なる流量を算出してしまう
といった問題点が提起される。
However, if, for example, an 8-bit microcomputer is used and the number of reference pulses generated in a certain detection pulse cycle is 411, the upper limit of the count value that can be accommodated in one byte of the 8-bit microcomputer is 256. It is not possible to handle values that exceed the limit, and the overflow exceeds the memory capacity of the microcomputer, and the actual number of reference pulses generated is 411.
155, which is the difference between the upper limit value 256 and the upper limit value 256, becomes a count value and is taken in as calculation data. The flow rate calculation unit multiplies the calculation data 155 by the reference pulse period, and the multiplication result gives the actual flow rate. The problem is that different flow rates are calculated.

本発明はこのような問題点に鑑みなされたもので、流
量をマイコンを用いて検出するに際し、カウント値が予
め定められた上限値を越えてオーバーフローを起こして
も常に正確な流量を算出し得るようにすることを目的と
する。
The present invention has been made in view of such problems, and when detecting a flow rate using a microcomputer, an accurate flow rate can always be calculated even if the count value exceeds a predetermined upper limit value and overflows. The purpose is to do so.

(問題点を解決するための手段) 上記問題点を解決するために本発明が講じた手段は、
流量に応じた検出パルスを発生する流量検出部と、この
検出パルスを入力してから次の検出パルスを入力するま
での期間における流量データに基づき流量を算出する流
量演算部とからなり、該流量演算部は、前記期間を所定
周期の基準パルスを用いてカウントするフリーランニン
グカウンターと、そのカウント値を記憶する記憶手段
と、前記フリーランニングカウンターが発生するオーバ
ーフロー信号に基づいてオーバーフローしたか否かを判
定すると共にそのオーバーフロー発生回数を検出する判
定手段と、オーバーフロー有りと判定された場合には、
前記記憶したカウント値を所定値N(Nはオーバーフロ
ー発生回数を越える自然数)で除算した値と、前記フリ
ーランニングカウンターの上限値にオーバーフロー回数
を掛けた値を同所定値Nで除算した値と、を足し合わせ
て前記上限値の範囲内となるようにした値を演算データ
として取り込み、この演算データと前記基準パルスの周
期と前記所定値Nとに基づいて流量を算出する演算手段
とを設けたことである。
(Means for Solving Problems) Means taken by the present invention for solving the above problems are
It consists of a flow rate detector that generates a detection pulse according to the flow rate, and a flow rate calculator that calculates the flow rate based on the flow rate data in the period from the input of this detection pulse to the input of the next detection pulse. The calculation unit, a free-running counter that counts the period using a reference pulse of a predetermined cycle, a storage unit that stores the count value, and whether the overflow has occurred based on an overflow signal generated by the free-running counter. Judgment means for making judgment and detecting the number of overflow occurrences, and when it is judged that there is overflow,
A value obtained by dividing the stored count value by a predetermined value N (N is a natural number exceeding the number of overflow occurrences), and a value obtained by dividing a value obtained by multiplying the upper limit value of the free running counter by the number of overflows by the predetermined value N; And a calculation means for calculating a flow rate based on the calculation data, the period of the reference pulse, and the predetermined value N. That is.

(作用) 上記技術的手段により、流量に応じて発生する検出パ
ルスを入力してから次の検出パルスを入力するまでの期
間、所定周期の基準パルスをフリーランニングカウンタ
ーによってカウントすることによりそのカウント値のデ
ータを用いて流量を演算するが、基準パルスの発生数が
マイコンの記憶容量の上限値を越えた結果、判定手段に
よりオーバーフロー有りと判定されると、フリーランニ
ングカウンターによるカウント値(記憶値)を所定値N
(Nはオーバーフロー回数を越える自然数)で除算した
値と、前記上限値にオーバーフロー回数を掛けた値を同
所定値Nで除算した値と、を足し合わせて前記上限値の
範囲内となるようにした値を演算データとして取り込
み、オーバーフローした結果のカウント値を演算データ
として取り込むことはない。そして、演算手段では、こ
の演算データと前記基準パルスの周期の他に前記所定値
Nにも基づいて流量を算出する。
(Operation) By the above technical means, the reference value of a predetermined cycle is counted by the free running counter during the period from the input of the detection pulse generated according to the flow rate until the input of the next detection pulse Although the flow rate is calculated using the data of, the count value (stored value) by the free running counter when the determination means determines that there is an overflow as a result of the number of generated reference pulses exceeding the upper limit of the memory capacity of the microcomputer. Is a predetermined value N
(N is a natural number exceeding the number of overflows) and a value obtained by dividing the value obtained by multiplying the upper limit value by the number of overflows by the same predetermined value N are added so as to be within the range of the upper limit value. The calculated value is not taken in as the operation data, and the count value resulting from the overflow is not taken in as the operation data. Then, the calculating means calculates the flow rate based on the predetermined value N in addition to the calculated data and the cycle of the reference pulse.

(効果) 本発明は以上の構成であるから、以下の利点を有す
る。
(Effect) Since the present invention has the above configuration, it has the following advantages.

8ビットのマイコンのように限られた記憶容量のもの
を用いて流量を算出するに際し、流量に応じて発生する
検出パルスを入力してから次の検出パルスを入力するま
での期間中の基準パルスの発生数が、予め定められた記
憶容量の上限値を越えてフリーランニングカウンターが
オーバーフローを起こしてしまう値になった場合でも、
誤った演算データを取り込んでしまうことなく常に正確
な流量を算出することができる。
When calculating the flow rate using an 8-bit microcomputer with a limited storage capacity, a reference pulse during the period from the input of the detection pulse generated according to the flow rate to the input of the next detection pulse. Even if the number of occurrences of exceeds the predetermined upper limit of storage capacity and the free running counter overflows,
It is possible to always calculate an accurate flow rate without taking in incorrect calculation data.

(実施例) 以下、本発明の詳細を、ガス瞬間式給湯機における水
量検出に本発明方法が使用される場合に基づいて説明す
る。
(Example) Hereinafter, the details of the present invention will be described based on the case where the method of the present invention is used to detect the amount of water in a gas instantaneous hot water supply device.

流量検出部は流量センサー(1)により構成され、該
流量センサー(1)は第5図に示すように水が通過する
通路(2)を有する本体(3)と、上記通路(2)中に
設けられ通路(2)を流動通過する水により回転駆動さ
れる羽根車(4)と、該羽根車(4)の回転軸(5)の
先端に設けられる磁性ローター(6)と、磁性ローター
(6)の範囲に生ずる磁場によって通路(2)内を通る
流れに比例した周期で検出パルスを発生するホール素子
(7)とを備え、第6図に示す如く給湯機本体(8)の
給水管路(9)途中に設けられ、給湯機本体(8)内に
配設された制御部(10)に連絡する。
The flow rate detecting unit is composed of a flow rate sensor (1), and the flow rate sensor (1) has a main body (3) having a passage (2) through which water passes as shown in FIG. An impeller (4) provided and rotationally driven by water flowing and passing through the passage (2), a magnetic rotor (6) provided at the tip of a rotating shaft (5) of the impeller (4), and a magnetic rotor ( The water supply pipe of the water heater body (8) as shown in FIG. 6, comprising a Hall element (7) for generating a detection pulse at a cycle proportional to the flow passing through the passage (2) by the magnetic field generated in the range of 6). The controller (10) provided in the middle of the road (9) and arranged in the water heater body (8) is contacted.

制御部(10)は8ビットのマイクロコンピューターか
らなり、流量演算部(11)により上記流量センサー
(1)が発生する検出パルスに基づいて実流量を演算す
る。
The control unit (10) is composed of an 8-bit microcomputer, and the flow rate calculation unit (11) calculates the actual flow rate based on the detection pulse generated by the flow rate sensor (1).

上記流量演算部(11)による流量演算の手順を第1図
に示すフローチャートに基づいて以下に説明する。
The procedure of the flow rate calculation by the flow rate calculation unit (11) will be described below based on the flowchart shown in FIG.

流量演算部(11)は水量センサー(1)からの検出パ
ルスを割込み検出部(12)で受け入れ、パルスの周期の
長さを第2図に示すようにフリーランニングカウンター
(13)により所定基準パルスを用いてカウントする。こ
の基準パルスは1msに設定し、水量センサー(1)から
の検出パルスを入力してから次の検出パルスを入力する
までの期間、フリーランニングカウンター(13)により
この基準パルスをカウントする。
The flow rate calculation unit (11) receives the detection pulse from the water amount sensor (1) at the interrupt detection unit (12), and determines the length of the pulse cycle by a free running counter (13) as a predetermined reference pulse. To count. This reference pulse is set to 1 ms, and this reference pulse is counted by the free running counter (13) during the period from the input of the detection pulse from the water amount sensor (1) to the input of the next detection pulse.

この際、割込み検出部(12)に新たな検出パルスが受
け入れられるとフリーランニングカウンター(13)の現
在のカウント値は記憶されると共に、このカウント値は
リセットされて再スタートする。
At this time, when a new detection pulse is accepted by the interrupt detection unit (12), the current count value of the free running counter (13) is stored and the count value is reset and restarted.

そして、割込み検出部(12)に新たな検出パルスが受
け入れられるまでの期間にカウントした基準パルスの上
記カウント値(記憶値)のデータに基づいて演算手段
(14)により実流量を算出するようにするものである
が、これに先立ち、上記期間中に実際に発生した基準パ
ルス数が、予め定められている1バイトに収まるカウン
ト値(マイコンの記憶容量の上限値)である256を越え
たかどうかの判別、即ち、フリーランニングカウンター
(13)にオーバーフローが有ったかどうかの判別を行な
う。
Then, the actual flow rate is calculated by the calculating means (14) based on the data of the count value (stored value) of the reference pulse counted in the period until a new detection pulse is accepted by the interrupt detection section (12). However, prior to this, whether the number of reference pulses actually generated during the above period exceeds 256, which is the count value (upper limit of the memory capacity of the microcomputer) that can be stored in a predetermined 1 byte. , That is, whether or not the free running counter (13) has overflowed.

尚、このオーバーフローの発生の有無はマイコンに通
常内蔵されているオーバーフロー発生フラグにより検出
され、その検出結果により判別が行なわれる。
Whether or not this overflow has occurred is detected by an overflow occurrence flag that is usually built in the microcomputer, and a determination is made based on the detection result.

そこで、オーバーフロー無しと判定された場合には、
フリーランニングカウンター(13)のカウント値(記憶
値)をそのままデータとして用いて1msの基準パルス数
による流量データとして演算手段(14)に取り込まれる
ようにし、一方、オーバーフロー有りと判定された場合
には、フリーランニングカウンター(13)のカウント値
(記憶値)をオーバーフロー発生回数に応じた間隔(m
s)の基準パルスをカウントしたものとして扱い、流量
データとして演算手段(14)に取り込まれるようにす
る。
Therefore, if it is determined that there is no overflow,
The count value (memorized value) of the free-running counter (13) is used as it is as data, so that it is taken into the calculation means (14) as flow rate data with the reference pulse number of 1 ms. On the other hand, when it is judged that there is an overflow, , The count value (memorized value) of the free running counter (13) at the interval (m
The reference pulse of (s) is treated as a counted pulse, and is taken into the calculating means (14) as flow rate data.

即ち、例えば第3図に示すように流量が10/分の場
合、水量センサー(1)からの検出パルスを入力してか
ら次の検出パルスを入力するまでの期間中に発生した基
準パルス数は41であり、このパルス数をカウントしたフ
リーランニングカウンター(13)のカウント値も41とな
る。従って、この場合は1バイトに収まるカウント値25
6内の値であるためオーバーフローの発生は検出され
ず、オーバーフロー無しと判定され、このフリーランニ
ングカウンター(13)のカウント値(記憶値)41がその
まま1msの基準パルスをカウントしたデータとして演算
手段(14)に取り込まれる。
That is, for example, when the flow rate is 10 / min as shown in FIG. 3, the number of reference pulses generated during the period from the input of the detection pulse from the water amount sensor (1) to the input of the next detection pulse is It is 41, and the count value of the free running counter (13) that counts this pulse number is also 41. Therefore, in this case, the count value that fits in one byte is 25.
Since the occurrence of overflow is not detected because it is a value within 6, it is determined that there is no overflow, and the count value (memorized value) 41 of this free running counter (13) is as it is as the data obtained by counting the reference pulse of 1 ms. 14).

しかし、第4図に示すように流量が1/分の場合、
水量センサー(1)からの検出パルスを入力してから次
の検出パルスを入力するまでの期間中に実際に発生した
基準パルス数は411であるにもかかわらず、1バイトに
収まるカウント値256を越えるためフリーランニングカ
ウンター(13)のカウント値は一度オーバーフローして
155となる。この時オーバーフローの発生が1回検出さ
れてオーバーフロー有りと判定されるため、フリーラン
ニングカウンター(13)のカウント値(記憶値)155を
オーバーフロー回数より大きい自然数、例えば2で除算
する、即ち、1/2倍すると共に、オーバーフローに対応
する値256を同じく1/2倍した値である128と足し合わせ
てその値が1バイトに収まるカウント値256の範囲内と
なるようにし(155/2+128=205)、2msの基準パルスを
カウントしたものとして扱ってそのデータを演算手段
(14)に取り込まれるようにする。
However, as shown in FIG. 4, when the flow rate is 1 / min,
Although the reference pulse number actually generated during the period from the input of the detection pulse from the water amount sensor (1) to the input of the next detection pulse is 411, the count value 256 that fits in one byte is 256. In order to exceed, the count value of the free running counter (13) overflows once
It becomes 155. At this time, since the occurrence of overflow is detected once and it is determined that there is overflow, the count value (stored value) 155 of the free running counter (13) is divided by a natural number larger than the number of overflows, for example, 2, that is, 1 / Double the value, and add the value 256 corresponding to overflow to 1/2, which is also the value 1/2, so that the value falls within the range of the count value 256 that fits in 1 byte (155/2 + 128 = 205). , The reference pulse of 2 ms is treated as counted, and the data is taken in by the calculating means (14).

このようにフリーランニングカウンター(13)による
基準パルスのカウント値が1バイトの上限値256に収ま
らずに一度オーバーフローしてしまったときは、オーバ
ーフロー回数1より大きい自然数である例えば2で除算
する、即ち1/2倍することにより2msの基準パルスでカウ
ントしたものとして扱うことによって、1msの基準パル
スでは1バイトに収まりきれないデータでも1バイトの
範囲内に収めることができ、1バイトを有効に利用する
ことができる。
In this way, when the count value of the reference pulse by the free running counter (13) overflows once without exceeding the upper limit value 256 of 1 byte, it is divided by a natural number larger than the overflow count 1, for example, 2, By multiplying by 1/2 and treating it as counted by the reference pulse of 2ms, the data that cannot be stored in 1 byte with the reference pulse of 1ms can be stored in the range of 1 byte and 1 byte can be used effectively. can do.

尚、以上の実施例ではフリーランニングカウンター
(13)による基準パルスのカウント中にオーバーフロー
が1回発生した場合を説明したが、オーバーフローが数
回発生した場合には、フリーランニングカウンター(1
3)のカウント値を1バイトに収まる範囲内となるよう
にNms(Nはオーバーフロー回数を越える自然数)の基
準パルスをカウントしたものとして扱うことにより、上
記と同様の効果が得られる。即ち、この場合、フリーラ
ンニングカウンター(13)によるカウント値(記憶値)
を1/N倍した値と、1バイトに収まる上限値256のオーバ
ーフロー回数倍したものを同じく1/N倍した値と、を足
し合わせて、実際に発生した1msの基準パルス数の値が
上限値256の範囲内となるようにNmsのパルスでカウント
したものとして扱った値を演算データとして取り込み、
この演算データと前記基準パルスの周期と前記所定値N
とに基づいて流量を算出するようにする。
In the above embodiment, the case where the overflow occurred once while the reference pulse was counted by the free running counter (13) was explained. However, when the overflow occurred several times, the free running counter (1
By treating the count value of 3) as a reference pulse of Nms (N is a natural number exceeding the number of overflows) so that it falls within the range of 1 byte, the same effect as above can be obtained. That is, in this case, the count value (memorized value) by the free running counter (13)
Is multiplied by 1 / N and the value obtained by multiplying the number of overflows by 256, which is the upper limit value that fits in 1 byte, is also multiplied by 1 / N, and the value of the actually generated reference pulse number of 1 ms is the upper limit. The value treated as counted by Nms pulse so that it falls within the range of value 256 is taken in as calculation data,
The calculated data, the cycle of the reference pulse, and the predetermined value N
The flow rate is calculated based on and.

この時のフリーランニングカウンター(13)による基
準パルスのカウント中におけるオーバーフローの発生回
数は、オーバーフロー発生フラグによるオーバーフロー
発生の検出回数をカウントすることにより検出すること
ができる。
The number of overflow occurrences during counting of the reference pulse by the free running counter (13) at this time can be detected by counting the number of overflow occurrence detections by the overflow occurrence flag.

而して、流量演算部(11)は上記データに基づいて演
算手段(14)により実流量を算出する。
Thus, the flow rate calculation section (11) calculates the actual flow rate by the calculation means (14) based on the above data.

上記実流量の算出は次の演算式による。 The actual flow rate is calculated by the following arithmetic expression.

オーバーフローが無い場合 オーバーフローが有った場合 斯くして、本発明流量検出装置は実施され、ガス瞬間
式給湯機の場合、検出した流量は熱交換器(15)に供給
される水量のデータとして制御部(10)の必要熱負荷演
算部(16)に取り込まれる。
If there is no overflow If there is an overflow Thus, the flow rate detecting device of the present invention is implemented, and in the case of the gas instantaneous hot water supply device, the detected flow rate is used as the data of the amount of water supplied to the heat exchanger (15), and the necessary heat load calculating section of the control section (10). Incorporated in (16).

一方、給湯機本体(8)は熱交換器(15)入口に連絡
する給水管路(9)に上記流量センサー(1)と共に入
水温センサー(17)を備え、熱交換器(15)出口に連絡
する給湯管路(16)に出湯温センサー(18)を備えると
共にバーナー(19)にガスを供給するガス配管(20)に
は電磁弁(21)、ガバナー(22)、比例弁(23)を備え
ている。
On the other hand, the water heater main body (8) is provided with the water temperature sensor (17) together with the flow sensor (1) in the water supply conduit (9) communicating with the inlet of the heat exchanger (15), and at the outlet of the heat exchanger (15). The hot water supply temperature sensor (18) is provided in the hot water supply pipe (16) to be connected, and the gas pipe (20) for supplying gas to the burner (19) has a solenoid valve (21), a governor (22), and a proportional valve (23). Is equipped with.

また給湯機本体(8)内には燃焼に必要な空気を供給
するファン(24)が装備されている。
In addition, a fan (24) for supplying air required for combustion is installed in the water heater body (8).

更に、給湯機本体(8)とは別体にコントローラー
(25)が設けられ、該コントローラー(25)には電源ス
イッチ(26)と温度設定部(27)が設けられる。
Further, a controller (25) is provided separately from the water heater main body (8), and the controller (25) is provided with a power switch (26) and a temperature setting unit (27).

そして、上記入水温センサー(17)、出湯温センサー
(18)、電磁弁(21)、比例弁(23)、電源スイッチ
(26)、温度設定部(27)、ファン(24)のモーターは
夫々前述の流量センサー(1)と同様制御部(10)に電
気的に連絡する。
The motors of the incoming water temperature sensor (17), the hot water temperature sensor (18), the solenoid valve (21), the proportional valve (23), the power switch (26), the temperature setting section (27) and the fan (24) are respectively The control unit (10) is electrically connected to the control unit (10) like the flow sensor (1).

入水温センサー(17)、出湯温センサー(18)は夫々
熱交換器(15)への入水温度、熱交換器(15)からの出
湯温度を検出してその温度に応じた電圧信号を発生し、
温度設定部(27)は設定温度に応じた電圧信号を発生す
る。
The incoming water temperature sensor (17) and the outgoing hot water temperature sensor (18) detect the incoming water temperature to the heat exchanger (15) and the outgoing hot water temperature from the heat exchanger (15), respectively, and generate a voltage signal according to the temperature. ,
The temperature setting section (27) generates a voltage signal according to the set temperature.

これら電圧信号は制御部(10)のA/D変換部(25)で
夫々入水温度データ、出湯温度データ、設定温度データ
に変換されて必要熱負荷演算部(16)に取り込まれる。
These voltage signals are converted into incoming water temperature data, outgoing hot water temperature data, and set temperature data by the A / D conversion unit (25) of the control unit (10) and are taken into the required heat load calculation unit (16).

必要熱負荷演算部(16)は前述せる流量演算部(11)
で演算された流量データと、上記各データとに基づき必
要熱負荷を演算し、その演算値に応じた信号を発生して
比例弁駆動回路(28)及びファンモーター駆動回路(2
9)を作動させ、比例弁(23)の開度及びファン(2
4′)のモーターの回転数を制御する。
The required heat load calculation unit (16) is the flow rate calculation unit (11) described above.
The required heat load is calculated on the basis of the flow rate data calculated by the above and each of the above data, and a signal corresponding to the calculated value is generated to generate a proportional valve drive circuit (28) and a fan motor drive circuit (2
9) is operated to open the proportional valve (23) and fan (2
Control the number of rotations of the motor of 4 ').

この給湯機のブロック図を第7図に、フローチャート
を第8図に夫々示す。
A block diagram of this water heater is shown in FIG. 7, and a flow chart is shown in FIG.

尚、電磁弁(21)は給湯管路(16)末端の水栓(図示
せず)を開けることにより給水管路(9)中に水の流動
が生じ、これを流量センサー(1)が検知し、その信号
が制御部に到達すると制御部(10)からの開弁信号が発
生して開弁する。
The electromagnetic valve (21) opens a water faucet (not shown) at the end of the hot water supply pipe (16) to cause water flow in the water supply pipe (9), which the flow sensor (1) detects. Then, when the signal reaches the control unit, a valve opening signal is generated from the control unit (10) to open the valve.

図面には示していないが、バーナー(19)の近傍には
電磁弁(21)の開弁に同期してイグニッションを発生す
るイグナイターが設けられており、上記イグニッション
によりバーナー(19)の炎口から噴射するガスに着火す
る。
Although not shown in the drawing, an igniter that generates an ignition in synchronization with the opening of the solenoid valve (21) is provided near the burner (19). Ignite the injected gas.

尚、本発明の液体流量検出装置は、上述の如きガス瞬
間式給湯機における水量の検出のみに限らず、あらゆる
流体機器における液体流量の検出に実施可能であること
は言うまでもない。
Needless to say, the liquid flow rate detection device of the present invention is not limited to the detection of the amount of water in the gas instantaneous water heater as described above, but can be applied to the detection of the liquid flow rate in any fluid equipment.

【図面の簡単な説明】[Brief description of drawings]

第1図は本発明の一実施例を示す液体流量検出方法のフ
ローチャートで、オーバーフローが1回発生した場合の
例を示す、第2図は検出原理を説明する波形図、第3図
は流量が10/分のときの基準パルスの発生状態を、第
4図は流量が1/分のときの基準パルスの発生状態を
夫々示す説明図、第5図は流量センサーの断面図、第6
図は本発明装置を使用するガス瞬間式給湯機の模式図、
第7図は同ブロック図、第8図はフローチャート、第9
図は従来の水流検出原理を説明する波形図である。 (1):流量センサー(流量検出部) (11):流量演算部 (12):割込み検出部(記憶手段) (13):フリーランニングカウンター (14):演算手段
FIG. 1 is a flow chart of a liquid flow rate detecting method showing an embodiment of the present invention, showing an example when an overflow occurs once. FIG. 2 is a waveform diagram for explaining the detection principle. FIG. 4 is an explanatory view showing the generation state of the reference pulse when the flow rate is 1 / min, FIG. 5 is a sectional view of the flow rate sensor, and FIG.
The figure is a schematic view of a gas instantaneous hot water heater using the device of the present invention,
FIG. 7 is the same block diagram, FIG. 8 is a flowchart, and FIG.
The figure is a waveform diagram for explaining the conventional principle of water flow detection. (1): Flow rate sensor (flow rate detection part) (11): Flow rate calculation part (12): Interrupt detection part (storage means) (13): Free running counter (14): Calculation means

フロントページの続き (56)参考文献 特開 昭55−85219(JP,A) 特開 昭55−42008(JP,A)Continuation of front page (56) Reference JP-A-55-85219 (JP, A) JP-A-55-42008 (JP, A)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】流量に応じた検出パルスを発生する流量検
出部と、この検出パルスを入力してから次の検出パルス
を入力するまでの期間における流量データに基づき流量
を算出する流量演算部とからなり、該流量演算部は、前
記期間を所定周期の基準パルスを用いてカウントするフ
リーランニングカウンターと、そのカウント値を記憶す
る記憶手段と、前記フリーランニングカウンターが発生
するオーバーフロー信号に基づいてオーバーフローした
か否かを判定すると共にそのオーバーフロー発生回数を
検出する判定手段と、オーバーフロー有りと判定された
場合には、前記記憶したカウント値を所定値N(Nはオ
ーバーフロー回数を越える自然数)で除算した値と、前
記フリーランニングカウンターの上限値にオーバーフロ
ー発生回数を掛けた値を同所定値Nで除算した値と、を
足し合わせて前記上限値の範囲内となるようにした値を
演算データとして取り込み、この演算データと前記基準
パルスの周期と前記所定値Nとに基づいて流量を算出す
る演算手段とを有することを特徴とする液体流量検出装
置。
1. A flow rate detecting section for generating a detection pulse according to a flow rate, and a flow rate calculating section for calculating a flow rate based on flow rate data in a period from the input of this detection pulse to the input of the next detection pulse. The flow rate calculation unit comprises a free running counter that counts the period using a reference pulse of a predetermined cycle, a storage unit that stores the count value, and an overflow based on an overflow signal generated by the free running counter. When it is determined that there is an overflow, the stored count value is divided by a predetermined value N (N is a natural number exceeding the number of overflows). Multiply the value and the upper limit of the free running counter by the number of overflow occurrences. A value obtained by adding the value obtained by dividing the value by the same predetermined value N so as to be within the range of the upper limit value is taken in as operation data, and the operation data, the cycle of the reference pulse, and the predetermined value N are set. A liquid flow rate detection device comprising: a calculation unit that calculates a flow rate based on the calculation unit.
JP60160769A 1985-07-19 1985-07-19 Liquid flow rate detector Expired - Lifetime JP2542360B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60160769A JP2542360B2 (en) 1985-07-19 1985-07-19 Liquid flow rate detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60160769A JP2542360B2 (en) 1985-07-19 1985-07-19 Liquid flow rate detector

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP4212740A Division JPH0642997A (en) 1992-08-10 1992-08-10 Liquid flowrate detecting device

Publications (2)

Publication Number Publication Date
JPS6221017A JPS6221017A (en) 1987-01-29
JP2542360B2 true JP2542360B2 (en) 1996-10-09

Family

ID=15722057

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60160769A Expired - Lifetime JP2542360B2 (en) 1985-07-19 1985-07-19 Liquid flow rate detector

Country Status (1)

Country Link
JP (1) JP2542360B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0325240A (en) * 1989-06-23 1991-02-04 Harman Co Ltd Hot water feeding control device
JP2000186949A (en) * 1998-12-21 2000-07-04 Ebara Corp Flow rate computing method for flow sensor

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5585219A (en) * 1978-12-22 1980-06-27 Toshiba Corp Predicting method of pulse interval

Also Published As

Publication number Publication date
JPS6221017A (en) 1987-01-29

Similar Documents

Publication Publication Date Title
JP2542360B2 (en) Liquid flow rate detector
JP2004077248A (en) Flow rate measuring device with low power consumption and high sampling rate, and gas meter applying the same
JPH0642997A (en) Liquid flowrate detecting device
JP3179950B2 (en) Flow rate change determination device
JPS6014039A (en) Notifying method of preset hot-water quantity in hot-water supply apparatus
KR910004307B1 (en) Revolution detecting circuit
JPH05209769A (en) Fluid cutting-off device
JP3644750B2 (en) Minimum flow rate detection method
JPH0325029Y2 (en)
JPS6212256Y2 (en)
JPH08201128A (en) Gas leakge alarm inspection system
JPH07151576A (en) Flow variation discriminating device
JP2001296162A (en) Gas safety device
JP2001241984A (en) Gas safety device
JPH0350446A (en) Controller for hot water feeder and the like
KR200188228Y1 (en) Pump operation detecting circuit
KR940011225B1 (en) Temperature controller for hot water feeder or like
JP3152407B2 (en) Water heater
JP3152824B2 (en) Flow measurement device
JPH08145741A (en) Flowmeter
JPS6131849A (en) Tap-controlled gas hot-water supplier
JP2690845B2 (en) Heating equipment
JPS61186716A (en) Control device for safety of burning
JPH09304158A (en) Measuring apparatus for flow rate
JPH10232150A (en) Fluidic type gas meter