JPH07175968A - Liquid supplying device - Google Patents

Liquid supplying device

Info

Publication number
JPH07175968A
JPH07175968A JP32056193A JP32056193A JPH07175968A JP H07175968 A JPH07175968 A JP H07175968A JP 32056193 A JP32056193 A JP 32056193A JP 32056193 A JP32056193 A JP 32056193A JP H07175968 A JPH07175968 A JP H07175968A
Authority
JP
Japan
Prior art keywords
liquid supply
solenoid valve
flow rate
time
amount
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP32056193A
Other languages
Japanese (ja)
Inventor
Shinji Kumagai
信治 熊谷
Kimio Toyabe
紀美郎 鳥谷部
Kazumasa Kawasaki
一政 川嵜
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.)
Tokico Ltd
Original Assignee
Tokico 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 Tokico Ltd filed Critical Tokico Ltd
Priority to JP32056193A priority Critical patent/JPH07175968A/en
Publication of JPH07175968A publication Critical patent/JPH07175968A/en
Pending legal-status Critical Current

Links

Landscapes

  • Beverage Vending Machines With Cups, And Gas Or Electricity Vending Machines (AREA)

Abstract

PURPOSE:To collect a charge even after a fault is generated in a prepaid card type liquid supplying device. CONSTITUTION:This device is provided with a city water meter 12 and a solenoid valve 13 provided in a city water pipe path 11, a prepaid card reader/writer 27 and a water supply controller 14 for being supplied with flow rate pulses from the city water meter 12 and opening and closing the solenoid valve 13. The water supply controller 14 is provided with a RAM 31 for storing the time and data when the final flow rate pulse is outputted from the city water meter 12 and also storing the city water using amount of each month.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はプリペイドカード式給液
装置に係り、例えば料金処理が出来なくなる故障を起こ
した場合の対策を講じた給液装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a prepaid card type liquid supply device, and more particularly to a liquid supply device which takes measures in case of failure such that charge processing cannot be performed.

【0002】[0002]

【従来の技術】磁気カードよりなるプリペイドカードを
使用して定量給水する給液装置が、例えば特開平1−2
91119号に示されている。
2. Description of the Related Art A liquid supply device for quantitatively supplying water by using a prepaid card composed of a magnetic card is disclosed in, for example, Japanese Patent Application Laid-Open No. 1-21
No. 91119.

【0003】この給液装置は、水道メータからの流量パ
ルスを計測して徴収する料金の処理を行ない、プリペイ
ドカードの料金データに対応した水量が給水されると、
電磁弁が自動的に閉弁する構成である。
This liquid supply device processes the charge collected by measuring the flow rate pulse from the water meter, and when the amount of water corresponding to the charge data of the prepaid card is supplied,
The solenoid valve is automatically closed.

【0004】[0004]

【発明が解決しようとする課題】上記の給液装置には、
故障を起こした場合に対応する手段は設けられていな
い。
DISCLOSURE OF THE INVENTION Problems to be Solved by the Invention
No means are provided for responding to a failure.

【0005】このため、例えば水道メータが断線又は故
障した場合には料金処理が出来なくなってしまう。
For this reason, if the water meter is broken or broken, for example, the charge processing cannot be performed.

【0006】そこで、本発明は上記課題を解決した給液
装置を提供することを目的とする。
Therefore, an object of the present invention is to provide a liquid supply device which solves the above problems.

【0007】[0007]

【課題を解決するための手段】請求項1の発明は、給液
配管路に設けられ、給液量を計測し流量パルスを出力す
る流量計と、該給液配管路に設けられた電磁弁と、上記
流量計及び電磁弁と電気的に接続されており、先払いさ
れた料金に応じた給液量を供給可能とする給液制御装置
とよりなる給液装置において、上記給液制御装置は、上
記流量計から最終の流量パルスが出力された日時を記憶
する手段を設けた構成としたものである。
According to a first aspect of the present invention, there is provided a flow meter provided in a liquid supply pipe line for measuring a liquid supply amount and outputting a flow rate pulse, and a solenoid valve provided in the liquid supply pipe line. And a liquid supply device electrically connected to the flow meter and the solenoid valve and capable of supplying a liquid supply amount according to a prepaid charge, the liquid supply control device comprising: A means for storing the date and time when the final flow rate pulse is output from the flow meter is provided.

【0008】請求項2の発明は、給液配管路に設けら
れ、給液量を計測し流量パルスを出力する流量計と、該
給液配管路に設けられた電磁弁と、上記流量計及び電磁
弁と電気的に接続されており、先払いされた料金に応じ
た給液量を供給可能とする給液制御装置とよりなる給液
装置において、上記給液制御装置は、該給液制御装置と
上記電磁弁との間が断線したことを検知する断線検知手
段と、該断線検知手段が断線を検知した日時を記憶する
手段とを有する構成としたものである。
According to a second aspect of the present invention, there is provided a flow meter provided in the liquid supply pipe line for measuring the liquid supply amount and outputting a flow rate pulse, an electromagnetic valve provided in the liquid supply pipe line, the flow meter and A liquid supply device electrically connected to a solenoid valve and comprising a liquid supply control device capable of supplying a liquid supply amount according to a prepaid fee, wherein the liquid supply control device is the liquid supply control device. And a disconnection detecting means for detecting disconnection between the solenoid valve and the solenoid valve, and a means for storing a date and time when the disconnection detecting means detects disconnection.

