JP5999045B2 - Drainage equipment - Google Patents

Drainage equipment Download PDF

Info

Publication number
JP5999045B2
JP5999045B2 JP2013158319A JP2013158319A JP5999045B2 JP 5999045 B2 JP5999045 B2 JP 5999045B2 JP 2013158319 A JP2013158319 A JP 2013158319A JP 2013158319 A JP2013158319 A JP 2013158319A JP 5999045 B2 JP5999045 B2 JP 5999045B2
Authority
JP
Japan
Prior art keywords
unit
time
rotation
detection
drain plug
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 - Fee Related
Application number
JP2013158319A
Other languages
Japanese (ja)
Other versions
JP2015028276A (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.)
Denso Corp
Original Assignee
Denso Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Corp filed Critical Denso Corp
Priority to JP2013158319A priority Critical patent/JP5999045B2/en
Publication of JP2015028276A publication Critical patent/JP2015028276A/en
Application granted granted Critical
Publication of JP5999045B2 publication Critical patent/JP5999045B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、浴槽などの排水栓を開閉する排水装置に関する。   The present invention relates to a drainage device that opens and closes a drain plug such as a bathtub.

スマートハウスおよびHEMS(Home Energy Management System)の表示装置および給湯装置は、ネットワークサーバに接続されている。これによって外出先からスマートフォンなどの遠隔操作端末の操作により、給湯装置の湯張りを実施することが可能になっている。   A display device and a hot water supply device of a smart house and a HEMS (Home Energy Management System) are connected to a network server. Accordingly, it is possible to fill the hot water supply apparatus by operating a remote operation terminal such as a smartphone from the outside.

外出先から湯張りを実施するためには、外出前に浴槽の栓を閉めてくる必要がある。しかし浴槽の栓を閉め忘れていた場合は、帰宅してから湯張りをしなくてはならず、また湯が無駄になるという問題がある。そこでこのような問題を解決する技術が、特許文献1に開示されている。特許文献1では、手動だけでなく遠隔操作によって電気的に排水栓を開閉する排水装置が開示されている。   In order to perform hot water filling from outside, it is necessary to close the bathtub stopper before going out. However, if you have forgotten to close the bathtub, you have to refill the hot water after returning home, and there is a problem that the hot water is wasted. Therefore, a technique for solving such a problem is disclosed in Patent Document 1. Patent Document 1 discloses a drainage device that electrically opens and closes a drain plug not only manually but also remotely.

特開2000−73426号公報JP 2000-73426 A

前述の特許文献1には、手動操作は、クランク軸が0°付近に戻っていないと手動操作部とクランク軸が干渉して、手動操作が行えないという問題がある。したがってクランク軸を0度の位置に戻すためにクランク軸の角度を検出するセンサが故障すると、クランク軸を0度に位置に戻すことができないという問題がある。   The above-mentioned Patent Document 1 has a problem that manual operation cannot be performed because the manual operation unit and the crankshaft interfere with each other unless the crankshaft returns to around 0 °. Therefore, if the sensor for detecting the angle of the crankshaft fails to return the crankshaft to the 0 degree position, there is a problem that the crankshaft cannot be returned to the 0 degree position.

そこで、本発明は前述の問題点を鑑みてなされたものであり、検出手段に不具合が発生した場合であっても、手動操作が可能な排水装置を提供することを目的とする。   Therefore, the present invention has been made in view of the above-described problems, and an object of the present invention is to provide a drainage device that can be manually operated even when a malfunction occurs in the detection means.

本発明は前述の目的を達成するために以下の技術的手段を採用する。   The present invention employs the following technical means in order to achieve the aforementioned object.

本発明は、遠隔操作部によって開閉操作がされた場合には、駆動部の回転駆動を制御して遠隔操作による開閉が完了した後、回転部の角度位置に応じて駆動部をさらに回転駆動して、干渉範囲を除いた位置に回転部が位置するように駆動部を制御する。さらに駆動部の回転駆動の制御を開始後、回転部の角度位置の検出にエラーが発生している場合には、回転部が回転を開始してから1回転する時間の所定倍数の時間が経過後に回転部の駆動を停止するように駆動部を制御することを特徴とする。   According to the present invention, when the opening / closing operation is performed by the remote operation unit, after the opening / closing by the remote operation is completed by controlling the rotation driving of the driving unit, the driving unit is further rotated according to the angular position of the rotation unit. Then, the drive unit is controlled so that the rotating unit is located at a position excluding the interference range. Furthermore, after the start of the rotational drive control of the drive unit, if an error has occurred in the detection of the angular position of the rotary unit, a predetermined multiple of the time for one rotation has elapsed since the rotary unit started rotating The drive unit is controlled to stop the drive of the rotating unit later.

このような本発明に従えば、ユーザは直接操作部を直接操作することによって、排水栓を開閉できるとともに、遠隔操作部を操作することによっても排水栓を開閉することができる。また制御部は、遠隔操作部によって開閉操作がされた場合には、遠隔操作による開閉が完了した後、検出された回転部の角度位置に応じて、駆動部をさらに回転駆動する。したがって制御部は、単に開閉操作が完了したら回転を停止するのではなく、直接操作部の影響を受けない干渉範囲を除いた位置になるまでさらに回転部が回転するように制御する。これによって遠隔操作部による開閉操作が行われた後であっても、直接操作が可能となる。   According to the present invention, the user can open and close the drain plug by directly operating the operation unit, and can also open and close the drain plug by operating the remote control unit. In addition, when the opening / closing operation is performed by the remote operation unit, the control unit further rotationally drives the driving unit according to the detected angular position of the rotating unit after the opening / closing by the remote operation is completed. Therefore, the control unit does not stop the rotation when the opening / closing operation is completed, but controls the rotation unit to further rotate until the position excluding the interference range not directly affected by the operation unit. Thereby, even after the opening / closing operation by the remote operation unit is performed, the direct operation is possible.

また駆動部の回転駆動の制御を開始後、回転検出手段によって回転部の角度位置の検出にエラーが発生している場合がある。制御部は、このようなエラーが発生している場合には、回転部が回転を開始してから1回転する時間の所定倍数の時間が経過後に回転部の駆動を停止するように駆動部を制御する。所定倍数の時間が経過後に回転部の駆動を停止するので、回転部が回転を開始した位置、すなわち初期位置に戻すことができる。初期位置は、干渉範囲を除いた位置にあるので、回転検出手段にエラーが発生している場合であっても、直接操作が可能となる。したがって回転検出手段に不具合が発生した場合であっても、手動操作が可能な排水装置を実現することができる。   In addition, after starting the rotation drive control of the drive unit, an error may occur in the detection of the angular position of the rotation unit by the rotation detection unit. When such an error has occurred, the control unit causes the drive unit to stop driving the rotary unit after a predetermined multiple of time has elapsed since the rotation unit started rotating. Control. Since the driving of the rotating unit is stopped after a predetermined multiple of time has elapsed, it is possible to return to the position where the rotating unit starts rotating, that is, the initial position. Since the initial position is at a position excluding the interference range, direct operation is possible even when an error has occurred in the rotation detection means. Therefore, it is possible to realize a drainage device that can be manually operated even when a failure occurs in the rotation detecting means.

なお、前述の各手段の括弧内の符号は、後述する実施形態に記載の具体的手段との対応関係を示す一例である。   In addition, the code | symbol in the bracket | parenthesis of each above-mentioned means is an example which shows a corresponding relationship with the specific means as described in embodiment mentioned later.

第1実施形態の給湯装置10を示す構成図である。It is a lineblock diagram showing hot water supply device 10 of a 1st embodiment. 浴室リモコン41を示す正面図である。It is a front view which shows the bathroom remote control 41. FIG. 台所リモコン42を示す正面図である。It is a front view which shows the kitchen remote control. スマートフォン43に表示される画面を示す図である。It is a figure which shows the screen displayed on the smart phone. 排水装置30を示す断面図である。2 is a cross-sectional view showing a drainage device 30. FIG. 図5の切断面線VI−VIから見て示す断面図である。FIG. 6 is a cross-sectional view seen from a section line VI-VI in FIG. 5. 図6の切断面線VII−VIIから見て示す断面図である。FIG. 7 is a cross-sectional view seen from a cutting plane line VII-VII in FIG. 6. クランク34が90度の位置にある状態を示す図である。It is a figure which shows the state which has the crank 34 in the position of 90 degree | times. クランク34が180度の位置にある状態を示す図である。It is a figure which shows the state which has the crank 34 in the position of 180 degree | times. クランク34が270度の位置にある状態を示す図である。It is a figure which shows the state which has the crank 34 in the position of 270 degree | times. クランク34が0度の位置にある状態を示す図である。It is a figure which shows the state which has the crank 34 in the 0 degree position. クランク34が0度の位置にある状態で、手動スイッチ33を押下した状態を示す図である。It is a figure which shows the state which pressed down the manual switch 33 in the state in which the crank 34 exists in a 0 degree position. クランク34が50度の位置にある状態を示す図である。It is a figure which shows the state which has the crank 34 in the position of 50 degree | times. クランク34が50度の位置にある状態で、手動スイッチ33を押下した状態を示す図である。It is a figure which shows the state which pressed down the manual switch 33 in the state in which the crank 34 exists in a 50 degree position. 各センサの波形と排水装置30の動作位置を示すタイミングチャートである。4 is a timing chart showing the waveform of each sensor and the operating position of the drainage device 30. 制御部20による湯張りの制御を示すフローチャートである。3 is a flowchart illustrating hot water filling control by a control unit 20. 開制御を示すフローチャートである。It is a flowchart which shows opening control. 閉制御を示すフローチャートである。It is a flowchart which shows closing control. イニシャル制御を示すフローチャートである。It is a flowchart which shows initial control. イニシャル制御の一例を示すタイミングチャートである。It is a timing chart which shows an example of initial control. イニシャル制御の他の例を示すタイミングチャートである。It is a timing chart which shows the other example of initial control. 開制御を示すフローチャートである。It is a flowchart which shows opening control. 閉制御を示すフローチャートである。It is a flowchart which shows closing control. 開制御および閉制御を示すタイミングチャートである。It is a timing chart which shows opening control and closing control. 第2実施形態の給湯装置10Aを示す構成図である。It is a block diagram which shows 10 A of hot water supply apparatuses of 2nd Embodiment. 第3実施形態の給湯装置10Bを示す構成図である。It is a block diagram which shows the hot water supply apparatus 10B of 3rd Embodiment. 第4実施形態の給湯装置10Cを示す構成図である。It is a block diagram which shows 10C of hot water supply apparatuses of 4th Embodiment.

以下、図面を参照しながら本発明を実施するための形態を、複数の形態について説明する。各実施形態で先行する実施形態で説明している事項に対応している部分には同一の参照符を付すか、または先行の参照符号に一文字追加し、重複する説明を略する場合がある。また各実施形態にて構成の一部を説明している場合、構成の他の部分は、先行して説明している実施形態と同様とする。各実施形態で具体的に説明している部分の組合せばかりではなく、特に組合せに支障が生じなければ、実施形態同士を部分的に組合せることも可能である。   Hereinafter, a plurality of embodiments for carrying out the present invention will be described with reference to the drawings. In some embodiments, portions corresponding to the matters described in the preceding embodiments may be given the same reference numerals, or one letter may be added to the preceding reference numerals, and overlapping descriptions may be omitted. In addition, when a part of the configuration is described in each embodiment, the other parts of the configuration are the same as those of the embodiment described in advance. In addition to the combination of parts specifically described in each embodiment, the embodiments may be partially combined as long as the combination does not hinder the combination.

(第1実施形態)
本発明の第1実施形態に関して、図1〜図24を用いて説明する。給湯装置10の給湯機11は、ヒートポンプから成り、貯湯タンク部12との接続部位であるヒートポンプ往き部13とヒートポンプ戻り部14となる配管部分に接続されている。貯湯タンク部12は、貯湯タンク(図示せず)とその周辺の配管および機器を含む部分であり、制御部20も含まれている。
(First embodiment)
A first embodiment of the present invention will be described with reference to FIGS. A water heater 11 of the hot water supply apparatus 10 is composed of a heat pump, and is connected to a pipe portion serving as a heat pump going-out portion 13 and a heat pump return portion 14 that are connected to the hot water storage tank portion 12. The hot water storage tank unit 12 is a part including a hot water storage tank (not shown) and surrounding piping and equipment, and also includes a control unit 20.

貯湯タンク部12からは給湯口15へ給湯配管を介してお湯が供給される。また、貯湯タンク部12から風呂場の浴槽16には、浴槽16に接続して浴槽水を図示しない風呂ポンプで循環する循環回路17が接続されている。浴槽16内には浴槽16の底から予め決められた高さに設置され循環回路17を浴槽16に接続する浴槽アダプタ18が備えられている。   Hot water is supplied from the hot water storage tank unit 12 to the hot water supply port 15 via a hot water supply pipe. Further, a circulation circuit 17 is connected from the hot water storage tank section 12 to the bathtub 16 of the bathroom, and is connected to the bathtub 16 and circulates the bathtub water with a bath pump (not shown). A bathtub adapter 18 that is installed at a predetermined height from the bottom of the bathtub 16 and connects the circulation circuit 17 to the bathtub 16 is provided in the bathtub 16.

浴槽16内の水を排水する排水栓19の開閉を、ワイヤ(コントロールワイヤまたはコントロールケーブルとも言う)31を介して行う排水装置30が、浴槽16の側面に設けられている。排水装置30は、浴室リモコン41および台所リモコン42らの信号で駆動して排水栓19を開閉する。さらに排水装置30は、スマートフォン43などの情報端末装置からのサーバ44を介して受信した信号で排水栓19を開閉する。   A drainage device 30 that opens and closes a drain plug 19 that drains water in the bathtub 16 via a wire (also referred to as a control wire or a control cable) 31 is provided on a side surface of the bathtub 16. The drainage device 30 is driven by signals from the bathroom remote control 41 and the kitchen remote control 42 to open and close the drain plug 19. Further, the drainage device 30 opens and closes the drainage plug 19 with a signal received via the server 44 from the information terminal device such as the smartphone 43.

給湯機11と貯湯タンク部12とは屋外に設置され、これら給湯機11と貯湯タンク部12には、水道水が水道配管21上の止水栓22、減圧弁23、給水用逆止弁24および弁25等を介して供給されている。   The hot water heater 11 and the hot water storage tank section 12 are installed outdoors. In the hot water heater 11 and the hot water storage tank section 12, tap water is supplied with a stop cock 22 on the water pipe 21, a pressure reducing valve 23, and a check valve 24 for water supply. And the valve 25 and the like.

浴室内に置かれ遠隔装置として機能する浴室リモコン41と、台所に置かれた遠隔装置として機能するメインの台所リモコン42とには、貯湯タンク部12内の制御部20から通信線と電源線とを含む配管53を介して制御信号と電源とが供給されている。   A bathroom remote controller 41 functioning as a remote device placed in the bathroom and a main kitchen remote controller 42 functioning as a remote device placed in the kitchen include a communication line and a power line from the control unit 20 in the hot water storage tank unit 12. A control signal and power are supplied through a pipe 53 including

次に、貯湯タンク部12の構成に関して説明する。貯湯タンク部12内の図示を省略した貯湯タンクは、給湯機11が沸かしたお湯を貯え保温する。貯湯タンクの底には、水道配管21から水道水が供給され、ヒートポンプ戻り部14から逆止弁等を介して貯湯タンクにお湯が循環するようになっている。   Next, the configuration of the hot water storage tank unit 12 will be described. A hot water storage tank (not shown) in the hot water storage tank unit 12 stores and keeps hot water boiled by the water heater 11. Tap water is supplied from the water pipe 21 to the bottom of the hot water storage tank, and hot water circulates from the heat pump return section 14 to the hot water storage tank via a check valve.

浴槽16に給湯するときは、貯湯タンクから水量を検出する図示しない風呂カウンタ等を経由し、更に浴槽アダプタ18を介して湯が浴槽16内に注がれる。浴槽16内には、浴槽16内の底から予め決められた高さに設置され、循環回路17を浴槽16に接続する浴槽アダプタ18が設けられている。   When hot water is supplied to the bathtub 16, hot water is poured into the bathtub 16 via a bathtub adapter 18 (not shown) that detects the amount of water from the hot water storage tank, and the like. A bathtub adapter 18 that is installed at a predetermined height from the bottom of the bathtub 16 and connects the circulation circuit 17 to the bathtub 16 is provided in the bathtub 16.

貯湯タンク部12内の制御部20に操作信号を供給し、制御部20の制御状態を表示するリモコン(遠隔装置)のうち、浴室リモコン41から排水栓19の開閉を行う排水装置30に通信信号と電源の両方を配線54で供給している。   Of the remote control (remote device) that supplies an operation signal to the control unit 20 in the hot water tank unit 12 and displays the control state of the control unit 20, a communication signal is sent from the bathroom remote control 41 to the drainage device 30 that opens and closes the drain plug 19. And the power supply are supplied by the wiring 54.

次に、遠隔装置の操作画面に関して、図2〜図4を用いて説明する。図2に示すように、浴室リモコン41には、設定温度および貯湯タンクの貯湯量などが表示されている。また風呂自動スイッチ45や通話スイッチ46などがあり、浴槽16に所定量のお湯を自動で貯めたり、台所リモコン42を介して通話したりすることができる。また排水栓スイッチ47を操作することによって、排水栓19を開閉することができる。   Next, the operation screen of the remote device will be described with reference to FIGS. As shown in FIG. 2, the bathroom remote controller 41 displays the set temperature, the amount of hot water stored in the hot water storage tank, and the like. There are also an automatic bath switch 45 and a call switch 46, which can automatically store a predetermined amount of hot water in the bathtub 16 or make a call via the kitchen remote control 42. Further, the drain plug 19 can be opened and closed by operating the drain plug switch 47.

図3に示すように、台所リモコン42には、給湯器だけでなく、他の装置も遠隔操作することができる。たとえば、家の電子錠48、エアコン49、床暖房50なども操作することができる。また現在の家の状況として、たとえば各部屋の消費電力などの情報を表示することができる。また浴室リモコン41と同様に、風呂自動スイッチ45や通話スイッチ46などがあり、浴槽16に所定量のお湯を自動で貯めたり、浴室リモコン41を介して通話したりすることができる。また排水栓スイッチ47を操作することによって、排水栓19を開閉することができる。そして排水栓19の開閉状態も表示態様を変更することによって、視認できるように表示している。   As shown in FIG. 3, the kitchen remote controller 42 can be operated not only by the water heater but also by other devices. For example, the home electronic lock 48, the air conditioner 49, the floor heating 50, etc. can be operated. In addition, information such as the power consumption of each room can be displayed as the current house situation. Similarly to the bathroom remote control 41, there are an automatic bath switch 45 and a call switch 46, and a predetermined amount of hot water can be automatically stored in the bathtub 16 or a call can be made via the bathroom remote control 41. Further, the drain plug 19 can be opened and closed by operating the drain plug switch 47. The open / close state of the drain plug 19 is also displayed so as to be visible by changing the display mode.

図4に示すように、スマートフォン43によっても台所リモコン42と同様の操作をすることができる。スマートフォン43は、制御部20と台所リモコン42、ルータ51およびサーバ44を介して接続されている。したがってスマートフォン43は、サーバ44を介してルータ51に無線通信可能である。制御部20は、各部の状態、たとえば排水栓19の開閉状態に関連する情報をスマートフォン43などの遠隔操作部にサーバ44を介して無線通信で送信する送信部としても機能する。そしてスマートフォン43は、制御部20から送信された情報を受信する受信部として機能するとともに、受信した情報を出力する出力部を有する。出力部は、図4に示すように、表示画面であってもよく、音声出力であってもよく、振動で出力してもよい。したがってスマートフォン43の表画面には、排水栓19の開閉状態が表示される。これによってユーザは、スマートフォン43を用いて排水栓19の開閉状態を確認することができ、さらに排水栓スイッチ47を操作することができる。スマートフォン43の排水栓スイッチ47を操作すると、サーバ44およびルータ51を介して台所リモコン42に排水栓スイッチ47の操作指令が与えられる。そして台所リモコン42から制御部20に操作指令が送信されて、排水栓19の開閉制御がなされる。またスマートフォン43によって、風呂自動(湯はり)を実行する遠隔操作、および湯はりの予約操作も実行することができる。   As shown in FIG. 4, the same operation as that of the kitchen remote controller 42 can be performed by the smartphone 43. The smartphone 43 is connected to the control unit 20 via the kitchen remote controller 42, the router 51, and the server 44. Therefore, the smartphone 43 can wirelessly communicate with the router 51 via the server 44. The control unit 20 also functions as a transmission unit that transmits information related to the state of each unit, for example, the open / close state of the drain plug 19, to the remote operation unit such as the smartphone 43 via the server 44 via wireless communication. The smartphone 43 functions as a receiving unit that receives information transmitted from the control unit 20 and includes an output unit that outputs the received information. As shown in FIG. 4, the output unit may be a display screen, may be an audio output, or may be output by vibration. Accordingly, the open / close state of the drain plug 19 is displayed on the front screen of the smartphone 43. Accordingly, the user can check the open / close state of the drain plug 19 using the smartphone 43 and can further operate the drain plug switch 47. When the drain plug switch 47 of the smartphone 43 is operated, an operation command for the drain plug switch 47 is given to the kitchen remote controller 42 via the server 44 and the router 51. Then, an operation command is transmitted from the kitchen remote control 42 to the control unit 20, and the opening / closing control of the drain plug 19 is performed. In addition, the smartphone 43 can also perform remote operation for executing bath automatic (hot water) and hot water reservation operation.

次に排水装置30に関して、図5〜図14を用いて説明する。排水装置30は、ケース32、手動スイッチ33、クランク34、連結棒35、手動推進力伝達部材36、推進力受け部材37、ノックカム38、モータ39、上センサ61および開センサ62を含んで構成される。排水装置30は、クランク機構を有する。クランク34の回転によってクランク34に接続された連結棒35が推進力受け部材37を上下することで推進力受け部材37と接続されたワイヤ31が上下して他端にある排水栓19を開閉する。換言すると、排水装置30は、浴槽16の縁の上面に備えられた手動スイッチ33側がノックカム38になっている。そしてノックカム38の上下動によって、線方向に剛性を持つワイヤ31で浴槽16の底面に備えられた排水栓19をワイヤ31先端が垂直方向に上下することで排水栓19を開閉する。   Next, the drainage device 30 will be described with reference to FIGS. The drainage device 30 includes a case 32, a manual switch 33, a crank 34, a connecting rod 35, a manual thrust transmission member 36, a thrust receiving member 37, a knock cam 38, a motor 39, an upper sensor 61 and an open sensor 62. The The drainage device 30 has a crank mechanism. When the connecting rod 35 connected to the crank 34 moves up and down the propulsion force receiving member 37 by the rotation of the crank 34, the wire 31 connected to the propulsive force receiving member 37 moves up and down to open and close the drain plug 19 at the other end. . In other words, in the drainage device 30, the manual switch 33 provided on the upper surface of the edge of the bathtub 16 is a knock cam 38. Then, as the knock cam 38 moves up and down, the drain plug 19 provided on the bottom surface of the bathtub 16 is moved up and down in the vertical direction by the wire 31 having rigidity in the linear direction, thereby opening and closing the drain plug 19.

手動スイッチ33は、直接操作部であって、排水栓19が開状態にある開位置と排水栓19が閉状態にある閉位置とにわたって変位される。手動スイッチ33は、上下に変位し、上方に位置している場合には排水栓19は閉状態であり、下方に位置している場合には排水栓19は開状態である。したがってユーザは、手動スイッチ33を押すことによって、排水栓19を開閉することができる。   The manual switch 33 is a direct operation unit and is displaced over an open position where the drain plug 19 is in an open state and a closed position where the drain plug 19 is in a closed state. When the manual switch 33 is displaced up and down and is positioned above, the drain plug 19 is closed, and when the manual switch 33 is positioned below, the drain plug 19 is open. Therefore, the user can open and close the drain plug 19 by pressing the manual switch 33.

手動スイッチ33は、図6および図7に示すように、手動推進力伝達部材36に連結される。手動推進力伝達部材36は、手動スイッチ33が変位する力を、排水栓19を開閉するための力に変換する直接変換部である。手動推進力伝達部材36は、下方に位置する推進力受け部材37に連結される。手動推進力伝達部材36は、断面C字状であって、内部にクランク34および連結棒35を収納している。したがって手動推進力伝達部材36は、クランク34に接続された連結棒35を回避する構成を有する。   As shown in FIGS. 6 and 7, the manual switch 33 is connected to the manual thrust transmission member 36. The manual propulsion force transmission member 36 is a direct conversion unit that converts a force by which the manual switch 33 is displaced into a force for opening and closing the drain plug 19. The manual propulsive force transmission member 36 is connected to a propulsive force receiving member 37 located below. The manual propulsion force transmission member 36 has a C-shaped cross section and houses a crank 34 and a connecting rod 35 therein. Therefore, the manual propulsion force transmission member 36 has a configuration that avoids the connecting rod 35 connected to the crank 34.

モータ39は、制御部20によって制御され、台所リモコン42などの遠隔操作部の操作に応じてクランク34を回転駆動する駆動部である。モータ39は、回転部であるクランク34を所定の回転軸まわりに回転駆動する。回転軸は、ケース32に固定されている。連結棒35は、クランク34に連結され、クランク34の回転運動を往復運動に変換して、排水栓19を開閉するための力に変換する遠隔動力変換部である。連結棒35の一端部は、クランク34の回転軸から径方向ずれた位置、すなわち偏心した位置に連結される。連結棒35の他端部は、推進力受け部材37に連結される。これによってモータ39がクランク34を回転すると、連結棒35の一端が回転して、推進力受け部材37が上下することになる。   The motor 39 is a drive unit that is controlled by the control unit 20 and rotationally drives the crank 34 in accordance with an operation of a remote operation unit such as the kitchen remote control 42. The motor 39 rotationally drives a crank 34 that is a rotating portion around a predetermined rotation axis. The rotation shaft is fixed to the case 32. The connecting rod 35 is a remote power converter that is connected to the crank 34 and converts the rotational motion of the crank 34 into a reciprocating motion and converts it into a force for opening and closing the drain plug 19. One end of the connecting rod 35 is connected to a position shifted from the rotation axis of the crank 34 in the radial direction, that is, an eccentric position. The other end of the connecting rod 35 is connected to the propulsive force receiving member 37. As a result, when the motor 39 rotates the crank 34, one end of the connecting rod 35 rotates and the propulsive force receiving member 37 moves up and down.

推進力受け部材37は、排水栓19に機械的に接続されて、手動推進力伝達部材36および連結棒35によって変換された力を用いて排水栓19を開閉する開閉部である。推進力受け部材37は、ノックカム38を介して排水栓19とワイヤ31によって接続されている。   The propulsion force receiving member 37 is an opening / closing part that is mechanically connected to the drain plug 19 and opens and closes the drain plug 19 using the force converted by the manual propulsion force transmission member 36 and the connecting rod 35. The propulsive force receiving member 37 is connected to the drain plug 19 and the wire 31 via a knock cam 38.

ノックカム38は、図示は省略するが、ボールペンなどに採用されている機構であり、下方に押圧される毎に、上方の位置と下方の位置とを往復する機構である。したがってノックカム38は、下方に押圧されるまで現在位置を保持する機構である。このノックカム38が下方に位置する場合は、排水栓19に連結されるワイヤ31が押圧されて、浴槽16の底面から上方に変位して開状態となる。またノックカム38は上方に位置する場合には、排水栓19はワイヤ31によって浴槽16の底面に引っ張られて閉状態となる。   Although not shown, the knock cam 38 is a mechanism employed in a ballpoint pen or the like, and reciprocates between an upper position and a lower position each time it is pressed downward. Therefore, the knock cam 38 is a mechanism that holds the current position until it is pressed downward. When the knock cam 38 is positioned below, the wire 31 connected to the drain plug 19 is pressed and displaced upward from the bottom surface of the bathtub 16 to be in an open state. When the knock cam 38 is positioned above, the drain plug 19 is pulled to the bottom surface of the bathtub 16 by the wire 31 and is closed.

したがってクランク34をモータ39で一回転させることで、クランク34に接続された連結棒35が推進力受け部材37を押し下げて、その下にあるノックカム38が操作される。そしてノックカム38に接続されたワイヤ31が上下して、ワイヤ31の他端に接続された排水栓19が上下して、排水栓19を開閉することができる。   Accordingly, when the crank 34 is rotated once by the motor 39, the connecting rod 35 connected to the crank 34 pushes down the propulsion force receiving member 37, and the knock cam 38 under the connecting force 35 is operated. The wire 31 connected to the knock cam 38 is moved up and down, and the drain plug 19 connected to the other end of the wire 31 is moved up and down to open and close the drain plug 19.

次に、排水装置30の動作に関して、図8〜図14を用いて説明する。図8〜図12は、遠隔操作によって排水栓19を閉状態から開状態にする場合の各部の変位を示している。図7に示すクランク34が0度にある状態であって、手動スイッチ33が上位置(閉位置)にある状態から、モータ39によってクランク34が時計まわりに90度回転(図8参照)すると、連結棒35によって推進力受け部材37が下方に変位する。また推進力受け部材37が下方に変位するので、推進力受け部材37に連結されている手動推進力伝達部材36および手動スイッチ33が下方に変位する。そしてさらに回転して、クランク34が180度の位置に配置されると(図9参照)、推進力受け部材37がさらに下方に変位して、ノックカム38を押下して、開状態となる。また手動スイッチ33も下位置(開位置)に位置する。さらにクランク34が回転して、270度(図10参照)および再び0度の位置(図11参照)に戻ってきても、連結棒35の変位に伴って推進力受け部材37は上方に変位する。しかしノックカム38は下方に位置したままであるので、排水栓19は開状態のままである。したがってクランク34は、排水栓19が開状態から閉状態になると1回転し、排水栓19が閉状態から開状態になると1回転する。換言すると、クランク34は、1回転する毎に連結棒35に排水栓19の開閉状態を切替える力を与える。   Next, the operation of the drainage device 30 will be described with reference to FIGS. FIGS. 8-12 has shown the displacement of each part in the case of making the drain plug 19 into an open state from a closed state by remote operation. When the crank 34 shown in FIG. 7 is at 0 degree and the manual switch 33 is in the upper position (closed position), when the crank 34 is rotated 90 degrees clockwise by the motor 39 (see FIG. 8), The propulsive force receiving member 37 is displaced downward by the connecting rod 35. Further, since the thrust receiving member 37 is displaced downward, the manual thrust transmitting member 36 and the manual switch 33 connected to the thrust receiving member 37 are displaced downward. When the crank 34 is further rotated and disposed at a position of 180 degrees (see FIG. 9), the propulsive force receiving member 37 is further displaced downward, and the knock cam 38 is pushed down to be in the open state. The manual switch 33 is also located at the lower position (open position). Further, even if the crank 34 rotates and returns to the position of 270 degrees (see FIG. 10) and 0 degree again (see FIG. 11), the thrust receiving member 37 is displaced upward with the displacement of the connecting rod 35. . However, since the knock cam 38 remains positioned below, the drain plug 19 remains open. Therefore, the crank 34 rotates once when the drain plug 19 changes from the open state to the closed state, and rotates once when the drain plug 19 changes from the closed state to the open state. In other words, the crank 34 applies a force for switching the open / close state of the drain plug 19 to the connecting rod 35 every rotation.

この状態で、手動スイッチ33を押下すると、図11および図12に示すように、手動スイッチ33が押下可能であるので、この手動スイッチ33の押下によって手動推進力伝達部材36が下方に変位する。そして推進力受け部材37が下方に変位して、ノックカム38も押下されて、開状態から閉状態となる。   When the manual switch 33 is pressed in this state, the manual switch 33 can be pressed as shown in FIGS. 11 and 12, and the manual propulsive force transmission member 36 is displaced downward by pressing the manual switch 33. Then, the propulsive force receiving member 37 is displaced downward, and the knock cam 38 is also pressed, so that the open state is closed.

ここで図13に示すようクランク34が50度に位置している場合には、手動スイッチ33を押下しようとしても連結棒35と手動推進力伝達部材36とが干渉して、図14に示すように、手動スイッチ33を押下することができない。したがって手動スイッチ33で開閉できるように、クランク34をたとえば0度などの所定の範囲内に配置する必要がある。したがって連結棒35は、クランク34が1回転する間に手動スイッチ33の変位を妨げる干渉範囲がある。   Here, when the crank 34 is positioned at 50 degrees as shown in FIG. 13, the connecting rod 35 and the manual propulsive force transmission member 36 interfere with each other even if the manual switch 33 is pushed down, and as shown in FIG. In addition, the manual switch 33 cannot be pressed. Therefore, it is necessary to arrange the crank 34 within a predetermined range such as 0 degrees so that the manual switch 33 can be opened and closed. Therefore, the connecting rod 35 has an interference range that prevents the manual switch 33 from being displaced while the crank 34 rotates once.

