JP7307309B2 - water heater - Google Patents
water heater Download PDFInfo
- Publication number
- JP7307309B2 JP7307309B2 JP2019025466A JP2019025466A JP7307309B2 JP 7307309 B2 JP7307309 B2 JP 7307309B2 JP 2019025466 A JP2019025466 A JP 2019025466A JP 2019025466 A JP2019025466 A JP 2019025466A JP 7307309 B2 JP7307309 B2 JP 7307309B2
- Authority
- JP
- Japan
- Prior art keywords
- control unit
- firmware
- unit
- control
- abnormality determination
- 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.)
- Active
Links
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 title claims description 80
- 230000005856 abnormality Effects 0.000 claims description 77
- 238000004891 communication Methods 0.000 claims description 44
- 238000012544 monitoring process Methods 0.000 claims description 36
- 238000012545 processing Methods 0.000 claims description 34
- 230000006870 function Effects 0.000 claims description 12
- 238000000034 method Methods 0.000 description 32
- 230000008569 process Effects 0.000 description 32
- 230000004044 response Effects 0.000 description 16
- 230000002159 abnormal effect Effects 0.000 description 9
- 230000005540 biological transmission Effects 0.000 description 9
- 238000012790 confirmation Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 7
- 238000002485 combustion reaction Methods 0.000 description 3
- 238000012546 transfer Methods 0.000 description 3
- 230000002411 adverse Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000002360 preparation method Methods 0.000 description 2
- 238000001994 activation Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000010438 heat treatment Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002747 voluntary effect Effects 0.000 description 1
Images
Landscapes
- Heat-Pump Type And Storage Water Heaters (AREA)
- Stored Programmes (AREA)
Description
本発明は、給湯器等の温水機器に関する。 TECHNICAL FIELD The present invention relates to a water heater such as a water heater.
従来、給湯器等の温水機器において、温水機器に設けられた制御部(マイクロコンピュータ)のファームウェアを更新するために、サーバ装置等の外部の管理装置から通信網を介してファームウェアをダウンロードするような構成が知られている。 Conventionally, in water heaters such as water heaters, firmware is downloaded from an external management device such as a server device via a communication network in order to update the firmware of a control unit (microcomputer) provided in the water heater. configuration is known.
温水機器に複数の制御部が備えられている場合、制御部の種類、役割に応じたファームウェアをダウンロードし、対応する制御部においてファームウェアの更新処理を行う必要がある。下記特許文献1には、複数の制御部にそれぞれ対応するファームウェアを更新する態様が開示されている。 If the water heater is provided with a plurality of controllers, it is necessary to download firmware corresponding to the type and role of each controller and update the firmware in the corresponding controller. Japanese Unexamined Patent Application Publication No. 2002-200002 discloses a mode of updating firmware corresponding to each of a plurality of control units.
また、温水機器においては、上記複数の制御部間で相互に異常判定を行うことがある。例えば一の制御部から所定の信号を送信し、他の制御部から当該所定の信号を受信した場合に一の制御部に応答信号を返信する。所定信号を送信した一の制御部は、所定時間内に応答信号が返ってこない場合、他の制御部に異常があると判定する。一の制御部は、異常ありと判定された他の制御部に強制的なリセット処理を実行する。 Further, in the water heater, the plurality of controllers may mutually determine abnormality. For example, when a predetermined signal is transmitted from one control unit and the predetermined signal is received from another control unit, a response signal is sent back to the one control unit. If a response signal is not returned within a predetermined period of time from one control unit that has transmitted the predetermined signal, it determines that the other control unit has an abnormality. The one control unit performs forced reset processing on the other control unit determined to be abnormal.
このような応答信号の返信の有無で制御部の異常判定を行う構成において、上記のようなファームウェアの更新処理を行う際に以下の問題が生じる。すなわち、ファームウェアの更新処理中は、当該制御部は他の制御部に対して通信を行うことができないため、他の制御部から異常判定のための所定の信号が送信されてきた場合に、ファームウェア更新処理中の制御部は、当該所定の信号に対する応答信号を送信することができない。 In such a configuration that determines whether or not a control unit is abnormal based on whether or not a response signal is returned, the following problems arise when updating the firmware as described above. That is, during the firmware update process, the control unit cannot communicate with other control units. A control unit that is in the process of updating cannot transmit a response signal to the predetermined signal.
この結果、所定の信号を送信した制御部は、ファームウェア更新処理中の制御部を異常であると判定してしまい、ファームウェア更新処理中の制御部に対して強制的なリセット処理を実行してしまう。このようにファームウェア更新処理中の制御部は、異常が発生していないにもかかわらず、異常と判定されるおそれがある。 As a result, the control unit that has sent the predetermined signal determines that the control unit that is in the process of updating the firmware is abnormal, and forcibly executes reset processing on the control unit that is in the process of updating the firmware. . In this way, there is a risk that the control unit that is in the process of updating the firmware may be determined to be abnormal even though no abnormality has occurred.
本発明は上記のような課題を解決するためになされたもので、複数の制御部間で通信を行うことによる異常判定を適切に行うことができる温水機器を提供することを目的としている。 SUMMARY OF THE INVENTION The present invention has been made to solve the problems described above, and an object of the present invention is to provide a water heater capable of appropriately performing abnormality determination by performing communication between a plurality of control units.
上記目的を達成するために、本発明の一態様に係る温水機器は、複数の制御部と、外部の管理装置から前記複数の制御部のファームウェアをダウンロードするための通信部と、を備えた温水機器であって、前記複数の制御部のうちの一の制御部は、他の制御部からの所定の信号の送信の有無によって前記他の制御部の異常を判定する異常判定部として機能し、前記異常判定部は、前記他の制御部が前記ファームウェアを更新しているファームウェア更新期間において、前記他の制御部に対する異常判定を無効とするよう構成されている。 In order to achieve the above object, a water heater according to one aspect of the present invention is a water heater comprising a plurality of control units and a communication unit for downloading firmware of the plurality of control units from an external management device. In a device, one control unit among the plurality of control units functions as an abnormality determination unit that determines an abnormality in the other control unit based on whether or not a predetermined signal is transmitted from the other control unit, The abnormality determination unit is configured to invalidate the abnormality determination for the other control unit during a firmware update period during which the other control unit updates the firmware.
上記構成によれば、複数の制御部13,14のうちの一の制御部が他の制御部からの所定の信号の送信の有無で異常判定を行う一方で、他の制御部がファームウェアを更新しているファームウェア更新期間においては、他の制御部に対する異常判定が無効になる。したがって、ファームウェアの更新中に他の制御部と通信ができなくなる複数の制御部を備えた構成において、複数の制御部間で通信を行うことによる異常判定を適切に行うことができる。
According to the above configuration, one of the plurality of
前記温水機器は、前記管理装置からダウンロードした前記ファームウェアを記憶する記憶部を備え、前記記憶部は、制御部ごとに互いに異なる複数の前記ファームウェアを記憶可能に構成され、前記複数の制御部は、それぞれ、前記記憶部にアクセスすることにより、対応する前記ファームウェアを取得してもよい。 The water heater includes a storage unit that stores the firmware downloaded from the management device, the storage unit is configured to be capable of storing a plurality of different firmware for each control unit, and the plurality of control units are configured to: The corresponding firmware may be obtained by accessing the storage unit.
これによれば、複数の制御部において制御部ごとに異なる複数のファームウェアが、1つの記憶部に記憶される。したがって、管理装置から通信網を介してダウンロードしたファームウェアを温水機器の記憶部に一度記憶させてから各制御部のファームウェアを更新することにより、制御部までの通信経路に低速な経路が含まれている場合でも、各制御部におけるファームウェアの更新期間を短くすることができる。さらに、記憶部を複数の制御部に共通とすることにより、制御部が設けられる制御基板の面積を小さくすることができる。 According to this, in a plurality of control units, a plurality of pieces of firmware that are different for each control unit are stored in one storage unit. Therefore, by storing the firmware downloaded from the management device through the communication network in the storage unit of the water heater once and then updating the firmware of each control unit, the communication path to the control unit includes a low-speed path. Even if there are multiple controllers, the update period of the firmware in each controller can be shortened. Furthermore, by sharing the storage unit with a plurality of control units, the area of the control board on which the control units are provided can be reduced.
前記複数の制御部は、前記記憶部に前記ファームウェアが記憶されているか否かを監視する監視部として機能する第1制御部と、前記第1制御部とは異なる第2制御部とを含み、前記監視部は、前記第2制御部のためのファームウェアが記憶されている場合に、前記第2制御部に前記記憶部へのアクセスを許可する許可通知を送信可能であり、前記第2制御部は、前記許可通知を受信した場合に前記記憶部へのアクセスを実行するようにしてもよい。 The plurality of control units include a first control unit that functions as a monitoring unit that monitors whether the firmware is stored in the storage unit, and a second control unit that is different from the first control unit, The monitoring unit is capable of transmitting a permission notification permitting access to the storage unit to the second control unit when firmware for the second control unit is stored, and may execute the access to the storage section when receiving the permission notification.
これによれば、監視部が記憶部へアクセスする制御部を把握することができるため、複数の制御部が同時にアクセスすることによる悪影響を防止することができる。 According to this, since the monitoring unit can grasp the control unit that accesses the storage unit, it is possible to prevent adverse effects caused by simultaneous access by a plurality of control units.
前記複数の制御部は、前記記憶部に前記ファームウェアが記憶されているか否かを監視する監視部として機能する第1制御部と、前記第1制御部とは異なる第2制御部とを含み、前記監視部は、前記記憶部に前記第1制御部のためのファームウェアが記憶されていると判定した場合、当該ファームウェアの更新処理を実行するとともに、前記第2制御部に対して、前記第1制御部に対する異常判定を無効とするための判定無効通知を送信し、前記記憶部に前記第2制御部のためのファームウェアが記憶されていると判定した場合、前記第2制御部に当該ファームウェアの読み出し要求通知を送信するとともに、前記第1制御部の前記異常判定部における前記第2制御部に対する異常判定を無効としてもよい。 The plurality of control units include a first control unit that functions as a monitoring unit that monitors whether the firmware is stored in the storage unit, and a second control unit that is different from the first control unit, When the monitoring unit determines that firmware for the first control unit is stored in the storage unit, the monitoring unit executes update processing of the firmware, and instructs the second control unit to perform the first When it is determined that the determination invalidation notification for invalidating the abnormality determination to the control unit is stored in the storage unit and the firmware for the second control unit is stored, the firmware is transmitted to the second control unit. Along with transmitting the read request notification, the abnormality determination section of the first control section may invalidate the abnormality determination for the second control section.
これによれば、第1制御部の監視部が記憶部に記憶されたファームウェアの更新対象である制御部を判別し、第2制御部に対してファームウェアの読み出し要求を行ったり、異常判定を無効とするための通信が実施される。したがって、一の制御部において複数の制御部におけるファームウェアの更新処理およびその間の異常判定無効処理を統括制御することができる。 According to this, the monitoring unit of the first control unit discriminates the control unit that is the update target of the firmware stored in the storage unit, requests the second control unit to read the firmware, or invalidates the abnormality determination. Communication for is carried out. Therefore, it is possible to centrally control firmware update processing and abnormality determination invalidation processing in a plurality of control units in one control unit.
各制御部は、自身の制御部における前記ファームウェアの更新処理が終了した場合、他の制御部に対して、前記自身の制御部に対する異常判定を再開するための再開処理実行通知を送信するよう構成されてもよい。これにより、ファームウェアの更新処理の終了後において自動的に異常判定が再開されるため、異常判定が無効な期間を最小限にすることができる。 Each control unit is configured to transmit a restart processing execution notification for resuming abnormality determination for the own control unit to other control units when the firmware update processing in the own control unit is completed. may be As a result, the abnormality determination is automatically resumed after the firmware update process ends, so that the period during which the abnormality determination is invalid can be minimized.
前記複数の制御部は、何れも前記温水機器本体に設けられてもよい。 All of the plurality of control units may be provided in the water heater main body.
本発明は、以上に説明した構成を有し、複数の制御部間で通信を行うことによる異常判定を適切に行うことができるという効果を奏する。 ADVANTAGE OF THE INVENTION This invention has the structure demonstrated above, and is effective in the ability to perform abnormality determination appropriately by communicating between several control parts.
以下、好ましい実施の形態を、図面を参照しながら説明する。なお、以下では全ての図面を通じて同一または相当する要素には同一の参照符号を付して、その重複する説明を省略する。また、本発明は、以下の実施の形態に限定されない。 Preferred embodiments are described below with reference to the drawings. In the following description, the same reference numerals are given to the same or corresponding elements throughout all the drawings, and duplicate descriptions thereof will be omitted. Moreover, the present invention is not limited to the following embodiments.
(一実施の形態)
図1は、本発明に係る一実施の形態における温水機器を含む温水機器システムを示す概略構成図である。
(one embodiment)
FIG. 1 is a schematic configuration diagram showing a water heater system including water heaters according to one embodiment of the present invention.
この温水機器システムは、温水機器の一例である給湯器1(例えば、燃焼加熱式の給湯器)と、給湯器1に内蔵されている制御装置12と通信可能に接続された給湯器専用の中継装置2と、インターネット等の通信網4に接続されたコンピュータからなる管理装置5とを備えている。管理装置5は、通信網4およびこの通信網4に接続された無線ルータ(無線LANルータ)3を介して中継装置2と通信を行う。
This water heater system includes a water heater 1 (for example, a combustion heating type water heater), which is an example of a water heater, and a
管理装置5は、例えば、中継装置2から送信された給湯器1の機器情報を記憶するクラウドサーバ、およびクラウドサーバと給湯器1との間の連係を行うアプリケーションサーバ等から構成される。ここで、機器情報としては、給湯器1の制御装置12から電源投入後に最初に中継装置2へ送信される機器構成情報、給湯器1の制御装置12から定期的(例えば1時間間隔)に中継装置2へ送信される給湯器1の運転状態を示す運転状態情報、エラー情報等がある。機器構成情報は、給湯器1の種類等を示す情報であり、運転状態情報は、給湯器1の給湯設定温度、燃焼運転回数、燃焼運転時間等を含む情報である。なお、管理装置5は、後述するファームウェアを供給する供給源として機能する限りいかなるものでもよい。
The
この温水機器システムは、通信網4、および無線LANルータ3を利用するものである。無線LANルータ3は、給湯器1が設置されている住宅の入居者(使用者)が所有しているものである。
This water heater system uses a
なお、給湯器1が設置されている住宅は1つでもよいが通常多数存在し、設備機器システムを構成する給湯器1も1つでもよいが通常多数存在する。ここでは、代表して、1台の給湯器1のみを図示し、また、その給湯器1のみに対応する中継装置2、および無線LANルータ3を図示している。以下では、図示されたものについて説明する。
The
給湯器1は、住宅の屋外または屋内の所定の場所に設置され、台所や浴槽等に湯水を供給する給湯機能を有する給湯器本体(温水機器本体)11と、給湯器本体11を制御する制御装置12と、を備えている。給湯器1は、外部交流電源(商用電源)から供給される交流電圧を変換して所定の直流電圧を生成する電源部(図示せず)を有し、給湯器本体11は、この電源部で生成した直流電圧を使用するとともに、生成した直流電圧を2芯ケーブルC1を介して中継装置2へその動作用電源電圧として供給する。
The
中継装置2は、住宅の屋外または屋内の所定の場所に設置され、2芯ケーブルC1によって給湯器1の制御装置12と接続されている。これにより、2芯ケーブルC1を介して中継装置2と給湯器1の制御装置12との間で相互に通信(双方向通信)が行われる。ここで、2芯ケーブルC1には、前述の電源部から中継装置2へ供給される動作用電源電圧に通信の情報が重畳される。
The
また、中継装置2は、無線LANルータ3と無線LANの接続設定が行われると、無線LANルータ3との間で無線LANによる無線通信が可能である。この中継装置2は、給湯器1の制御装置12との間の通信処理を実行するとともに、無線LANルータ3および通信網4を介して行う管理装置5との間の通信処理を実行する。中継装置2は、例えば、給湯器1の制御装置12から送信されてきた機器情報を、通信形式を変換して無線LANルータ3および通信網4を介して管理装置5へ送信する。また、管理装置5から通信網4および無線LANルータ3を介して送信されてきた情報(例えば後述するファームウェアのデータ)を、通信形式を変換して給湯器1の制御装置12へ送信する。
Further, when the connection setting of the
図2は、図1に示す制御装置を示す概略ブロック図である。図2に示すように、制御装置12は、複数の制御部を備えている。本実施の形態において、複数の制御部は、主制御部である第1制御部13と、副制御部である第2制御部14とを備えている。第1制御部13は、主に給湯器本体11の制御を行う。第2制御部14は、主に第1制御部13の状態監視や給湯器本体11への補助的な制御を行う。これらの制御部は、マイクロコントローラ、RAM、ROM等により構成される。
FIG. 2 is a schematic block diagram showing the control device shown in FIG. As shown in FIG. 2, the
複数の制御部13,14は、通信バス15を介して通信可能に接続される。また、通信バス15には、給湯器本体11とのインターフェースである入出力部16が接続されている。第1制御部13で生成される給湯器制御信号は、入出力部16を介して給湯器本体11に伝達される。また給湯器本体11における各種情報(給湯温度等の状態情報等)は、入出力部16を介して第1制御部13および/または第2制御部14に入力される。
A plurality of
複数の制御部13,14は、それぞれ、他の制御部の異常を判定する異常判定部13a,14aとして機能する。異常判定部13a,14aは、他の制御部からの所定の信号の送信の有無によって他の制御部の異常を判定する。例えば、第1制御部13の異常判定部13aは、第2制御部14に対して定期的に(例えば200m秒間隔で)確認信号を送信する。確認信号を受信した第2制御部14の異常判定部14aは、所定の応答信号を返信する。
The plurality of
第1制御部13の異常判定部13aは、第2制御部14から所定期間(例えば2秒)以内に応答信号を受信した場合、第2制御部14が正常であると判定し、所定期間内に応答信号を受信できない場合、第2制御部14が異常であると判定する。同様に、第2制御部14の異常判定部14aは、第1制御部13から所定間隔(例えば3秒)以内に確認信号を受信した場合、第1制御部13が正常であると判定し、所定期間内に確認信号を受信できない場合、第1制御部13が異常であると判定する。異常判定の確認間隔は同じでもよいし、異なっていてもよい。
If the
異常判定部13a,14aが他の制御部が異常であると判定した場合、当該制御部に対して強制的なリセット処理を実行する。各制御部13,14には、図示しないリセット端子が設けられている。各制御部13,14は、リセット端子にリセット信号が入力される(例えばリセット端子に入力される電圧が所定期間ハイ状態からロー状態に切り替えられる)と電源供給が遮断され、リセットされるように構成されている。
When the
さらに、制御装置12は、中継装置2との通信を行う通信部17と、例えば不揮発性メモリ等により構成される記憶部18と、を備えている。通信部17および記憶部18も通信バス15に接続されている。通信部17は、外部の管理装置5から複数の制御部13,14のファームウェアをダウンロード可能に構成される。ダウンロードされたファームウェアは、記憶部18に記憶される。
Further, the
記憶部18は、制御部13,14ごとに互いに異なる複数のファームウェアを記憶可能に構成されている。例えば、記憶部18は、第1制御部13のためのファームウェア(第1ファームウェア)を記憶する第1記憶領域181と、第2制御部14のためのファームウェア(第2ファームウェア)を記憶する第2記憶領域182とを備えている。複数の制御部13,14は、それぞれ、記憶部18にアクセスすることにより、対応するファームウェアを取得し、ファームウェアの更新処理を実行する。
The
上述したように、管理装置5から給湯器1の制御装置12までの通信経路のうち、中継装置2と制御装置12の通信部17との間は、2芯ケーブルC1による通信が行われる。2芯ケーブルC1による通信では、有線LAN等に用いられる通信規格に比べて通信速度が低速となる。このため、管理装置5から各制御部13,14にファームウェアを直接ダウンロードしつつ更新処理を行うとファームウェアの受信に時間がかかってしまう。ファームウェアの更新期間は、当該制御部13,14における動作不能時間となるため、なるべく短いことが望まれる。
As described above, in the communication path from the
これに対し、本実施の形態によれば、受信したファームウェアは、一旦記憶部18に記憶される。その上で、各制御部13,14が個別にアクセスすることにより、記憶部18に記憶されているファームウェアを各制御部13,14において一気に更新させることができ、制御部13,14における動作不能時間を短くすることができる。
In contrast, according to the present embodiment, the received firmware is temporarily stored in the
各異常判定部13a,14aは、他の制御部がファームウェアを更新しているファームウェア更新期間において、他の制御部に対する異常判定を無効とする。
Each of the
図3および図4は、図2に示す制御装置におけるファームウェア更新処理の流れを示すシーケンス図である。本実施の形態において、第1制御部13は、記憶部18にファームウェアが記憶されているか否かを監視する監視部13bとして機能する。
3 and 4 are sequence diagrams showing the flow of firmware update processing in the control device shown in FIG. In the present embodiment, the
まず、監視部13bは、所定のタイミングで、記憶部18に第1ファームウェアの読み出し要求を行う(ステップS1)。所定のタイミングは、例えば給湯器1の電源が投入されたタイミングまたは第1制御部13においてリセット処理が実行されたタイミング(再起動時)である。本実施の形態では、記憶部18にファームウェアが記憶された場合、かつ、給湯器本体11が待機状態(何らかの動作を行っていない状態)である場合に、複数の制御部13,14に対してリセット処理が実行される。
First, the
記憶部18は、第1記憶領域181に第1ファームウェアが記憶されているか否かを判定し、第1ファームウェアが記憶されている場合、第1ファームウェアを第1制御部13にデータ送信する(ステップS2)。なお、第1記憶領域181に第1ファームウェアが記憶されていない場合には、第1ファームウェアがないことを示す信号を第1制御部13に送信する。この場合、第1制御部13は、記憶部18に後述する第2ファームウェアの確認要求を行う(後述するステップS15)。
The
記憶部18から第1制御部13への第1ファームウェアのデータ送信の開始に際し、記憶部18から第1制御部13へ第1ファームウェアが記憶部18に記憶されていることを示すデータ送信準備信号が送られる。監視部13bは、データ送信準備信号を受信することにより、記憶部18に第1ファームウェアが記憶されていると判定する。この場合、監視部13bは、第2制御部14に対して、第1制御部13に対する異常判定を無効とするための判定無効通知を送信する(ステップS3)。
When starting data transmission of the first firmware from the
その後、監視部13b(第1制御部13)は、第1ファームウェアの更新処理を実行する(ステップS4)。一方、第2制御部14は、判定無効通知に基づいて第1制御部13に対する異常判定を無効にする異常判定無効処理を実行する(ステップS5)。異常判定無効処理において、第2制御部14は、何らの処理も行わない(異常判定以外の処理も行わず、待機状態に移行する)ようにしてもよい。
After that, the
例えば、異常判定無効処理の実行中において、第2制御部14は、所定期間内に第1制御部13からの確認信号を受信しなかった場合であっても、第1制御部13が異常であるとの判定は行わない。
For example, even if the
第1制御部13においてファームウェア更新処理が終了した後、監視部13bは、記憶部18に第1ファームウェアの消去要求を行う(ステップS6)。記憶部18は、当該消去要求に応じて第1ファームウェアの消去処理を行う(ステップS7)。その後、監視部13bは、第1ファームウェアが消去されたことを確認するために、再度第1ファームウェアの読み出し要求を行う(ステップS8)。記憶部18は、第1ファームウェアが記憶されていない(消去された)ことを示す応答を行う(ステップS9)。
After the firmware update process is completed in the
第1制御部13は、記憶部18において第1ファームウェアが消去されたことを確認した後、第2制御部14にリセット要求通知を送信する(ステップS10)。さらに、第1制御部13は、自身のリセット処理を実行する(ステップS11)。リセット要求通知を受信した第2制御部14もリセット処理を実行する(ステップS12)。これにより、第2制御部14における異常判定無効処理が解除され、リセット処理後、第2制御部14が再起動すると、第2制御部14における第1制御部13に対する異常判定が有効化される。
After confirming that the first firmware has been deleted from the
なお、各制御部13,14における上記リセット処理は、上述した強制的なリセット処理であってもよいし、各制御部13,14の動作プログラムに基づく自発的なリセット処理でもよい。
Note that the reset processing in each of the
リセット処理による再起動後、第1制御部13の監視部13bは、ステップS1と同様に、記憶部18に第1ファームウェアの読み出し要求を行う(ステップS13)。記憶部18は、ステップS9と同様に、第1ファームウェアが記憶されていないことを示す応答を行う(ステップS14)。この応答を受信した監視部13bは、記憶部18に第2ファームウェアの有無を確認するための確認要求を行う(ステップS15)。
After being restarted by the reset process, the
記憶部18は、第2記憶領域182に第2ファームウェアが記憶されているか否かを判定し、第2ファームウェアが記憶されている場合、第2ファームウェアが記憶されていることを示す応答信号を第1制御部13に送信する(ステップS16)。
The
監視部13bは、この応答信号を受信することにより、記憶部18に第2ファームウェアが記憶されていると判定する。この場合、監視部13bは、第2制御部14に第2ファームウェアの読み出し要求通知を送信する(ステップS17)。さらに、監視部13bは、第1制御部13の異常判定部13aに第2制御部14に対する異常判定を無効にする指令を伝達する。異常判定部13aは、これを受けて異常判定無効処理を実行する(ステップS18)。異常判定無効処理において、第1制御部13は、給湯器本体11への動作制御を行わない(異常判定以外の処理も行わず、待機状態に移行する)ようにしてもよい。
The
例えば、異常判定無効処理の実行中において、第1制御部13は、第2制御部14に確認信号を送った後、所定期間内に第2制御部14からの応答信号を受信しなかった場合であっても、第2制御部14が異常であるとの判定は行わない。これに代えて、第1制御部13は、異常判定無効処理の実行中において、第2制御部14に確認信号を送信しないようにしてもよい。
For example, when the
第2制御部14は、監視部13bからの読み出し要求通知を受けて記憶部18に第2ファームウェアの読み出し要求を行う(ステップS19)。記憶部18は、第2記憶領域182に第2ファームウェアが記憶されているか否かを判定し、第2ファームウェアが記憶されている場合、第2ファームウェアを第2制御部14にデータ送信する(ステップS20)。
The
第2制御部14は、記憶部18からのデータ送信に基づいて第2ファームウェアの更新処理を実行する(ステップS21)。第2制御部14においてファームウェア更新処理が終了した後、第2制御部14は、記憶部18に第2ファームウェアの消去要求を行う(ステップS22)。記憶部18は、当該消去要求に応じて第2ファームウェアの消去処理を行う(ステップS23)。その後、第2制御部14は、第2ファームウェアが消去されたことを確認するために、再度第2ファームウェアの読み出し要求を行う(ステップS24)。記憶部18は、第2ファームウェアが記憶されていない(消去された)ことを示す応答を行う(ステップS25)。
The
第2制御部14は、記憶部18において第2ファームウェアが消去されたことを確認した後、第1制御部13にリセット要求通知を送信する(ステップS26)。さらに、第2制御部14は、自身のリセット処理を実行する(ステップS27)。リセット要求通知を受信した第1制御部13もリセット処理を実行する(ステップS28)。これにより、第1制御部13における異常判定無効処理が解除され、リセット処理後、第1制御部13が再起動すると、第1制御部13における第2制御部14に対する異常判定が有効化される。
After confirming that the second firmware has been deleted from the
上記構成によれば、複数の制御部13,14のうちの一の制御部が他の制御部からの所定の信号の送信の有無で異常判定を行う一方で、他の制御部がファームウェアを更新しているファームウェア更新期間においては、他の制御部に対する異常判定が無効になる。したがって、ファームウェアの更新中に他の制御部と通信ができなくなる複数の制御部13,14を備えた構成において、複数の制御部13,14間で通信を行うことによる異常判定を適切に行うことができる。
According to the above configuration, one of the plurality of
また、本実施の形態においては、複数の制御部13,14において制御部ごとに異なる複数のファームウェアが、1つの記憶部18に記憶される。したがって、管理装置5から通信網4を介してダウンロードしたファームウェアを給湯器1の記憶部18に一度記憶させてから各制御部13,14のファームウェアを更新することにより、制御部までの通信経路に低速な経路(2芯ケーブルC1による通信経路)が含まれている場合でも、各制御部13,14におけるファームウェアの更新期間を短くすることができる。さらに、記憶部18を複数の制御部13,14に共通とすることにより、制御部13,14が設けられる制御基板の面積を小さくすることができる。
In addition, in the present embodiment, a plurality of pieces of firmware that are different for each of the plurality of
さらに、本実施の形態においては、第1制御部13における監視部13bが、第2ファームウェアが記憶されている場合に、第2制御部14に記憶部18へのアクセスを許可する許可通知(本実施の形態における第2ファームウェアの読み出し要求)を送信可能であり、第2制御部14は、当該許可通知を受信した場合に記憶部18へのアクセスを実行する。
Furthermore, in the present embodiment, when the second firmware is stored, the
より具体的には、上述したように、第1制御部13の監視部13bが記憶部18に記憶されたファームウェアの更新対象である制御部を判別し、第2制御部14に対してファームウェアの読み出し要求通知を送信する。第2制御部14は、監視部13bからの読み出し要求通知を受けて記憶部18に第2ファームウェアの読み出し要求を行う。すなわち、監視部13bとして機能する第1制御部13以外の制御部(第2制御部14)は、監視部13bからの読み出し要求を受けない限り、記憶部18にアクセスすることがない。
More specifically, as described above, the
これにより、監視部13bが記憶部18へアクセスする制御部を把握することができるため、複数の制御部13,14が、制御部ごとに異なる複数のファームウェアが記憶され得る1つの記憶部18に、同時にアクセスすることによる悪影響を防止することができる。
As a result, since the
例えば、一の制御部が記憶部18からファームウェアのデータを読み出して一の制御部のメモリに転送する際には一の制御部が記憶部18のクロック周波数に同期する必要がある。しかし、複数の制御部13,14が同時に記憶部18にアクセスしようとすると、記憶部18のクロック周波数が乱れる等の影響が生じ得る。これによって、正常なデータ転送が行えない、転送速度が遅くなる等の問題が生じる。一方、上記のように、記憶部18にアクセスできる制御部を1つの制御部に制限することにより、このような問題が生じるのを防止することができる。
For example, when one control unit reads firmware data from the
また、第1制御部13の監視部13bからの通信に基づいて第2制御部14における、異常判定無効化処理が実施される。したがって、一の制御部13において複数の制御部13,14におけるファームウェアの更新処理およびその間の異常判定無効処理を統括制御することができる。
In addition, based on communication from the
さらに、本実施の形態においては、上述したように、各制御部13,14は、自身の制御部におけるファームウェアの更新処理が終了した場合、他の制御部に対して、自身の制御部に対する異常判定を再開するための再開処理実行通知(リセット要求通知)を送信する。これにより、ファームウェアの更新処理の終了後において自動的に異常判定が再開されるため、異常判定が無効な期間を最小限にすることができる。
Furthermore, in the present embodiment, as described above, each of the
また、本実施の形態においては、ファームウェアの更新処理後に、記憶部18に対して対応するファームウェアの消去要求が行われる。これにより、更新済みのファームウェアを記憶部18から逐次削除することができ、記憶部18の記憶容量を小さく抑えることができる。したがって、制御装置12の低コスト化、制御基板の小面積化を図ることができる。
Further, in the present embodiment, a request to erase the corresponding firmware is issued to the
(他の実施の形態)
上記説明から、当業者にとっては、本発明の多くの改良や他の実施形態が明らかである。従って、上記説明は、例示としてのみ解釈されるべきであり、本発明を実行する最良の態様を当業者に教示する目的で提供されたものである。本発明の精神を逸脱することなく、その構造および/または機能の詳細を実質的に変更できる。
(Other embodiments)
From the above description many modifications and other embodiments of the invention will be apparent to those skilled in the art. Accordingly, the above description is to be construed as illustrative only and is provided for the purpose of teaching those skilled in the art the best mode of carrying out the invention. Substantial details of construction and/or function may be changed without departing from the spirit of the invention.
例えば、上記実施の形態においては、制御装置12の内部に複数の制御部が設けられる態様について説明したが、複数の制御部において互いに異なるファームウェアの更新が要求される構成であれば、これに限られない。例えば、給湯器本体11に設けられた操作部に制御部が設けられる構成において、当該制御部と、制御装置12の内部に設けられる上記第1制御部13および/または第2制御部14との間で上記制御態様を適用してもよい。
For example, in the above-described embodiment, a mode in which a plurality of control units are provided inside the
また、給湯器1の温度設定操作等を行うために、浴室または台所等に設置されるリモコンに複数の制御部が設けられる構成において、当該複数の制御部間で上記制御態様を適用してもよい。この場合、記憶部18は、リモコン(の制御基板)に設けられる。さらに、リモコンにおける1または複数の制御部と、制御装置12に設けられる1または複数の制御部13,14との間で上記制御態様を適用してもよい。
In addition, in a configuration in which a plurality of control units are provided in a remote controller installed in a bathroom, kitchen, or the like in order to perform temperature setting operation of the
リモコンは、制御装置12の通信部17に2芯ケーブルC1を介して接続される。したがって、このような複数の制御部間に低速な経路が含まれる場合には、記憶部18を各制御部が設けられている制御基板にそれぞれ設けることが好ましい。例えば、制御装置12に第1の記憶部が設けられるとともに、リモコンに第2の記憶部が設けられてもよい。また、リモコンが複数設けられる場合には、複数のリモコンにそれぞれ設けられる制御部間で上記制御態様を適用してもよい。
The remote controller is connected to the
また、上記実施の形態において、記憶部18は、制御部ごと(ファームウェアの更新対象ごと)に異なる複数の記憶領域181,182を備える態様を例示したが、これに限られない。例えば、記憶部18は、複数のファームウェアを共通の記憶領域に記憶するように構成され、一のファームウェアが記憶されている場合(更新されていない場合)には他のファームウェアを記憶させないように構成されてもよい。また、記憶部18は複数の記憶部により構成されてもよい。
In the above-described embodiment, the
また、上記実施の形態において、制御部13,14、入出力部16、通信部17および記憶部18が通信バス15を介して互いに接続される構成について説明したが、これに代えて、独立した複数の信号線を用いて各構成間を相互に接続するように構成してもよい。
Further, in the above embodiment, the configuration in which the
また、上記実施の形態において、複数の制御部として2つの制御部13,14を備える態様について説明したが、制御部は3つ以上でもよい。例えば第1制御部13および第2制御部14に加えて、第3制御部が設けられる場合、第1制御部13がファームウェア更新処理を実行する際、第1制御部13の監視部13bは、第2制御部14および第3制御部に判定無効通知を送信する。第2制御部14がファームウェア更新処理を実行する際、第1制御部13の監視部13bは、第3制御部に判定無効通知を送信し、第1制御部13において異常判定無効処理を実行する。
Moreover, in the above-described embodiment, a mode in which two
また、上記実施の形態において、ファームウェアの更新処理が終了した場合に、他の制御部に対して送信する再開処理実行通知としてリセット要求通知を行う態様について説明したが、これに限られない。例えば、リセット要求通知とは独立した再開処理実行通知を他の制御部に送信してもよい。すなわち、他の制御部においてリセット処理を行うことなく異常判定の有効化処理を行ってもよい。 Further, in the above-described embodiment, a mode has been described in which a reset request notification is sent as a restart processing execution notification to be transmitted to another control unit when the firmware update processing is completed, but the present invention is not limited to this. For example, a restart process execution notification independent of the reset request notification may be transmitted to another control unit. In other words, the activation process of the abnormality determination may be performed without performing the reset process in another control unit.
また、温水機器として、給湯器1を例に挙げたが、これに限らず、中継装置2を介して管理装置5と通信可能に構成された温水機器であればよい。例えば、本発明は、住宅設備機器である給湯器を備えた住宅設備機器システムだけでなく業務用の設備機器である業務用浴場システムにも適用可能である。また、温水機器システムは、無線LANルータ3の代わりに、中継装置2と有線LAN接続されるルータを備えていてもよい。
In addition, although the
本発明は、複数の制御部間で通信を行うことによる異常判定を適切に行うために有用である。 INDUSTRIAL APPLICABILITY The present invention is useful for appropriately performing abnormality determination by communicating between a plurality of control units.
1 給湯器(温水機器)
4 通信網
5 管理装置
11 給湯器本体(温水機器本体)
13 第1制御部
13a,14a 異常判定部
13b 監視部
14 第2制御部
17 通信部
18 記憶部
1 Water heater (hot water equipment)
4
13
Claims (5)
外部の管理装置から前記複数の制御部のファームウェアをダウンロードするための通信部と、
前記管理装置からダウンロードした前記ファームウェアを記憶する記憶部と、を備えた温水機器であって、
前記複数の制御部のうちの一の制御部は、他の制御部からの所定の信号の送信の有無によって前記他の制御部の異常を判定する異常判定部として機能し、
前記異常判定部は、前記他の制御部が前記ファームウェアを更新しているファームウェア更新期間において、前記他の制御部に対する異常判定を無効とし、
前記記憶部は、制御部ごとに互いに異なる複数の前記ファームウェアを記憶可能に構成され、
前記複数の制御部は、それぞれ、前記記憶部にアクセスすることにより、対応する前記ファームウェアを取得し、
前記複数の制御部は、前記記憶部に前記ファームウェアが記憶されているか否かを監視する監視部として機能する第1制御部と、前記第1制御部とは異なる第2制御部とを含み、
前記監視部は、前記第2制御部のためのファームウェアが記憶されている場合に、前記第2制御部に前記記憶部へのアクセスを許可する許可通知を送信可能であり、
前記第2制御部は、前記許可通知を受信した場合に前記記憶部へのアクセスを実行する、温水機器。 a plurality of controllers;
a communication unit for downloading firmware of the plurality of control units from an external management device;
a storage unit that stores the firmware downloaded from the management device, the water heater comprising:
one of the plurality of control units functions as an abnormality determination unit that determines an abnormality of the other control unit based on whether or not a predetermined signal is transmitted from the other control unit;
The abnormality determination unit disables abnormality determination for the other control unit during a firmware update period in which the other control unit updates the firmware,
The storage unit is configured to be able to store a plurality of firmwares different from each other for each control unit,
each of the plurality of control units acquires the corresponding firmware by accessing the storage unit;
The plurality of control units include a first control unit that functions as a monitoring unit that monitors whether the firmware is stored in the storage unit, and a second control unit that is different from the first control unit,
The monitoring unit is capable of transmitting a permission notification permitting access to the storage unit to the second control unit when firmware for the second control unit is stored,
The water heater , wherein the second control unit accesses the storage unit when receiving the permission notification .
前記記憶部に前記第1制御部のためのファームウェアが記憶されていると判定した場合、当該ファームウェアの更新処理を実行するとともに、前記第2制御部に対して、前記第1制御部に対する異常判定を無効とするための判定無効通知を送信し、
前記記憶部に前記第2制御部のためのファームウェアが記憶されていると判定した場合、前記第2制御部に当該ファームウェアの読み出し要求通知を送信するとともに、前記第1制御部の前記異常判定部における前記第2制御部に対する異常判定を無効とする、請求項1に記載の温水機器。 The monitoring unit
If it is determined that firmware for the first control unit is stored in the storage unit, update processing of the firmware is executed, and abnormality determination for the first control unit is issued to the second control unit. Send a decision invalidation notification to invalidate the
when determining that firmware for the second control unit is stored in the storage unit, sending a read request notification of the firmware to the second control unit, and the abnormality determining unit of the first control unit; The water heater according to claim 1 , wherein the abnormality determination for the second control unit in is invalidated.
外部の管理装置から前記複数の制御部のファームウェアをダウンロードするための通信部と、
前記管理装置からダウンロードした前記ファームウェアを記憶する記憶部と、を備えた温水機器であって、
前記複数の制御部のうちの一の制御部は、他の制御部からの所定の信号の送信の有無によって前記他の制御部の異常を判定する異常判定部として機能し、
前記異常判定部は、前記他の制御部が前記ファームウェアを更新しているファームウェア更新期間において、前記他の制御部に対する異常判定を無効とし、
前記記憶部は、制御部ごとに互いに異なる複数の前記ファームウェアを記憶可能に構成され、
前記複数の制御部は、それぞれ、前記記憶部にアクセスすることにより、対応する前記ファームウェアを取得し、
前記複数の制御部は、前記記憶部に前記ファームウェアが記憶されているか否かを監視する監視部として機能する第1制御部と、前記第1制御部とは異なる第2制御部とを含み、
前記監視部は、
前記記憶部に前記第1制御部のためのファームウェアが記憶されていると判定した場合、当該ファームウェアの更新処理を実行するとともに、前記第2制御部に対して、前記第1制御部に対する異常判定を無効とするための判定無効通知を送信し、
前記記憶部に前記第2制御部のためのファームウェアが記憶されていると判定した場合、前記第2制御部に当該ファームウェアの読み出し要求通知を送信するとともに、前記第1制御部の前記異常判定部における前記第2制御部に対する異常判定を無効とする、温水機器。 a plurality of controllers;
a communication unit for downloading firmware of the plurality of control units from an external management device;
a storage unit that stores the firmware downloaded from the management device, the water heater comprising:
one of the plurality of control units functions as an abnormality determination unit that determines an abnormality of the other control unit based on whether or not a predetermined signal is transmitted from the other control unit;
The abnormality determination unit disables abnormality determination for the other control unit during a firmware update period in which the other control unit updates the firmware,
The storage unit is configured to be able to store a plurality of firmwares different from each other for each control unit,
each of the plurality of control units acquires the corresponding firmware by accessing the storage unit;
The plurality of control units include a first control unit that functions as a monitoring unit that monitors whether the firmware is stored in the storage unit, and a second control unit that is different from the first control unit,
The monitoring unit
If it is determined that firmware for the first control unit is stored in the storage unit, update processing of the firmware is executed, and abnormality determination for the first control unit is issued to the second control unit. Send a decision invalidation notification to invalidate the
when determining that firmware for the second control unit is stored in the storage unit, sending a read request notification of the firmware to the second control unit, and the abnormality determining unit of the first control unit; A water heater that invalidates the abnormality determination for the second control unit in .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2019025466A JP7307309B2 (en) | 2019-02-15 | 2019-02-15 | water heater |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2019025466A JP7307309B2 (en) | 2019-02-15 | 2019-02-15 | water heater |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2020133958A JP2020133958A (en) | 2020-08-31 |
| JP7307309B2 true JP7307309B2 (en) | 2023-07-12 |
Family
ID=72278161
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2019025466A Active JP7307309B2 (en) | 2019-02-15 | 2019-02-15 | water heater |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7307309B2 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP7672236B2 (en) * | 2021-02-22 | 2025-05-07 | 三菱重工サーマルシステムズ株式会社 | Update device, indoor/outdoor unit, update system, update method, and program |
| JP2023120002A (en) * | 2022-02-17 | 2023-08-29 | 株式会社ノーリツ | water heater |
| JP7829424B2 (en) * | 2022-07-06 | 2026-03-13 | 大阪瓦斯株式会社 | Utility-related equipment systems |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002318003A (en) | 2001-04-20 | 2002-10-31 | Noritz Corp | Microcomputer |
| JP2003172199A (en) | 2001-12-05 | 2003-06-20 | Nissan Motor Co Ltd | Program rewriting system for vehicle electronic control unit |
| JP2015185352A (en) | 2014-03-24 | 2015-10-22 | 大阪瓦斯株式会社 | Fuel cell system |
-
2019
- 2019-02-15 JP JP2019025466A patent/JP7307309B2/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002318003A (en) | 2001-04-20 | 2002-10-31 | Noritz Corp | Microcomputer |
| JP2003172199A (en) | 2001-12-05 | 2003-06-20 | Nissan Motor Co Ltd | Program rewriting system for vehicle electronic control unit |
| JP2015185352A (en) | 2014-03-24 | 2015-10-22 | 大阪瓦斯株式会社 | Fuel cell system |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2020133958A (en) | 2020-08-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7307309B2 (en) | water heater | |
| JP6984432B2 (en) | Relay device and hot water supply device | |
| US10671374B2 (en) | Communication system, relay device, and water warmer | |
| US10057353B2 (en) | Redundant and selectable gateway and control elements for remote connected thermostats | |
| JP3882783B2 (en) | Programmable controller, CPU unit, communication unit and communication unit control method | |
| JP2016143318A (en) | Program update device, program update system, household electric appliance, communication adapter, controller, program update method, and program | |
| JP5784786B1 (en) | Electronic control unit | |
| JP7225936B2 (en) | Multi hot water system | |
| US10237131B2 (en) | Communication adapter and program update method for communication adapter | |
| KR20040078288A (en) | apparatus and method for recovering network information of home network system | |
| JP2007298204A (en) | Data porting method between old and new units | |
| JP2018073546A (en) | Fuel cell system and operation method of fuel cell system | |
| US20220329497A1 (en) | EDGE DEVICE LINKING SYSTEM, EDGE DEVICE LINKING METHOD, AND RECORDING MEDIUM (as amended) | |
| JP2001033091A (en) | Data transfer method of water heater control board and control board of water heater | |
| JP7485932B2 (en) | Hot water supply equipment | |
| JPWO2019064401A1 (en) | Communication system, master device and slave device | |
| US11442720B2 (en) | Communication adapter and program update method for communication adapter | |
| JP7595453B2 (en) | Control system, screen generation method and program | |
| JP4950617B2 (en) | Air conditioning management apparatus, air conditioning management method, and air conditioning management program | |
| JP2005252770A (en) | Power line communication system | |
| JPWO2016113870A1 (en) | Home control device and home control system | |
| JP7485903B2 (en) | Communications system | |
| JP3165049B2 (en) | Water heater data management system | |
| JPH027213B2 (en) | ||
| HK40072436B (en) | Edge device linking system, edge device linking method, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20220119 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20221221 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20230104 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20230207 |
|
| 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: 20230530 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20230612 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7307309 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |