JPH10325164A - Control device for water discharge equipment - Google Patents

Control device for water discharge equipment

Info

Publication number
JPH10325164A
JPH10325164A JP15295997A JP15295997A JPH10325164A JP H10325164 A JPH10325164 A JP H10325164A JP 15295997 A JP15295997 A JP 15295997A JP 15295997 A JP15295997 A JP 15295997A JP H10325164 A JPH10325164 A JP H10325164A
Authority
JP
Japan
Prior art keywords
reset
water discharging
control device
water
microcomputer
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
JP15295997A
Other languages
Japanese (ja)
Inventor
Hiroyuki Iwashita
裕之 岩下
Yoshiyuki Kaneko
義行 金子
Shiyouki Yamanaka
章己 山中
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 JP15295997A priority Critical patent/JPH10325164A/en
Publication of JPH10325164A publication Critical patent/JPH10325164A/en
Pending legal-status Critical Current

Links

Landscapes

  • Domestic Plumbing Installations (AREA)
  • Flow Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent malfunctioning of a computer by detecting whether or not water is discharged, and providing a reset indicating means which indicates that the microcomputer of a control device should be reset according to the detected result. SOLUTION: When the power of a microcomputer 1 is turned on, a sensor circuit 3 transmits electricity to a light projection element 6, determines whether or not light is sensed at a level at which light may have impinged on a photocell 7, and outputs the result to the computer 1. If light is sensed while no water is being discharged, the computer 1 transmits electricity to a valve driving part 5 to open a valve; if no light is sensed while water is stopped, the computer 1 transmits electricity to the driving part 5 to open the valve. If no light is sensed while water is stopped, a counter is incremented by +1, and once a set time for resetting has elapsed since the counter reached a predetermined number, a reset port PO5 is kept on until the computer 1 is reset. Thus, since resetting is done in a certain period if water is stopped with a device at standstill, malfunctioning of the computer 1 can be prevented.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、吐水用機器の制御
装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control device for a water discharging device.

【0002】[0002]

【従来の技術】従来から、吐水用機器に備えられた機能
を制御する吐水用機器の制御装置に対し、マイクロコン
ピュータが一般的に広く利用されているが、動作中に受
ける外乱によりその記憶している設定内容が変更されて
しまった場合、その後の吐水用機器の動作に異常を来た
すと考えられる。
2. Description of the Related Art Conventionally, a microcomputer has been widely used for a control device of a water discharging device for controlling a function provided in the water discharging device. If the setting contents are changed, it is considered that the subsequent operation of the water discharging device is abnormal.

【0003】これらに対しては、ソフトウェアでリセッ
トすることにより、誤動作を未然に防止、もしくは直ち
に正常状態に復帰させることが考えられてきたが、構成
上ソフトウェアによるリセットが困難あるいは不可能で
ある場合、外部よりリセット操作を行う必要があった。
[0003] In order to solve these problems, it has been considered to prevent a malfunction or to immediately return to a normal state by resetting by software. However, when resetting by software is difficult or impossible due to the configuration, However, it was necessary to perform a reset operation from outside.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、吐水用
機器の場合には、その使用環境上電子機器であるマイク
ロコンピュータや電源接続部あるいはリセット操作部
を、水より保護するために吐水部分に対し隠蔽して設置
していることが多く、外部からのリセット操作が困難に
なるといった問題があった。
However, in the case of a water discharging device, the microcomputer, the power supply connection unit, or the reset operation unit, which is an electronic device, is concealed from the water discharging portion in order to protect the device from water in use environment. There is a problem that the reset operation from outside is difficult in many cases.

【0005】本発明は、吐水用機器の制御装置におい
て、特別なリセット操作を行うことなく、マイクロコン
ピュータの誤動作を未然に防止することを目的とする。
An object of the present invention is to prevent a microcomputer from malfunctioning without performing a special reset operation in a control device of a water discharging device.

【0006】[0006]

【課題を解決するための手段およびその作用・効果】本
発明は、吐水用機器において長期間リセットすることな
く連続動作を続けるマイクロコンピュータに対し、機器
の動作の有無を検出、検出結果に基づき制御装置のマイ
クロコンピュータのリセットを行う。
SUMMARY OF THE INVENTION The present invention is directed to a microcomputer for a water discharge device which continuously operates without resetting for a long period of time by detecting the presence or absence of operation of the device and controlling the microcomputer based on the detection result. Reset the microcomputer of the device.

【0007】マイクロコンピュータは、動作中に外乱に
より設定内容が変化して誤動作が発生したとしても、リ
セットを行うことにより誤動作状態から復帰することが
できる。さらに吐水用機器の多くの場合がそうであるよ
うに、動作が吐水/止水などの単純な場合、マイクロコ
ンピュータをリセットさせても動作停止中であればその
後の動作に影響が少ないため、効果的な手段であるとい
える。
The microcomputer can recover from the malfunctioning state by resetting, even if the setting contents change due to disturbance during the operation and a malfunction occurs. Furthermore, as in many cases of water discharge equipment, when the operation is simple such as water discharge / water stoppage, even if the microcomputer is reset, if the operation is stopped, the subsequent operation is less affected. It can be said that this is an effective means.

【0008】実際にリセットを行うタイミングについて
は、吐水用機器で吐水中にリセットさせると逆にそれが
誤動作となるので、リセットは止水中に行うことが必要
である。これに対し、例えば機器の動作の有無を検知を
行い、検知結果に基づきリセットを行うようにすること
ができる。また、動作中はリセットを禁止するような構
成をとっても同様である。
[0008] Regarding the timing of actually resetting, if the reset is performed during the water discharge by the water discharging device, the operation is erroneously performed. Therefore, it is necessary to perform the reset while the water is stopped. On the other hand, for example, the presence / absence of the operation of the device can be detected, and the reset can be performed based on the detection result. The same applies to a configuration in which reset is prohibited during operation.

【0009】なお、機器の動作の有無検出に関しては、
非接触式のセンサやスイッチのような操作入力によるも
のや、水流スイッチのようなものを用いて行うことがで
きる。これにより、衛生面での配慮が必要な用途におい
てリセット操作を含め非接触式とできることや、新規に
リセット用のスイッチを設ける必要がなく部品点数を削
減できる等の効果がある。
[0009] Regarding the detection of the presence or absence of the operation of the device,
It can be performed by using an operation input such as a non-contact sensor or switch, or using a water flow switch. As a result, it is possible to achieve a non-contact type including a resetting operation in applications requiring hygiene considerations, and it is not necessary to newly provide a resetting switch, thereby reducing the number of parts.

【0010】マイクロコンピュータをリセットに関し、
止水中であってもリセット後に定常状態に戻らないうち
に検知結果に基づき吐水が要求された場合、吐水がうま
く行われない可能性もあり、使用頻度が低い時にリセッ
トを行うことが望ましい。
Regarding resetting the microcomputer,
If water discharge is requested based on the detection result before returning to the steady state after reset even if the water is stopped, there is a possibility that the water discharge may not be performed well, and it is desirable to perform the reset when the frequency of use is low.

【0011】これに対し、吐水用機器が所定のリセット
設定時間動作しない場合、動作開始可能性が低いと判断
しリセットさせることができる。りセット設定時間は、
吐水用機器が実際どの程度の連続時間機器が動作してい
るかを考慮して設定されることが望ましい。
On the other hand, when the water discharging device does not operate for a predetermined reset setting time, it is determined that the possibility of starting the operation is low, and the device can be reset. Reset set time
It is desirable that the water discharging device is set in consideration of how much continuous time the device actually operates.

【0012】なお、前記の設定において、リセット設定
時間に対して動作しない期間が長い場合、マイクロコン
ピュータのリセットが不必要に複数回行われ、特に前述
の通り、リセット後に定常状態に戻らないうちに検知結
果に基づき吐水が要求される確率が高くなり、好ましく
ない。これに対し、少なくとも前回のリセットから現時
点までの間の動作頻度を設定値と比較し、比較結果に基
づき設定値以下である場合リセットを禁止することによ
り、必要回数に抑えたリセットを行うことができる。
In the above setting, if the period during which no operation is performed with respect to the reset setting time is long, the microcomputer is reset unnecessarily a plurality of times, especially as described above before returning to the steady state after resetting. The probability that water is required to be discharged is increased based on the detection result, which is not preferable. On the other hand, by comparing the operation frequency between the last reset and the present time with the set value, and prohibiting the reset when the operation frequency is equal to or less than the set value based on the comparison result, it is possible to perform the reset which has been suppressed to a required number of times. it can.