換言すると、排水装置30は、クランク34に接続された連結棒35を回避するための手動推進力伝達部材36を備える。そして手動スイッチ33を押下すると手動推進力伝達部材36が推進力受け部材37を押し下げてノックカム38を操作することで、手動で排水栓19の開閉が可能である。ただし、手動スイッチ33による手動操作は、クランク34が手動操作可能範囲(クランク34が−10度〜10度)に停止している場合にのみ可能となる。   In other words, the drainage device 30 includes a manual propulsive force transmission member 36 for avoiding the connecting rod 35 connected to the crank 34. When the manual switch 33 is pressed, the manual propulsion force transmission member 36 pushes down the propulsion force receiving member 37 and operates the knock cam 38, whereby the drain plug 19 can be manually opened and closed. However, manual operation by the manual switch 33 is possible only when the crank 34 is stopped in a manually operable range (the crank 34 is −10 degrees to 10 degrees).

次に、排水装置30に設けられている上センサ61および開センサ62に関して、図15を用いて説明する。開センサ62は、手動スイッチ33の位置を検出するスライド検出手段である。具体的には、開センサ62は、図15に示すように、推進力受け部材37の位置を検出する。推進力受け部材37には、マグネットが設けられており、リードスイッチによって推進力受け部材37が下方(手動スイッチ33の開位置)にきた場合には、開センサ62はオンとなる。開センサ62がオンの場合は、排水栓19は開状態にある。また開センサ62がオフの場合は、排水栓19は閉状態にある。   Next, the upper sensor 61 and the open sensor 62 provided in the drainage device 30 will be described with reference to FIG. The open sensor 62 is a slide detection unit that detects the position of the manual switch 33. Specifically, the open sensor 62 detects the position of the propulsion force receiving member 37 as shown in FIG. The thrust receiving member 37 is provided with a magnet. When the thrust receiving member 37 is moved downward (open position of the manual switch 33) by the reed switch, the open sensor 62 is turned on. When the open sensor 62 is on, the drain plug 19 is in an open state. When the open sensor 62 is off, the drain plug 19 is in a closed state.

上センサ61は、クランク34の角度位置を検出する回転検出手段である。具体的には、上センサ61は、図15に示すように、クランク34の角度位置を検出する。クランク34には、周方向の一部にマグネットが設けられており、ケース32に固定されているリードスイッチによってクランク34が0度を中心として所定範囲にきた場合には、ONとなる。したがって上センサ61は、クランク34の所定位置が所定角度以下の検出範囲内にあるか否かを検出する。   The upper sensor 61 is rotation detection means that detects the angular position of the crank 34. Specifically, the upper sensor 61 detects the angular position of the crank 34 as shown in FIG. The crank 34 is provided with a magnet in a part in the circumferential direction, and is turned on when the crank 34 is brought into a predetermined range around 0 degrees by a reed switch fixed to the case 32. Therefore, the upper sensor 61 detects whether or not the predetermined position of the crank 34 is within a detection range equal to or smaller than a predetermined angle.

次に、制御部20の制御に関して説明する。制御部20は、内蔵する記憶部(ROMおよびRAMなど)に予め記憶されている各種設定情報や所定のプログラムを読み出して実行する。図16に示す処理は、給湯装置10の電源投入状態において実行されている。ステップS161では、台所スイッチなどから風呂自動スイッチ45が操作されたか、または湯はり予約時刻の所定時間前であるか否かが判断される。そして風呂自動スイッチ45が操作されたか、または予約時刻の所定時間前である場合には、ステップS162に移り、条件を満たすまでステップS161の処理を繰り返す。   Next, the control of the control unit 20 will be described. The control unit 20 reads and executes various setting information and predetermined programs stored in advance in a built-in storage unit (ROM, RAM, etc.). The process shown in FIG. 16 is executed when the hot water supply apparatus 10 is powered on. In step S161, it is determined whether the automatic bath switch 45 is operated from a kitchen switch or the like, or whether it is a predetermined time before the hot water reservation time. If the bath automatic switch 45 has been operated or is a predetermined time before the reserved time, the process proceeds to step S162, and the process of step S161 is repeated until the condition is satisfied.

ステップS162では、排水装置30の有無を判断し、排水装置30がある場合には、ステップS163に移り、排水装置30がない場合には、ステップS165に移る。排水装置30の有無は、たとえば制御部20から排水装置30に信号を出力した場合にエラーの発生有無によって判断することができる。また各リモコンの設定、機種設定と照合することによっても排水装置30の有無を判断することができる。   In step S162, the presence / absence of the drainage device 30 is determined. If the drainage device 30 is present, the process proceeds to step S163. If the drainage device 30 is not present, the process proceeds to step S165. The presence or absence of the drainage device 30 can be determined based on whether or not an error has occurred, for example, when a signal is output from the control unit 20 to the drainage device 30. The presence / absence of the drainage device 30 can also be determined by checking the setting of each remote controller and the model setting.

ステップS163では、排水装置30があるので、排水装置30のエラーの発生の有無を判断し、エラーがある場合には、ステップS165に移り、エラーがない場合にはステップS164に移る。排水装置30のエラーは、たとえば上センサ61の異常および開センサ62の異常である。   In step S163, since there is the drainage device 30, it is determined whether or not an error has occurred in the drainage device 30. If there is an error, the process proceeds to step S165, and if there is no error, the process proceeds to step S164. The error of the drainage device 30 is, for example, an abnormality of the upper sensor 61 and an abnormality of the open sensor 62.

ステップS164では、排水装置30にエラーがないので、排水栓19を閉状態となるように排水装置30を制御し、ステップS165に移る。ステップS165では、排水装置30が閉状態とあるものとして、風呂の湯張りを開始し、本フローを終了する。   In step S164, since there is no error in the drainage device 30, the drainage device 30 is controlled so that the drain plug 19 is closed, and the process proceeds to step S165. In step S165, assuming that the drainage device 30 is in the closed state, bathing of the bath is started and this flow is ended.

このように制御部20は、浴槽16に給湯するための給湯装置10を制御しつつ、風呂自動スイッチ45によって浴槽16に給湯するための操作がされた場合には、給湯するように給湯装置10を制御するとともに、排水栓19が閉状態になるよう制御する。   As described above, the control unit 20 controls the hot water supply device 10 for supplying hot water to the bathtub 16, and when an operation for supplying hot water to the bathtub 16 is performed by the bath automatic switch 45, the hot water supply device 10 is supplied. And the drain plug 19 is controlled to be closed.

次に、制御部20による排水栓19の開制御に関して説明する。図17に示す処理は、給湯装置10の電源投入状態において実行されている。ステップS171では、遠隔操作によって排水栓19の開操作がなされたか否かが判断され、開操作がなされた場合には、ステップS172に移り、開操作がなされるまでステップS171の処理を繰り返す。   Next, the opening control of the drain plug 19 by the control unit 20 will be described. The process shown in FIG. 17 is executed when the hot water supply apparatus 10 is powered on. In step S171, it is determined whether or not the drain plug 19 has been opened by remote control. If the drain plug 19 has been opened, the process proceeds to step S172, and the process of step S171 is repeated until the opening operation is performed.

ステップS172では、排水装置30の有無を判断し、排水装置30がある場合には、ステップS173に移り、排水装置30がない場合には、本フローを終了する。ステップS173では、排水装置30があるので、排水装置30のエラーの発生の有無を判断し、エラーがある場合には、本フローを終了し、エラーがない場合にはステップS174に移る。ステップS174では、排水装置30にエラーがないので、排水栓19を開状態となるように排水装置30を制御し、本フローを終了する。   In step S172, the presence / absence of the drainage device 30 is determined. If the drainage device 30 is present, the process proceeds to step S173. If the drainage device 30 is not present, the present flow is terminated. In step S173, since there is the drainage device 30, it is determined whether or not an error has occurred in the drainage device 30, and if there is an error, this flow is terminated, and if there is no error, the flow proceeds to step S174. In step S174, since there is no error in the drainage device 30, the drainage device 30 is controlled so that the drain plug 19 is opened, and this flow ends.

次に、制御部20による排水栓19の閉制御に関して説明する。図18に示す処理は、給湯装置10の電源投入状態において実行されている。ステップS181では、遠隔操作によって排水栓19の閉操作がなされたか否かが判断され、閉操作がなされた場合には、ステップS182に移り、閉操作がなされるまでステップS181の処理を繰り返す。   Next, the closing control of the drain plug 19 by the control unit 20 will be described. The process shown in FIG. 18 is executed when the hot water supply apparatus 10 is powered on. In step S181, it is determined whether or not the drain plug 19 has been closed by remote operation. If the drain plug 19 has been closed, the process proceeds to step S182, and the process of step S181 is repeated until the closing operation is performed.

ステップS182では、排水装置30の有無を判断し、排水装置30がある場合には、ステップS183に移り、排水装置30がない場合には、本フローを終了する。ステップS183では、排水装置30があるので、排水装置30のエラーの発生の有無を判断し、エラーがある場合には、本フローを終了し、エラーがない場合にはステップS184に移る。ステップS184では、排水装置30にエラーがないので、排水栓19を閉状態となるように排水装置30を制御し、本フローを終了する。   In step S182, the presence / absence of the drainage device 30 is determined. If there is a drainage device 30, the process proceeds to step S183, and if there is no drainage device 30, this flow ends. In step S183, since there is the drainage device 30, it is determined whether or not an error has occurred in the drainage device 30, and if there is an error, this flow is terminated, and if there is no error, the flow proceeds to step S184. In step S184, since there is no error in the drainage device 30, the drainage device 30 is controlled so that the drain plug 19 is closed, and this flow is finished.

次に、制御部20による排水装置30のイニシャル制御に関して図19を用いて説明する。イニシャル制御は、クランク34を手動操作が可能な範囲内に配置し、さらに手動操作が可能な位置に配置するためのクランク34の回転時間を算出するための処理である。イニシャル制御は、(1)排水装置30が停止してから所定時間経過後に起動された場合、(2)記憶部の情報がリセットされた場合、および(3)排水装置30の異常による停止後に起動された場合に実行される。(1)の場合には、初回電源投入時(バックアップ無しからの電源投入)および、モータ駆動中に停電し、10秒以上バックアップ無しになるまでの時間未満の停電復帰時が含まれる。(2)の場合には、マイコンリセット時が含まれる。またイニシャル制御は、異常処理によってモータ39がOFFされると、強制終了する。   Next, initial control of the drainage device 30 by the control unit 20 will be described with reference to FIG. The initial control is a process for calculating the rotation time of the crank 34 for arranging the crank 34 within a range where manual operation is possible and further arranging the crank 34 at a position where manual operation is possible. The initial control is started (1) when the drainage device 30 is started after a predetermined period of time has elapsed, (2) when the information in the storage unit is reset, and (3) after the stoppage due to an abnormality of the drainage device 30 It is executed when it is done. In the case of (1), it includes the time when the power is turned on for the first time (power is turned on after no backup) and the time when the power is restored during a power failure during the motor drive and less than 10 seconds. In the case of (2), the microcomputer reset time is included. Further, the initial control is forcibly terminated when the motor 39 is turned off by the abnormality process.

ステップS191では、各時間に初期値0に設定し、ステップS192に移る。初期値が設定される各時間は、上センサOFF時間〜開センサON時間、上センサOFF時間、開センサOFF〜上センサON時間および上センサON時間である。   In step S191, an initial value 0 is set for each time, and the process proceeds to step S192. Each time when the initial value is set is an upper sensor OFF time to an open sensor ON time, an upper sensor OFF time, an open sensor OFF to an upper sensor ON time, and an upper sensor ON time.

ステップS192では、モータ39をONにして、ステップS193に移る。ステップS193では、上センサ=ONかつ開センサ=OFFであるか否かを判断し、上センサ=ONかつ開センサ=OFFになるまでステップS193の処理を繰り返し、ステップS193の条件を満たすと、ステップS194に移る。   In step S192, the motor 39 is turned on and the process proceeds to step S193. In step S193, it is determined whether or not the upper sensor = ON and the open sensor = OFF. The process in step S193 is repeated until the upper sensor = ON and the open sensor = OFF. When the condition in step S193 is satisfied, The process moves to S194.

ステップS194では、上センサ=OFFかつ開センサ=OFFであるか否かを判断し、上センサ=OFFかつ開センサ=OFFになるまでステップS194の処理を繰り返し、ステップS194の条件を満たすと、ステップS195に移る。   In step S194, it is determined whether or not the upper sensor = OFF and the open sensor = OFF. The process in step S194 is repeated until the upper sensor = OFF and the open sensor = OFF. When the condition in step S194 is satisfied, step S194 is performed. The process moves to S195.

ステップS195では、上センサOFF時間〜開センサON時間(以下、「上OFF開ON時間」ということがある)の計測をスタートし、ステップS196に移る。ステップS196では、上センサOFF時間の計測をスタートし、ステップS197に移る。   In step S195, measurement of the upper sensor OFF time to the open sensor ON time (hereinafter sometimes referred to as “upper OFF open ON time”) is started, and the process proceeds to step S196. In step S196, the measurement of the upper sensor OFF time is started, and the process proceeds to step S197.

ステップS197では、上センサ=OFFかつ開センサ=ONであるか否かを判断し、上センサ=OFFかつ開センサ=ONになるまでステップS197の処理を繰り返し、ステップS197の条件を満たすと、ステップS198に移る。ステップS198では、上OFF開ON時間の計測を停止し、ステップS199に移る。   In step S197, it is determined whether or not the upper sensor = OFF and the open sensor = ON. The process of step S197 is repeated until the upper sensor = OFF and the open sensor = ON. If the condition of step S197 is satisfied, step S197 is performed. Move on to S198. In step S198, the measurement of the upper OFF opening ON time is stopped, and the process proceeds to step S199.

ステップS199では、上センサ=ONかつ開センサ=ONであるか否かを判断し、上センサ=ONかつ開センサ=ONになるまでステップS199の処理を繰り返し、ステップS199の条件を満たすと、ステップS1910に移る。ステップS1910では、上センサOFF時間の計測を停止し、ステップS1911に移る。   In step S199, it is determined whether or not the upper sensor = ON and the open sensor = ON. The process in step S199 is repeated until the upper sensor = ON and the open sensor = ON. If the condition in step S199 is satisfied, The process moves to S1910. In step S1910, the measurement of the upper sensor OFF time is stopped, and the process proceeds to step S1911.

ステップS1911では、上センサON時間の計測をスタートし、ステップS1912に移る。ステップS1912では、上センサ=OFFかつ開センサ=ONであるか否かを判断し、上センサ=OFFかつ開センサ=ONになるまでステップS1912の処理を繰り返し、ステップS1912の条件を満たすと、ステップS1913に移る。ステップS1913では、上センサON時間の計測を停止し、ステップS1914に移る。ステップS1914では、ステップS1913で求めた上センサON時間の半分の時間を算出し、ステップS1915に移る。   In step S1911, the measurement of the upper sensor ON time is started, and the process proceeds to step S1912. In step S1912, it is determined whether or not the upper sensor is OFF and the open sensor is ON. The process in step S1912 is repeated until the upper sensor is OFF and the open sensor is ON. The process moves to S1913. In step S1913, the measurement of the upper sensor ON time is stopped, and the process proceeds to step S1914. In step S1914, half the upper sensor ON time obtained in step S1913 is calculated, and the process proceeds to step S1915.

ステップS1915では、上センサ=OFFかつ開センサ=OFFであるか否かを判断し、上センサ=OFFかつ開センサ=OFFになるまでステップS1915の処理を繰り返し、ステップS1915の条件を満たすと、ステップS1916に移る。   In step S1915, it is determined whether the upper sensor = OFF and the open sensor = OFF. The process in step S1915 is repeated until the upper sensor = OFF and the open sensor = OFF. The process moves to S1916.

ステップS1916では、開センサOFF〜上センサON時間(以下、「開OFF上ON時間」ということがある)の計測をスタートし、ステップS1917に移る。ステップS1917では、上センサ=ONかつ開センサ=OFFであるか否かを判断し、上センサ=ONかつ開センサ=OFFになるまでステップS1917の処理を繰り返し、ステップS1917の条件を満たすと、ステップS1918に移る。   In step S1916, measurement of the open sensor OFF to upper sensor ON time (hereinafter, sometimes referred to as “open OFF upper ON time”) is started, and the process proceeds to step S1917. In step S1917, it is determined whether or not the upper sensor = ON and the open sensor = OFF. The process in step S1917 is repeated until the upper sensor = ON and the open sensor = OFF. When the condition in step S1917 is satisfied, The process moves to S1918.