【0009】[0009]

【作用】請求項1の最終の流量パルスが出力された日時
を記憶する手段を設けた構成は、故障が発生した後の使
用量を算出するときの目安となる故障発生日時を提供す
るように作用する。
According to the first aspect of the present invention, the means for storing the date and time when the last flow rate pulse is output is provided so as to provide the date and time of failure occurrence which is a standard when calculating the usage amount after the occurrence of failure. To work.

【0010】請求項2の断線を検知した日時を記憶する
手段を設けた構成は、故障が発生した後の使用量を算出
するときの目安となる故障発生日時を提供するように作
用する。
According to the second aspect of the present invention, the means for storing the date and time when the disconnection is detected serves to provide the date and time of failure occurrence which is a standard for calculating the usage amount after the occurrence of the failure.

【0011】[0011]

【実施例】図1は本発明の一実施例になる給液装置10
を示す。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows a liquid supply device 10 according to an embodiment of the present invention.
Indicates.

【0012】給液装置10は、水道管路11に配設され
た水道メータ12及び電磁弁13と、電磁弁13を開閉
制御する給水制御装置14とを有する。
The liquid supply device 10 has a water meter 12 and a solenoid valve 13 arranged in the water pipe 11, and a water supply controller 14 for controlling the opening / closing of the solenoid valve 13.

【0013】水道メータ12は、例えばバッテリ駆動式
の容積式流量計であり、各家庭毎に設置されている。
The water meter 12 is, for example, a battery-driven positive displacement flow meter and is installed in each home.

【0014】水道メータ12は、マイクロコンピュータ
15,流量検出増幅回路16,表示器17,及び出力回
路18を有し、電線19によって、給水制御装置14と
電気的に接続されている。
The water meter 12 has a microcomputer 15, a flow rate detection / amplification circuit 16, a display 17, and an output circuit 18, and is electrically connected to the water supply controller 14 by an electric wire 19.

【0015】水道管路11の端に設けられている水道栓
20が開弁されると、水道メータ12は、水道管路11
を流れる給水量を測定し、その流量信号を給水制御装置
14に出力する。
When the water tap 20 provided at the end of the water pipe 11 is opened, the water meter 12 turns the water pipe 11
The amount of water supply flowing through is measured, and the flow rate signal is output to the water supply control device 14.

【0016】電磁弁13は、水道管路11の水の流れを
制御し、電線21によって、給水制御装置14と電気的
に接続されている。
The solenoid valve 13 controls the flow of water in the water pipe 11, and is electrically connected to the water supply controller 14 by the electric wire 21.

【0017】給水制御装置14は、マイクロコンピュー
タ22と、水道の使用量等を表示する表示器23と、表
示切換スイッチ24と、電磁弁13を開閉駆動するドラ
イバ回路25と、料金データが磁気的に記録されている
プリペイドカード26が挿入されるカードリーダ・ライ
タ(以下、カードR/Wという)27と、電線21が断
線したことを検知する断線検知回路28と、電源として
のバッテリ29とを有する。
The water supply controller 14 includes a microcomputer 22, a display 23 for displaying the amount of water used, a display changeover switch 24, a driver circuit 25 for opening and closing the solenoid valve 13, and a charge data magnetically. A card reader / writer (hereinafter, referred to as a card R / W) 27 into which the prepaid card 26 recorded in the above is inserted, a disconnection detection circuit 28 that detects that the electric wire 21 is disconnected, and a battery 29 as a power source. Have.

【0018】また、マイコン22のプログラムはROM
30に格納されている。
The program of the microcomputer 22 is ROM
Stored in 30.

【0019】RAM31はデータメモリである。The RAM 31 is a data memory.

【0020】RTC32はリアルタイムクロックICで
あり、カレンダー時計機能を有する。
The RTC 32 is a real time clock IC and has a calendar clock function.

【0021】33はアドレスバス、34はデータバスで
ある。
Reference numeral 33 is an address bus, and 34 is a data bus.

【0022】上記構成の給液装置10は、概略、以下に
説明するように動作する。
The liquid supply device 10 having the above-described configuration operates generally as described below.

【0023】給液装置10は、プリペイドカード26を
給水制御装置14のカードR/W27に挿入することに
より起動する。
The liquid supply device 10 is activated by inserting the prepaid card 26 into the card R / W 27 of the water supply control device 14.

【0024】今、プリペイドカード26に記憶されてい
る金額を1000円とする。
Now, assume that the amount of money stored in the prepaid card 26 is 1000 yen.

【0025】カードR/W26はこの金額を読み出し、
マイコン22は、この金額で使用できる給水量を演算す
る。そして、表示器23に給水量を表示する。それと同
時に、電磁弁13を開く。
The card R / W 26 reads out this amount,
The microcomputer 22 calculates the amount of water supply that can be used with this amount. Then, the water supply amount is displayed on the display device 23. At the same time, the solenoid valve 13 is opened.

【0026】これで水道が使用可能状態となる。給水栓
20を回して、水道を使用した場合、水道メータ12は
一定の流量例えば10L(Lは単位リットルとする)毎
に流量パルスを発信する。
The water supply is now ready for use. When water is used by turning the water tap 20, the water meter 12 emits a flow rate pulse at a constant flow rate, for example, every 10 L (L is a unit liter).

【0027】流量パルスを受信したマイコン22は表示
器23に表示した給水量を減算し、その値を表示する。
The microcomputer 22 receiving the flow rate pulse subtracts the water supply amount displayed on the display 23 and displays the value.