【0013】また、吐水用装置の動作頻度が低い時間帯
がほぼ一定であるような場合、これに応じた時間帯でマ
イクロコンピュータのリセットを行える方が望ましい。
このように特定の時間帯での機器の動作可能性が低いと
予測できる場合には、この時間帯での動作頻度が低いも
のと判断し、リセット設定時間を固定して用いることが
できる。
In a case where the time period during which the frequency of operation of the water discharging device is low is substantially constant, it is desirable that the microcomputer can be reset in a time period corresponding to the time period.
When it is predicted that the operability of the device in a specific time zone is low, it is determined that the operation frequency in this time zone is low, and the reset setting time can be fixed and used.

【0014】さらに、吐水用装置の動作頻度が一定の周
期幅を持つ場合、所定のリセット禁止時間を設定し、リ
セット禁止時間経過後にリセットを許可することによ
り、吐水用装置の動作頻度の周期幅に応じたリセットを
行うことができる。
Further, when the operation frequency of the water discharging device has a fixed cycle width, a predetermined reset prohibition time is set, and reset is permitted after the reset prohibition time has elapsed, thereby making it possible to set the cycle width of the operation frequency of the water discharging device. Can be reset in accordance with.

【0015】以上の手段を組み合わせることにより、さ
らに実際の動作パターンに対応したリセットを行うこと
ができる。例えば、吐水用機器の中でも自動水栓のよう
に、9時から23時までは動作頻度が高く、それ以外は
動作頻度が低い場合、前記リセット設定時間を4時間、
前記リセット禁止時間を20時間としておく。23時、
その日最後の使用が行われたとする。その後4時間、使
用がなければ次の日の3時にリセットされる。リセット
再スタート後、禁止時間20時間なので早くとも23時
まではリセットしない。したがって、昼間4時間以上未
動作時間があってもリセットせずに済む。前述した動作
パターンが続けば、毎日一回3時頃にリセットするよう
になる。
By combining the above means, a reset corresponding to an actual operation pattern can be further performed. For example, when the operation frequency is high from 9:00 to 23:00 and the operation frequency is low in other cases, such as an automatic faucet among the water discharge devices, the reset setting time is set to 4 hours.
The reset inhibition time is set to 20 hours. 23:00,
Assume that the last use of the day has taken place. It will be reset for 4 hours, if not used, at 3 o'clock the next day. After the reset restart, the prohibition time is 20 hours, so it is not reset until 23:00 at the earliest. Therefore, even if there is no operation time for 4 hours or more in the daytime, it is not necessary to reset. If the above-mentioned operation pattern continues, it is reset once at about 3:00 once a day.

【0016】このように、本発明によれば、動作中に受
ける外乱や長周期で発生するようなソフトウェア上のバ
グ等によってマイクロコンピュータの設定内容が変更さ
れることにより発生する誤動作を、吐水用機器の動作頻
度が低い時に制御装置のマイクロコンピュータにリセッ
トを行うことで実際の機器の動作への影響を少なく保ち
つつ、未然に防止することができる。
As described above, according to the present invention, a malfunction caused by a change in the setting contents of the microcomputer due to a disturbance received during operation or a software bug that occurs in a long cycle can be used for water discharge. By resetting the microcomputer of the control device when the operation frequency of the device is low, the influence on the actual operation of the device can be prevented while keeping the influence on the operation of the device small.

【0017】[0017]

【発明の実施の形態】図1に、本発明の一実施形態に係
る制御装置のマイクロコンピュータの回路構成を示す。
この制御装置は、例えば、洗面台やトイレ室内の手洗い
用シンクのような水周り設備に設置されるものである。
動作の検出に関しては、非接触による方法を用いてい
る。
FIG. 1 shows a circuit configuration of a microcomputer of a control device according to an embodiment of the present invention.
This control device is installed, for example, in a water-related facility such as a sink or a hand-washing sink in a toilet room.
For the detection of the movement, a non-contact method is used.

【0018】上記装置は、図示のように、制御する行う
信号処理部(以下マイクロコンピュータ)1、各部へ給
電するための電源(電池)2、対象物の有無を検出する
ための非接触式の回路(以下センサ回路)3、マイクロ
コンピュータをリセットするためのリセット回路4、吐
水装置(図示しない)を開/閉するバルブ(図示しな
い)を駆動するバルブ駆動部(ラッチングソレノイド、
以下LS)5を備える。
As shown in the figure, the above-mentioned apparatus has a signal processing unit (hereinafter referred to as a microcomputer) 1 for controlling, a power supply (battery) 2 for supplying power to each unit, and a non-contact type for detecting the presence or absence of an object. A circuit (hereinafter referred to as a sensor circuit) 3, a reset circuit 4 for resetting the microcomputer, a valve driving unit (latching solenoid, which drives a valve (not shown) for opening / closing a water discharge device (not shown),
LS) 5.