ステップS1918では、開OFF上ON時間の計測を停止し、ステップS1919に移る。ステップS1919では、ステップS1919に移ってから記憶部に記憶されている上センサON半分時間の学習値を経過したか否かを判断し、経過するとステップS1920に移る。ステップS1920では、モータ39をOFFにし、ステップS1921に移る。   In step S1918, the measurement of the open OFF upper ON time is stopped, and the process proceeds to step S1919. In step S1919, it is determined whether or not the learning value of the upper sensor ON half time stored in the storage unit has elapsed since moving to step S1919, and when it has elapsed, the process proceeds to step S1920. In step S1920, the motor 39 is turned off and the process proceeds to step S1921.

ステップS1921では、S198、S1910、S1914およびS1918で求めた最新の各時間と、記憶部に記憶されている学習値とによって、最新の学習値を算出し、記憶部(EEPROM)に記憶し、ステップS1922に移る。記憶部には、たとえば上センサON半分時間が測定された測定時刻と関連付けて複数記憶されており、記憶部に記憶されている複数の上センサON半分時間の平均値を最新の上センサON半分時間の学習値とする。学習方法としては、たとえば各学習値について過去10回のデータの相加平均を算出して更新してもよい。但し記憶しているデータが10個未満の場合は記憶しているデータでの相加平均としてもよい。更新した学習値が前回の値と異なる場合、EEPROMへ学習値を保存する。また、学習済みの場合はバックアップ無しからの電源投入時・マイコンリセット時にはEEPROMに格納されている学習値を過去10回分のデータ領域へ展開してもよい。   In step S1921, the latest learning value is calculated from the latest times obtained in S198, S1910, S1914, and S1918 and the learning value stored in the storage unit, and stored in the storage unit (EEPROM). The process moves to S1922. In the storage unit, for example, a plurality of upper sensor ON half-hours are stored in association with the measured time, and the average value of the plurality of upper sensor ON half-hours stored in the storage unit is the latest upper sensor ON half Let it be the learning value of time. As a learning method, for example, an arithmetic average of the past 10 data may be calculated and updated for each learning value. However, when the number of stored data is less than 10, the arithmetic average of the stored data may be used. If the updated learning value is different from the previous value, the learning value is stored in the EEPROM. If the learning has been completed, the learning value stored in the EEPROM may be expanded to the data area for the past 10 times when the power is turned on without backup and the microcomputer is reset.

ステップS1922では、上センサ故障カウンタ=0および開センサ故障カウンタ=0として、ステップS1923に移る。ステップS1923では、次回学習可能フラグをONにして、本フローを終了する。   In step S1922, the upper sensor failure counter = 0 and the open sensor failure counter = 0 are set, and the process proceeds to step S1923. In step S1923, the next learning enable flag is set to ON, and this flow ends.

次に、イニシャル制御に関して、図20および図21のタイミングチャートを用いて説明する。図20では、イニシャル制御時に最小回転(2回転)する場合を示している。図21では、イニシャル制御時に最大回転(4回転)する場合を示している。   Next, the initial control will be described with reference to the timing charts of FIGS. FIG. 20 shows a case where a minimum rotation (two rotations) is performed during initial control. FIG. 21 shows a case where the maximum rotation (four rotations) is performed during the initial control.

まず、図20に関して説明する。時刻t1の初期位置にて、上センサ=ONかつ開センサ=OFFであるので、ステップS193の条件を満たす。そして、クランク34が回転するにつれて、各センサのオンオフ状態が変化する。時刻t2にて、上センサ=OFFかつ開センサ=OFFとなり、ステップS194の条件を満たす。そして時刻t2から上OFF開ON時間および上センサOFF時間の計測を開始し、時刻t3にて、上センサ=OFFかつ開センサ=ONとなるとステップS197の条件を満たし、上OFF開ON時間の計測を終了する(ステップS198)。   First, FIG. 20 will be described. Since the upper sensor = ON and the open sensor = OFF at the initial position at time t1, the condition of step S193 is satisfied. As the crank 34 rotates, the on / off state of each sensor changes. At time t2, the upper sensor = OFF and the open sensor = OFF, and the condition of step S194 is satisfied. Then, the measurement of the upper OFF opening ON time and the upper sensor OFF time is started from time t2, and when the upper sensor = OFF and the opening sensor = ON at time t3, the condition of step S197 is satisfied, and the upper OFF opening ON time is measured. Is finished (step S198).

次に、時刻t4にて、上センサ=ONかつ開センサ=ONとなり、ステップS199の条件を満たし、上センサOFF時間の計測を終了する(ステップS1910)。そして時刻t4から上センサON時間の計測を開始し、時刻t5にて、上センサ=OFFかつ開センサ=ONとなると計測を終了する(ステップS1912)。次に、時刻t6にて、上センサ=OFFかつ開センサ=OFFとなり、ステップS1915の条件を満たす。そして時刻t6から開OFF上ON時間の計測を開始し、時刻t7にて、上センサ=ONかつ開センサ=OFFとなり、ステップS1912の条件を満たし、開OFF上ON時間の計測を終了する(ステップS1918)。   Next, at time t4, the upper sensor = ON and the open sensor = ON are satisfied, the condition of step S199 is satisfied, and the measurement of the upper sensor OFF time is ended (step S1910). Then, the measurement of the upper sensor ON time is started from time t4. When the upper sensor = OFF and the open sensor = ON at time t5, the measurement ends (step S1912). Next, at time t6, the upper sensor = OFF and the open sensor = OFF, and the condition of step S1915 is satisfied. Then, the measurement of the open OFF upper ON time is started from time t6, and at time t7, the upper sensor = ON and the open sensor = OFF are satisfied, the condition of step S1912 is satisfied, and the measurement of the open OFF upper ON time is terminated (step S1918).

次に、時刻t8にて、上センサON半分時間が経過し(ステップS1919)、モータ39を停止する(ステップS1920)。したがってイニシャル制御後には、時刻t8のように、上センサON時間の半分が経過した位置、すなわちクランク34が0度の位置に配置されており、開センサ62もOFFであるので、手動スイッチ33も閉位置にある。   Next, at time t8, the upper sensor ON half time has elapsed (step S1919), and the motor 39 is stopped (step S1920). Therefore, after the initial control, as at time t8, the half of the upper sensor ON time has elapsed, that is, the crank 34 is located at the 0 degree position, and the open sensor 62 is also OFF. In the closed position.

このように図20に示すイニシャル制御では、2回転することによって、上センサON半分時間が算出されて、最新の上センサON半分時間が記憶部に記憶されることになる。また開OFF上ON時間、上OFF開ON時間および上センサOFF時間も測定されて、最新の開OFF上ON時間、上OFF開ON時間および上センサOFF時間が記憶部に記憶されることになる。このようにモータ39を2回転して上センサOFF⇒ONから上センサON⇒OFFのエッジを測ることで、上センサON範囲をモータ39が通過する時間を正確に測ることができる。上センサ61はON範囲の中心が手動可能範囲の中心=クランク34の上死点にくるように設計されている。したがって上センサOFF⇒ONのエッジを検出してから上センサON半分時間経過後にモータ39を停止すればクランク34を手動可能範囲の中心=クランク34の上死点で停止させることができる。   As described above, in the initial control shown in FIG. 20, by rotating twice, the upper sensor ON half time is calculated, and the latest upper sensor ON half time is stored in the storage unit. Further, the open OFF upper ON time, the upper OFF open ON time, and the upper sensor OFF time are also measured, and the latest open OFF upper ON time, upper OFF open ON time, and upper sensor OFF time are stored in the storage unit. . Thus, by measuring the edge of the upper sensor ON → OFF from the upper sensor OFF → ON by rotating the motor 39 twice, the time for the motor 39 to pass through the upper sensor ON range can be accurately measured. The upper sensor 61 is designed so that the center of the ON range is at the center of the manually operable range = the top dead center of the crank 34. Therefore, the crank 34 can be stopped at the center of the manually operable range = the top dead center of the crank 34 by stopping the motor 39 after the upper sensor ON half-hour has elapsed after detecting the edge of the upper sensor OFF → ON.

次に、図21のタイミングチャートに関して説明する。図21では、時刻t1〜時刻t8は、図20の時刻t1〜時刻t8にそれぞれ対応している。時刻t0の初期位置にて、上センサ=OFFかつ開センサ=OFFであるので、ステップS193の条件を満たす時刻t1まで、モータ39によってクランク34が2回転する。そして時刻t1となり、ステップS193の条件を満たすと、後は図20と同様の処理によって、クランク34が2回転する間に、各時間が計測され、その後、クランク34が0度の位置に配置であって、開センサ62もOFFの位置に配置される。   Next, the timing chart of FIG. 21 will be described. In FIG. 21, time t1 to time t8 correspond to time t1 to time t8 in FIG. Since the upper sensor = OFF and the open sensor = OFF at the initial position at time t0, the crank 39 rotates twice by the motor 39 until time t1 that satisfies the condition of step S193. When time t1 is reached and the condition of step S193 is satisfied, each time is measured while the crank 34 rotates twice by the same processing as in FIG. 20, and then the crank 34 is placed at a position of 0 degrees. Therefore, the open sensor 62 is also arranged at the OFF position.

次に、図17の排水栓19の開制御に関してさらに説明する。図22に示す開制御は、図17のステップS174に移ると開始される。また開制御は、異常処理によってモータ39がOFFされると、強制終了する。   Next, the opening control of the drain plug 19 in FIG. 17 will be further described. The opening control shown in FIG. 22 is started when the process proceeds to step S174 in FIG. Further, the open control is forcibly terminated when the motor 39 is turned off by the abnormality process.

ステップS221では、排水栓19が開状態にあるか否かを判断し、開状態である場合には、ステップS222に移り、開状態でない場合には、開制御をする必要がないので、本フローを終了する。開状態の場合とは、上センサ=ONかつ開センサ=ONの場合である。   In step S221, it is determined whether or not the drain plug 19 is in an open state. If the drain plug 19 is in the open state, the process proceeds to step S222. Exit. The case of the open state is a case where the upper sensor = ON and the open sensor = ON.

ステップS222では、各時間を初期値0に設定し、ステップS223に移る。初期値が設定される各時間は、上センサON半分時間、上OFF開ON時間および上センサOFF時間である。ステップS223では、排水栓19が閉状態であるか否かを判断し、閉状態である場合には、ステップS224に移り、閉状態でない場合には、ステップS225に移る。閉状態の場合とは、上センサ=ONかつ開センサ=OFFの場合である。   In step S222, each time is set to an initial value 0, and the process proceeds to step S223. Each time when the initial value is set is the upper sensor ON half time, the upper OFF open ON time, and the upper sensor OFF time. In step S223, it is determined whether or not the drain plug 19 is in the closed state. If the drain plug 19 is in the closed state, the process proceeds to step S224, and if not, the process proceeds to step S225. The case of the closed state is a case where the upper sensor = ON and the open sensor = OFF.

ステップS224では、学習可能フラグをONに設定し、ステップS226に移る。ステップS225では、開状態ではないが上センサ=ONかつ開センサ=OFFでもないので、学習不可と判断し、学習可能フラグ=OFFにし、ステップS226に移る。   In step S224, the learnable flag is set to ON, and the process proceeds to step S226. In step S225, it is not in the open state, but the upper sensor is not ON and the open sensor is not OFF. Therefore, it is determined that learning is impossible, the learning flag is set to OFF, and the process proceeds to step S226.

ステップS226では、モータ39を駆動し、ステップS227に移る。ステップS227では、上センサON半分時間の計測を開始し、ステップS228に移る。ステップS228では、上センサ=OFFかつ開センサ=OFFであるか否かを判断し、上センサ=OFFかつ開センサ=OFFになるまでステップS228の処理を繰り返し、ステップS228の条件を満たすと、ステップS229に移る。ステップS229では、上センサON半分時間の計測を終了し、ステップS2210に移る。   In step S226, the motor 39 is driven and the process proceeds to step S227. In step S227, the upper sensor ON half-time measurement is started, and the process proceeds to step S228. In step S228, it is determined whether or not the upper sensor = OFF and the open sensor = OFF, and the process of step S228 is repeated until the upper sensor = OFF and the open sensor = OFF. When the condition of step S228 is satisfied, The process moves to S229. In step S229, the upper sensor ON half-time measurement is finished, and the process proceeds to step S2210.

ステップS2210では、上OFF開ON時間の計測をスタートし、ステップS2211に移る。ステップS2211では、上センサOFF時間の計測をスタートし、ステップS2212に移る。   In step S2210, the measurement of the upper OFF opening ON time is started, and the process proceeds to step S2211. In step S2211, measurement of the upper sensor OFF time is started, and the process proceeds to step S2212.

ステップS2212では、上センサ=OFFかつ開センサ=ONであるか否かを判断し、上センサ=OFFかつ開センサ=ONになるまでステップS2212の処理を繰り返し、ステップS2212の条件を満たすと、ステップS2213に移る。ステップS2213では、上OFF開ON時間の計測を停止し、ステップS2214に移る。   In step S2212, it is determined whether the upper sensor = OFF and the open sensor = ON. The process in step S2212 is repeated until the upper sensor = OFF and the open sensor = ON. The process moves to S2213. In step S2213, the measurement of the upper OFF opening ON time is stopped, and the process proceeds to step S2214.

ステップS2214では、上センサ=ONかつ開センサ=ONであるか否かを判断し、上センサ=ONかつ開センサ=ONになるまでステップS2214の処理を繰り返し、ステップS2214の条件を満たすと、ステップS2215に移る。ステップS2215では、上センサOFF時間の計測を停止し、ステップS2216に移る。   In step S2214, it is determined whether or not the upper sensor = ON and the open sensor = ON. The process in step S2214 is repeated until the upper sensor = ON and the open sensor = ON. When the condition in step S2214 is satisfied, The process moves to S2215. In step S2215, the measurement of the upper sensor OFF time is stopped, and the process proceeds to step S2216.

ステップS2216では、ステップS2216に移ってから記憶部に記憶されている上センサON半分時間の学習値を経過したか否かを判断し、経過するとステップS2217に移る。上センサON半分時間の学習値が記憶部に記憶されていない場合には、ステップS229で計測した最新の上センサON半分時間を用いる。ステップS2217では、モータ39をOFFにし、ステップS2218に移る。   In step S2216, it is determined whether or not the learning value of the upper sensor ON half time stored in the storage unit has elapsed since moving to step S2216, and if it has elapsed, the process proceeds to step S2217. If the learning value of the upper sensor ON half time is not stored in the storage unit, the latest upper sensor ON half time measured in step S229 is used. In step S2217, the motor 39 is turned off and the process proceeds to step S2218.

ステップS2218では、学習可能フラグ=ONかつ次回学習可能フラグ=ONであるか否かを判断し、学習可能フラグ=ONかつ次回学習可能フラグ=ONの場合にはステップS2219に移り、違う場合にはステップS2220に移る。   In step S2218, it is determined whether or not the learnable flag = ON and the next learnable flag = ON. If the learnable flag = ON and the next learnable flag = ON, the process proceeds to step S2219. The process moves to step S2220.

ステップS2219では、S229、S2213およびS2215で求めた最新の各時間と、記憶部に記憶されている学習値とによって、最新の学習値を算出し、記憶部(EEPROM)に記憶し、ステップS2220に移る。   In step S2219, the latest learning value is calculated from the latest times obtained in S229, S2213, and S2215 and the learning value stored in the storage unit, and stored in the storage unit (EEPROM). Move.

ステップS2220では、上センサ故障カウンタ=0および開センサ故障カウンタ=0として、ステップS2221に移る。ステップS2221では、次回学習可能フラグをONにして、本フローを終了する。   In step S2220, the upper sensor failure counter = 0 and the open sensor failure counter = 0 are set, and the process proceeds to step S2221. In step S2221, the next learning enable flag is turned ON, and this flow ends.

次に、図18の排水栓19の閉制御に関してさらに説明する。図23に示す閉制御は、図18のステップS184に移ると開始される。また開制御は、異常処理によってモータ39がOFFされると、強制終了する。   Next, the closing control of the drain plug 19 in FIG. 18 will be further described. The closing control shown in FIG. 23 is started when the process proceeds to step S184 in FIG. Further, the open control is forcibly terminated when the motor 39 is turned off by the abnormality process.