【0028】次に、流量パルスを受信した日時をRTC
32から読みだしてRAM31に記憶する。そして、プ
リペイドカードの料金を減額し、その値を書き込む。所
定の給水量以下になった場合、残給水量が少なくなった
ことを警告するために表示器を点滅させる。更に水道を
使用して、残給水量が0になった場合は、電磁弁13を
閉じる。
Next, the date and time when the flow rate pulse is received is set to the RTC.
It is read from 32 and stored in the RAM 31. Then, the fee of the prepaid card is reduced and the value is written. When the amount of water supply falls below a predetermined amount, the indicator is flashed to warn that the remaining amount of water supply has decreased. Further, when the remaining amount of water supply becomes 0 by using water, the solenoid valve 13 is closed.

【0029】電磁弁開閉時には断線のチェックを行い、
断線が発生した場合はマイコン22はRTC32から日
時を読みだしてRAM31に記憶する。
When opening and closing the solenoid valve, check for disconnection,
When disconnection occurs, the microcomputer 22 reads the date and time from the RTC 32 and stores it in the RAM 31.

【0030】RAM31,RTC32は電池でバックア
ップされているので、電池が消耗するまで記憶内容は消
去されることはなく、RTC31は正常に動作する。
Since the RAM 31 and the RTC 32 are backed up by the battery, the stored contents are not erased until the battery is exhausted, and the RTC 31 operates normally.

【0031】次に、給水制御装置14の状態の遷移につ
いて、図2を参照して説明する。
Next, the state transition of the water supply control device 14 will be described with reference to FIG.

【0032】図2は給水制御装置14の状態遷移図であ
る。
FIG. 2 is a state transition diagram of the water supply controller 14.

【0033】パワーオンリセットA11は、出荷前にバ
ッテリを接続したとき(その後はバッテリを交換した場
合)に行われる処理である。
The power-on reset A11 is a process performed when the battery is connected before shipping (when the battery is replaced thereafter).

【0034】パワーオンリセットA11後、タイマ割込
み周期設定し、タイマ処理A12を行う。内部タイマは
3つ使用し、それぞれ一定周期で割込みを発生する。各
タイマーカウンタは表示切換スイッチ読み取り処理A1
3,カード処理A14,積算データ保存処理A15を行
った後、タイマ処理12に戻る。
After the power-on reset A11, the timer interrupt period is set and the timer process A12 is performed. Three internal timers are used, and interrupts are generated at fixed intervals. Each timer counter is a display changeover switch reading process A1
3. After performing the card process A14 and the integrated data storage process A15, the process returns to the timer process 12.

【0035】カード処理A14は、カード挿入検出で残
使用量を計算し表示器に表示する処理A17を行う。ま
た、カードの残金が0になった場合、バルブを閉じる制
御処理A18と同時に断線検知処理A19を行う。
The card processing A14 carries out a processing A17 of calculating the remaining amount of use by detecting the card insertion and displaying it on the display. When the remaining amount of the card becomes 0, the disconnection detection process A19 is performed at the same time as the valve closing control process A18.

【0036】流量パルス処理A15は水道メータ12の
発信する流量パルスによる不定期の割込みで起動し、入
力時刻記憶、積算値計算、残使用量計算を行い、カード
の残金処理を行い、入力日時処理A20終了後タイマ処
理に戻る。
The flow rate pulse processing A15 is started by an irregular interruption by the flow rate pulse transmitted from the water meter 12, performs input time storage, integrated value calculation, remaining usage amount calculation, card balance processing, input date and time processing. After the end of A20, the process returns to the timer process.

【0037】次に、図2中の各処理の内容について説明
する。 〔パワーオンリセットA11〕図3はパワーオンリセッ
トA11の処理内容を示すフローチャートである。
Next, the contents of each process in FIG. 2 will be described. [Power-on Reset A11] FIG. 3 is a flowchart showing the processing contents of the power-on reset A11.

【0038】同図中、ステップS1(以下「ステップ」
を省略する)で、タイマカウンタT1,T2,T3のタ
イマ割り込み周期を設定する。これにより、以後S1で
設定された一定周期で割り込みが発生する。
In the figure, step S1 (hereinafter "step")
Is omitted), the timer interrupt period of the timer counters T1, T2, T3 is set. As a result, thereafter, an interrupt is generated at the constant cycle set in S1.

【0039】次のS2では、プリペイドカード26がカ
ードR/W27に挿入されているかどうかをチェックす
る。もし、プリペイドカード26がカードR/W27に
挿入された状態のときは、後述する図5のに移行す
る。尚、プリペイドカード26がカードR/W27に挿
入されていないときは処理を終了する。 〔タイマ処理A12〕図4はタイマ処理A12の処理内
容を示すフローチャートである。
In next step S2, it is checked whether or not the prepaid card 26 is inserted in the card R / W 27. If the prepaid card 26 is inserted in the card R / W 27, the process proceeds to FIG. 5, which will be described later. When the prepaid card 26 is not inserted in the card R / W 27, the process ends. [Timer Processing A12] FIG. 4 is a flowchart showing the processing contents of the timer processing A12.

【0040】パワーオンリセットA11の処理が終了す
ると、図4の処理が起動する。
When the processing of the power-on reset A11 is completed, the processing of FIG. 4 is activated.