【0019】マイクロコンピュータ1は、動作クロック
を発生するための、制御行うための入出力ポートP01
〜P08を備える。
The microcomputer 1 has an input / output port P01 for performing control for generating an operation clock.
To P08.

【0020】センサ回路3は、投光素子7、受光素子8
とを備える。センサ回路3は、マイクロコンピュータ1
のP06に接続されたトランジスタ9によってその電源
VCCをON/OFFさせる構成となっている。
The sensor circuit 3 includes a light emitting element 7 and a light receiving element 8
And The sensor circuit 3 includes the microcomputer 1
The power supply VCC is turned on / off by a transistor 9 connected to P06.

【0021】投光素子7は、センサ回路3が駆動状態に
おかれている時、マイクロコンピュータ1のP06に接
続されたトランジスタ9を通じ電池2から給電を受けて
駆動する。
When the sensor circuit 3 is in a driving state, the light emitting element 7 is driven by receiving power from the battery 2 through a transistor 9 connected to P06 of the microcomputer 1.

【0022】受光素子8は、センサ回路3が駆動状態に
おかれている時、マイクロコンピュータ1のP06に接
続されたトランジスタ5を通じ電池2から給電を受けて
駆動し、投光素子7から出力された信号が対象物に当た
り、反射されてきた信号の大きさに応じた電流を出力す
る。
When the sensor circuit 3 is in a driving state, the light receiving element 8 is driven by receiving power from the battery 2 through the transistor 5 connected to P06 of the microcomputer 1 and is output from the light projecting element 7. The reflected signal hits the object, and outputs a current corresponding to the magnitude of the reflected signal.

【0023】マイクロコンピュータ1のP07はセンサ
回路3の端子[START]に入力され、センサ動作の
起動を行う。センサ回路3で検出された反射レベルを感
知/非感知の判定処理して結果を端子[SOUT]に出
力し、P08からマイクロコンピュータに入力する。
P07 of the microcomputer 1 is input to a terminal [START] of the sensor circuit 3 to activate the sensor operation. The reflection level detected by the sensor circuit 3 is determined as sensing / non-sensing, and the result is output to a terminal [SOUT] and input to the microcomputer from P08.

【0024】リセット回路4は、マイクロコンピュータ
1のリセットポートおよび出力ポートP05に接続され
ており、P05をONするとマイクロコンピュータ1に
リセットがかかる。
The reset circuit 4 is connected to a reset port and an output port P05 of the microcomputer 1, and the microcomputer 1 is reset when P05 is turned on.

【0025】10は4つのトランジスタにより構成さ
れ、LS10を駆動する。マイクロコンピュータ1の出
力ポートP01〜P04に接続され、P01、P03を
オンするとLSを開方向に、P02、P04をオンする
とLSを閉方向に駆動するよう構成されている。
The reference numeral 10 comprises four transistors and drives the LS10. The microcomputer is connected to output ports P01 to P04 of the microcomputer 1, and is configured to drive LS in an opening direction when P01 and P03 are turned on, and to drive LS in a closing direction when P02 and P04 are turned on.

【0026】次に、従来例の動作を図2を用いて説明す
る。図2は自動水栓の製品動作のメインルーチンであ
る。図2において、リセット(S001)からスタート
し初期設定後(S002)、タイマをリセットする(S
003)。これはメインルーチンの時間を管理する基本
となるタイマである。
Next, the operation of the conventional example will be described with reference to FIG. FIG. 2 is a main routine of the product operation of the automatic faucet. In FIG. 2, starting from reset (S001), and after initial setting (S002), the timer is reset (S002).
003). This is a basic timer for managing the time of the main routine.