ステップS231では、排水栓19が閉状態にあるか否かを判断し、閉状態である場合には、ステップS232に移り、閉状態でない場合には、開制御をする必要がないので、本フローを終了する。閉態の場合とは、上センサ=ONかつ開センサ=OFFの場合である。   In step S231, it is determined whether or not the drain plug 19 is in a closed state. If the drain plug 19 is in the closed state, the process proceeds to step S232. Exit. The case of the closed state is a case where the upper sensor = ON and the open sensor = OFF.

ステップS232では、各時間を初期値0に設定し、ステップS233に移る。初期値が設定される各時間は、上センサON半分時間、開OFF上ON時間および上センサOFF時間である。ステップS233では、排水栓19が開状態であるか否かを判断し、開状態である場合には、ステップS234に移り、開状態でない場合には、ステップS235に移る。開状態の場合とは、上センサ=ONかつ開センサ=ONの場合である。   In step S232, each time is set to an initial value 0, and the process proceeds to step S233. Each time when the initial value is set is an upper sensor ON half time, an open OFF upper ON time, and an upper sensor OFF time. In step S233, it is determined whether or not the drain plug 19 is in the open state. If the drain plug 19 is in the open state, the process proceeds to step S234, and if not, the process proceeds to step S235. The case of the open state is a case where the upper sensor = ON and the open sensor = ON.

ステップS234では、学習可能フラグをONに設定し、ステップS236に移る。ステップS235では、閉状態ではないが上センサ=ONかつ開センサ=ONでもないので、学習不可と判断し、学習可能フラグ=OFFにし、ステップS236に移る。   In step S234, the learnable flag is set to ON, and the process proceeds to step S236. In step S235, although it is not in the closed state, neither the upper sensor = ON nor the open sensor = ON, so it is determined that learning is impossible, the learning flag is set to OFF, and the process proceeds to step S236.

ステップS236では、モータ39を駆動し、ステップS237に移る。ステップS237では、上センサON半分時間の計測を開始し、ステップS238に移る。ステップS238では、上センサ=OFFかつ開センサ=ONであるか否かを判断し、上センサ=OFFかつ開センサ=ONになるまでステップS238の処理を繰り返し、ステップS238の条件を満たすと、ステップS239に移る。ステップS239では、上センサON半分時間の計測を終了し、ステップS2310に移る。ステップS2310では、上センサOFF時間の計測を開始し、ステップS2311に移る。   In step S236, the motor 39 is driven and the process proceeds to step S237. In step S237, the upper sensor ON half-time measurement is started, and the process proceeds to step S238. In step S238, it is determined whether or not the upper sensor = OFF and the open sensor = ON. The process in step S238 is repeated until the upper sensor = OFF and the open sensor = ON. When the condition in step S238 is satisfied, The process moves to S239. In step S239, the upper sensor ON half-time measurement is finished, and the process proceeds to step S2310. In step S2310, the measurement of the upper sensor OFF time is started, and the process proceeds to step S2311.

ステップS2311では、上センサ=OFFかつ開センサ=OFFであるか否かを判断し、上センサ=OFFかつ開センサ=OFFになるまでステップS2311の処理を繰り返し、ステップS2311の条件を満たすと、ステップS2312に移る。ステップS2312では、開OFF上ON時間の計測を開始し、ステップS2313に移る。   In step S2311, it is determined whether the upper sensor = OFF and the open sensor = OFF. The process in step S2311 is repeated until the upper sensor = OFF and the open sensor = OFF. The process moves to S2312. In step S2312, the measurement of the open OFF upper ON time is started, and the process proceeds to step S2313.

ステップS2313では、上センサ=ONかつ開センサ=OFFであるか否かを判断し、上センサ=ONかつ開センサ=OFFになるまでステップS2313の処理を繰り返し、ステップS2313の条件を満たすと、ステップS2314に移る。ステップS2314では、開OFF上ON時間の計測を停止し、ステップS2315に移る。ステップS2315では、上センサOFF時間の計測を停止し、ステップS2316に移る。   In step S2313, it is determined whether or not the upper sensor = ON and the open sensor = OFF. The process in step S2313 is repeated until the upper sensor = ON and the open sensor = OFF. If the condition in step S2313 is satisfied, The process moves to S2314. In step S2314, the measurement of the open OFF upper ON time is stopped, and the process proceeds to step S2315. In step S2315, the measurement of the upper sensor OFF time is stopped, and the process proceeds to step S2316.

ステップS2316では、ステップS2316に移ってから記憶部に記憶されている上センサON半分時間の学習値を経過したか否かを判断し、経過するとステップS2317に移る。上センサON半分時間の学習値が記憶部に記憶されていない場合には、ステップS239で計測した最新の上センサON半分時間を用いる。ステップS2317では、モータ39をOFFにし、ステップS2318に移る。   In step S2316, it is determined whether or not the learning value of the upper sensor ON half time stored in the storage unit has elapsed since moving to step S2316, and when it has elapsed, the process proceeds to step S2317. When the learning value of the upper sensor ON half time is not stored in the storage unit, the latest upper sensor ON half time measured in step S239 is used. In step S2317, the motor 39 is turned OFF and the process proceeds to step S2318.

ステップS2318では、学習可能フラグ=ONかつ次回学習可能フラグ=ONであるか否かを判断し、学習可能フラグ=ONかつ次回学習可能フラグ=ONの場合にはステップS2319に移り、違う場合にはステップS2320に移る。   In step S2318, it is determined whether or not the learnable flag = ON and the next learnable flag = ON. If the learnable flag = ON and the next learnable flag = ON, the process proceeds to step S2319. The process moves to step S2320.

ステップS2319では、S239、S2312およびS2315で求めた最新の各時間と、記憶部に記憶されている学習値とによって、最新の学習値を算出し、記憶部(EEPROM)に記憶し、ステップS2320に移る。   In step S2319, the latest learning value is calculated from the latest times obtained in S239, S2312, and S2315 and the learning value stored in the storage unit, and stored in the storage unit (EEPROM). Move.

ステップS2320では、上センサ故障カウンタ=0および開センサ故障カウンタ=0として、ステップS2321に移る。ステップS2321では、次回学習可能フラグをONにして、本フローを終了する。   In step S2320, the upper sensor failure counter = 0 and the open sensor failure counter = 0 are set, and the process proceeds to step S2321. In step S2321, the next learning enable flag is turned ON, and this flow ends.

次に、開制御および閉制御に関して、図24のタイミングチャートを用いて説明する。まず、開制御に関して説明する。時刻t11の初期位置にて、上センサ=ONかつ開センサ=OFFであるので、ステップS223の条件を満たす。そして、ステップS226にてモータ39がONされて、クランク34が回転するにつれて、各センサのオンオフ状態が変化する。時刻t12にて、上センサ=OFFかつ開センサ=OFFとなり、ステップS228の条件を満たす。したがってステップS229にて、上センサON半分時間TM1が計測される。   Next, opening control and closing control will be described with reference to the timing chart of FIG. First, the opening control will be described. Since the upper sensor = ON and the open sensor = OFF at the initial position at time t11, the condition of step S223 is satisfied. In step S226, as the motor 39 is turned on and the crank 34 rotates, the on / off state of each sensor changes. At time t12, the upper sensor = OFF and the open sensor = OFF, and the condition of step S228 is satisfied. Accordingly, in step S229, the upper sensor ON half time TM1 is measured.

次に、時刻t13にて、上センサ=OFFかつ開センサ=ONとなり、ステップS2212の条件を満たす。したがってステップS2213にて、上OFF開ON時間TM2が計測される。   Next, at time t13, the upper sensor = OFF and the open sensor = ON, and the condition of step S2212 is satisfied. Therefore, in step S2213, the upper OFF opening ON time TM2 is measured.

次に、時刻t14にて、上センサ=ONかつ開センサ=ONとなり、ステップS2214の条件を満たす。したがってステップS2215にて、上センサOFF時間TM3が計測される。   Next, at time t14, the upper sensor = ON and the open sensor = ON, and the condition of step S2214 is satisfied. Accordingly, the upper sensor OFF time TM3 is measured in step S2215.

次に、時刻t15にて、上センサON半分時間が経過し(ステップS2216)、モータ39を停止する(ステップS2217)。これによって排水栓19が開状態となる。そして開状態の位置では、時刻t15のように、上センサON時間の半分が経過した位置、すなわちクランク34が0度の位置に配置されており、開センサ62もONであるので、手動スイッチ33も開位置にある。したがって手動スイッチ33は、手動可能な範囲内に位置している。   Next, at time t15, the upper sensor ON half time has elapsed (step S2216), and the motor 39 is stopped (step S2217). As a result, the drain plug 19 is opened. At the open position, as shown at time t15, the half of the upper sensor ON time has elapsed, that is, the crank 34 is located at the 0 degree position, and the open sensor 62 is also ON. Is also in the open position. Therefore, the manual switch 33 is positioned within a manually operable range.

次に、閉制御に関して説明する。時刻t15の初期位置にて、上センサ=ONかつ開センサ=ONであるので、ステップS233の条件を満たす。そして、ステップS236にてモータ39がONされて、クランク34が回転するにつれて、各センサのオンオフ状態が変化する。時刻t16にて、上センサ=OFFかつ開センサ=ONとなり、ステップS238の条件を満たす。したがってステップS239にて、上センサON半分時間TM1が計測される。   Next, the closing control will be described. Since the upper sensor = ON and the open sensor = ON at the initial position at time t15, the condition of step S233 is satisfied. In step S236, as the motor 39 is turned on and the crank 34 rotates, the on / off state of each sensor changes. At time t16, the upper sensor = OFF and the open sensor = ON, and the condition of step S238 is satisfied. Accordingly, in step S239, the upper sensor ON half time TM1 is measured.

次に、時刻t17にて、上センサ=OFFかつ開センサ=OFFとなり、ステップS2311の条件を満たす。次に、時刻t18にて、上センサ=ONかつ開センサ=OFFとなり、ステップS2313の条件を満たす。したがってステップS2314にて、開OFF上ON時間TM4が計測される。またステップS2315にて、上センサOFF時間TM3が計測される。   Next, at time t17, the upper sensor = OFF and the open sensor = OFF, and the condition of step S2311 is satisfied. Next, at time t18, the upper sensor = ON and the open sensor = OFF, and the condition of step S2313 is satisfied. Therefore, in step S2314, the open OFF upper ON time TM4 is measured. In step S2315, the upper sensor OFF time TM3 is measured.

次に、時刻t19にて、上センサON半分時間が経過し(ステップS2316)、モータ39を停止する(ステップS2317)。これによって排水栓19が閉状態となる。そして閉状態の位置では、時刻t19のように、上センサON時間の半分が経過した位置、すなわちクランク34が0度の位置に配置されており、開センサ62もOFFであるので、手動スイッチ33も閉位置にある。したがって手動スイッチ33は、手動可能な範囲内に位置している。   Next, at time t19, the upper sensor ON half time has elapsed (step S2316), and the motor 39 is stopped (step S2317). As a result, the drain plug 19 is closed. In the closed position, as at time t19, the half of the upper sensor ON time has elapsed, that is, the crank 34 is located at the 0 degree position, and the open sensor 62 is also OFF. Is also in the closed position. Therefore, the manual switch 33 is positioned within a manually operable range.

このようにイニシャル制御、開制御および閉制御にて、時間TM1〜TM4が計測される。表1は、各学習値における学習タイミングおよび範囲の一例を示す表である。

Figure 0005999045
Thus, the times TM1 to TM4 are measured by the initial control, the open control, and the close control. Table 1 is a table showing an example of learning timing and range for each learning value.
Figure 0005999045

上センサON半分時間TM1は、イニシャル制御(ステップS1914)にて算出され、開制御(ステップS229)および閉制御(ステップS239)にて計測される。上OFF開ON時間TM2は、イニシャル制御(ステップS198)および開制御(ステップS2213)にて計測される。上センサOFF時間TM3は、イニシャル制御(ステップS1910)、開制御(ステップS2215)および閉制御(ステップS2315)にて計測される。開OFF上ON時間TM4は、イニシャル制御(ステップS1918)および閉制御(ステップS2314)にて計測される。   The upper sensor ON half time TM1 is calculated by initial control (step S1914) and measured by open control (step S229) and close control (step S239). The upper OFF opening ON time TM2 is measured by initial control (step S198) and opening control (step S2213). The upper sensor OFF time TM3 is measured by initial control (step S1910), open control (step S2215), and close control (step S2315). The open OFF upper ON time TM4 is measured by initial control (step S1918) and close control (step S2314).

次に、表2を用いて異常検出処理に関して説明する。異常検出処理は、表2に示す検出タイミングにて、検出条件成立した場合に実施される。エラーは故障カウンタ(エラー回数)に基づいて確定する。また上センサ故障と開センサ故障との同時成立する場合も考慮する。上センサ61および開センサ62の故障は、たとえば上センサ61および開センサ62を構成するリードスイッチやマグネットの脱落、リードスイッチの故障、配線の短絡/ショート、および制御部20の故障が考えられる。

Figure 0005999045
Next, abnormality detection processing will be described using Table 2. The abnormality detection process is performed when the detection condition is satisfied at the detection timing shown in Table 2. The error is determined based on a failure counter (number of errors). In addition, the case where the upper sensor failure and the open sensor failure are simultaneously established is also considered. The failure of the upper sensor 61 and the open sensor 62 may be, for example, a drop of a reed switch or a magnet constituting the upper sensor 61 and the open sensor 62, a failure of the reed switch, a short circuit / short circuit, and a failure of the control unit 20.
Figure 0005999045

検出タイミングとしては、(1)イニシャル制御においてモータ39が駆動している場合と、(2)イニシャル制御以外でモータ39が駆動している場合とに分けられる。検出タイミングが(1)の場合、第1の検出条件は、モータ39のON継続時間が1回転する時間の所定倍数の時間が経過しており、かつ上センサ61のON→OFFが未検出であり、かつ上センサ61のOFF→ONが未検出の場合である。所定の倍数は、たとえば2回である。2回、クランク34が回転しても上センサ61の検出のONOFFに変化がない場合は、上センサ61による検出にエラーが発生している。したがって異常が検出されたとして、異常処理が実施される。   The detection timing is divided into (1) the case where the motor 39 is driven in the initial control and (2) the case where the motor 39 is driven other than in the initial control. When the detection timing is (1), the first detection condition is that the ON duration of the motor 39 is a predetermined multiple of the time for one rotation, and the ON sensor OFF of the upper sensor 61 is not detected. This is a case where the upper sensor 61 is not detected as being OFF → ON. The predetermined multiple is, for example, twice. If the detection of the upper sensor 61 does not change even when the crank 34 rotates twice, an error has occurred in the detection by the upper sensor 61. Therefore, the abnormality process is performed assuming that an abnormality is detected.

異常処理として、モータ39が回転を開始してから1回転する時間の所定倍数の時間が経過後にクランク34の駆動を停止するようにモータ39を制御する。これによって単に上センサ61に故障が発生している場合には、初期位置に戻すことができる。このときに使用される1回転の時間は、記憶部に記憶されている上センサON半分時間TM1の学習値の2倍と上センサOFF時間TM3の学習値との合計時間である。またイニシャル制御中に異常が検出されたので、学習可能フラグおよび次回学習可能フラグをOFFにして、今回のイニシャル制御中に測定した各時間は使用しない。また上センサ61に異常が発生しているので、上センサ故障カウンタを所定値αだけカウントさせる。イニシャル制御中に異常が検出さたので、所定値αは直ちに異常がユーザに出力されるように各部が制御される。これによって、たとえば施工時にイニシャル制御が実施された場合には、上センサ61の異常発生を直ちに施工者が認識することができ、異常を早期に発見することができる。   As an abnormality process, the motor 39 is controlled so that the drive of the crank 34 is stopped after a predetermined multiple of the time required for one rotation after the motor 39 starts rotating. As a result, when a failure has occurred in the upper sensor 61, it can be returned to the initial position. The time for one rotation used at this time is the total time of twice the learning value of the upper sensor ON half time TM1 stored in the storage unit and the learning value of the upper sensor OFF time TM3. Further, since an abnormality is detected during the initial control, the learnable flag and the next learnable flag are turned OFF and the times measured during the current initial control are not used. Further, since an abnormality has occurred in the upper sensor 61, the upper sensor failure counter is counted by a predetermined value α. Since an abnormality is detected during the initial control, the predetermined value α is controlled so that the abnormality is immediately output to the user. Thus, for example, when initial control is performed at the time of construction, the installer can immediately recognize the occurrence of the abnormality of the upper sensor 61, and the abnormality can be detected early.