【0041】S11はタイマーカウンタT1が0.5 s周
期で起動がかかることを示す。0.5s周期でS18〜S
24の処理を実行する。
S11 indicates that the timer counter T1 is activated at a cycle of 0.5 s. S18 to S in 0.5s cycle
24 processing is executed.

【0042】S18ではタイマーカウンタT1を0クリ
アする。S19はスイッチ7がONした1回目かどうか
判断し、1回目ならばS22で故障モードを解析する。
故障モードは電磁弁故障か、水道メータ故障か、両方
か、電磁弁閉状態の後に水道メータの発信パルスが発生
したかどうか判断する。
At S18, the timer counter T1 is cleared to zero. In S19, it is judged whether or not the switch 7 is turned on for the first time, and if it is the first time, the failure mode is analyzed in S22.
The failure mode determines whether the solenoid valve has failed, the water meter has failed, or both, and whether or not a water meter transmission pulse has occurred after the solenoid valve was closed.

【0043】S23で故障モードと日時を表示する。S
20でスイッチ7がONした2回目かどうか判断し、2
回目ならばS24で毎月使用量を表示する。
In S23, the failure mode and the date and time are displayed. S
It is judged at 20 whether it is the second time that the switch 7 is turned on, and 2
If it is the first time, the monthly usage amount is displayed in S24.

【0044】S21でスイッチ7がONした3回目かど
うか判断し、3回目ならばS25で前々月使用量を表示
する。そして、次にスイッチ7がONの場合は残給水量
表示となるように処理する。
In S21, it is judged whether or not the switch 7 is turned on for the third time, and if it is the third time, the used amount before two months is displayed in S25. Then, when the switch 7 is turned on next, processing is performed so as to display the remaining water supply amount.

【0045】S12はタイマーカウンタT2が1s周期
で起動がかかることを示す。1s周期でS16,S17
の処理を実行する。S16ではタイマーカウンタT2を
0クリアする。S17でカードが挿入されたかどうか判
断する。挿入されている場合は図5へジャンプする。
挿入されていない場合は終了し、次のタイマ割込み周期
までカード挿入の判断を待つ。
S12 indicates that the timer counter T2 is activated every 1s cycle. S16, S17 in 1s cycle
The process of is executed. In S16, the timer counter T2 is cleared to zero. In S17, it is determined whether a card has been inserted. If inserted, jump to FIG.
If the card has not been inserted, the process ends and waits for the card insertion determination until the next timer interrupt cycle.

【0046】S13はタイマーカウンタT3が1ケ月周
期で起動がかかることを示す。1ケ月周期でS14,S
15の処理を実行する。S14ではタイマーカウンタT
3を0クリアする。S15で1ケ月間の使用量をRAM
へ記憶する。 〔カード処理A14,残量計算処理A16,表示制御処
理A17,バルブ制御処理A18,断線検知処理A1
9〕図5は、図2中、カード処理A14及びこれと関連
する処理A16,A17,A18,A19の処理内容を
示す。
S13 indicates that the timer counter T3 is activated every month. S14, S in 1 month cycle
The process of 15 is executed. In S14, the timer counter T
Clear 3 to 0. RAM usage for 1 month in S15
Memorize to [Card processing A14, remaining amount calculation processing A16, display control processing A17, valve control processing A18, disconnection detection processing A1
9] FIG. 5 shows the processing contents of the card processing A14 and the processing A16, A17, A18, A19 related thereto in FIG.

【0047】S40でカードが挿入されたら次にS41
でカードのデータをカードR/W27から入力しS42
でカードに残金があるかないか判断する。残金がない場
合はS48で終了する。残金が存在する場合はS43で
式(1)から使用可能な水道残量を計算する。
When the card is inserted in S40, the next step is S41.
Enter the data of the card from the card R / W27 with S42
Check if there is any money left on the card. If there is no balance, the process ends in S48. If there is a balance, the usable water remaining amount is calculated from equation (1) in S43.

【0048】[0048]

【数1】 [Equation 1]

【0049】S44はS43で計算したVR の値を表示
器23に表示する。そして、S45で電磁弁用ドライバ
回路25に信号を出力し電磁弁を開く。同時にS46で
断線検知回路28の信号を入力し、断線が発生したかど
うか判断する。断線が発生していた場合はS47で断線
日時をRTC24から読みだし、RAM31へ記憶す
る。そして終了する。
In S44, the value of V R calculated in S43 is displayed on the display 23. Then, in S45, a signal is output to the solenoid valve driver circuit 25 to open the solenoid valve. At the same time, in S46, the signal from the disconnection detection circuit 28 is input to determine whether or not disconnection has occurred. If a wire break has occurred, the wire break date and time is read from the RTC 24 in S47 and stored in the RAM 31. And it ends.

【0050】これにより、RAM23には、断線を検知
した日時が記憶される。
As a result, the date and time when the disconnection is detected is stored in the RAM 23.

【0051】また、断線検知回路28の詳細は図7に示
す。 〔流量パルス処理A15,入力日時処理A20〕図6は
流量信号が入力した場合の処理を示す。
Details of the disconnection detection circuit 28 are shown in FIG. [Flow rate pulse processing A15, input date / time processing A20] FIG. 6 shows processing when a flow rate signal is input.

【0052】流量信号が入力すると、S61で積算値を
式(2)から計算する。
When the flow rate signal is input, the integrated value is calculated from equation (2) in S61.