【0027】タイマリセット後、センサ駆動のサブルー
チン(SUB1)を実行する。この内容を図3を用いて
説明する。図3において、P06をON(S102)
し、トランジスタ5によりセンサ回路3に電源VCCが
通電される。次にP07をONすると(S103)、セ
ンサ回路3は投光素子6に通電し受光素子7に入射した
レベルを設定値と比較し、感知/非感知を判定して[S
OUT]に出力するが、この判定時間としてP07をO
N後1msec待って(S104)判定結果をP08に
入力する(S105)。
After the timer is reset, a subroutine (SUB1) for driving the sensor is executed. This will be described with reference to FIG. In FIG. 3, P06 is turned ON (S102).
Then, the power supply VCC is supplied to the sensor circuit 3 by the transistor 5. Next, when P07 is turned on (S103), the sensor circuit 3 energizes the light projecting element 6 and compares the level incident on the light receiving element 7 with a set value to judge sensing / non-sensing and then [S]
OUT], and P07 is set to O
After waiting for 1 msec after N (S104), the judgment result is input to P08 (S105).

【0028】図2のメインルーチンに戻り、現在感知状
態かどうか判定する(S004)。感知状態であれば使
用者の手が差し出されたと判断し、かつ吐水中と判断さ
れれば(S005)最後の500msecチェック(S
007)へ、吐水中でなければLSを開通電(SUB
2)して、500msecチェックに入る。逆に現在非
感知状態であれば手が差し出されていないと判断し、か
つ吐水中と判断されれば(S006)最後の500ms
ecチェックへ、止水中であればLSを開通電(SUB
3)して、500msecチェックに入る。500ms
ecのチェックでは最初のタイマリセットからの時間を
チェックし、500msec経過した時点でメインルー
チンのスタートに戻る。これによりメインルーチンの処
理が一定周期で実行される。
Returning to the main routine of FIG. 2, it is determined whether or not the current state is the sensing state (S004). If it is in the sensing state, it is determined that the user's hand is out, and if it is determined that the user is discharging water (S005), the last 500 msec check (S
007), if the water is not discharged, the LS is opened and energized (SUB).
2) Then, check for 500 msec is started. Conversely, if it is currently in the non-sensing state, it is determined that the hand has not been put out, and if it is determined that water is being discharged (S006), the last 500 ms
ec check, if water is still running, open LS and energize (SUB
3) Then, check for 500 msec is started. 500ms
In the check of ec, the time from the first timer reset is checked, and when 500 msec has elapsed, the process returns to the start of the main routine. As a result, the processing of the main routine is executed at regular intervals.

【0029】なお、LS開通電(SUB2)、閉通電
(SUB3)のサブルーチンを図4に示す。
FIG. 4 shows a subroutine of LS open energization (SUB2) and close energization (SUB3).

【0030】次に、本発明による実施例(その1)を図
5に示す。図5は、図1の回路の基本となる動作フロー
で図2に対応するメインルーチンである。図5におい
て、リセットスタートからのLSの開閉までは従来例と
同様である。
Next, an embodiment (No. 1) of the present invention is shown in FIG. FIG. 5 is a main routine corresponding to FIG. 2 in the basic operation flow of the circuit of FIG. In FIG. 5, the operation from the reset start to the opening and closing of the LS is the same as in the conventional example.

【0031】ここで従来例に加えて新たに「カウンタ
A」を設定する。「カウンタA」は自動水栓が使用され
ない時間(ここでは4時間とする)をカウントするカウ
ンタである。「カウンタA」を+1インクリメントする
(S408)のは、センサ非感知状態で現在止水中の場
合だけである。それ以外は「カウンタA」を0にリセッ
トする(S409)。
Here, a "counter A" is newly set in addition to the conventional example. “Counter A” is a counter that counts the time during which the automatic faucet is not used (here, 4 hours). "Counter A" is incremented by +1 (S408) only when the sensor is not detected and the water is currently stopped. Otherwise, "counter A" is reset to 0 (S409).

【0032】その後「カウンタA」をチェックする(S
410)。メインルーチンは500msec周期で周っ
ているので、「カウンタA」=3600×8(×500
msec)になると4時間経過したことになる。もし
「カウンタA」<3600×8であれば最後の500m
secチェックへ(S407)、それ以外はマイクロコ
ンピュータにリセットがかかるまでP05をON(S4
11)し続ける。
Thereafter, "counter A" is checked (S
410). Since the main routine circulates at a cycle of 500 msec, "Counter A" = 3600 × 8 (× 500
msec), 4 hours have passed. If "Counter A"<3600 x 8, last 500m
To the second check (S407), otherwise, P05 is turned on until the microcomputer is reset (S4).
11) Continue to do.