検出タイミングが(1)の場合、第2の検出条件は、モータ39のON継続時間が1回転する時間の所定倍数の時間が経過しており、かつ開センサ62のON→OFFが未検出であり、かつ開センサ62のOFF→ONが未検出の場合である。所定の倍数は、たとえば2回である。2回、クランク34が回転しても開センサ62の検出のONOFFに変化がない場合は、開センサ62による検出にエラーが発生している。したがって異常が検出されたとして、異常処理が実施される。   When the detection timing is (1), the second detection condition is that the ON duration of the motor 39 is a predetermined multiple of the time for one rotation, and the ON → OFF of the open sensor 62 is not detected. This is a case where the open sensor 62 has not been detected from OFF to ON. The predetermined multiple is, for example, twice. If the ON / OFF detection of the open sensor 62 does not change even if the crank 34 rotates twice, an error has occurred in the detection by the open sensor 62. Therefore, the abnormality process is performed assuming that an abnormality is detected.

異常処理として、上センサOFF⇒ON到達後、上センサON半分時間TM1経過時に、クランク34の駆動を停止するようにモータ39を制御する。これによって単に開センサ62に故障が発生している場合には、初期位置に戻すことができる。またイニシャル制御中に異常が検出されたので、学習可能フラグおよび次回学習可能フラグをOFFにして、今回のイニシャル制御中に測定した各時間は使用しない。また開センサ62に異常が発生しているので、開センサ故障カウンタを所定値αだけカウントさせる。イニシャル制御中に異常が検出さたので、所定値αは直ちに異常がユーザに出力されるように各部が制御される。これによって、たとえば施工時にイニシャル制御が実施された場合には、開センサ62の異常発生を直ちに施工者が認識することができ、異常を早期に発見することができる。   As an abnormal process, the motor 39 is controlled to stop the driving of the crank 34 when the upper sensor ON half time TM1 has elapsed after the upper sensor OFF → ON has been reached. As a result, when a failure has occurred in the open sensor 62, it can be returned to the initial position. Further, since an abnormality is detected during the initial control, the learnable flag and the next learnable flag are turned OFF and the times measured during the current initial control are not used. Since an abnormality has occurred in the open sensor 62, the open sensor failure counter is counted by a predetermined value α. Since an abnormality is detected during the initial control, the predetermined value α is controlled so that the abnormality is immediately output to the user. Thereby, for example, when initial control is performed at the time of construction, the installer can immediately recognize the occurrence of the abnormality of the open sensor 62, and the abnormality can be detected early.

検出タイミングが(1)の場合、第3の検出条件は、モータ39のON継続時間が1回転する時間の所定倍数の時間が経過しており、所定の倍数が第1の検出条件および第2の検出条件よりも大きい回数の場合である。たとえば所定の倍数は、5回に設定される。5回、クランク34が回転してもイニシャル制御が終了していない場合には、開センサ62および上センサ61以外の異常が発生しているか、各センサ61,62がたまたま検出できなかった場合が考えられる。この場合には、異常が検出されたとして、異常処理が実施される。   When the detection timing is (1), the third detection condition is that a predetermined multiple of the time that the ON duration of the motor 39 is rotated once has elapsed, and the predetermined multiple is the first detection condition and the second detection condition. This is a case where the number of times is larger than the detection condition. For example, the predetermined multiple is set to 5 times. If the initial control is not completed even after the crank 34 has rotated five times, there may be an abnormality other than the open sensor 62 and the upper sensor 61, or the sensors 61 and 62 may not be detected by chance. Conceivable. In this case, an abnormality process is performed assuming that an abnormality has been detected.

異常処理として、モータ39が回転を開始してから1回転する時間の所定倍数の時間が経過後にクランク34の駆動を停止するようにモータ39を制御する。これによってクランク34を初期位置に戻すことができる。またイニシャル制御中に異常が検出されたので、学習可能フラグおよび次回学習可能フラグをOFFにして、今回のイニシャル制御中に測定した各時間は使用しない。また各センサ61,62の異常の有無を特定できないので、上センサ故障カウンタおよび開センサ故障カウンタを所定値αよりも小さい値、たとえば1だけ増加させる。イニシャル制御中に異常が検出されたので、上センサ故障カウンタおよび開センサ故障カウンタをいずれも所定値1とするため、直ちに異常がユーザに出力されるように各部が制御される。これによって、たとえば施工時にイニシャル制御が実施された場合には、各センサ61,62の異常の有無を特定できない場合であっても直ちに施工者が認識することができ、異常を早期に発見することができる。   As an abnormality process, the motor 39 is controlled so that the drive of the crank 34 is stopped after a predetermined multiple of the time required for one rotation after the motor 39 starts rotating. As a result, the crank 34 can be returned to the initial position. Further, since an abnormality is detected during the initial control, the learnable flag and the next learnable flag are turned OFF and the times measured during the current initial control are not used. Further, since it is not possible to specify whether or not each of the sensors 61 and 62 is abnormal, the upper sensor failure counter and the open sensor failure counter are increased by a value smaller than the predetermined value α, for example, 1. Since an abnormality is detected during the initial control, both the upper sensor failure counter and the open sensor failure counter are set to a predetermined value 1, so that each unit is controlled so that the abnormality is immediately output to the user. Thus, for example, when initial control is performed at the time of construction, the installer can immediately recognize even if the presence / absence of abnormality of each sensor 61, 62 cannot be specified, and to detect the abnormality early. Can do.

検出タイミングが(2)の場合において、3つの検出条件は所定倍数が異なり、第1の検出条件および第2の検出条件の場合はモータ39が所定倍数が1である。したがって第1の検出条件および第2の検出条件の場合は、モータ39が一周する時間とモータ39の駆動時間とを比較している。第3の検出条件では、所定倍数を1よりも大きい値、たとえば2としている。また各検出条件における、モータ39の制御、各フラグの設定も同じである。   When the detection timing is (2), the three detection conditions have different predetermined multiples. In the case of the first detection condition and the second detection condition, the motor 39 has a predetermined multiple of 1. Therefore, in the case of the first detection condition and the second detection condition, the time for which the motor 39 makes a round is compared with the driving time of the motor 39. In the third detection condition, the predetermined multiple is set to a value larger than 1, for example, 2. The control of the motor 39 and the setting of each flag are the same under each detection condition.

検出タイミングが(2)の場合での第1の検出条件および第2の検出条件の場合は、対応する各故障カウンタを所定値αよりも小さい値、たとえば1だけ増加させる点が異なる。これはモータ39が1回転するうちに、各センサ61,62のオンオフが未検出であったとしても1回転だけ未検出という可能性もあるので各センサ61,62の軽微な異常と判断しているからである。   The first detection condition and the second detection condition when the detection timing is (2) are different in that each corresponding failure counter is increased by a value smaller than a predetermined value α, for example, 1. This is because there is a possibility that only one rotation is not detected even if the on / off of each sensor 61, 62 is not detected during one rotation of the motor 39. Because.

次に、故障カウンタとエラーとの関係について、表3を用いて説明する。表3に示すように、エラーコードE1は、上センサの異常を示し、エラーコードE2は、開センサの異常を示し、エラーコードE3は両センサ61,62の異常を示す。

Figure 0005999045
Next, the relationship between the failure counter and the error will be described using Table 3. As shown in Table 3, the error code E1 indicates an abnormality of the upper sensor, the error code E2 indicates an abnormality of the open sensor, and the error code E3 indicates an abnormality of both the sensors 61 and 62.
Figure 0005999045

まず、上センサ61の異常検出に関して説明する。上センサ61の異常検出条件は、上センサ故障カウンタがα以上であり、かつエラーコードE3が未確定の場合である。検出タイミングとして、排水栓19の制御を強制終了時であり、その時に検出条件を満たしていた場合には、異常発生処理が実施される。αは、2以上の上限回数、たとえば3などが用いられる。これはユーザの使い方によってエラーを誤検知することを防ぐためであり、複数回異常検出したら機器の故障と判断してエラーを表示するためである。異常発生処理は、台所リモコン42などの表示装置にエラー情報としてエラーコードE1を表示する。表示されたエラーコードE1は、台所リモコン42などを操作することによって、エラークリアも可能である。またエラー発生中でも、湯張りなどの操作は可能である。   First, abnormality detection of the upper sensor 61 will be described. The abnormality detection condition of the upper sensor 61 is when the upper sensor failure counter is greater than or equal to α and the error code E3 is unconfirmed. As the detection timing, when the control of the drain plug 19 is forcibly terminated and the detection condition is satisfied at that time, an abnormality occurrence process is performed. As the α, an upper limit number of 2 or more, for example, 3 is used. This is to prevent erroneous detection of an error depending on how the user is used. If an abnormality is detected a plurality of times, it is determined that the device has failed and an error is displayed. In the abnormality occurrence process, an error code E1 is displayed as error information on a display device such as the kitchen remote controller 42. The displayed error code E1 can be cleared by operating the kitchen remote controller 42 or the like. Even when an error occurs, operations such as hot water filling can be performed.

次に、開センサ62の異常検出に関して説明する。開センサ62の異常検出条件は、開センサ故障カウンタがα以上であり、かつエラーコードE3が未確定の場合である。検出タイミングおよび異常発生処理は、上センサ61の異常検出の場合と同じである。   Next, abnormality detection of the open sensor 62 will be described. The abnormality detection condition for the open sensor 62 is when the open sensor failure counter is greater than or equal to α and the error code E3 is unconfirmed. The detection timing and abnormality occurrence processing are the same as in the case of abnormality detection of the upper sensor 61.

次に、両センサ61,62の異常検出に関して説明する。両センサ61,62の異常検出条件は、上センサ故障カウンタおよび開センサ故障カウンタがそれぞれ1以上の場合である。検出タイミングおよび異常発生処理は、上センサ61の異常検出の場合と同じである。両センサ異常の状態は、モータ39の故障、排水装置30のハーネス断線や基板のコネクタ抜けの場合が考えられるため1回でエラー出すようにしている。   Next, abnormality detection of both sensors 61 and 62 will be described. The abnormality detection condition for both sensors 61 and 62 is when the upper sensor failure counter and the open sensor failure counter are 1 or more, respectively. The detection timing and abnormality occurrence processing are the same as in the case of abnormality detection of the upper sensor 61. Both sensor abnormalities are considered to be a single error because the motor 39 is broken, the harness of the drainage device 30 is broken, or the connector of the board is disconnected.

以上説明したように本実施形態の排水装置30は、ユーザは手動スイッチ33を直接操作することによって、排水栓19を開閉できるとともに、台所リモコン42およびスマートフォン43を操作することによっても排水栓19を開閉することができる。また制御部20は、遠隔開閉操作がされた場合には、モータ39の回転駆動を制御して開閉が完了した後、手動スイッチ33の位置とクランク34の角度位置に応じて、モータ39をさらに回転駆動する。したがって制御部20は、単に開閉操作が完了したら回転を停止するのではなく、手動スイッチ33の影響を受けない干渉範囲を除いた位置になるまでさらにクランク34が回転するように制御する。これによって遠隔操作によって開閉操作が行われた後であっても、手動スイッチ33による直接操作が可能となる。   As described above, in the drainage device 30 of the present embodiment, the user can open and close the drain plug 19 by directly operating the manual switch 33, and the drain plug 19 can also be operated by operating the kitchen remote control 42 and the smartphone 43. Can be opened and closed. In addition, when a remote opening / closing operation is performed, the control unit 20 controls the rotational drive of the motor 39 to complete the opening / closing, and then further opens the motor 39 according to the position of the manual switch 33 and the angular position of the crank 34. Rotating drive. Therefore, the control unit 20 does not stop the rotation when the opening / closing operation is completed, but controls the crank 34 to further rotate until it reaches a position excluding the interference range that is not affected by the manual switch 33. As a result, even after the opening / closing operation is performed by remote operation, the manual switch 33 can be directly operated.

特許文献1に記載の排水装置30では、手動操作は、クランク軸が0°付近に戻っていないと手動操作部とクランク軸が干渉して、手動操作が行えないという問題がある。またクランク軸を0°付近に戻す方法について特許文献1には開示されていないが、クランク軸に取り付けられたマグネットとケースに取り付けられたリードスイッチを用いて0°位置を検出してモータを停止させる構成が考えられる。しかしマグネットとリードスイッチの性能のばらつきや、それらの取り付けのばらつきや、経年的な性能の劣化によって、検出値が変化してクランク軸を0°位置に停止させることができなくなる恐れがある。   In the drainage device 30 described in Patent Document 1, the manual operation has a problem that the manual operation unit and the crankshaft interfere with each other unless the crankshaft returns to around 0 °, and the manual operation cannot be performed. Although the method of returning the crankshaft to around 0 ° is not disclosed in Patent Document 1, the motor is stopped by detecting the 0 ° position using a magnet attached to the crankshaft and a reed switch attached to the case. The structure to be made can be considered. However, due to variations in the performance of the magnet and the reed switch, variations in their attachment, and deterioration in performance over time, the detected value may change and the crankshaft cannot be stopped at the 0 ° position.

これに対して本実施形態では、上センサ61の検出範囲をモータ39が通過する時間を学習する。これによって上センサ61の性能のばらつきや、それらの取り付けのばらつきや、経年的な性能の劣化によって、検出値が変化しても、変わらずにクランク34を0度付近に停止させることができる。クランク34の回転速度は、浴槽16内の残湯量による排水栓19にかかる水圧の変化や、制御部20からモータ39に供給される電流や電圧のばらつきによって変わる。また制御部20からの指示値が同じでも、制御部20から排水装置30までの配線の長さの違いや、同時に動作する給湯装置10の負荷の動作状況によって電流値や電圧値は変化する。したがって複数回取得した値の平均値を学習記憶することでロバスト性が向上する。また、記憶部として内部メモリや不揮発性メモリに保存することで、不慮の停電があっても記憶値を忘れることがない。   On the other hand, in this embodiment, the time during which the motor 39 passes through the detection range of the upper sensor 61 is learned. As a result, even if the detection value changes due to variations in performance of the upper sensor 61, variations in their attachment, or deterioration in performance over time, the crank 34 can be stopped at around 0 degrees without change. The rotational speed of the crank 34 varies depending on a change in water pressure applied to the drain plug 19 due to the amount of remaining hot water in the bathtub 16 and variations in current and voltage supplied from the control unit 20 to the motor 39. Even if the instruction value from the control unit 20 is the same, the current value and the voltage value vary depending on the difference in the length of the wiring from the control unit 20 to the drainage device 30 and the operating condition of the load of the hot water supply device 10 operating simultaneously. Therefore, robustness is improved by learning and storing an average value of values acquired a plurality of times. Further, by storing the data in the internal memory or the nonvolatile memory as a storage unit, the stored value is not forgotten even if there is an unexpected power failure.

さらに本実施形態では、モータ39の回転駆動の制御を開始後、上センサ61によってクランク34の角度位置の検出にエラーが発生している場合には、クランク34が回転を開始してから1回転する時間の所定倍数の時間が経過後にモータ39を停止している。所定倍数の時間が経過後にモータ39を停止するので、クランク34が回転を開始した位置、すなわち初期位置に戻すことができる。初期位置は、干渉範囲 を除いた位置にあるので、上センサ61にエラーが発生している場合であっても、直接操作が可能となる。したがって上センサ61に不具合が発生した場合であっても、手動操作が可能な排水装置30を実現することができる。   Furthermore, in the present embodiment, if an error occurs in the detection of the angular position of the crank 34 by the upper sensor 61 after starting the rotational drive control of the motor 39, one rotation is performed after the crank 34 starts rotating. The motor 39 is stopped after a predetermined multiple of time has elapsed. Since the motor 39 is stopped after a predetermined multiple of time has elapsed, it can be returned to the position where the crank 34 has started rotating, that is, the initial position. Since the initial position is in a position excluding the interference range, even if an error has occurred in the upper sensor 61, direct operation is possible. Therefore, even if a malfunction occurs in the upper sensor 61, the drainage device 30 that can be manually operated can be realized.

換言すると、上センサ61に故障(検出エラー)が発生した場合に、あらかじめ学習記憶したクランク一回転時間の所定倍数で故障を判断して停止させることで、クランク34を必ず手動操作可能範囲に停止させることができる。これによって上センサ61の故障時にクランク34を手動操作可能範囲に停止させることで、ユーザが故障のエラー表示を見てからサービスコールして修理するまでの間、排水栓19が閉められずにお風呂に入れないといった最悪の事態を防ぐことができる。   In other words, when a failure (detection error) occurs in the upper sensor 61, the crank 34 is always stopped in the manually operable range by determining and stopping the failure at a predetermined multiple of the crank one rotation time learned and stored in advance. Can be made. Thus, when the upper sensor 61 fails, the crank 34 is stopped within the manually operable range, so that the drain plug 19 is not closed until the user calls the service call and repairs the failure. The worst situation of not taking a bath can be prevented.