【0053】 Tb1 =Tb0 +q Tb0 :流量パルス入力前の積算値 q:1パルスあたりの流量値 (2) S62で流量パルスの入力日時をRTC24から読みだ
し、RAM23へ記憶する。
Tb 1 = Tb 0 + q Tb 0 : integrated value before flow rate pulse input q: flow rate value per pulse (2) The input date and time of the flow rate pulse is read from the RTC 24 in S 62 and stored in the RAM 23.

【0054】ここで、事故によって電線19が断線した
り、また水道メータ12が故障したと仮定する。
Here, it is assumed that the electric wire 19 is broken or the water meter 12 fails due to an accident.

【0055】この場合には、RAM23には、水道メー
タ12から最終の流量パルスが出力された日時が記憶さ
れる。
In this case, the RAM 23 stores the date and time when the final flow rate pulse is output from the water meter 12.

【0056】S62に続いて、S63でS61の計算か
ら得られた積算値Tb1 をRAM23へ記憶する。S6
4では残量の計算をする。
Subsequent to S62, the integrated value Tb 1 obtained from the calculation of S61 is stored in the RAM 23 in S63. S6
In step 4, the remaining amount is calculated.

【0057】S65はS64の計算結果の残量を表示す
る。
In step S65, the remaining amount of the calculation result in step S64 is displayed.

【0058】S66はカードの残金をカードへ書き込
む。
In step S66, the balance of the card is written in the card.

【0059】S67で残量が警告開始量以下かどうか判
断する。警告開始量以下ならばS73で表示を点滅開始
させる。残量が警告開始量以下でない場合はS68で表
示点滅を解除する。
In S67, it is determined whether the remaining amount is less than the warning start amount. If it is less than the warning start amount, the display starts blinking in S73. If the remaining amount is not less than the warning start amount, the blinking of the display is canceled in S68.

【0060】S69で残使用量が0かどうか判断する。
0の場合はS70で電磁弁を閉じる。S69で残使用量
が0でない場合は終了する。
In S69, it is determined whether or not the remaining usage amount is zero.
If it is 0, the solenoid valve is closed in S70. If the remaining usage amount is not 0 in S69, the process ends.

【0061】S70で電磁弁を閉じる信号出力時にS7
1で断線検知回路28の信号を入力し断線検知が発生し
ているかどうか判断する。断線が発生した場合はS72
で断線日時をRAM31へ記憶する。そして終了する。
When the signal for closing the solenoid valve is output in S70, S7 is output.
At 1, the signal from the disconnection detection circuit 28 is input to determine whether or not disconnection detection has occurred. When disconnection occurs, S72
The disconnection date and time is stored in the RAM 31. And it ends.

【0062】RAM31には、断線を検知した日時が記
憶される。
The RAM 31 stores the date and time when the disconnection is detected.

【0063】次に、上記のように構成してあり、上記の
ように動作する給液装置10の特長について説明する。
Next, the features of the liquid supply device 10 configured as described above and operating as described above will be described.

【0064】 A 給液装置10が故障した場合でも料金徴収が可能 ケース1:図1中の水道メータ12と給水制御装置14
とを接続する電線19が断線した場合又は水道メータ1
2が故障した場合 電線19が断線したり、水道メータ12が故障したりす
ると、流量パルスが給水制御装置14に供給されなくな
り、一般には、その後の水道の使用に対する料金処理が
出来なくなる。このため、従来の給液装置においては、
上記断線又は故障を起こした後の水道の使用量に対する
料金の徴収は出来なかった。
A Charge collection is possible even if the liquid supply device 10 breaks down Case 1: Water meter 12 and water supply control device 14 in FIG.
If the electric wire 19 that connects to and is disconnected, or the water meter 1
When 2 fails: When the electric wire 19 is broken or the water meter 12 fails, the flow rate pulse is not supplied to the water supply control device 14, and in general, the charge processing for the subsequent use of water cannot be performed. Therefore, in the conventional liquid supply device,
No charges could be collected for the amount of water used after the above disconnection or failure.

【0065】しかし、本実施例の給液装置10によれ
ば、以下の操作をすることによって、徴収料金を推定で
きる。
However, according to the liquid supply device 10 of the present embodiment, the collection fee can be estimated by the following operations.

【0066】 図1中のスイッチ24を切り換えON
とする。
Switch ON the switch 24 in FIG.
And

【0067】これにより、表示器23に、水道メータ1
2から最終の流量パルスが出力された日時が表示され
る。
As a result, the water meter 1 is displayed on the display 23.
The date and time when the final flow rate pulse is output from 2 is displayed.

【0068】これにより、故障を起こした日が現在より
いか程前であるかが分かる。
As a result, it is possible to know how far before the present time the failure occurred.

【0069】 スイッチ24を更に切り換える。The switch 24 is further switched.

【0070】1回目の切り換えによって、表示器23
に、前月の使用量が表示される。
By the first switching, the display 23
The amount used in the previous month is displayed in.

【0071】2回目に切り換えると、表示器23に、前
々月の使用量が表示される。
When switched to the second time, the display unit 23 displays the usage amount of the previous two months.

【0072】 上記の表示された故障を起こした日時
とそれ以前の日々の使用量に基づいて、故障後に使用し
た量を推定し、推定した使用量に対応した料金を算出
し、これをプリペイドカード26から徴収する。
Based on the displayed date and time of the failure and the daily usage amount before that, the usage amount after the failure is estimated, a charge corresponding to the estimated usage amount is calculated, and this is calculated as a prepaid card. We collect from 26.