【0033】以上のようにすれば、止水中かつ動作して
いなければ一定の周期で外部からの操作を行うことな
く、リセットを行うことができる。
With the above arrangement, if water is stopped and no operation is performed, the reset can be performed at a fixed cycle without an external operation.

【0034】次に、他の実施例(その2)を図6に示
す。構成は前述回路図1と同様である。図6は図5に対
応するメインルーチンである。図6では図5に新たに
「吐水フラグ」を加えている。「吐水フラグ」はマイク
ロコンピュータリセット後、一度でも吐水されたかどう
かをチェックするフラグである。「吐水フラグ」はリセ
ット後初期設定として0にクリアされる(S508)。
Next, another embodiment (No. 2) is shown in FIG. The configuration is the same as that of the above-described circuit diagram 1. FIG. 6 is a main routine corresponding to FIG. In FIG. 6, a “water discharge flag” is newly added to FIG. The “water discharge flag” is a flag for checking whether water has been discharged at least once after the microcomputer reset. The "water discharge flag" is cleared to 0 as an initial setting after reset (S508).

【0035】その後動作中、センサ非感知状態かつ現在
止水中の時以外に「吐水フラグ」を1にセットする(S
509)。「吐水フラグ」のチェック(S510)はセ
ンサ非感知状態かつ現在止水中の時に行い、「吐水フラ
グ」が1であれば「カウンタA」を+1インクリメント
(S511)、0であれば「カウンタA」を0にリセッ
トする(S512)。その後は実施例図6と同様に、
「カウンタA」<3600×8であれば最後の500m
secチェックへ(S407)、それ以外はマイクロコ
ンピュータにリセットがかかるまでP05をON(S4
11)し続ける。
Thereafter, during operation, the "water discharge flag" is set to 1 except when the sensor is not sensed and the water is still stopped (S
509). The check of the "water discharge flag" (S510) is performed when the sensor is not sensed and the water is currently stopped. If the "water discharge flag" is 1, "Counter A" is incremented by +1 (S511). Is reset to 0 (S512). After that, similarly to the embodiment shown in FIG.
Last 500m if "Counter A"<3600 x 8
To the second check (S407), otherwise, P05 is turned on until the microcomputer is reset (S4).
11) Continue to do.

【0036】以上のようにすれば、リセット後一度も動
作していなければ「カウンタA」がインクリメントされ
ず、リセットされることがない。すなわち、所定の設定
により必要回数に抑えたリセットを行うことができる。
In this way, if the counter A has not been operated once after the reset, the "counter A" is not incremented and the reset is not performed. That is, it is possible to perform resetting to a required number of times by a predetermined setting.

【0037】さらに、他の実施例(その3)を図7に示
す。構成は前述回路図1と同様である。図7は図5に対
応するメインルーチンである。
FIG. 7 shows another embodiment (part 3). The configuration is the same as that of the above-described circuit diagram 1. FIG. 7 is a main routine corresponding to FIG.

【0038】図7では図5に新たに「カウンタB」を加
えている。「カウンタB」はマイクロコンピュータリセ
ットスタート後、リセットすることを禁止する時間をカ
ウントするカウンタである。ここではリセット禁止時間
を20時間と仮定する。
In FIG. 7, "Counter B" is newly added to FIG. "Counter B" is a counter that counts the time during which resetting is prohibited after the microcomputer reset is started. Here, it is assumed that the reset prohibition time is 20 hours.

【0039】「カウンタB」は、リセット後初期設定で
0にリセットされる(S608)。その後動作中、メイ
ンルーチンで必ず1回、+1インクリメントされる(S
611)。「カウンタB」のチェック(S612)は
「カウンタA」の前に行われる。「カウンタB」が36
00×40(500msec)(=20時間経過)以下
であれば「カウンタA」のチェックを行わず、最後の5
00msecのチェック(S607)へ進む。その後は
実施例図6と同様に、「カウンタA」<3600×8で
あれば最後の500msecチェックへ(S607)、
それ以外はマイクロコンピュータにリセットがかかるま
でP05をON(S614)し続ける。
"Counter B" is reset to 0 by the initial setting after reset (S608). Thereafter, during the operation, +1 is always incremented by one in the main routine (S
611). The check of "Counter B" (S612) is performed before "Counter A". "Counter B" is 36
If it is less than 00 × 40 (500 msec) (= 20 hours have elapsed), the “counter A” is not checked and the last 5
The process proceeds to the check of 00 msec (S607). Thereafter, similarly to the embodiment shown in FIG. 6, if “Counter A” <3600 × 8, the process proceeds to the last 500 msec check (S607).
Otherwise, P05 is kept ON (S614) until the microcomputer is reset.