さらに本実施形態では、上センサ61は、クランク34が1回転するとき、上センサ61がON(検出範囲)の範囲は干渉範囲を除いた位置である。したがって上センサ61がONのとき、たとえば上センサ61がONになってから上センサON半分時間が経過した時にクランク34を停止させると、確実に干渉範囲を除いた位置となる。これによって確実に手動スイッチ33が操作可能な範囲内に配置することができる。   Furthermore, in the present embodiment, when the crank 34 rotates once, the upper sensor 61 is in a position where the upper sensor 61 is ON (detection range) excluding the interference range. Therefore, when the upper sensor 61 is ON, for example, when the crank 34 is stopped when the upper sensor ON half time has elapsed since the upper sensor 61 was turned ON, the position is surely excluded from the interference range. As a result, the manual switch 33 can be reliably disposed within the operable range.

また本実施形態では、モータ39の回転駆動の制御を開始後、クランク34が回転を開始してから所定倍数の時間が経過するまでに、開センサ62にエラーが発生している場合には、駆動してから所定倍数の時間が経過後にモータ39の駆動を停止している。所定倍数の時間が経過後にモータ39を停止するので、クランク34が回転を開始した位置、すなわち初期位置に戻すことができる。初期位置は、干渉範囲を除いた位置にあるので、開センサ62にエラーが発生している場合であっても、直接操作が可能となる。したがって開センサ62に不具合が発生した場合であっても、手動操作が可能な排水装置30を実現することができる。   Further, in the present embodiment, after the start of the rotation drive control of the motor 39, when an error has occurred in the open sensor 62 until the predetermined multiple time has elapsed since the crank 34 started rotating, The drive of the motor 39 is stopped after a predetermined multiple of time has elapsed since the drive. Since the motor 39 is stopped after a predetermined multiple of time has elapsed, it can be returned to the position where the crank 34 has started rotating, that is, the initial position. Since the initial position is at a position excluding the interference range, direct operation is possible even when an error has occurred in the open sensor 62. Therefore, the drainage device 30 that can be manually operated can be realized even when a malfunction occurs in the open sensor 62.

また本実施形態では、上センサ61によって、検出範囲内にある検出時間(上センサON時間)および検出範囲外にある検出外時間(上センサOFF時間)が制御部20によって測定される。クランク34を二回転して上センサOFF⇒ONのエッジから上センサON⇒OFFのエッジを測ることで、クランク34が上センサON範囲を通過する時間を正確に測ることができる。そして記憶部には、測定された検出時間(上センサON半分時間×2)および検出外時間(上センサOFF時間)が記憶されている。そこで制御部20は、クランク34が1回転する時間として、記憶部に記憶されている上センサON半分時間×2と上センサOFF時間との合計時間を用いている。これらの時間は、イニシャル制御、開制御および閉制御中に測定されるので、毎回直近に測定された値を反映することができる。これらの時間は、モータ39の回転速度は制御部20から供給される電圧のばらつきや浴槽16内の湯のあり/なしによって変わるため、ロバスト性を向上することができる。   In the present embodiment, the upper sensor 61 measures the detection time within the detection range (upper sensor ON time) and the non-detection time outside the detection range (upper sensor OFF time) by the control unit 20. By measuring the edge of the upper sensor ON → OFF from the edge of the upper sensor OFF → ON by rotating the crank 34 twice, the time required for the crank 34 to pass through the upper sensor ON range can be accurately measured. Then, the measured detection time (upper sensor ON half time × 2) and non-detection time (upper sensor OFF time) are stored in the storage unit. Therefore, the control unit 20 uses the total time of the upper sensor ON half time × 2 and the upper sensor OFF time stored in the storage unit as the time for one rotation of the crank 34. Since these times are measured during the initial control, the open control and the close control, the values measured most recently can be reflected. During these times, the rotational speed of the motor 39 changes depending on variations in the voltage supplied from the control unit 20 and the presence / absence of hot water in the bathtub 16, so that the robustness can be improved.

また本実施形態では、制御部20は、上センサ61によって検出範囲内にある検出時間を測定する測定手段として機能する。そして、少なくとも検出範囲の中央のクランク34の角度位置(0度)は、干渉範囲を除いた位置であり、記憶部に記憶されている停止時間は、検出時間の半分の値(上センサON半分時間)である。これによってクランク34を0度付近に確実に配置することができる。   In the present embodiment, the control unit 20 functions as a measurement unit that measures the detection time within the detection range by the upper sensor 61. At least the angular position (0 degree) of the crank 34 in the center of the detection range is a position excluding the interference range, and the stop time stored in the storage unit is a half value of the detection time (upper sensor ON half). Time). As a result, the crank 34 can be reliably arranged around 0 degrees.

さらに本実施形態では、制御部20は、排水装置30が起動されると、モータ39によってクランク34を複数回回転するように制御し、複数回回転させた際に制御部20によって測定された検出時間の半分の値を最新の停止時間として記憶部に記憶させる。排水装置30の起動時にイニシャル制御を実施することによって、最新の上センサON半分時間を取得することができる。これによってクランク34を0度付近に高精度に配置することができる。   Furthermore, in this embodiment, when the drainage device 30 is activated, the control unit 20 controls the crank 34 to rotate a plurality of times by the motor 39, and the detection measured by the control unit 20 when the crank 34 is rotated a plurality of times. Half the time is stored in the storage unit as the latest stop time. By performing initial control when the drainage device 30 is activated, the latest upper sensor ON half time can be acquired. As a result, the crank 34 can be arranged with high accuracy in the vicinity of 0 degrees.

また本実施形態では、制御部20は、遠隔操作によって開閉操作がされた場合には、モータ39によってクランク34が回転駆動されてから検出範囲外になるまでの上センサON半分時間(開始時間)を測定する。また記憶部に記憶されている停止時間は、開始時間である。したがって開閉操作をするたびに最新の上センサON半分時間を取得することができる。これによってクランク34を0度付近に高精度に配置することができる。またモータ39の回転速度は制御部20から供給される電圧のばらつきや浴槽16内の湯のあり/なしによって変わるため、イニシャル制御以外の通常使用時に計測し直すことで、ロバスト性を向上することができる。   Further, in this embodiment, when the opening / closing operation is performed by remote control, the control unit 20 performs the upper sensor ON half time (start time) from when the crank 34 is rotationally driven by the motor 39 until it is out of the detection range. Measure. The stop time stored in the storage unit is a start time. Therefore, the latest upper sensor ON half time can be acquired each time the opening / closing operation is performed. As a result, the crank 34 can be arranged with high accuracy in the vicinity of 0 degrees. In addition, since the rotation speed of the motor 39 varies depending on variations in the voltage supplied from the control unit 20 and the presence / absence of hot water in the bathtub 16, the robustness can be improved by re-measurement during normal use other than the initial control. Can do.

このように本実施形態では、電気的に浴槽16の排水栓19を開閉できる排水装置30を給湯装置10の制御部20からコントロールできるようにすることで、スマートハウスやHEMSシステムのユーザの利便性を格段に向上させている。具体的には、外出先からスマートフォン43などによって湯張りを実施する場合は、浴槽16に備えられた排水装置30により自動的に浴槽16の排水栓19を閉状態にしてから湯張りを開始する。したがって外出前に浴槽16の排水栓19を閉めてくる必要がない。また浴槽16の排水栓19を閉め忘れても自動的に浴槽16の排水栓19を閉めてから湯張りするため湯が無駄になることがなく省エネ性が向上する。また外出先でもスマートフォン43などによって排水装置30に備えられた上センサ61および閉センサなどの情報により排水栓19の開閉状態がわかる。またクランク34を0°位置に戻すことで排水装置30上部にある手動スイッチ33が最上部に戻るためスイッチ部に隙間ができず見栄えをよくすることができる。   As described above, in this embodiment, the drainage device 30 that can electrically open and close the drain plug 19 of the bathtub 16 can be controlled from the control unit 20 of the hot water supply device 10, thereby improving the convenience of the user of the smart house or the HEMS system. Is significantly improved. Specifically, when the hot water filling is performed from the outside with the smartphone 43 or the like, the hot water filling is started after the drain plug 19 of the bathtub 16 is automatically closed by the drainage device 30 provided in the bathtub 16. . Therefore, it is not necessary to close the drain plug 19 of the bathtub 16 before going out. Moreover, even if the drain plug 19 of the bathtub 16 is forgotten to be closed, the hot water is automatically filled after the drain plug 19 of the bathtub 16 is closed, so that the hot water is not wasted and energy saving is improved. In addition, the open / closed state of the drain plug 19 can be known from the information such as the upper sensor 61 and the closing sensor provided in the drainage device 30 by the smartphone 43 or the like even when going outside. Further, by returning the crank 34 to the 0 ° position, the manual switch 33 at the top of the drainage device 30 returns to the uppermost position, so that there is no gap in the switch portion and the appearance can be improved.

また本実施形態では、給湯装置10の遠隔装置またはHEMSシステムの表示装置またはHEMSシステムとネットワークサーバで連携可能なスマートフォン43によって、遠隔操作することができる。遠隔操作(湯張りまたはふろ自動)がなされた場合は湯張りの出湯の前に排水栓19を開から閉に切り替えてから湯張りの出湯を実施する。または、所定の排水栓19の開(または閉)操作がなされた場合は排水栓19を閉から開(または開から閉)に切り替えることができる。さらに排水栓19の開閉状態を給湯装置10の遠隔装置またはHEMSシステムの表示装置またはHEMSシステムとネットワークサーバで連携可能なスマートフォン43などの情報端末装置に、アニメーション、文字またはLEDで、通知することができる。   Moreover, in this embodiment, it can operate remotely with the smart phone 43 which can cooperate with the remote apparatus of the hot-water supply apparatus 10, the display apparatus of a HEMS system, or a HEMS system with a network server. When remote control (water filling or automatic bathing) is performed, the hot water filling is performed after the drain plug 19 is switched from open to closed before the hot water filling. Alternatively, when a predetermined drain plug 19 is opened (or closed), the drain plug 19 can be switched from closed to open (or open to closed). Further, the open / closed state of the drain plug 19 can be notified to an information terminal device such as a smartphone 43 that can be linked with a remote device of the hot water supply device 10, a display device of the HEMS system, or a network server with the HEMS system by animation, characters or LEDs. it can.

(第2実施形態)
次に、本発明の第2実施形態に関して、図25を用いて説明する。本実施形態では、制御部20をネットワークに接続した点に特徴を有する。図25に示すように、給湯装置10Aの制御部20とルータ51とを配線52によって接続している。制御部20は、Ethernet回路(登録商標)とLANポートを内蔵する。これによってネットワーク対応していない台所リモコン42および浴室リモコン41を使用することができる。したがって台所リモコン42および浴室リモコン41のコストを抑制することができる。また台所リモコン42を介さずに直接制御部20から排水装置30をコントロールできるためレスポンスが向上することができる。
(Second Embodiment)
Next, a second embodiment of the present invention will be described with reference to FIG. The present embodiment is characterized in that the control unit 20 is connected to a network. As shown in FIG. 25, the control unit 20 of the hot water supply apparatus 10 </ b> A and the router 51 are connected by a wiring 52. The control unit 20 incorporates an Ethernet circuit (registered trademark) and a LAN port. This makes it possible to use the kitchen remote controller 42 and the bathroom remote controller 41 that are not network-compatible. Therefore, the cost of the kitchen remote control 42 and the bathroom remote control 41 can be suppressed. Further, since the drainage device 30 can be directly controlled from the control unit 20 without using the kitchen remote controller 42, the response can be improved.

(第3実施形態)
次に、本発明の第3実施形態に関して、図26を用いて説明する。本実施形態では、制御部20が拡張基板70を介してネットワークに接続されている点に特徴を有する。図26に示すように、拡張基板70とルータ51とを配線71によって接続している。拡張基板70は、Ethernet回路(登録商標)とLANポートを内蔵する。制御部20は、拡張基板70とシリアル通信で接続されている。これによって制御部20単体の製造コストを抑制することができる。またネットワーク対応していない台所リモコン42および浴室リモコン41を使用することができる。したがって台所リモコン42および浴室リモコン41のコストを抑制することができる。また台所リモコン42を介さずに直接制御部20から排水装置30をコントロールできるためレスポンスが向上することができる。
(Third embodiment)
Next, a third embodiment of the present invention will be described with reference to FIG. The present embodiment is characterized in that the control unit 20 is connected to the network via the expansion board 70. As shown in FIG. 26, the extension board 70 and the router 51 are connected by a wiring 71. The expansion board 70 incorporates an Ethernet circuit (registered trademark) and a LAN port. The control unit 20 is connected to the expansion board 70 by serial communication. Thereby, the manufacturing cost of the control unit 20 alone can be suppressed. Moreover, the kitchen remote controller 42 and the bathroom remote controller 41 which are not network-compatible can be used. Therefore, the cost of the kitchen remote control 42 and the bathroom remote control 41 can be suppressed. Further, since the drainage device 30 can be directly controlled from the control unit 20 without using the kitchen remote controller 42, the response can be improved.

(第4実施形態)
次に、本発明の第4実施形態に関して、図27を用いて説明する。本実施形態では、貯湯タンク部12と台所リモコン42との連携に、ホームオートメーションシステム(HAシステムともいう)が用いられている点に特徴を有する。HAシステムは、日本電機工業会規格JEM1427HA端子(JEM−A)で定められた家庭内機器を相互に有機的に連携するシステムである。
(Fourth embodiment)
Next, a fourth embodiment of the present invention will be described with reference to FIG. The present embodiment is characterized in that a home automation system (also referred to as an HA system) is used for cooperation between the hot water storage tank unit 12 and the kitchen remote controller 42. The HA system is a system for organically linking home devices defined by the Japan Electrical Manufacturers' Association standard JEM1427 HA terminal (JEM-A).

本実施形態では、制御部20がJEM−A通信用インターフェースユニット(IFU)75および拡張ECU74を介して台所リモコン42に接続されている。拡張ECU74と台所リモコン42とは、LANケーブル72と電力線73で接続されている。そして拡張ECU74は、JEM−A通信用IFU75とリモコン通信線でなくJEM−A通信線76で接続されている。JEM−A通信用IFU75は、JEM−A用処理部77と拡張ECU74とのインターフェース条件の整合性を図る機能を持つ。制御部20には、JEM−A用処理部77が内蔵されている。JEM−A用処理部77は、JEM−A通信用IFU75とJEM−A通信線76を介して接続されている。   In the present embodiment, the control unit 20 is connected to the kitchen remote controller 42 via a JEM-A communication interface unit (IFU) 75 and an extended ECU 74. The extension ECU 74 and the kitchen remote control 42 are connected to each other by a LAN cable 72 and a power line 73. The extended ECU 74 is connected to the JEM-A communication IFU 75 via the JEM-A communication line 76 instead of the remote control communication line. The JEM-A communication IFU 75 has a function of ensuring consistency of interface conditions between the JEM-A processing unit 77 and the extended ECU 74. The control unit 20 has a JEM-A processing unit 77 built therein. The JEM-A processing unit 77 is connected to the JEM-A communication IFU 75 via the JEM-A communication line 76.

台所リモコン42に拡張ECU74などを介してJEM−A用処理部77と接続されると、排水装置30がHA機器として認識される。これによって台所リモコン42には、HA機器である排水栓19の状態を確認するためのスイッチ、すなわち排水栓スイッチ47が表示される。したがって台所リモコン42には、台所リモコン42の専用の排水栓スイッチでなく、HA接続機器に排水装置30を割り当ててHA機器として排水栓スイッチ47を操作することによって排水栓閉⇒開(または開⇒閉)を操作できる。   When the kitchen remote controller 42 is connected to the processing unit 77 for JEM-A via the extended ECU 74 or the like, the drainage device 30 is recognized as an HA device. As a result, a switch for confirming the state of the drain plug 19 that is an HA device, that is, a drain plug switch 47 is displayed on the kitchen remote controller 42. Therefore, the kitchen remote controller 42 is not a dedicated drain plug switch of the kitchen remote controller 42 but the drain device 30 is assigned to the HA connection device and the drain plug switch 47 is operated as the HA device by closing the drain plug ⇒ open (or open ⇒ Closed) can be operated.