【0073】ケース2:電磁弁13が開弁した状態で電
線21が断線した場合 電磁弁13が開弁した状態で電線21が断線した場合に
は、プリペイドカード26の残り料金分を超えても、電
磁弁13は閉弁せず、水道は供給され続ける。
Case 2: When the electric wire 21 is broken while the solenoid valve 13 is open When the electric wire 21 is broken while the solenoid valve 13 is open, even if the remaining charge of the prepaid card 26 is exceeded. The solenoid valve 13 does not close, and the water supply continues to be supplied.

【0074】電線21が断線した以降も、水道の料金処
理は継続される。
Even after the wire 21 is broken, the water charge processing is continued.

【0075】このため、後日料金処理されて求めた料金
を徴収すればよい。
For this reason, it is only necessary to collect the charge obtained by performing the charge processing at a later date.

【0076】B 給液装置10の故障モードの表示が可
能 図1中、スイッチ24を切り換える操作をする。
B Failure mode of liquid supply device 10 can be displayed. In FIG. 1, switch 24 is operated.

【0077】これにより、図4中、ステップS22が行
われ、図1の表示器23に、次のいずれかが表示される 電磁弁故障 水道メータ故障 電磁弁・水道メータ故障 電磁弁閉状態の後に水道メータからの流量パルスの
受信有 次に、図1中の断線検知回路28の具体的構成につい
て、図7を参照して説明する。
As a result, step S22 in FIG. 4 is performed, and any one of the following is displayed on the display 23 of FIG. 1. Electromagnetic valve failure Water meter failure Electromagnetic valve / water meter failure After electromagnetic valve closed state Receiving Flow Rate Pulse from Water Meter Next, a specific configuration of the disconnection detection circuit 28 in FIG. 1 will be described with reference to FIG. 7.

【0078】図7中、図1に示す構成部分と対応する部
分には同一符号を付す。
In FIG. 7, parts corresponding to those shown in FIG. 1 are designated by the same reference numerals.

【0079】コンデンサ40,マイコン22,コンデン
サ40をマイコン22のアナログ入力ポートAINへ接
続する配線41が断線検知回路28を構成する。
The capacitor 40, the microcomputer 22, and the wiring 41 connecting the capacitor 40 to the analog input port AIN of the microcomputer 22 constitute the disconnection detection circuit 28.

【0080】自己保持形電磁弁13を動作させるには、
駆動部13aのコイル42に電流を流し磁力を発生する
ことにより動作する。ここで、コイル42に対して図の
上方から下方に向けて電流i1が流れたときに電磁弁1
3が開くものとしておく。
To operate the self-holding solenoid valve 13,
It operates by passing a current through the coil 42 of the drive unit 13a to generate a magnetic force. Here, when the current i1 flows from the upper side to the lower side of the drawing with respect to the coil 42, the solenoid valve 1
Let's assume that 3 opens.

【0081】マイコン22は、電磁弁を動作させるに充
分なエネルギーを得るために、タイマ出力ポートTOか
らパルス(疑似交流)を出力する。昇圧トランス43
は、入力信号を昇圧して、出力段に高電圧の交流信号を
発生させる。
The microcomputer 22 outputs a pulse (pseudo AC) from the timer output port TO in order to obtain sufficient energy to operate the solenoid valve. Step-up transformer 43
Generates a high-voltage AC signal at the output stage by boosting the input signal.

【0082】昇圧トランス43によって得られた高電圧
の交流信号は、整流素子44により交流から直流に整流
されてコンデンサ40にチャージされる(チャージ時間
は、あらかじめ実験により測定され既知のものとす
る)。
The high-voltage AC signal obtained by the step-up transformer 43 is rectified from AC to DC by the rectifying element 44 and charged in the capacitor 40 (the charging time is preliminarily measured by experiments and is known). .

【0083】電磁弁13を開く場合は、出力ポートP01
に“H”を出力し、リレー45の操作コイルに電流を流
し、コモン接点とa接点が接続するように、保持する。
When opening the solenoid valve 13, the output port P 01
"H" is output to, a current is supplied to the operation coil of the relay 45, and the common contact and the a contact are held so as to be connected.

【0084】電磁弁13を閉じる場合は、出力ポートP
02に“L”を出力する。
When closing the solenoid valve 13, the output port P
Output "L" to 02 .

【0085】リレー45が動作(リレー45の動作遅延
時間は既知のものとする)した後、リレー46が動作す
るように出力ポートP02に“H”を出力し、コイル42
の動作遅延時間(既知のものとする)保持する。
After the relay 45 operates (the operation delay time of the relay 45 is known), "H" is output to the output port P 02 so that the relay 46 operates, and the coil 42 is operated.
Hold the operation delay time of (known).

【0086】電磁弁13の動作完了後、出力ポートP02
に“L”を出力後、出力ポートP01に“L”を出し終了
する。
After the operation of the solenoid valve 13 is completed, the output port P 02
After outputting "L" to the output port, "L" is output to the output port P01 and the processing is completed.

【0087】上記の制御方法のなかで、コンデンサ40
へのチャージ終了後、アナログ入力ポートAINで電圧
を測定し、チャージされていることを確認しておき、電
磁弁13のコイル42に通電動作後(このとき、正常で
有ればコンデンサ40の電荷は放電されるが、断線時に
おいては放電されない)、アナログ入力ポートAINで
再度電圧を測定し、電圧が0V近辺で無ければ断線異常
としてアラームを発生する。
Among the above control methods, the capacitor 40
After the end of charging, the voltage is measured at the analog input port AIN to confirm that it is charged, and the coil 42 of the solenoid valve 13 is energized (at this time, if normal, the charge of the capacitor 40 is charged). Is discharged, but is not discharged at the time of disconnection), the voltage is measured again at the analog input port AIN, and if the voltage is not around 0 V, an alarm is generated as a disconnection abnormality.

【0088】これにより、電磁弁13が動作している状
態において電線21が断線したことが検知される。
As a result, it is detected that the electric wire 21 is broken while the solenoid valve 13 is operating.

【0089】また、長時間、電磁弁40を動作させない
場合の自己診断方法について説明する。
A self-diagnosis method when the solenoid valve 40 is not operated for a long time will be described.

【0090】前述の方法でコンデンサ40にチャージを
行う。ただし、電磁弁13を動作させる必要はないの
で、チャージ量はアナログ入力ポートAINで監視でき
る必要最小限でよい(このチャージに要する時間も既知
のものとする)。
The capacitor 40 is charged by the method described above. However, since it is not necessary to operate the solenoid valve 13, the charge amount may be the minimum necessary to be monitored by the analog input port AIN (the time required for this charge is also known).

【0091】現在の自己保持形電磁弁13の状態を再度
行うように(現在開いていれば、開動作を行う)リレー
45を制御しておき、リレー46を動作させコンデンサ
40のチャージ電荷を電磁弁13のコイル42に流し、
コンデンサ40の電荷放電状況を監視する。
The relay 45 is controlled so that the current state of the self-holding solenoid valve 13 is performed again (if it is currently open, the opening operation is performed), and the relay 46 is operated to electromagnetically charge the charge of the capacitor 40. To the coil 42 of the valve 13,
The charge discharge status of the capacitor 40 is monitored.

【0092】これにより、長期間に亘って電磁弁を動作
させない場合においても電磁弁のバルブを動作させるこ
となく断線検知を行うことができる。また、そのときの
エネルギー消費も少なくてすむので、例えば電池駆動の
システムなどにおいても使用できる。
Thus, even when the solenoid valve is not operated for a long period of time, the disconnection can be detected without operating the solenoid valve. Further, since energy consumption at that time can be small, it can be used in, for example, a battery driven system.

【0093】尚、上記各実施例では、水道水を供給する
給液装置を一例として説明したが、これに限らず、水道
水以外の液体(例えば、灯油やガソリン等の石油製品あ
るいは化学製品等)を供給するシステムにも適用するこ
とができるのは勿論である。
In each of the above embodiments, the liquid supply device for supplying tap water has been described as an example. However, the present invention is not limited to this, and liquids other than tap water (for example, petroleum products such as kerosene and gasoline, chemical products, etc.) can be used. Of course, the present invention can also be applied to a system for supplying).

【0094】又、上記各実施例では、プリペイドカード
を使用して料金を回収する構成としたが、先払いの方式
としては、これに限らず、例えばプリペイドカードの代
わりに特定のコインを挿入する構成でもよい。
Further, in each of the above embodiments, the prepaid card is used to collect the fee, but the prepaid method is not limited to this, and for example, a specific coin is inserted instead of the prepaid card. But it's okay.

【0095】[0095]

【発明の効果】以上説明したように、本発明によれば、
故障が起きてから例えば1月程度遅れて故障を発見した
場合にも、故障した日時を特定できることにより、故障
が起きた後の液の使用量を推定することが出来、液使用
量の料金の徴収を行うことが出来る。
As described above, according to the present invention,
Even if a failure is discovered, for example, about a month after the failure occurs, it is possible to estimate the amount of liquid used after the failure by specifying the date and time of the failure. You can collect it.

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

【図1】本発明になる給液装置の一実施例のブロック図
である。
FIG. 1 is a block diagram of an embodiment of a liquid supply device according to the present invention.

【図2】図1の給水装置のマイコンの処理モードの移動
を示す状態遷移図である。
FIG. 2 is a state transition diagram showing movement of a processing mode of a microcomputer of the water supply device of FIG.

【図3】図2中、パワーオンリセットA11の処理内容
を示すフローチャートである。
FIG. 3 is a flowchart showing the processing contents of a power-on reset A11 in FIG.

【図4】図2中、タイマ処理A12の処理内容を示すフ
ローチャートである。
FIG. 4 is a flowchart showing the processing contents of timer processing A12 in FIG.

【図5】プリペイドカードがカードリーダ・ライタに挿
入された後に実行されるカード処理のフローチャートで
ある。
FIG. 5 is a flowchart of card processing executed after a prepaid card is inserted into a card reader / writer.

【図6】流量パルスが入力された場合の処理のフローチ
ャートである。
FIG. 6 is a flowchart of processing when a flow rate pulse is input.

【図7】図1中、断線検出回路及びこれに関連する部分
の回路図である。
FIG. 7 is a circuit diagram of a disconnection detection circuit and a portion related thereto in FIG.

【符号の説明】[Explanation of symbols]

10 給液装置 11 水道管路 12 水道メータ 13 電磁弁 14 給水制御装置 15,22 マイクロコンピュータ 16 流量検出増幅回路 17,23 表示器 18 出力回路 19,21 電線 20 水道栓 24 表示切換えスイッチ 25 ドライバ回路 26 プリペイドカード 27 カードリーダ・ライタ 28 断線検知回路 29 バッテリ 30 ROM 31 RAM 32 RTC 40 コンデンサ 41 配線 42 コイル 43 昇圧トランス 44 整流素子 45,46 リレー 10 Liquid Supply Device 11 Water Pipe Line 12 Water Meter 13 Solenoid Valve 14 Water Supply Control Device 15,22 Microcomputer 16 Flow Rate Detection Amplification Circuit 17,23 Indicator 18 Output Circuit 19,21 Electric Wire 20 Water Tap 24 Display Change Switch 25 Driver Circuit 26 Prepaid Card 27 Card Reader / Writer 28 Disconnection Detection Circuit 29 Battery 30 ROM 31 RAM 32 RTC 40 Capacitor 41 Wiring 42 Coil 43 Step-up Transformer 44 Rectifier 45, 46 Relay

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 給液配管路に設けられ、給液量を計測し
流量パルスを出力する流量計と、該給液配管路に設けら
れた電磁弁と、上記流量計及び電磁弁と電気的に接続さ
れており、先払いされた料金に応じた給液量を供給可能
とする給液制御装置とよりなる給液装置において、 上記給液制御装置は、上記流量計から最終の流量パルス
が出力された日時を記憶する手段を設けた構成としたこ
とを特徴とする給液装置。
1. A flow meter provided in a liquid supply pipe line for measuring a liquid supply amount and outputting a flow rate pulse, a solenoid valve provided in the liquid supply pipe line, the flow meter and the solenoid valve electrically. In the liquid supply device including a liquid supply control device that is connected to, and is capable of supplying a liquid supply amount according to the prepaid fee, the liquid supply control device outputs the final flow rate pulse from the flow meter. A liquid supply device having a structure for storing the date and time when the liquid supply is performed.
【請求項2】 給液配管路に設けられ、給液量を計測し
流量パルスを出力する流量計と、該給液配管路に設けら
れた電磁弁と、上記流量計及び電磁弁と電気的に接続さ
れており、先払いされた料金に応じた給液量を供給可能
とする給液制御装置とよりなる給液装置において、 上記給液制御装置は、該給液制御装置と上記電磁弁との
間が断線したことを検知する断線検知手段と、該断線検
知手段が断線を検知した日時を記憶する手段とを有する
構成としたことを特徴とする給液装置。
2. A flow meter provided in the liquid supply pipe line for measuring the amount of liquid supply and outputting a flow rate pulse, a solenoid valve provided in the liquid supply pipe line, the flow meter and the solenoid valve electrically. And a solenoid valve, which is connected to the liquid supply controller and is capable of supplying a liquid supply amount according to the prepaid charge. A liquid supply device comprising: a disconnection detection unit that detects disconnection between the two and a unit that stores a date and time when the disconnection detection unit detects the disconnection.
JP32056193A 1993-12-20 1993-12-20 Liquid supplying device Pending JPH07175968A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32056193A JPH07175968A (en) 1993-12-20 1993-12-20 Liquid supplying device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32056193A JPH07175968A (en) 1993-12-20 1993-12-20 Liquid supplying device

Publications (1)

Publication Number Publication Date
JPH07175968A true JPH07175968A (en) 1995-07-14

Family

ID=18122809

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32056193A Pending JPH07175968A (en) 1993-12-20 1993-12-20 Liquid supplying device

Country Status (1)

Country Link
JP (1) JPH07175968A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010132327A (en) * 2008-12-05 2010-06-17 Nittoku:Kk Beer server counting system
CN108198344A (en) * 2018-02-08 2018-06-22 宁夏隆基宁光仪表股份有限公司 The wireless intelligent water meter of counterflow-preventing

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010132327A (en) * 2008-12-05 2010-06-17 Nittoku:Kk Beer server counting system
CN108198344A (en) * 2018-02-08 2018-06-22 宁夏隆基宁光仪表股份有限公司 The wireless intelligent water meter of counterflow-preventing

Similar Documents

Publication Publication Date Title
TW398086B (en) Battery charging
JP4973112B2 (en) A system comprising a charging device and a storage battery state detection device
EP0419106A1 (en) Commodity metering systems
JPH07175968A (en) Liquid supplying device
CN2416550Y (en) Automatic timer for electric appliance use
JP3408348B2 (en) Gas meter
EP0131331A2 (en) Commodity dispensing apparatus
JP7205401B2 (en) Relay failure determination device and DC power distribution device
CN210775709U (en) AC/DC load fault detection circuit
JPH0815395A (en) Battery life monitor circuit
JP6303576B2 (en) Automatic transaction equipment
KR20040040551A (en) multiple hand-phone charger
KR0137254Y1 (en) Gas charge automatic collection device
JP2586173B2 (en) Charging device
KR870001152Y1 (en) Vending m/c
JPS62191996A (en) Coin-slotted type washing machine
KR20090006825U (en) Power Supply test system of automated teller machine
JP2883469B2 (en) Load control device
JPH0423309B2 (en)
JP2002233052A (en) Storage device
JPH0755530A (en) Liquid supplying device
JP3235691B2 (en) Supply control device
KR200304126Y1 (en) multiple hand-phone charger
JPS62191997A (en) Coin-slotted type washing machine
JPH1028341A (en) Electric equipment and method for monitoring its power source