【0040】以上のようにすれば、リセット後禁止時間
以内であれば「カウンタA」のチェックをせず、リセッ
トされることがない。すなわち、設定値に応じてリセッ
トを許可することができる。
As described above, the counter A is not checked and reset is not performed within the prohibition time after reset. That is, reset can be permitted according to the set value.

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

【図1】本発明の一実施形態に係る吐水制御装置の回路
構成図
FIG. 1 is a circuit configuration diagram of a water discharge control device according to an embodiment of the present invention.

【図2】従来例の処理を示すフローチャートFIG. 2 is a flowchart showing processing of a conventional example.

【図3】従来例のセンサ駆動のサブルーチン処理を示す
フローチャート
FIG. 3 is a flowchart showing a conventional subroutine for driving a sensor.

【図4】従来例のLS開通電および閉通電のサブルーチ
ン処理
FIG. 4 shows a conventional LS open energization and close energization subroutine process.

【図5】本発明の一実施形態(その1)に係る制御のフ
ローチャート
FIG. 5 is a flowchart of control according to an embodiment (part 1) of the present invention;

【図6】本発明の一実施形態(その2)に係る制御のフ
ローチャート
FIG. 6 is a flowchart of control according to an embodiment (part 2) of the present invention;

【図7】本発明の一実施形態(その3)に係るフローチ
ャート
FIG. 7 is a flowchart according to an embodiment (part 3) of the present invention;

【符号の説明】 1…マイクロコンピュータ 2…電源(電池) 3…センサ回路 4…リセット回路 5…バルブ駆動部 6…発振子 7…投光素子 8…受光素子 10…Hブリッジ回路[Description of Signs] 1 ... microcomputer 2 ... power supply (battery) 3 ... sensor circuit 4 ... reset circuit 5 ... bulb drive unit 6 ... oscillator 7 ... light emitting element 8 ... light receiving element 10 ... H bridge circuit

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 マイクロコンピュータにより吐水動作を
制御する吐水用機器において、吐水用機器の吐水動作の
有無を検出し、検出結果に基づき制御装置のマイクロコ
ンピュータのリセットを指示するリセット指示手段を備
えたことを特徴とする吐水用機器の制御装置。
1. A water discharging device for controlling a water discharging operation by a microcomputer, comprising: reset instructing means for detecting the presence or absence of a water discharging operation of the water discharging device, and instructing a reset of the microcomputer of the control device based on the detection result. A control device for a water spouting device, comprising:
【請求項2】 前記リセット指示手段は、吐水用機器の
吐水動作停止中に、制御装置のマイクロコンピュータの
リセットを行うことを特徴とする請求項1記載の吐水用
機器の制御装置。
2. The control device for a water discharging device according to claim 1, wherein the reset instructing means resets a microcomputer of the control device while the water discharging operation of the water discharging device is stopped.
【請求項3】 前記リセット指示手段は、吐水用機器の
吐水動作を開始する可能性を判断する可能性判断手段を
有し、この判断結果に基づき吐水動作する可能性が低い
と判断した場合に、制御装置のマイクロコンピュータの
リセットを行うことを特徴とする請求項1記載の吐水用
機器の制御装置。
3. The reset instructing means includes a possibility determining means for determining a possibility of starting a water discharging operation of the water discharging device. When it is determined that the possibility of performing the water discharging operation is low based on a result of the determination. 2. The control device according to claim 1, wherein the microcomputer of the control device is reset.
【請求項4】 前記可能性判断手段は、設定時間吐水用
機器が吐水動作しなかった場合、吐水動作を開始する可
能性が低いと判断することを特徴とする請求項3記載の
吐水用機器の制御装置。
4. The water discharging device according to claim 3, wherein the possibility determining means determines that the possibility of starting the water discharging operation is low when the water discharging device has not performed the water discharging operation for a set time. Control device.
【請求項5】 前記可能性判断手段は、特定の時間帯で
は吐水用機器の吐水動作を開始する可能性が低いと判断
することを特徴とする請求項3記載の吐水用機器の制御
装置。
5. The control device for a water discharging device according to claim 3, wherein the possibility determining unit determines that the possibility of starting the water discharging operation of the water discharging device is low in a specific time zone.
【請求項6】 前記可能性判断手段は、前回のリセット
終了から現時点までの吐水用機器の吐水動作を行う頻度
に基づき、吐水動作する頻度が低いと判断した場合に、
吐水用機器の吐水動作を開始する可能性が低いと判断す
ることを特徴とする請求項3、4、5記載の吐水用機器
の制御装置。
6. The method according to claim 1, wherein the possibility determining unit determines that the frequency of the water discharge operation is low based on the frequency of the water discharge operation of the water discharge device from the end of the previous reset to the current time.
6. The control device for a water discharging device according to claim 3, wherein it is determined that the possibility of starting the water discharging operation of the water discharging device is low.
【請求項7】 前記リセット指示手段は、前回のリセッ
ト終了後、所定時間リセット指示手段からの指示出力し
ないリセット禁止時間を設けたことを特徴とする請求項
1記載の吐水用機器の制御装置。
7. The control device for a water discharging apparatus according to claim 1, wherein the reset instructing means has a reset prohibition time during which no instruction is output from the reset instructing means for a predetermined time after the previous reset is completed.
【請求項8】 マイクロコンピュータにより吐水動作を
制御する吐水用機器において、非接触式センサからの信
号を元にして制御装置のマイクロコンピュータのリセッ
トを指示する手段を備えたことを特徴とする吐水用機器
の制御装置。
8. A water discharging device for controlling water discharging operation by a microcomputer, comprising means for instructing reset of the microcomputer of the control device based on a signal from a non-contact type sensor. Equipment control device.
【請求項9】 操作入力を非接触式で行う吐水用機器に
おいて、非接触式で制御装置のマイクロコンピュータの
リセットを指示する手段を備えたことを特徴とする吐水
用機器の制御装置。
9. A control device for a water discharging device which performs an operation input in a non-contact manner, comprising means for instructing a reset of a microcomputer of the control device in a non-contact manner.
JP15295997A 1997-05-26 1997-05-26 Control device for water discharge equipment Pending JPH10325164A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15295997A JPH10325164A (en) 1997-05-26 1997-05-26 Control device for water discharge equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15295997A JPH10325164A (en) 1997-05-26 1997-05-26 Control device for water discharge equipment

Publications (1)

Publication Number Publication Date
JPH10325164A true JPH10325164A (en) 1998-12-08

Family

ID=15551910

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15295997A Pending JPH10325164A (en) 1997-05-26 1997-05-26 Control device for water discharge equipment

Country Status (1)

Country Link
JP (1) JPH10325164A (en)

Similar Documents

Publication Publication Date Title
US7890227B2 (en) Vehicle-mounted electronic control apparatus
US10089164B2 (en) Watchdog timer
KR20000023208A (en) An improved watchdog timer control circuit with permanent and programmable enablement
KR20030018048A (en) Method and device for measuring the execution time of a task in a real time system
GB2250106A (en) Operation control device for washing machines
US20180329721A1 (en) Stand-by mode of an electronic circuit
US5056092A (en) Computer system monitor and controller
US4509508A (en) Endoscope system
JP3264139B2 (en) Microcomputer drive
JP5855720B2 (en) Low voltage reset decision and operation flow change for microprocessor controller
JPH10325164A (en) Control device for water discharge equipment
SE460430B (en) DEVICE TO PREVENT WATER DAMAGE IN BUILDINGS
EP3272012B1 (en) Assuring dropout of solenoid valve controlled by peek-and-hold- driver
JP4191351B2 (en) Game machine
JP4590769B2 (en) Faucet control device
JP2000148543A (en) Method and device for controlling writing of flash eeprom by microcomputer
JPS62176A (en) Power source device
EP0078035B1 (en) Endoscope system
JP2002048877A (en) Body detecting device
JP2657920B2 (en) camera
JPS62175A (en) Power source device
KR200174981Y1 (en) Apparatus for waking-up track ball mouse
KR0152249B1 (en) Valve motor control device for electronically sensing automatic faucet
SU962956A1 (en) Device for restarting computing complex at detecting malfanctions
JPH05233374A (en) Watchdog timer device