(その他の実施形態)
以上、本発明の好ましい実施形態について説明したが、本発明は上述した実施形態に何ら制限されることなく、本発明の主旨を逸脱しない範囲において種々変形して実施することが可能である。
(Other embodiments)
The preferred embodiments of the present invention have been described above, but the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the spirit of the present invention.

上記実施形態の構造は、あくまで例示であって、本発明の範囲はこれらの記載の範囲に限定されるものではない。本発明の範囲は、特許請求の範囲の記載によって示され、さらに特許請求の範囲の記載と均等の意味及び範囲内での全ての変更を含むものである。   The structure of the said embodiment is an illustration to the last, Comprising: The scope of the present invention is not limited to the range of these description. The scope of the present invention is indicated by the description of the scope of claims, and further includes meanings equivalent to the description of the scope of claims and all modifications within the scope.

前述の第1実施形態では、推進力受け部材37とワイヤ31とはノックカム38を介して機械的に接続されているが、ノックカム38を介することなく、推進力受け部材37が直接ワイヤ31を上下してもよい。   In the first embodiment described above, the thrust receiving member 37 and the wire 31 are mechanically connected via the knock cam 38, but the thrust receiving member 37 directly moves the wire 31 up and down without the knock cam 38. May be.

前述の第1実施形態では、手動スイッチ33は、押下するスイッチに限るものではなく、回転レバーなど変位するスイッチであればよい。   In the first embodiment described above, the manual switch 33 is not limited to the switch to be pressed, and may be any switch that is displaced, such as a rotary lever.

前述の第1実施形態では、開センサ62は、推進力受け部材37の位置を検出しているが、手動推進力伝達部材36の位置を検出してもよく、手動スイッチ33の位置を検出してもよい。   In the first embodiment described above, the open sensor 62 detects the position of the propulsive force receiving member 37. However, the open sensor 62 may detect the position of the manual propulsive force transmitting member 36, and may detect the position of the manual switch 33. May be.

10…給湯装置 11…給湯機 12…貯湯タンク部
16…浴槽 19…排水栓 20…制御部(測定手段)
31…ワイヤ 32…ケース 33…手動スイッチ(直接操作部)
34…クランク(回転部) 35…連結棒(遠隔動力変換部)
36…手動推進力伝達部材(直接変換部) 37…推進力受け部材(開閉部)
38…ノックカム 39…モータ(駆動部)
41…浴室リモコン(遠隔操作部) 42…台所リモコン(遠隔操作部)
43…スマートフォン(遠隔操作部) 47…排水栓スイッチ
61…上センサ(回転検出手段) 62…開センサ(スライド検出手段)
DESCRIPTION OF SYMBOLS 10 ... Hot-water supply apparatus 11 ... Hot-water supply machine 12 ... Hot water storage tank part 16 ... Bathtub 19 ... Drain plug 20 ... Control part (measuring means)
31 ... Wire 32 ... Case 33 ... Manual switch (direct operation part)
34 ... Crank (rotating part) 35 ... Connecting rod (remote power conversion part)
36 ... Manual propulsion force transmission member (direct conversion portion) 37 ... Propulsion force receiving member (opening / closing portion)
38 ... knock cam 39 ... motor (drive unit)
41 ... Bathroom remote control (remote control unit) 42 ... Kitchen remote control (remote control unit)
43 ... Smartphone (remote control unit) 47 ... Drain plug switch 61 ... Up sensor (rotation detection means) 62 ... Open sensor (slide detection means)

Claims (10)

浴槽(16)の底面に設けられた排水栓(19)を開閉するための直接操作部(33)であって、前記排水栓が開状態にある開位置と前記排水栓が閉状態にある閉位置とにわたって変位される直接操作部と、
前記直接操作部が変位する力を、前記排水栓を開閉するための力に変換する直接変換部(36)と、
前記排水栓を遠隔操作で開閉するための遠隔操作部(41,42,43)と、
所定の回転軸まわりに回転駆動される回転部(34)と、
前記遠隔操作部の操作に応じて前記回転部を回転駆動する駆動部(39)と、
前記回転部に連結され、前記回転部の回転運動を往復運動に変換して、前記排水栓を開閉するための力に変換する遠隔動力変換部(35)と、
前記排水栓に機械的に接続されて、前記直接変換部および前記遠隔動力変換部によって変換された力を用いて前記排水栓を開閉する開閉部(37)と、
前記回転部の角度位置を検出する回転検出手段(61)と、
前記駆動部を制御する制御部(20)と、を含み、
前記回転部は、1回転する毎に前記遠隔動力変換部に前記排水栓の開閉状態を切替える力を与え、
前記遠隔動力変換部は、前記回転部が1回転する間に前記直接操作部の変位を妨げる干渉範囲があり、
前記制御部は、
前記遠隔操作部によって開閉操作がされた場合には、前記駆動部の回転駆動を制御して前記遠隔操作による開閉が完了した後、前記回転検出手段によって検出された前記回転部の角度位置に応じて、前記駆動部をさらに回転駆動して、前記干渉範囲を除いた位置に前記回転部が位置するように前記駆動部を制御し、
前記駆動部の回転駆動の制御を開始後、前記回転検出手段によって前記回転部の角度位置の検出にエラーが発生している場合には、前記回転部が回転を開始してから1回転する時間の所定倍数の時間が経過後に前記回転部の駆動を停止するように前記駆動部を制御することを特徴とする排水装置。
A direct operation unit (33) for opening and closing a drain plug (19) provided on the bottom surface of the bathtub (16), wherein the drain plug is in an open position and the drain plug is in a closed state. A direct operating part displaced over the position;
A direct conversion unit (36) for converting a force by which the direct operation unit is displaced into a force for opening and closing the drain plug;
A remote control unit (41, 42, 43) for opening and closing the drain plug by remote control;
A rotating portion (34) that is driven to rotate about a predetermined rotation axis;
A drive unit (39) that rotationally drives the rotating unit in response to an operation of the remote control unit;
A remote power conversion unit (35) connected to the rotation unit, which converts the rotary motion of the rotation unit into a reciprocating motion and converts it into a force for opening and closing the drain plug;
An open / close unit (37) mechanically connected to the drain plug and opening and closing the drain plug using the force converted by the direct conversion unit and the remote power conversion unit;
Rotation detection means (61) for detecting the angular position of the rotating part;
A control unit (20) for controlling the drive unit,
The rotating unit gives a force to switch the open / close state of the drain plug to the remote power conversion unit every rotation.
The remote power conversion unit has an interference range that prevents displacement of the direct operation unit while the rotation unit makes one rotation.
The controller is
When the opening / closing operation is performed by the remote operation unit, the rotation driving of the driving unit is controlled to complete the opening / closing by the remote operation, and then, according to the angular position of the rotation unit detected by the rotation detecting unit And further driving the drive unit to control the drive unit so that the rotary unit is located at a position excluding the interference range,
If an error has occurred in the detection of the angular position of the rotating unit by the rotation detecting means after starting the rotation driving control of the driving unit, the time for one rotation after the rotating unit starts rotating A drainage device that controls the drive unit so as to stop the drive of the rotating unit after a predetermined multiple of time elapses.
前記回転検出手段は、前記回転部の所定位置が所定角度以下の検出範囲内にあるか否かを検出し、
前記検出範囲は、前記干渉範囲を除いた範囲内であることを特徴とする請求項1に記載の排水装置。
The rotation detecting means detects whether or not a predetermined position of the rotating portion is within a detection range of a predetermined angle or less;
The drainage device according to claim 1, wherein the detection range is within a range excluding the interference range.
前記直接操作部の位置を検出するスライド検出手段(62)をさらに含み、
前記制御部は、前記駆動部の回転駆動の制御を開始後、前記回転部が回転を開始してから前記所定倍数の時間が経過するまでに、前記スライド検出手段によって前記直接操作部の位置の検出にエラーが発生している場合には、前記回転部が回転を開始してから前記所定倍数の時間が経過後に前記回転部の駆動を停止するように前記駆動部を制御することを特徴とする請求項1または2に記載の排水装置。
A slide detection means (62) for detecting the position of the direct operation section;
The controller detects the position of the direct operation unit by the slide detection unit until the predetermined multiple time elapses after the rotation unit starts rotating after starting the rotation drive control of the drive unit. When an error occurs in detection, the driving unit is controlled to stop driving the rotating unit after the predetermined multiple time has elapsed since the rotating unit started rotating. The drainage device according to claim 1 or 2.
前記回転検出手段によって、前記検出範囲内にある検出時間および検出範囲外にある検出外時間を測定する測定手段(20)と、
前記測定手段によって測定された前記検出時間および前記検出外時間が記憶される記憶部をさらに含み、
前記制御部は、前記回転部が1回転する時間として、前記記憶部に記憶されている前記検出時間と前記検出外時間との合計時間を用いることを特徴とする請求項1〜3のいずれか1つに記載の排水装置。
Measuring means (20) for measuring the detection time within the detection range and the non-detection time outside the detection range by the rotation detection means;
A storage unit for storing the detection time and the non-detection time measured by the measurement unit;
The said control part uses the total time of the said detection time memorize | stored in the said memory | storage part and the said non-detection time as time for the said rotation part to rotate 1 time, The any one of Claims 1-3 characterized by the above-mentioned. The drainage device according to one.
前記測定手段は、前記駆動部の回転駆動の制御を開始後、前記回転部が回転を開始してから前記検出範囲外になるまでの停止時間を測定し、
前記記憶部は、前記測定手段によって測定された前記停止時間がさらに記憶されており、
前記制御部は、前記回転部が1回転する時間として、前記記憶部に記憶されている前記停止時間の2倍の時間と検出外時間との合計時間を用いることを特徴とする請求項4に記載の排水装置。
The measurement means measures the stop time from the start of rotation of the drive unit to the outside of the detection range after starting the rotation drive control of the drive unit,
The storage unit further stores the stop time measured by the measuring unit,
5. The control unit according to claim 4, wherein the control unit uses a total time of twice the stop time stored in the storage unit and a non-detection time as the time for which the rotation unit makes one rotation. The drainage device described.
前記記憶部は、前記測定手段によって測定された測定時刻と関連付けて複数記憶しており、
前記制御部は、前記記憶部に記憶されている前記測定手段によって測定された複数の各時間の平均値を最新の各時間とすることを特徴とする請求項4または5に記載の排水装置。
The storage unit stores a plurality of times in association with measurement times measured by the measurement means,
The drainage device according to claim 4 or 5, wherein the control unit sets an average value of a plurality of times measured by the measuring unit stored in the storage unit as the latest times.
前記制御部は、前記排水装置が起動されると、前記駆動部によって前記回転部を複数回回転するように制御し、前記複数回回転させた際に前記測定手段によって測定された各時間を最新の各時間として前記記憶部に記憶させることを特徴とする請求項4〜6のいずれか1つに記載の排水装置。   When the drainage device is activated, the control unit controls the driving unit to rotate the rotating unit a plurality of times, and updates each time measured by the measuring unit when the rotating unit is rotated a plurality of times. The drainage device according to any one of claims 4 to 6, wherein each time is stored in the storage unit. 前記制御部は、前記排水栓の開閉状態に関連する情報を遠隔操作部に無線通信で送信する送信部を含み、
前記遠隔操作部は、
前記送信部から送信された情報を受信する受信部と、
前記受信部が受信した情報を出力する出力部と、を含むことを特徴とする請求項1〜7のいずれか1つに記載の排水装置。
The control unit includes a transmission unit that transmits information related to the open / close state of the drain plug to the remote control unit by wireless communication,
The remote control unit is
A receiver for receiving information transmitted from the transmitter;
The drainage device according to claim 1, further comprising: an output unit that outputs information received by the receiving unit.
前記制御部は、
前記排水装置が起動されると、前記駆動部によって前記回転部を複数回回転するように制御し、
前記駆動部の回転駆動の制御を開始後、前記回転検出手段によって前記回転部の角度位置の検出にエラーが発生している場合には、前記遠隔操作部にエラーが発生していることを示すエラー情報を送信するように前記送信部を制御することを特徴とする請求項8に記載の排水装置。
The controller is
When the drainage device is activated, the driving unit controls the rotating unit to rotate a plurality of times,
If an error has occurred in the detection of the angular position of the rotation unit by the rotation detection means after starting the rotation drive control of the drive unit, this indicates that an error has occurred in the remote control unit. The drainage device according to claim 8, wherein the transmission unit is controlled to transmit error information.
前記制御部は、
前記遠隔操作部によって開閉操作がされた場合、前記各検出手段にエラーが発生している場合には、エラー回数として1回をカウントし、
前記エラー回数が所定の2以上の上限回数となった場合には、前記遠隔操作部にエラーが発生していることを示すエラー情報を送信するように前記送信部を制御することを特徴とする請求項8に記載の排水装置。
The controller is
When an open / close operation is performed by the remote control unit, if an error has occurred in each of the detection means, the error count is counted once,
When the number of errors reaches a predetermined upper limit of 2 or more, the transmission unit is controlled to transmit error information indicating that an error has occurred to the remote control unit. The drainage device according to claim 8.
JP2013158319A 2013-07-30 2013-07-30 Drainage equipment Expired - Fee Related JP5999045B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013158319A JP5999045B2 (en) 2013-07-30 2013-07-30 Drainage equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013158319A JP5999045B2 (en) 2013-07-30 2013-07-30 Drainage equipment

Publications (2)

Publication Number Publication Date
JP2015028276A JP2015028276A (en) 2015-02-12
JP5999045B2 true JP5999045B2 (en) 2016-09-28

Family

ID=52492101

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013158319A Expired - Fee Related JP5999045B2 (en) 2013-07-30 2013-07-30 Drainage equipment

Country Status (1)

Country Link
JP (1) JP5999045B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102158346B1 (en) * 2019-03-05 2020-09-21 배명진 Hot and cold water supply system capable of manual or automatic operation
KR102190409B1 (en) * 2019-03-12 2020-12-11 배명진 Manual or automatic drainage system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02109872U (en) * 1989-02-18 1990-09-03
JP2000110219A (en) * 1998-10-09 2000-04-18 Toto Ltd Drainage device
JP3871838B2 (en) * 1999-02-16 2007-01-24 愛知電機株式会社 Automatic drainage device
JP2000287283A (en) * 1999-03-30 2000-10-13 Noritz Corp Remote controller for drain valve unit
JP4078012B2 (en) * 2000-05-25 2008-04-23 愛知電機株式会社 Automatic drainage device
JP3910471B2 (en) * 2001-08-03 2007-04-25 株式会社Inax Drain plug device
JP5288344B2 (en) * 2007-11-20 2013-09-11 株式会社日本アルファ Drain plug remote control opening and closing method and its opening and closing device

Also Published As

Publication number Publication date
JP2015028276A (en) 2015-02-12

Similar Documents

Publication Publication Date Title
JP6123550B2 (en) Drainage equipment
JP5999046B2 (en) Drainage equipment
KR101797946B1 (en) Self diagnostic system of home appliance and operating method the same
JP5999045B2 (en) Drainage equipment
KR101251787B1 (en) Shifting range sensing apparatus and vehicle transmission therewith
US20090298645A1 (en) Electronic transmission shifting architecture with maximized availability
US9403445B2 (en) Motor controller
EP2202594A2 (en) Massage Bathtub Automatic Control System and Method for Controlling the Same
CN107208434A (en) Gear assembly and the door mounting mechanism including the gear assembly
CN103546074A (en) Motor control apparatus
BR112014016964B1 (en) MOTORIZED DISPENSER OF VISCOSE MATERIAL AND METHOD OF OPERATING A DISPENSER
CN102003089B (en) Adapter for existing above ground pool return
EP2065717B1 (en) Hand-held diagnosis device for vehicles
JP5709064B2 (en) Range switching device
EP4042044B1 (en) A method for determining a position of a blocking element in a valve, a sensor system and use of a sensor system
KR101303115B1 (en) A electronic reading apparatus using mechanical water meter
JP2005034179A (en) Control system of equipment
CN109416136A (en) Method and apparatus for detecting the fault configuration of pneumatic actuator automatically
JP2017077038A (en) Motor controller
CN102506228B (en) Faucet monitoring device, faucet comprising same and monitoring method
JP4265344B2 (en) Washing machine control system
JP2008051490A (en) Air conditioner
US10372105B2 (en) Drive device with a movement sensor which detects component data
CN212690998U (en) Take ultraviolet sterilization function&#39;s outlet pipe way
CN112963525A (en) Calibration device and method for knob type electronic gear shifter

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20151102

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160726

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20160802

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160815

R150 Certificate of patent or registration of utility model

Ref document number: 5999045

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees