JPWO2016017005A1 - ELECTRIC DEVICE, CONTROLLER, MANAGEMENT SYSTEM, ELECTRIC DEVICE CONTROL METHOD, AND PROGRAM - Google Patents

ELECTRIC DEVICE, CONTROLLER, MANAGEMENT SYSTEM, ELECTRIC DEVICE CONTROL METHOD, AND PROGRAM Download PDF

Info

Publication number
JPWO2016017005A1
JPWO2016017005A1 JP2016537684A JP2016537684A JPWO2016017005A1 JP WO2016017005 A1 JPWO2016017005 A1 JP WO2016017005A1 JP 2016537684 A JP2016537684 A JP 2016537684A JP 2016537684 A JP2016537684 A JP 2016537684A JP WO2016017005 A1 JPWO2016017005 A1 JP WO2016017005A1
Authority
JP
Japan
Prior art keywords
mode
controller
failure
switching
communication
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.)
Granted
Application number
JP2016537684A
Other languages
Japanese (ja)
Other versions
JP6115927B2 (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Application granted granted Critical
Publication of JP6115927B2 publication Critical patent/JP6115927B2/en
Publication of JPWO2016017005A1 publication Critical patent/JPWO2016017005A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units

Abstract

宅内に設置され、第1モード又は第1モードより機能が制限される第2モードで動作する電気機器(104)において、受信部(503)は、宅外の端末装置から電気機器(104)を遠隔操作する指示を、宅内に設置されるコントローラ(105)を介して受信する。動作部(505)は、受信した遠隔操作の指示に基づいて動作する。切替判別部(504)は、遠隔操作に用いられる通信経路において通信障害が発生したか否かの判別結果に基づいて、切替条件が満たされるか否かを判別する。動作部(505)は、切替条件が満たされると判別されると、第1モードから第2モードへ切り替える。In the electric device (104) that is installed in the home and operates in the first mode or the second mode in which the function is restricted from the first mode, the receiving unit (503) receives the electric device (104) from the terminal device outside the home. The remote operation instruction is received via the controller (105) installed in the house. The operation unit (505) operates based on the received remote operation instruction. The switching determination unit (504) determines whether or not the switching condition is satisfied based on the determination result of whether or not a communication failure has occurred in the communication path used for remote operation. When it is determined that the switching condition is satisfied, the operation unit (505) switches from the first mode to the second mode.

Description

本発明は、より高い安全性を確保するために好適な電気機器、コントローラ、管理システム、電気機器の制御方法、及び、プログラムに関する。   The present invention relates to an electrical device, a controller, a management system, a control method for the electrical device, and a program suitable for ensuring higher safety.

宅内の電気機器を通信ネットワークに接続し、コントローラを用いて統合的に管理するHEMS(Home Energy Management System)と呼ばれるシステムがある。近年、例えば特許文献1のように、ユーザが宅内にいなくても宅外からインターネット等を経由して宅内の電気機器を遠隔操作できるHEMSも知られている。   There is a system called HEMS (Home Energy Management System) that connects home electrical devices to a communication network and performs integrated management using a controller. In recent years, for example, as disclosed in Patent Document 1, HEMS is also known in which a user can remotely control an electrical device in a home from outside the home via the Internet or the like even when the user is not in the home.

特許文献1によれば、遠隔から電気機器の制御が可能であり、システムは遠隔操作の実行前にユーザへ承認問い合わせを行い、承認されれば、遠隔操作が実行される。   According to Patent Document 1, it is possible to remotely control an electric device, and the system issues an inquiry to the user for approval before the remote operation is executed, and if approved, the remote operation is executed.

特開2005−311967号公報JP 2005-31967 A

ところで、通信経路に障害が発生して通信できなくなると、電気機器の遠隔操作が不可能になるだけでなく、外部からの電気機器の動作状態の確認も不可能になり、安全性への信頼が揺らぐおそれがある。   By the way, if communication fails and communication becomes impossible, not only will it be impossible to remotely control electrical equipment, but it will also be impossible to check the operating state of electrical equipment from the outside. May shake.

本発明は、上記課題を解決するためになされたもので、より高い安全性を確保するために好適な電気機器、コントローラ、管理システム、電気機器の制御方法、及び、プログラムを提供することを目的とする。   The present invention has been made to solve the above-described problems, and an object of the present invention is to provide an electrical device, a controller, a management system, a control method for the electrical device, and a program suitable for ensuring higher safety. And

上記課題を解決するため、この発明に係る電気機器は、
宅内に設置され、第1モード又は前記第1モードより機能が制限される第2モードで動作する電気機器であって、
宅外からの遠隔操作の指示を、コントローラを介して受信する受信部と、
前記受信した遠隔操作の指示に基づいて動作する動作部と、
前記遠隔操作に用いられる通信経路上において通信障害が発生したか否かを判別する通信状態判別部と、
前記通信状態判別部による判別結果に基づいて、切替条件が満たされるか否かを判別する切替判別部と、
を備え、
前記動作部は、前記切替条件が満たされると判別されると、前記第1モードから前記第2モードへ切り替える。
In order to solve the above problems, an electrical device according to the present invention is
An electrical device that is installed in a home and operates in a first mode or a second mode in which the function is restricted from the first mode,
A receiving unit that receives a remote operation instruction from outside the home via a controller;
An operation unit that operates based on the received remote operation instruction;
A communication state determination unit for determining whether or not a communication failure has occurred on a communication path used for the remote operation;
A switching determination unit that determines whether a switching condition is satisfied based on a determination result by the communication state determination unit;
With
When it is determined that the switching condition is satisfied, the operation unit switches from the first mode to the second mode.

より高い安全性を確保するために好適な電気機器、コントローラ、管理システム、電気機器の制御方法、及び、プログラムを提供することができる。   An electrical device, a controller, a management system, a control method for the electrical device, and a program suitable for ensuring higher safety can be provided.

電力システムの構成を示す図である。It is a figure which shows the structure of an electric power system. 電気機器(空気調和機)のハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of an electric equipment (air conditioner). コントローラのハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of a controller. 端末装置のハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of a terminal device. 電力システムの機能的な構成を示す図である。It is a figure which shows the functional structure of an electric power system. 実施形態1の電力システムにて実行される切替処理の流れを説明するためのフローチャートである。3 is a flowchart for explaining a flow of switching processing executed in the power system of the first embodiment. 実施形態2の電力システムにて実行される切替処理の流れを説明するためのフローチャートである。6 is a flowchart for explaining a flow of switching processing executed in the power system according to the second embodiment. 実施形態3の電力システムにて実行される切替処理の流れを説明するためのフローチャートである。10 is a flowchart for explaining a flow of switching processing executed in the power system according to the third embodiment. 実施形態4の電力システムの機能的な構成を示す図である。It is a figure which shows the functional structure of the electric power system of Embodiment 4. FIG.

(実施形態1)
図1に、本実施形態の電力システム1の概要構成を示す。電力システム1は、宅内に設置される様々な電気機器104によって消費される電力量を監視し、電気機器104の動作を制御する。
(Embodiment 1)
FIG. 1 shows a schematic configuration of a power system 1 of the present embodiment. The power system 1 monitors the amount of power consumed by various electrical devices 104 installed in the house, and controls the operation of the electrical device 104.

本実施形態では、電気機器104とは、具体的には、空気調和機104A、換気システム104B、電気調理器104C、給湯システム104Dである。ただし、電気機器104の種類はこれらに限られず、電気によって動作し、コントローラ105によって制御可能な機器であればよい。   In the present embodiment, the electric devices 104 are specifically an air conditioner 104A, a ventilation system 104B, an electric cooker 104C, and a hot water supply system 104D. However, the type of the electric device 104 is not limited thereto, and any device that operates by electricity and can be controlled by the controller 105 may be used.

電力システム1全体のうち、宅内ネットワークにある発電システム101と蓄電システム102と自立切替盤103と電気機器104とコントローラ105とからなる部分を宅内システム110という。宅内システム110を管理システムと呼ぶことがある。宅外ネットワークにあるサーバ130と端末装置140と通信ネットワーク150とからなる部分を宅外システム120という。   Of the entire power system 1, a part including the power generation system 101, the power storage system 102, the self-sustained switching panel 103, the electric device 104, and the controller 105 in the home network is referred to as a home system 110. The home system 110 may be called a management system. A portion including the server 130, the terminal device 140, and the communication network 150 in the outside network is referred to as an outside system 120.

宅内ネットワークには、太陽光などを用いた発電システム101、蓄電池を備える蓄電システム102、外部の商用電源からの電力を導く宅外電力線と宅内電力線とを連結又は分離する自立切替盤103、一つ以上の電気機器104、コントローラ105が含まれる。   The home network includes a power generation system 101 using sunlight or the like, a power storage system 102 including a storage battery, a self-sustained switching panel 103 that connects or separates an external power line that guides power from an external commercial power source and a home power line, and the like. The electric device 104 and the controller 105 described above are included.

宅内電力線は、自立切替盤103を介して、外部の商用電源と接続される。   The in-home power line is connected to an external commercial power source via the self-supporting switching board 103.

宅内ネットワークに含まれる上記各装置及びシステムは、宅内電力線に接続されており、商用電源と発電システム101と蓄電システム102とのうち少なくともいずれか一つから電力の供給を受けることにより動作する。   Each of the devices and systems included in the home network is connected to the home power line and operates by receiving power from at least one of the commercial power source, the power generation system 101, and the power storage system 102.

発電システム101と蓄電システム102と自立切替盤103と電気機器104は、それぞれ、図示しない無線通信装置を備え、無線によりコントローラ105と通信が可能である。ただし、通信の一部又は全部は有線により行われてもよい。   The power generation system 101, the power storage system 102, the self-supporting switching board 103, and the electric device 104 each include a wireless communication device (not shown) and can communicate with the controller 105 wirelessly. However, part or all of the communication may be performed by wire.

宅内電力線の複数箇所には、図示しない電力計測装置が設置されており、発電システム101から宅内電力線へ流れる電力量や、蓄電システム102から宅内電力線へもしくは宅内電力線から蓄電システム102へ流れる電力量、電気機器104により消費される電力量等が測定される。電力計測装置による計測結果はコントローラ105に送信される。   A power measurement device (not shown) is installed at a plurality of locations on the home power line, and the amount of power flowing from the power generation system 101 to the home power line, the amount of power flowing from the power storage system 102 to the home power line, or from the home power line to the power storage system 102, The amount of power consumed by the electrical device 104 is measured. A measurement result obtained by the power measurement device is transmitted to the controller 105.

宅内システム110は、サーバ130と端末装置140と通信ネットワーク150とから構成される宅外システム120と繋がっている。通信ネットワーク150は、典型的にはインターネットである。ユーザは、宅内ネットワークにある電気機器104を、宅外ネットワークにある端末装置140を用いた遠隔操作により、宅内にいなくても、宅外から動作させることが可能である。   The in-home system 110 is connected to an out-of-home system 120 including a server 130, a terminal device 140, and a communication network 150. The communication network 150 is typically the Internet. The user can operate the electrical device 104 in the home network from outside the home by remote control using the terminal device 140 in the outside network even if the user is not in the home.

端末装置140は、例えば、携帯電話機、スマートフォン、パーソナルコンピュータ、タブレット型端末等である。ユーザは、宅内はもちろんのこと、宅外に端末装置140を持ち歩き、端末装置140を使って電力システム1を遠隔操作することができる。   The terminal device 140 is, for example, a mobile phone, a smartphone, a personal computer, a tablet terminal, or the like. The user can carry the terminal device 140 outside the home as well as in the home and remotely operate the power system 1 using the terminal device 140.

電力システム1の運転モードには、二種類の運転モードがある。一つは、自立切替盤103によって宅内電力線が商用電源と繋げられ、商用電源から電力の供給を受ける連携モードである。連携モードでは、発電システム101によって発電された電力を商用電源へ供給する(売電する)ことも可能である。   There are two types of operation modes in the operation mode of the power system 1. One is a cooperative mode in which the in-house power line is connected to the commercial power source by the self-supporting switching panel 103 and receives power supply from the commercial power source. In the cooperation mode, it is also possible to supply (sell) power generated by the power generation system 101 to a commercial power source.

もう一つは、自立切替盤103によって宅内電力線が商用電源から切り離され、商用電源から電力の供給を受けずに、発電システム101によって発電された電力、及び/又は、蓄電システム102に蓄えられた電力を宅内に供給する自立モードである。   The other is that the in-house power line is disconnected from the commercial power source by the self-sustained switching panel 103 and is not supplied with power from the commercial power source but is stored in the power storage system 102 and / or the power generated by the power generation system 101. This is a self-supporting mode that supplies power to the home.

運転モードの切り替えは、自立切替盤103によって検出される、商用電源からの電力の供給状態を示す検出結果に基づいて、自立切替盤103によって行われる。典型的には、商用電源が停電すると自立モードに設定され、商用電源が停電していない間には連携モードに設定される。   Switching of the operation mode is performed by the self-sustained switching panel 103 based on the detection result indicating the power supply state from the commercial power source detected by the self-supporting switching panel 103. Typically, when the commercial power supply is interrupted, the self-supporting mode is set, and when the commercial power supply is not interrupted, the cooperative mode is set.

次に、電気機器104のハードウェア構成について、図2を用いて説明する。ここでは、電気機器104として空気調和機104Aを採用する。空気調和機104Aは、室外機20と室内機30とから構成される。   Next, the hardware configuration of the electric device 104 will be described with reference to FIG. Here, an air conditioner 104 </ b> A is employed as the electric device 104. The air conditioner 104 </ b> A includes an outdoor unit 20 and an indoor unit 30.

室外機20は、部屋の外に設置される。圧縮機21は、供給された冷媒を圧縮し、例えばロータリー圧縮機、スクロール圧縮機から構成される。圧縮機21は、圧縮後の高温高圧の冷媒を、圧縮機21の吐出側の流路20Bを介して、四方弁22に吐出する。流路20Bには、吐出温度センサ25が配置されている。吐出温度センサ25は、圧縮機21から吐出された冷媒の温度を計測する。   The outdoor unit 20 is installed outside the room. The compressor 21 compresses the supplied refrigerant and includes, for example, a rotary compressor and a scroll compressor. The compressor 21 discharges the compressed high-temperature and high-pressure refrigerant to the four-way valve 22 via the discharge-side flow path 20 </ b> B of the compressor 21. A discharge temperature sensor 25 is disposed in the flow path 20B. The discharge temperature sensor 25 measures the temperature of the refrigerant discharged from the compressor 21.

四方弁22は、圧縮機21の下流側に設けられている。四方弁22は、冷媒の還流方向を切り替えることで、暖房運転サイクルと冷房運転サイクルとのいずれかに切り換える。四方弁22は、制御ユニット40によって制御される。   The four-way valve 22 is provided on the downstream side of the compressor 21. The four-way valve 22 switches between the heating operation cycle and the cooling operation cycle by switching the refrigerant recirculation direction. The four-way valve 22 is controlled by the control unit 40.

熱交換器23は、流入した冷媒を蒸発又は凝縮させることで、空気と熱交換させる。これにより、空気は冷却又は加熱される。例えば、冷房運転時においては、熱交換器23は、凝縮器として機能して、流入した冷媒を凝縮させる。また、暖房運転時においては、熱交換器23は、蒸発器として機能して、流入した冷媒を蒸発させる。   The heat exchanger 23 exchanges heat with air by evaporating or condensing the flowing refrigerant. Thereby, air is cooled or heated. For example, during the cooling operation, the heat exchanger 23 functions as a condenser and condenses the refrigerant that has flowed in. Further, during the heating operation, the heat exchanger 23 functions as an evaporator and evaporates the refrigerant that has flowed in.

膨張弁24は、流入した冷媒を膨張させる。冷媒は等エンタルピ膨張し、低圧の冷媒に変化する。膨張弁24は、生成された低圧冷媒を、流路20Cを介して送出する。   The expansion valve 24 expands the flowing refrigerant. The refrigerant expands by isenthalpy and changes to a low-pressure refrigerant. The expansion valve 24 delivers the generated low-pressure refrigerant through the flow path 20C.

室内機30は、室内に設置される。熱交換器31は、パイプの中を冷媒が通過することで、周囲の空気と熱交換して、冷媒を冷却又は加熱する。例えば、冷房運転時においては、熱交換器31は、蒸発器として機能して、流入した冷媒を蒸発させる。これにより、熱交換器31は、周囲の空気から熱を吸収し、周囲の空気を冷却する。また、暖房運転時においては、熱交換器31は、凝縮器として機能して、流入した気体冷媒を凝縮させる。これにより、熱交換器31は、周囲の空気に熱を放出し、周囲の空気を加熱する。   The indoor unit 30 is installed indoors. The heat exchanger 31 cools or heats the refrigerant by exchanging heat with the surrounding air as the refrigerant passes through the pipe. For example, during the cooling operation, the heat exchanger 31 functions as an evaporator and evaporates the refrigerant that has flowed. Thereby, the heat exchanger 31 absorbs heat from the surrounding air and cools the surrounding air. Moreover, at the time of heating operation, the heat exchanger 31 functions as a condenser and condenses the inflowing gaseous refrigerant. As a result, the heat exchanger 31 releases heat to the surrounding air and heats the surrounding air.

本実施形態においては、熱交換器31と流路30Aと、上述した室外機20の圧縮機21と四方弁22と熱交換器23と膨張弁24と吐出温度センサ25等によって、冷却サイクル回路50が構成される。   In the present embodiment, the cooling cycle circuit 50 includes the heat exchanger 31, the flow path 30A, the compressor 21, the four-way valve 22, the heat exchanger 23, the expansion valve 24, the discharge temperature sensor 25, and the like of the outdoor unit 20 described above. Is configured.

送風機32は、送風ファンと、送風ファンを回転するファンモータとを有する。送風機32は、送風ファンの回転により、熱交換器31によって熱交換された空気を室内に供給する。吹出口には、複数の風向板が取り付けられている。風向板は、送風機32からの空気の供給方向を制御する。送風機32からの空気は、吹出口から室内へ吹き出される。   The blower 32 includes a blower fan and a fan motor that rotates the blower fan. The blower 32 supplies the air heat-exchanged by the heat exchanger 31 into the room by the rotation of the blower fan. A plurality of wind direction plates are attached to the air outlet. The wind direction plate controls the supply direction of air from the blower 32. Air from the blower 32 is blown into the room from the blowout port.

温度湿度センサ34は、室内の温度と湿度を計測する。送風機32の送風ファンが回転すると、室内の空気は開口から取り入れられる。温度湿度センサ34は、室内機30に形成された開口の近傍に配置されており、室内の温度と湿度を精度良く計測できる。   The temperature / humidity sensor 34 measures indoor temperature and humidity. When the blower fan of the blower 32 rotates, indoor air is taken from the opening. The temperature / humidity sensor 34 is disposed in the vicinity of the opening formed in the indoor unit 30 and can accurately measure the temperature and humidity in the room.

室外機20の流路20Aと室内機30の流路30Aとは、接続配管11とフレアナット12とによって接続される。この接続配管11及びフレアナット12によって、冷却サイクル回路50は、外部から密閉された回路に構成される。また、室外機20の流路20Aには、閉止弁13が設けられている。閉止弁13は、冷却サイクル回路50の冷媒の流れを閉止したり、開放したりする。   The flow path 20 </ b> A of the outdoor unit 20 and the flow path 30 </ b> A of the indoor unit 30 are connected by the connection pipe 11 and the flare nut 12. With the connection pipe 11 and the flare nut 12, the cooling cycle circuit 50 is configured as a circuit sealed from the outside. Further, a closing valve 13 is provided in the flow path 20A of the outdoor unit 20. The closing valve 13 closes or opens the refrigerant flow in the cooling cycle circuit 50.

制御ユニット40は、CPU(Central Processing Unit)、主記憶部、補助記憶部、コントローラ105と通信するための通信モジュール、及びこれら各部を相互に接続するバスを有する。制御ユニット40の主記憶部は、RAM(Random Access Memory)等から構成され、CPUの作業領域として用いられる。補助記憶部は、ROM(Read Only Memory)、半導体メモリ等の不揮発性メモリを含む。制御ユニット40の補助記憶部は、CPUが実行するプログラム及び各種パラメータ等を記憶している。   The control unit 40 includes a central processing unit (CPU), a main storage unit, an auxiliary storage unit, a communication module for communicating with the controller 105, and a bus that interconnects these units. The main storage unit of the control unit 40 is composed of a RAM (Random Access Memory) or the like and used as a work area for the CPU. The auxiliary storage unit includes a nonvolatile memory such as a ROM (Read Only Memory) and a semiconductor memory. The auxiliary storage unit of the control unit 40 stores programs executed by the CPU, various parameters, and the like.

制御ユニット40には、ケーブル等を介して、温度湿度センサ34と吐出温度センサ25が接続されている。制御ユニット40は、温度湿度センサ34からの室内の温度と湿度を示す信号と、吐出温度センサ25から吐出温度を示す信号とを取得する。   A temperature / humidity sensor 34 and a discharge temperature sensor 25 are connected to the control unit 40 via a cable or the like. The control unit 40 acquires a signal indicating the indoor temperature and humidity from the temperature / humidity sensor 34 and a signal indicating the discharge temperature from the discharge temperature sensor 25.

制御ユニット40は、四方弁22及び送風機32のファンモータに接続されている。制御ユニット40は、CPUの指示に基づいて四方弁22を制御し、冷媒の還流方向を切り替える。また、制御ユニット40は、CPUの指示に基づいて回転数に応じた電圧を加え、送風機32の送風ファンの回転を制御する。   The control unit 40 is connected to the four-way valve 22 and the fan motor of the blower 32. The control unit 40 controls the four-way valve 22 based on an instruction from the CPU and switches the refrigerant recirculation direction. Further, the control unit 40 applies a voltage according to the rotational speed based on an instruction from the CPU, and controls the rotation of the blower fan of the blower 32.

制御ユニット40のCPUは、補助記憶部に記憶されたプログラムを実行し、上記各部の統括的な制御を行う。なお、制御ユニット40は、図1においては室外機20内に配置されているが、これに限られない。例えば、室外制御ユニットと室内制御ユニットとで構成され、室外機20に室外制御ユニットが、室内機30に室内制御ユニットが、それぞれに配置されてもよい。   The CPU of the control unit 40 executes a program stored in the auxiliary storage unit and performs overall control of the above-described units. In addition, although the control unit 40 is arrange | positioned in the outdoor unit 20 in FIG. 1, it is not restricted to this. For example, an outdoor control unit and an indoor control unit may be configured, and the outdoor control unit may be disposed in the outdoor unit 20 and the indoor control unit may be disposed in the indoor unit 30.

このように構成された空気調和機104Aは、送風、冷房、除湿、暖房を行うことにより、室内の空気調和を行う。   The air conditioner 104A configured as described above performs indoor air conditioning by performing ventilation, cooling, dehumidification, and heating.

次に、コントローラ105のハードウェア構成について、図3を用いて説明する。コントローラ105は、電力システム1の全体を監視し、制御する。   Next, the hardware configuration of the controller 105 will be described with reference to FIG. The controller 105 monitors and controls the entire power system 1.

入力部301は、ボタン、キーボード、タッチパネル等の入力デバイスを備える。入力部301は、ユーザからの指示入力を受け付ける。   The input unit 301 includes input devices such as buttons, a keyboard, and a touch panel. The input unit 301 receives an instruction input from the user.

表示部302は、液晶ディスプレイ等の表示デバイスを備える。   The display unit 302 includes a display device such as a liquid crystal display.

記憶部303は、不揮発性メモリを備え、各種プログラムやデータを記憶する。   The storage unit 303 includes a nonvolatile memory and stores various programs and data.

通信部304は、NIC(Network Interface Card)を備え、宅内ネットワークの各装置又はシステムと通信する。また、通信部304は、通信ネットワーク150を介してサーバ130と通信する。   The communication unit 304 includes a NIC (Network Interface Card) and communicates with each device or system in the home network. The communication unit 304 communicates with the server 130 via the communication network 150.

制御部305は、CPU(Central Processing Unit)、オペレーティングシステム(OS)などのプログラムを記憶するROM(Read Only Memory)、ワークエリアとなるRAM(Random Access Memory)等を備える。制御部305は、記憶部303に記憶されているプログラムを実行し、コントローラ105の全体を制御する。   The control unit 305 includes a CPU (Central Processing Unit), a ROM (Read Only Memory) that stores programs such as an operating system (OS), a RAM (Random Access Memory) that serves as a work area, and the like. The control unit 305 executes a program stored in the storage unit 303 and controls the entire controller 105.

なお、サーバ130のハードウェア構成もコントローラ105と同等であり、詳しい説明を省略する。サーバ130は、少なくとも、記憶部、通信部、制御部を備える。   The hardware configuration of the server 130 is also the same as that of the controller 105, and detailed description thereof is omitted. The server 130 includes at least a storage unit, a communication unit, and a control unit.

次に、端末装置140のハードウェア構成について、図4を用いて説明する。   Next, the hardware configuration of the terminal device 140 will be described with reference to FIG.

無線通信部401は、アンテナ421を用いて、無線通信により、通信ネットワーク150に接続されたサーバ130やその他のコンピュータと様々なデータを送受信する。   The wireless communication unit 401 transmits and receives various data to and from the server 130 and other computers connected to the communication network 150 by wireless communication using the antenna 421.

音声処理部402は、ユーザの発声音等をマイクロフォン423によって集音し、音声処理部402が備えるA/Dコンバータにより音声信号に変換して制御部407に入力する。また、音声処理部402は、記憶部406に記憶されている音声データをデコードして再生し、音声をスピーカ422に出力する。   The voice processing unit 402 collects a user's uttered sound or the like with the microphone 423, converts the sound into a voice signal using an A / D converter included in the voice processing unit 402, and inputs the voice signal to the control unit 407. In addition, the audio processing unit 402 decodes and reproduces the audio data stored in the storage unit 406, and outputs the audio to the speaker 422.

表示部403は、制御部407又は表示部403が備える画像演算プロセッサ(図示せず)によって画像データを加工処理した後、フレームバッファに記録する。フレームバッファに記録された画像情報は、垂直同期などの予め定められた同期タイミングで画像信号に変換され、LCD(Liquid Crystal Display)424に出力される。LCD424の表面には、ユーザによる接触の有無や位置を検知する複数のタッチセンサを備えたタッチパネル425が重畳して配置されている。なお、LCD424とタッチパネル425を合わせてタッチスクリーンとも言う。   The display unit 403 processes the image data by an image arithmetic processor (not shown) included in the control unit 407 or the display unit 403, and then records the processed image data in a frame buffer. The image information recorded in the frame buffer is converted into an image signal at a predetermined synchronization timing such as vertical synchronization, and is output to an LCD (Liquid Crystal Display) 424. On the surface of the LCD 424, a touch panel 425 provided with a plurality of touch sensors for detecting presence / absence and position of a user's contact is superimposed. Note that the LCD 424 and the touch panel 425 are collectively referred to as a touch screen.

外部I/F404は、フラッシュメモリカード等の外部メモリ等と接続可能であり、データの入出力を行うことができる。また、外部I/F404は、USB(Universal Serial Bus)接続により端末装置140と外部機器とを接続して、外部機器との間でデータの入出力を行うことができるインタフェースを備える。なお、外部I/F404は、その他の外部機器との接続を可能にするインタフェースを更に備えていてもよい。   The external I / F 404 can be connected to an external memory such as a flash memory card, and can input and output data. The external I / F 404 includes an interface that allows the terminal device 140 and an external device to be connected by USB (Universal Serial Bus) connection to input and output data with the external device. Note that the external I / F 404 may further include an interface that enables connection with other external devices.

入力部405は、タッチパネル425からの操作信号を受け付けて、操作信号に対応するキーコード信号を制御部407に入力する。制御部407は、入力されたキーコード信号に基づいて操作内容を決定する。ユーザは、タッチパネル425を用いて任意の文字データを入力したり操作指示を入力したりすることができる。操作指示には、例えば、アプリケーションの起動や終了の指示、電気機器104を遠隔操作する指示等がある。   The input unit 405 receives an operation signal from the touch panel 425 and inputs a key code signal corresponding to the operation signal to the control unit 407. The control unit 407 determines the operation content based on the input key code signal. A user can input arbitrary character data or an operation instruction using the touch panel 425. The operation instructions include, for example, instructions for starting and ending an application, instructions for remotely operating the electric device 104, and the like.

記憶部406は、ROM、RAMを備える。ROMには、端末装置140の全体の制御に必要なオペレーティングシステムやプログラム等が予め記憶される。RAMには、制御部407が行う処理に必要なデータやプログラム等が一時的に記憶される。また、RAMの一部領域は不揮発性メモリ領域になっており、端末装置140の設定データ、アドレス帳などの個人データ、ダウンロードしたデータ等を記憶する。   The storage unit 406 includes a ROM and a RAM. In the ROM, an operating system, a program, and the like necessary for overall control of the terminal device 140 are stored in advance. The RAM temporarily stores data, programs, and the like necessary for processing performed by the control unit 407. Also, a partial area of the RAM is a non-volatile memory area that stores setting data of the terminal device 140, personal data such as an address book, downloaded data, and the like.

制御部407は、記憶部406に記憶されているOSやプログラムを実行し、端末装置140の全体を制御する。制御部407は、各部に制御信号およびデータを送信、または、各部から応答信号およびデータを受信する。   The control unit 407 executes the OS and programs stored in the storage unit 406 and controls the entire terminal device 140. The control unit 407 transmits a control signal and data to each unit, or receives a response signal and data from each unit.

端末装置140として、例えば、携帯電話機、スマートフォン、タブレット型コンピュータ、パーソナルコンピュータ等を用いることができる。   As the terminal device 140, for example, a mobile phone, a smartphone, a tablet computer, a personal computer, or the like can be used.

ユーザは、端末装置140を用いて、電気機器104を遠隔制御する指示を出すことができる。端末装置140は、遠隔操作の指示をユーザから受け付けると、操作対象の電気機器104を示すデータと操作内容を示すデータを含む遠隔操作コマンドをサーバ130へ送信する。サーバ130は、遠隔操作コマンドを端末装置140から受信すると、受信した遠隔操作コマンドが予め登録された端末装置140からのものであることを認証した後、コントローラ105へ転送する。遠隔操作コマンドを受信したコントローラ105は、遠隔操作コマンドに基づいて電気機器104を制御する。   The user can issue an instruction to remotely control the electric device 104 using the terminal device 140. When the terminal device 140 receives a remote operation instruction from the user, the terminal device 140 transmits a remote operation command including data indicating the operation target electrical device 104 and data indicating the operation content to the server 130. When the server 130 receives the remote operation command from the terminal device 140, the server 130 authenticates that the received remote operation command is from the terminal device 140 registered in advance, and then transfers the command to the controller 105. The controller 105 that has received the remote operation command controls the electric device 104 based on the remote operation command.

本実施形態では、端末装置140は、遠隔操作コマンドをコントローラ105へ直接送信するのではなく、まず端末装置140がサーバ130へ遠隔操作コマンドを送信し、次にサーバ130が遠隔操作コマンドをコントローラ105へ送信する。ただし、端末装置140がサーバ130を介さず直接コントローラ105へ遠隔操作コマンドを送信するようにしてもよい。   In the present embodiment, the terminal device 140 does not directly transmit a remote operation command to the controller 105, but the terminal device 140 first transmits the remote operation command to the server 130, and then the server 130 transmits the remote operation command to the controller 105. Send to. However, the terminal device 140 may directly transmit a remote operation command to the controller 105 without using the server 130.

次に、本実施形態の電力システム1によって行われる処理について説明する。   Next, processing performed by the power system 1 of the present embodiment will be described.

図5に、電力システム1の機能的な構成を示す。   FIG. 5 shows a functional configuration of the power system 1.

コントローラ105は宅内の電気機器104等と通信する。また、コントローラ105は通信ネットワーク150を介してサーバ130と通信する。更には、端末装置140はサーバ130と通信する。コントローラ105と電気機器104との間、あるいは、コントローラ105とサーバ130との間、あるいは、サーバ130と端末装置140との間で、障害や故障により、一時的に通信できない状況が発生することがある。通信経路のどこかで通信障害が発生したまま電気機器104が何ら制限なく動作を可能とすると、思わぬ事故を招きかねない。そこで、本実施形態では、通信経路上で通信障害が発生した場合には、電気機器104は、なるべく安全を確保できるように、第1モードから、予め決められた第2モードへ、切り替える。   The controller 105 communicates with the electrical device 104 in the home. The controller 105 communicates with the server 130 via the communication network 150. Further, the terminal device 140 communicates with the server 130. There may occur a situation in which communication cannot be temporarily performed between the controller 105 and the electric device 104, between the controller 105 and the server 130, or between the server 130 and the terminal device 140 due to a failure or failure. is there. If the electric device 104 can operate without any restriction while a communication failure occurs somewhere in the communication path, an unexpected accident may occur. Therefore, in the present embodiment, when a communication failure occurs on the communication path, the electrical device 104 switches from the first mode to the predetermined second mode so that safety can be ensured as much as possible.

本実施形態では、コントローラ105とサーバ130との間で通信障害が発生した場合を例にとって詳しく説明する。   In the present embodiment, a case where a communication failure has occurred between the controller 105 and the server 130 will be described in detail as an example.

コントローラ105の制御部305は、通信部304を制御して、遠隔操作コマンドを受信したか否かにかかわらず定期的にサーバ130と通信する。コントローラ105の制御部305は、例えば10秒毎や1分毎というように、サーバ130と正常に通信が可能か否かを判別するために用いられるハートビート信号をサーバ130へ送信する。サーバ130は、ハートビート信号をコントローラ105から受信すると、レスポンス信号をコントローラ105へ送信する。   The control unit 305 of the controller 105 controls the communication unit 304 to periodically communicate with the server 130 regardless of whether a remote operation command is received. The control unit 305 of the controller 105 transmits a heartbeat signal used to determine whether or not normal communication with the server 130 is possible, such as every 10 seconds or every minute, to the server 130. When the server 130 receives the heartbeat signal from the controller 105, the server 130 transmits a response signal to the controller 105.

コントローラ105の制御部305は、ハートビート信号を送信した時刻から予め決められた閾時間以内に、ハートビート信号に対するレスポンス信号を受信すれば、コントローラ105とサーバ130との間に通信障害が発生していないと判別する。   If the control unit 305 of the controller 105 receives a response signal to the heartbeat signal within a predetermined threshold time from the time when the heartbeat signal is transmitted, a communication failure occurs between the controller 105 and the server 130. It is determined that it is not.

コントローラ105の制御部305は、ハートビート信号を送信した時刻から予め決められた閾時間以内に、ハートビート信号に対するレスポンス信号を受信しないと、コントローラ105とサーバ130との間に通信障害が発生したと判別する。   If the control unit 305 of the controller 105 does not receive a response signal to the heartbeat signal within a predetermined threshold time from the time when the heartbeat signal is transmitted, a communication failure has occurred between the controller 105 and the server 130. Is determined.

なお、コントローラ105の制御部305は、レスポンス信号を閾時間以内に受信しない場合に、ハートビート信号の送信を予め決められた回数だけリトライし、それでもレスポンス信号を受信しないと、コントローラ105とサーバ130との間に通信障害が発生したと判別してもよい。   If the control unit 305 of the controller 105 does not receive the response signal within the threshold time, the controller 105 retries transmission of the heartbeat signal a predetermined number of times, and if the response signal is still not received, the controller 105 and the server 130 It may be determined that a communication failure has occurred.

あるいは、サーバ130がコントローラ105へハートビート信号を定期的に送信してもよい。そして、コントローラ105の制御部305は、ハートビート信号をサーバ130から前回受信してから予め決められた閾時間以内に再びハートビート信号を受信しない場合に、コントローラ105とサーバ130との間に通信障害が発生したと判別してもよい。   Alternatively, the server 130 may periodically transmit a heartbeat signal to the controller 105. Then, the control unit 305 of the controller 105 communicates between the controller 105 and the server 130 when the heartbeat signal is not received again within a predetermined threshold time since the heartbeat signal was previously received from the server 130. It may be determined that a failure has occurred.

コントローラ105の制御部305が、遠隔操作に用いられ、遠隔操作コマンドを送受信する通信経路上において、通信障害が発生したか否かを判別する通信状態判別部501として機能する。   The control unit 305 of the controller 105 functions as a communication state determination unit 501 that determines whether or not a communication failure has occurred on a communication path that is used for remote operation and transmits and receives a remote operation command.

なお、コントローラ105とサーバ130との間の通信経路そのものは正常であるものの、サーバ130がハングアップして無応答になった場合も、ハートビート信号の送受信とレスポンス信号の送受信が失敗する。このため、以下の説明において、コントローラ105とサーバ130との間の通信障害には、サーバ130がハングアップしたことによる障害も含まれる。   Note that although the communication path itself between the controller 105 and the server 130 is normal, even when the server 130 hangs up and does not respond, the transmission / reception of the heartbeat signal and the transmission / reception of the response signal fails. For this reason, in the following description, the communication failure between the controller 105 and the server 130 includes a failure due to the server 130 being hung up.

コントローラ105の制御部305は、コントローラ105とサーバ130との間に通信障害が発生したと判別すると、通信部304を制御して、通信障害が発生した旨の通知(以下「障害通知」という。)を電気機器104へ送信する。   When determining that a communication failure has occurred between the controller 105 and the server 130, the control unit 305 of the controller 105 controls the communication unit 304 to notify that a communication failure has occurred (hereinafter referred to as “failure notification”). ) To the electric device 104.

障害通知には、障害が発生したと判別された時刻が含まれる。障害の原因が判明している場合には、コントローラ105の制御部305は、障害が発生した時刻だけでなく、障害の原因を示す情報を障害通知に含めて電気機器104へ送信する。   The failure notification includes a time when it is determined that a failure has occurred. When the cause of the failure is known, the control unit 305 of the controller 105 includes not only the time when the failure occurs but also information indicating the cause of the failure in the failure notification and transmits it to the electrical device 104.

コントローラ105の制御部305は、通信障害が発生していない場合であっても、通信部304を制御して、通信障害が発生していない旨の通知(以下「非障害通知」という。)を電気機器104へ定期的に送信する。   The control unit 305 of the controller 105 controls the communication unit 304 to notify that no communication failure has occurred (hereinafter referred to as “non-failure notification”) even when no communication failure has occurred. It is periodically transmitted to the electric device 104.

つまり、予め決められた送信タイミングになると、コントローラ105の制御部305は、障害通知と非障害通知のうちいずれか一方を電気機器104へ送信する。制御部305は、通信障害が発生していれば障害通知を電気機器104へ送信し、通信障害が発生していなければ非障害通知を電気機器104へ送信する。送信タイミングは、例えば10秒毎や1分毎というように、予め決められた時間間隔おきに設定される。   That is, at a predetermined transmission timing, the control unit 305 of the controller 105 transmits one of a failure notification and a non-failure notification to the electrical device 104. The control unit 305 transmits a failure notification to the electrical device 104 if a communication failure has occurred, and transmits a non-failure notification to the electrical device 104 if a communication failure has not occurred. The transmission timing is set at predetermined time intervals, for example, every 10 seconds or every minute.

障害通知又は非障害通知の送信タイミングの時間間隔は、上述のコントローラ105とサーバ130との間でハートビート信号とレスポンス信号が送受信される時間間隔よりも長いか、もしくは同じであることが望ましい。   The time interval of the transmission timing of the failure notification or the non-failure notification is preferably longer than or equal to the time interval at which the heartbeat signal and the response signal are transmitted and received between the controller 105 and the server 130 described above.

コントローラ105の制御部305と通信部304が協働して、障害通知と非障害通知を電気機器104へ送信する送信部502として機能する。また、電気機器104の制御ユニット40が、障害通知と非障害通知をコントローラ105から受信する受信部503として機能する。   The control unit 305 and the communication unit 304 of the controller 105 cooperate to function as a transmission unit 502 that transmits a failure notification and a non-failure notification to the electrical device 104. In addition, the control unit 40 of the electrical device 104 functions as a reception unit 503 that receives a failure notification and a non-failure notification from the controller 105.

通信障害の発生は、ハートビート信号とレスポンス信号の送受信状況に基づいて検出されるだけでなく、遠隔操作コマンドの送受信時に検出されることもある。コントローラ105の制御部305は、遠隔操作コマンドのサーバ130からの受信後であって、電気機器104の第1モードから第2モードへの切り替え前に、コントローラ105とサーバ130との間に通信障害が発生したと判別すると、遠隔操作コマンドの電気機器104への送信を一時待機するか、もしくは、遠隔操作コマンドの電気機器104への送信を中止する。   The occurrence of a communication failure is not only detected based on the transmission / reception status of the heartbeat signal and response signal, but may also be detected during transmission / reception of a remote operation command. The control unit 305 of the controller 105 communicates between the controller 105 and the server 130 after receiving the remote operation command from the server 130 and before switching the electrical device 104 from the first mode to the second mode. If it is determined that a remote operation command has occurred, the transmission of the remote operation command to the electric device 104 is temporarily waited, or the transmission of the remote operation command to the electric device 104 is stopped.

遠隔操作コマンドの電気機器104への送信を一時待機する場合、コントローラ105の制御部305は、通信障害が発生したと判別した時刻から予め決められた待機時間以内に通信障害が復旧すれば、一時待機していた遠隔操作コマンドの電気機器104への送信を実行する。通信障害が発生したと判別した時刻から予め決められた待機時間以内に通信障害が復旧しなければ、コントローラ105の制御部305は、電気機器104へ、遠隔操作コマンドを送信せず、障害通知を送信する。   When temporarily waiting for transmission of the remote operation command to the electrical device 104, the control unit 305 of the controller 105 temporarily stops if the communication failure is recovered within a predetermined standby time from the time when it is determined that the communication failure has occurred. The remote operation command that has been waiting is transmitted to the electric device 104. If the communication failure is not recovered within a predetermined standby time from the time when it is determined that the communication failure has occurred, the control unit 305 of the controller 105 does not transmit a remote operation command to the electrical device 104 and notifies the failure notification. Send.

あるいは、コントローラ105の制御部305は、通信障害が発生したと判別した時刻から予め決められた待機時間以内に通信障害が復旧すると、遠隔操作を許可するか否かを、サーバ130を介して端末装置140へ問い合わせる。そして、制御部305は、遠隔操作を許可する旨の返答を、サーバ130を介して端末装置140から受信すると、一時待機していた遠隔操作コマンドの電気機器104への送信を実行する。遠隔操作を許可する旨の返答を、サーバ130を介して端末装置140から受信しないか、もしくは、遠隔操作を許可しない旨の返答を、サーバ130を介して端末装置140から受信すると、コントローラ105の制御部305は、障害通知を電気機器104へ送信する。   Alternatively, the control unit 305 of the controller 105 determines whether or not to permit remote operation via the server 130 when the communication failure is recovered within a predetermined standby time from the time when it is determined that the communication failure has occurred. Query device 140. When the control unit 305 receives a response indicating that remote operation is permitted from the terminal device 140 via the server 130, the control unit 305 transmits the remote operation command that has been temporarily waiting to the electric device 104. When a response indicating that the remote operation is permitted is not received from the terminal device 140 via the server 130 or when a response indicating that the remote operation is not permitted is received from the terminal device 140 via the server 130, the controller 105 The control unit 305 transmits a failure notification to the electric device 104.

コントローラ105の制御部305は、通信障害が発生したと判別した時刻から予め決められた待機時間以内に通信障害が復旧し、遠隔操作コマンドを電気機器104へ送信し、遠隔操作コマンドに対するレスポンス信号を電気機器104から受信すると、通信障害の復旧後に遠隔操作を行った旨のレポートを、サーバ130を介して端末装置140へ送信してもよい。   The control unit 305 of the controller 105 recovers the communication failure within a predetermined standby time from the time when it is determined that the communication failure has occurred, transmits the remote operation command to the electric device 104, and sends a response signal to the remote operation command. When received from the electrical device 104, a report indicating that a remote operation has been performed after recovery from the communication failure may be transmitted to the terminal device 140 via the server 130.

次に、電気機器104の制御ユニット40は、障害通知又は非障害通知をサーバ130から受信すると、電気機器104の動作モードを、第1モードから、第1モードよりも機能が制限される第2モードへ、と切り替えるための切替条件が満たされるか否かを判別する。   Next, when receiving the failure notification or the non-failure notification from the server 130, the control unit 40 of the electrical device 104 changes the operation mode of the electrical device 104 from the first mode to the second mode whose function is more limited than the first mode. It is determined whether or not a switching condition for switching to the mode is satisfied.

第1モードは、通信障害が発生していない間に選択される動作モードであり、通常モードとも呼ばれる。第2モードは、通信障害が発生したときに、より安全性を確保することを目的とした、機能が制限される動作モードである。   The first mode is an operation mode selected while no communication failure occurs, and is also called a normal mode. The second mode is an operation mode in which functions are limited for the purpose of ensuring more safety when a communication failure occurs.

電気機器104の制御ユニット40が、切替条件が満たされるか否かを判別する切替判別部504として機能する。   The control unit 40 of the electric device 104 functions as a switching determination unit 504 that determines whether the switching condition is satisfied.

切替条件とは、具体的には、「通信障害が発生したと判別された時刻が、予め決められた期間内であること」である。制御ユニット40は、例えば毎日8時から20時までといったように、ユーザからの入力もしくは予め定められたアルゴリズムに基づいて、期間を設定する。そして、制御ユニット40は、通信障害が発生したと判別された時刻がこの期間内に含まれれば、切替条件が満たされたと判別し、第1モードから第2モードへと切り替える。通信障害が発生したと判別された時刻がこの期間内に含まれなければ、制御ユニット40は、切替条件が満たされていないと判別し、動作モードを切り替えない。   Specifically, the switching condition is “the time when it is determined that a communication failure has occurred is within a predetermined period”. The control unit 40 sets a period based on an input from a user or a predetermined algorithm, for example, every day from 8:00 to 20:00. If the time at which it is determined that a communication failure has occurred is included in this period, the control unit 40 determines that the switching condition is satisfied and switches from the first mode to the second mode. If the time at which it is determined that a communication failure has occurred is not included in this period, the control unit 40 determines that the switching condition is not satisfied and does not switch the operation mode.

切替条件に、「切替条件の判別時に遠隔操作コマンドによる動作中である」という条件を含めてもよい。制御ユニット40は、遠隔操作コマンドによる動作中であって、且つ、通信障害が発生したと判別された時刻が、予め決められた期間内であれば、切替条件が満たされると判別してもよい。この場合、遠隔操作コマンドによらずに、ユーザが電気機器104の操作パネルを直接操作することにより第1モードで動作しているのであれば、通信障害が発生しても、第2モードに切り替わることはない。   The switching condition may include a condition “being operated by a remote operation command when determining the switching condition”. The control unit 40 may determine that the switching condition is satisfied if the operation is being performed by the remote operation command and the time when it is determined that the communication failure has occurred is within a predetermined period. . In this case, if the user operates in the first mode by directly operating the operation panel of the electric device 104 without using the remote operation command, the mode is switched to the second mode even if a communication failure occurs. There is nothing.

切替条件は、「障害通知を受信してから、非障害通知を受信することなく、予め決められた時間以上が経過したこと」でもよい。制御ユニット40は、第1の時刻に障害通知を受信し、第1の時刻の後、非障害通知を受信することなく、予め決められた時間が経過すると、切替条件が満たされたと判別し、第1モードから第2モードへと切り替える。第1の時刻に障害通知を受信した後、予め決められた時間が経過していない第2の時刻に非障害通知を受信すると、制御ユニット40は、切替条件が満たされていないと判別し、動作モードを切り替えない。   The switching condition may be “a predetermined time or more has elapsed without receiving a non-failure notification after receiving a failure notification”. The control unit 40 receives the failure notification at the first time, and determines that the switching condition is satisfied when a predetermined time elapses without receiving the non-failure notification after the first time, Switch from the first mode to the second mode. After receiving the failure notification at the first time and receiving the non-failure notification at the second time when the predetermined time has not elapsed, the control unit 40 determines that the switching condition is not satisfied, Do not switch the operation mode.

切替条件は、「障害通知を閾回数以上続けて受信したこと」でもよい。例えば閾回数を二回としたとき、制御ユニット40は、第1の時刻に障害通知を受信し、第1の時刻より後の第2の時刻に、非障害通知を受信することなく、再び障害通知を受信すると、切替条件が満たされたと判別し、第1モードから第2モードへと切り替える。第1の時刻に障害通知を受信し、第2の時刻に非障害通知を受信すると、制御ユニット40は、切替条件が満たされていないと判別し、動作モードを切り替えない。   The switching condition may be that “the failure notification has been received continuously for the threshold number of times” or more. For example, when the threshold number is two, the control unit 40 receives the failure notification at the first time, and again fails without receiving the non-failure notification at the second time after the first time. When the notification is received, it is determined that the switching condition is satisfied, and the mode is switched from the first mode to the second mode. When the failure notification is received at the first time and the non-failure notification is received at the second time, the control unit 40 determines that the switching condition is not satisfied and does not switch the operation mode.

切替条件は、「障害通知又は非障害通知を前回受信してから予め決められた時間が経過しても、障害通知と非障害通知のいずれも受信しないこと」でもよい。制御ユニット40は、第1の時刻に障害通知を受信し、第1の時刻から予め決められた時間が経過した第2の時刻になっても、障害通知と非障害通知のいずれも受信しないと、切替条件が満たされたと判別し、第1モードから第2モードへと切り替える。あるいは、制御ユニット40は、第1の時刻に障害通知ではなく非障害通知を受信し、第2の時刻になっても障害通知と非障害通知のいずれも受信しないと、切替条件が満たされたと判別し、第1モードから第2モードへと切り替える。第1の時刻に非障害通知を受信し、第2の時刻に再び非障害通知を受信すると、制御ユニット40は、切替条件が満たされていないと判別し、動作モードを切り替えない。   The switching condition may be “no failure notification or non-failure notification is received even if a predetermined time has elapsed since the previous reception of the failure notification or non-failure notification”. The control unit 40 receives the failure notification at the first time, and receives neither the failure notification nor the non-failure notification at the second time when a predetermined time has elapsed from the first time. It is determined that the switching condition is satisfied, and the mode is switched from the first mode to the second mode. Alternatively, the control unit 40 receives the non-failure notification instead of the failure notification at the first time, and if neither the failure notification nor the non-failure notification is received even at the second time, the switching condition is satisfied. Determine and switch from the first mode to the second mode. When the non-failure notification is received at the first time and the non-failure notification is received again at the second time, the control unit 40 determines that the switching condition is not satisfied and does not switch the operation mode.

切替条件はこれらに限定されない。また、切替条件が満たされるか否かを電気機器104が判別するタイミングは、障害通知をサーバ130から受信したときに限られない。例えば、制御ユニット40は、切替条件が満たされるか否かを判別するプログラムをバックグラウンドで常に実行していてもよい。   The switching conditions are not limited to these. Further, the timing at which the electric device 104 determines whether or not the switching condition is satisfied is not limited to when the failure notification is received from the server 130. For example, the control unit 40 may always execute a program for determining whether or not the switching condition is satisfied in the background.

電気機器104の制御ユニット40は、切替条件が満たされるか否かを判別する判別処理の実行間隔を可変にしてもよい。制御ユニット40は、第1モード時において、実行間隔を標準値に設定して判別処理を実行する。一定期間、非障害通知を受信し続けると、制御ユニット40は、判別処理を実行する間隔を標準値より長い値に設定する。これにより、通信処理にかかる負荷や通信量を削減できる。   The control unit 40 of the electric device 104 may change the execution interval of the determination process for determining whether or not the switching condition is satisfied. In the first mode, the control unit 40 sets the execution interval to a standard value and executes the determination process. If the non-failure notification is continuously received for a certain period, the control unit 40 sets the interval for executing the discrimination process to a value longer than the standard value. Thereby, the load concerning communication processing and the amount of communication can be reduced.

例えば、障害通知と非障害通知のどちらかが一分毎に送受信され、判別処理の実行間隔を同じく一分毎とする場合において、非障害通知を一時間受信し続けると、すなわち、連続して非障害通知を60回続けて受信すると、制御ユニット40は、判別処理の実行間隔を二分毎に延長する。これにより、通信の負荷は半分に減る。ただし、具体的な時間の長さは任意である。   For example, when either failure notification or non-failure notification is transmitted / received every minute and the execution interval of the determination process is also set to every minute, if the non-failure notification is continuously received for one hour, that is, continuously When the non-failure notification is received 60 times in succession, the control unit 40 extends the execution interval of the determination process every two minutes. This reduces the communication load by half. However, the specific time length is arbitrary.

制御ユニット40は、判別処理の実行間隔を延長可能な時間帯と延長不可能な時間帯とを設定し、延長可能な時間帯において非障害通知を一定期間受信し続けると、判別処理を実行する間隔を標準値より長い値に設定してもよい。一方、制御ユニット40は、延長不可能な時間帯において非障害通知を一定期間受信し続けても、判別処理を実行する間隔を延長せず標準値のままとしてもよい。   The control unit 40 sets a time zone where the execution interval of the discrimination process can be extended and a time zone where the execution interval cannot be extended, and executes the discrimination process when the non-failure notification is continuously received for a certain period in the extendable time zone. The interval may be set to a value longer than the standard value. On the other hand, even if the control unit 40 continues to receive the non-failure notification for a certain period in the non-extendable time zone, the control unit 40 may keep the standard value without extending the interval for executing the discrimination process.

例えば、遠隔操作の指示が送受信される頻度が比較的高いと推定される昼間を延長不可能な時間帯に設定し、遠隔操作の指示が送受信される頻度が比較的低いと推定される夜間を延長可能な時間帯に設定する。ただし、それぞれの時間帯の定義は任意である。   For example, the daytime when the frequency of remote operation instructions is estimated to be relatively high is set to a time zone that cannot be extended, and the night when the frequency of remote control instructions is estimated to be relatively low is set. Set to an extendable time zone. However, the definition of each time zone is arbitrary.

制御ユニット40は、遠隔操作コマンドの受信履歴を記憶し、直近の予め決められた期間内(例えば過去一週間以内等)の受信履歴から、遠隔操作コマンドの受信回数が基準回数より多い時間帯を判別し、判別した時間帯を延長不可能な時間帯に設定し、他の残りの時間帯を延長可能な時間帯に設定してもよい。つまり、コントローラ105とサーバ130との間の通信頻度が比較的高い時間帯に、より安全を確保するために動作モードを切り替えやすくしてもよい。   The control unit 40 stores the reception history of the remote operation command, and selects a time zone in which the number of receptions of the remote operation command is greater than the reference number from the reception history within the latest predetermined period (for example, within the past week). The determined time zone may be set to a time zone that cannot be extended, and the other remaining time zones may be set to a time zone that can be extended. That is, the operation mode may be easily switched in order to ensure safety in a time zone in which the communication frequency between the controller 105 and the server 130 is relatively high.

あるいは、コントローラ105の制御部305は、一定期間、非障害通知を送信し続けると、障害通知又は非障害通知の送信間隔を標準値より長い値に設定してもよい。これに加え、電気機器104の制御ユニット40は、一定期間、非障害通知を受信し続けると、判別処理の実行間隔を標準値より長い値に設定してもよい。   Alternatively, the control unit 305 of the controller 105 may set the transmission interval of the failure notification or the non-failure notification to a value longer than the standard value if the non-failure notification is continuously transmitted for a certain period. In addition to this, the control unit 40 of the electric device 104 may set the execution interval of the discrimination process to a value longer than the standard value if the non-failure notification is continuously received for a certain period.

なお、電気機器104の制御ユニット40は、障害通知を受信すると、障害が復旧したか否かの問い合わせを、障害が復旧するまでの間、コントローラ105へ繰り返し送信し、この問い合わせに対する応答に基づいて、切替条件が満たされるか否かを判別してもよい。   When receiving the failure notification, the control unit 40 of the electric device 104 repeatedly transmits an inquiry as to whether or not the failure has been recovered to the controller 105 until the failure is recovered, and based on a response to the inquiry. It may be determined whether or not the switching condition is satisfied.

電気機器104の制御ユニット40は、切替条件が満たされると判別すると、第1モードから第2モードへ切り替える。第2モードにおける動作内容は、機器毎にあるいは機器の種類毎に異なっていてもよい。   When determining that the switching condition is satisfied, the control unit 40 of the electric device 104 switches from the first mode to the second mode. The operation content in the second mode may be different for each device or each device type.

電気機器104の制御ユニット40が、遠隔操作コマンドに基づいて動作し、切替条件が満たされると判別されると第1モードから第2モードへと切り替える動作部505として機能する。   The control unit 40 of the electric device 104 operates based on the remote operation command, and functions as an operation unit 505 that switches from the first mode to the second mode when it is determined that the switching condition is satisfied.

本実施形態のように電気機器104が空気調和機である場合、制御ユニット40は、切替条件が満たされると判別すると、切替条件が満たされると判別した時刻から予め決められた猶予時間が経過した後、運転を停止させる。例えば、冷房運転中であれば、制御ユニット40は、猶予時間中は冷房運転を続けるものの、猶予時間の経過後に冷房運転を停止し、待機状態にする。   When the electrical device 104 is an air conditioner as in the present embodiment, when the control unit 40 determines that the switching condition is satisfied, a predetermined grace period has elapsed from the time determined that the switching condition is satisfied. Then stop operation. For example, if the cooling operation is being performed, the control unit 40 continues the cooling operation during the grace period, but stops the cooling operation after the grace period elapses and puts it in a standby state.

同じ空気調和機であっても、切替条件が満たされると判別すると直ちに運転を停止する空気調和機と、猶予時間の経過後に運転を停止する空気調和機とがあってもよい。   Even if it is the same air conditioner, there may be an air conditioner that stops operation as soon as it is determined that the switching condition is satisfied, and an air conditioner that stops operation after a grace period elapses.

猶予時間の長さは任意である。猶予時間をゼロとすれば、制御ユニット40は、切替条件が満たされると判別すると直ちに運転を停止することになる。   The length of the grace time is arbitrary. If the grace time is set to zero, the control unit 40 stops the operation as soon as it is determined that the switching condition is satisfied.

例えば、電気機器104が換気システムである場合、制御ユニット40は、切替条件が満たされると判別すると、最低限確保しなければならない送風量に抑えて運転する。   For example, when the electric device 104 is a ventilation system, when it is determined that the switching condition is satisfied, the control unit 40 operates while suppressing the blast volume that must be ensured at a minimum.

例えば、電気機器104が電気調理器である場合、制御ユニット40は、切替条件が満たされると判別すると、直ちに運転を停止する。   For example, when the electric device 104 is an electric cooker, the control unit 40 immediately stops operation when it is determined that the switching condition is satisfied.

例えば、電気機器104が給湯システムである場合、制御ユニット40は、切替条件が満たされると判別すると、遠隔操作を禁止し、ユーザによる直接的な指示のみ(給湯システムが有する操作パネルに対するユーザ操作のみ)を受け付ける。   For example, when the electrical device 104 is a hot water supply system, if the control unit 40 determines that the switching condition is satisfied, the control unit 40 prohibits remote operation and only direct instructions from the user (only user operation on the operation panel of the hot water supply system). ).

このように、第2モードでは、制御ユニット40は、第1モードよりも一部又は全部の能力を制限して運転を続けるか、もしくは、運転を停止する。   As described above, in the second mode, the control unit 40 continues the operation while limiting a part or all of the capacities as compared with the first mode, or stops the operation.

制御ユニット40は、第1モードから第2モードへこれから切り替えることを示す切替通知(事前切替通知)、及び/又は、第1モードから第2モードへ切り替えたことを示す切替通知(事後切替通知)を、コントローラ105へ送信する。   The control unit 40 has a switching notification (preliminary switching notification) indicating switching from the first mode to the second mode and / or a switching notification (post-switching notification) indicating switching from the first mode to the second mode. Is transmitted to the controller 105.

電気機器104の制御ユニット40が、事前切替通知及び/又は事後切替通知をコントローラ105へ送信する送信部506として機能する。コントローラ105の制御部305が、事前切替通知及び/又は事後切替通知を電気機器104から受信する受信部507として機能する。   The control unit 40 of the electric device 104 functions as a transmission unit 506 that transmits a pre-switch notification and / or a post-switch notification to the controller 105. The control unit 305 of the controller 105 functions as a reception unit 507 that receives the advance switching notification and / or the subsequent switching notification from the electric device 104.

制御ユニット40は、第1モードから第2モードへ切り替える前に、第1モードから第2モードへ切り替える旨を、例えば警報音の再生、LED(Light Emitting Diodes)の点灯、画像の表示等により、ユーザに報知してもよい。   Prior to switching from the first mode to the second mode, the control unit 40 indicates that switching from the first mode to the second mode, for example, by playing an alarm sound, lighting LEDs (Light Emitting Diodes), displaying images, etc. You may notify a user.

制御ユニット40は、第1モードから第2モードへ切り替える前に、端末情報に基づいて、第1モードから第2モードへ切り替える旨を予め登録された端末へ通知してもよい。制御ユニット40は、端末情報の登録をユーザから受け付け、端末情報を予め記憶しておけばよい。端末情報とは、例えば、端末名、IP(Internet Protocol)アドレス、電子メールアドレス、電話番号等である。   Prior to switching from the first mode to the second mode, the control unit 40 may notify a previously registered terminal of switching from the first mode to the second mode based on the terminal information. The control unit 40 may receive terminal information registration from the user and store the terminal information in advance. The terminal information is, for example, a terminal name, an IP (Internet Protocol) address, an e-mail address, a telephone number, or the like.

あるいは、制御ユニット40は、第1モードから第2モードへ切り替える前の代わりに、もしくは、第1モードから第2モードへ切り替える前に加えて、第1モードから第2モードへ切り替えた後に、第1モードから第2モードへ切り替えた旨を、例えば警報音の再生、LEDの点灯、画像の表示等により、ユーザに報知してもよい。   Alternatively, the control unit 40 may change the first mode after switching from the first mode to the second mode instead of before switching from the first mode to the second mode, or before switching from the first mode to the second mode. The user may be notified that the mode has been switched from the first mode to the second mode, for example, by playing an alarm sound, turning on an LED, displaying an image, or the like.

制御ユニット40は、第1モードから第2モードへ切り替える前の代わりに、もしくは、第1モードから第2モードへ切り替える前に加えて、第1モードから第2モードへ切り替えた後に、端末情報に基づいて、第1モードから第2モードへ切り替えた旨を予め登録された端末へ通知してもよい。   Instead of before switching from the first mode to the second mode, or before switching from the first mode to the second mode, the control unit 40 changes the terminal information to the terminal information after switching from the first mode to the second mode. Based on this, a terminal registered in advance may be notified that the first mode has been switched to the second mode.

制御ユニット40は、第1モードから第2モードへ切り替える旨の事前切替通知、及び/又は、第1モードから第2モードへ切り替えた旨の事後切替通知を、宅内ネットワーク内にブロードキャストにて送信してもよい。この場合、制御ユニット40は、端末情報を予め記憶しなくてよい。   The control unit 40 broadcasts a pre-switch notification for switching from the first mode to the second mode and / or a post-switch notification for switching from the first mode to the second mode in the home network. May be. In this case, the control unit 40 does not have to store the terminal information in advance.

ブロードキャストにて送信される場合、切替通知は、第1モードから第2モードへ切り替える電気機器104以外の他の装置(例えば蓄電システム102等)にも送信される。切替通知を受信した他の装置は、電気機器104が第1モードから第2モードへ切り替えたことをユーザへ報知してもよい。これにより、ユーザが動作モードの切り替えを認識する機会が多くなり、動作モードの切り替えを周知させる効果が高まる。   When transmitted by broadcast, the switching notification is also transmitted to devices other than the electrical device 104 that switches from the first mode to the second mode (for example, the power storage system 102). Other devices that have received the switching notification may notify the user that the electrical device 104 has switched from the first mode to the second mode. Thereby, the opportunity for the user to recognize the switching of the operation mode increases, and the effect of making the switching of the operation mode known is enhanced.

制御ユニット40は、第1モードから第2モードへ切り替える旨の事前切替通知、及び/又は、第1モードから第2モードへ切り替えた旨の事後切替通知を、宅内ネットワーク10内にマルチキャストにて送信してもよい。切替通知の送信先には、少なくとも、コントローラ105が含まれるものとする。   The control unit 40 transmits the advance switching notification indicating that the mode is switched from the first mode to the second mode and / or the subsequent switching notification indicating that the mode is switched from the first mode to the second mode by multicasting in the home network 10. May be. It is assumed that at least the controller 105 is included in the transmission destination of the switching notification.

次に、電力システム1によって行われる切替処理の流れについて、図6のフローチャートを用いて説明する。ここでは、切替処理の開始前、電気機器104が第1モード(通常モード)で運転中であるものとし、障害通知を受信すると、電気機器104が第1モードから第2モードに切り替える。   Next, the flow of the switching process performed by the power system 1 will be described using the flowchart of FIG. Here, it is assumed that the electrical device 104 is operating in the first mode (normal mode) before the start of the switching process, and when the failure notification is received, the electrical device 104 switches from the first mode to the second mode.

まず、コントローラ105の制御部305は、コントローラ105とサーバ130との間で正常に通信できるか否かを確認するために、ハートビート信号をサーバ130へ送信する(ステップS601)。サーバ130は、ハートビート信号をコントローラ105から受信する。   First, the control unit 305 of the controller 105 transmits a heartbeat signal to the server 130 in order to confirm whether or not normal communication is possible between the controller 105 and the server 130 (step S601). The server 130 receives a heartbeat signal from the controller 105.

サーバ130は、ハートビート信号をコントローラ105から受信すると、ハートビート信号に対する応答としてレスポンス信号をコントローラ105へ送信する(ステップS602)。コントローラ105は、レスポンス信号をサーバ130から受信する。   When receiving the heartbeat signal from the controller 105, the server 130 transmits a response signal to the controller 105 as a response to the heartbeat signal (step S602). The controller 105 receives a response signal from the server 130.

ここで、もし、コントローラ105とサーバ130との間の通信に障害が発生すると、コントローラ105とサーバ130との間のハートビート信号及び/又はレスポンス信号の送受信が失敗し、コントローラ105はハートビート信号を送信した時刻(もしくは送信しようと試みた時刻)から閾時間が経過してもレスポンス信号を受信しないこととなる。   Here, if a failure occurs in communication between the controller 105 and the server 130, transmission / reception of the heartbeat signal and / or response signal between the controller 105 and the server 130 fails, and the controller 105 receives the heartbeat signal. The response signal is not received even if the threshold time elapses from the time of transmitting (or the time of attempting to transmit).

コントローラ105の制御部305は、コントローラ105とサーバ130との間の通信状態を判別する(ステップS603)。   The control unit 305 of the controller 105 determines the communication state between the controller 105 and the server 130 (step S603).

すなわち、コントローラ105の制御部305は、ハートビート信号を送信した時刻から閾時間が経過するまでの間にレスポンス信号を受信しない場合、コントローラ105とサーバ130との間の通信に障害が発生したと判別し、ハートビート信号を送信した時刻から閾時間が経過するまでの間にレスポンス信号を受信した場合、コントローラ105とサーバ130との間の通信に障害が発生していないと判別する。   That is, if the control unit 305 of the controller 105 does not receive a response signal before the threshold time elapses from the time when the heartbeat signal is transmitted, a failure occurs in communication between the controller 105 and the server 130. When the response signal is received between the time when the heartbeat signal is transmitted and the threshold time elapses, it is determined that no failure has occurred in the communication between the controller 105 and the server 130.

また、コントローラ105の制御部305は、ハートビート信号のサーバ130への送信に失敗した場合も、コントローラ105とサーバ130との間の通信に障害が発生したと判別する。   The control unit 305 of the controller 105 also determines that a failure has occurred in communication between the controller 105 and the server 130 even when transmission of the heartbeat signal to the server 130 has failed.

なお、通信障害が発生したと判別した後も、ステップS601におけるハートビート信号の送受信、及び、ステップS602におけるレスポンス信号の送受信がリトライされる。コントローラ105の制御部305は、通信障害が発生したと判別した後、通信障害が復旧したか否かを繰り返し判別する。   Even after determining that a communication failure has occurred, transmission / reception of the heartbeat signal in step S601 and transmission / reception of the response signal in step S602 are retried. After determining that a communication failure has occurred, the control unit 305 of the controller 105 repeatedly determines whether the communication failure has been recovered.

コントローラ105の制御部305は、コントローラ105とサーバ130との間の通信に障害が発生していると判別した場合、障害通知を電気機器104へ送信する(ステップS604)。電気機器104の制御ユニット40は、障害通知をコントローラ105から受信する。   If the controller 305 of the controller 105 determines that a failure has occurred in the communication between the controller 105 and the server 130, the controller 305 transmits a failure notification to the electrical device 104 (step S604). The control unit 40 of the electric device 104 receives the failure notification from the controller 105.

なお、コントローラ105の制御部305は、コントローラ105とサーバ130との間の通信に障害が発生していないと判別した場合、障害通知の代わりに、非障害通知を電気機器104へ送信する。電気機器104の制御ユニット40は、非障害通知をコントローラ105から受信する。非障害通知を受信した場合には、電気機器104の制御ユニット40は、第1モードのまま運転を継続し、第2モードには切り替えない。既に第2モードに切り替えた後であれば、電気機器104の制御ユニット40は、第2モードでの運転を継続する。   Note that if the control unit 305 of the controller 105 determines that there is no failure in communication between the controller 105 and the server 130, the control unit 305 transmits a non-failure notification to the electrical device 104 instead of the failure notification. The control unit 40 of the electric device 104 receives the non-failure notification from the controller 105. When the non-failure notification is received, the control unit 40 of the electric device 104 continues operation in the first mode and does not switch to the second mode. If it has already been switched to the second mode, the control unit 40 of the electric device 104 continues the operation in the second mode.

電気機器104の制御ユニット40は、切替条件が満たされるか否かを判別する(ステップS605)。   The control unit 40 of the electric device 104 determines whether or not the switching condition is satisfied (step S605).

切替条件が満たされると判別した場合、電気機器104の制御ユニット40は、第1モードから第2モードに切り替える(ステップS606)。切替条件が満たされないと判別した場合、電気機器104の制御ユニット40は、切替処理を終了し、第1モードでの運転を継続する。   When it is determined that the switching condition is satisfied, the control unit 40 of the electric device 104 switches from the first mode to the second mode (step S606). When it is determined that the switching condition is not satisfied, the control unit 40 of the electric device 104 ends the switching process and continues the operation in the first mode.

電気機器104の制御ユニット40は、第1モードから第2モードに切り替えた後、第1モードから第2モードに切り替えた旨の切替通知をコントローラ105へ送信する(ステップS607)。コントローラ105の制御部305は、切替通知を電気機器104から受信する。   After switching from the first mode to the second mode, the control unit 40 of the electric device 104 transmits a switching notification indicating that the mode has been switched from the first mode to the second mode to the controller 105 (step S607). The control unit 305 of the controller 105 receives the switching notification from the electric device 104.

切替通知には、第1モードから第2モードに切り替えた時刻と、第1モードから第2モードに切り替えた電気機器104を識別する識別情報(機器の名称やIPアドレス等)とが含まれる。   The switching notification includes the time when the mode is switched from the first mode to the second mode, and identification information (device name, IP address, etc.) for identifying the electrical device 104 switched from the first mode to the second mode.

コントローラ105とサーバ130との間の通信が復旧すると、コントローラ105の制御部305は、電気機器104が第1モードから第2モードに切り替えた旨の切替通知をサーバ130へ通知する。サーバ130は、電気機器104が第1モードから第2モードに切り替えた旨の切替通知を端末装置140へ通知する。端末装置140の制御部407は、電気機器104が第1モードから第2モードに切り替えたことを示すメッセージや画像をLCD424に表示する。   When communication between the controller 105 and the server 130 is restored, the control unit 305 of the controller 105 notifies the server 130 of a switching notification that the electrical device 104 has switched from the first mode to the second mode. The server 130 notifies the terminal device 140 of a switching notification indicating that the electrical device 104 has switched from the first mode to the second mode. The control unit 407 of the terminal device 140 displays a message or an image indicating that the electric device 104 has switched from the first mode to the second mode on the LCD 424.

なお、電気機器104の制御ユニット40は、第1モードから第2モードに切り替える前に、第1モードから第2モードに切り替える旨の切替通知をコントローラ105へ送信してもよい。この場合、切替通知には、切替条件が満たされた時刻と、第1モードから第2モードに切り替える電気機器104を識別する識別情報とが含まれていればよい。   Note that the control unit 40 of the electrical device 104 may transmit a switching notification to the effect of switching from the first mode to the second mode to the controller 105 before switching from the first mode to the second mode. In this case, the switching notification may include the time when the switching condition is satisfied and the identification information for identifying the electric device 104 that switches from the first mode to the second mode.

あるいは、電気機器104の制御ユニット40は、第1モードから第2モードに切り替える前に、第1モードから第2モードに切り替える旨の切替通知を、コントローラ105の代わりに、もしくは、コントローラ105に加えて、ユーザが所有する携帯電話機等、予め登録された端末へ送信してもよい。   Alternatively, before switching from the first mode to the second mode, the control unit 40 of the electric device 104 adds a switching notification to the effect of switching from the first mode to the second mode instead of the controller 105 or to the controller 105. Then, it may be transmitted to a terminal registered in advance, such as a mobile phone owned by the user.

例えば、電気機器104の制御ユニット40は、携帯電話回線等、宅内ネットワークと宅外ネットワークのいずれとも異なる第3の通信ネットワークを介して、切替通知を、予め登録された端末へ送信する。切替通知を受信した端末は、電気機器104が第1モードから第2モードに切り替える旨をユーザに報知し、切り替えるか否かの入力をユーザから受け付ける。そして、この端末は、切り替える旨のユーザからの入力を受け付けると、第1モードから第2モードに切り替える旨を電気機器104に通知する。この通知を受信した電気機器104は、第1モードから第2モードに切り替える。   For example, the control unit 40 of the electric device 104 transmits a switching notification to a pre-registered terminal via a third communication network such as a mobile phone line that is different from both the home network and the external network. The terminal that has received the switching notification notifies the user that the electric device 104 switches from the first mode to the second mode, and accepts an input as to whether or not to switch from the user. When this terminal receives an input from the user to switch, the terminal notifies the electric device 104 to switch from the first mode to the second mode. The electrical device 104 that has received this notification switches from the first mode to the second mode.

本実施形態によれば、電気機器104は、コントローラ105とサーバ130との間の通信に障害が発生すると、自動的に、より安全を確保できる動作へと切り替えることができる。電力システム1は、通信障害の発生により電気機器104の遠隔操作に支障を来したり安全な運転に支障を来したりするおそれがあると判別すると、自動的に、より安全を確保できる動作へと切り替えることができる。   According to the present embodiment, when a failure occurs in communication between the controller 105 and the server 130, the electrical device 104 can automatically switch to an operation that can ensure more safety. When the power system 1 determines that there is a risk that the remote operation of the electrical device 104 may be hindered or the safe operation may be hindered due to the occurrence of a communication failure, the power system 1 automatically moves to an operation that can ensure more safety. And can be switched.

本実施形態では、ハートビート信号がコントローラ105からサーバ130へ送信され、レスポンス信号がサーバ130からコントローラ105へ送信される。しかし、ハートビート信号がサーバ130からコントローラ105へ送信され、レスポンス信号がコントローラ105からサーバ130へ送信されるようにしてもよい。この場合、ハートビート信号は、予め決められた閾時間毎に、サーバ130からコントローラ105へ送信され、コントローラ105の制御部305は、前回ハートビート信号を受信した時刻から閾時間が経過するまでの間に次のハートビート信号を受信しない場合に、コントローラ105とサーバ130との間の通信に障害が発生したと判別すればよい。   In the present embodiment, a heartbeat signal is transmitted from the controller 105 to the server 130, and a response signal is transmitted from the server 130 to the controller 105. However, a heartbeat signal may be transmitted from the server 130 to the controller 105, and a response signal may be transmitted from the controller 105 to the server 130. In this case, the heartbeat signal is transmitted from the server 130 to the controller 105 every predetermined threshold time, and the control unit 305 of the controller 105 waits until the threshold time elapses from the time when the heartbeat signal was received last time. If the next heartbeat signal is not received in the meantime, it may be determined that a failure has occurred in the communication between the controller 105 and the server 130.

コントローラ105とサーバ130の間の通信障害の発生は、コントローラ105がサーバ130から遠隔操作コマンドを受信した後に判別される可能性もある。コントローラ105の制御部305は、遠隔操作コマンドのサーバ130からの受信後であって、遠隔操作コマンドの電気機器104への送信前に、コントローラ105とサーバ130との間に通信障害が発生したと判別すると、遠隔操作コマンドの電気機器104への送信を中止してもよい。あるいは、コントローラ105の制御部305は、コントローラ105とサーバ130との間の通信が復旧するまで、遠隔操作コマンドの電気機器104への送信を待機し、コントローラ105とサーバ130との間の通信が復旧した後、待機していた遠隔操作コマンドの電気機器104への送信を実行してもよい。   The occurrence of a communication failure between the controller 105 and the server 130 may be determined after the controller 105 receives a remote operation command from the server 130. The control unit 305 of the controller 105 determines that a communication failure has occurred between the controller 105 and the server 130 after receiving the remote operation command from the server 130 and before transmitting the remote operation command to the electric device 104. When it is determined, the transmission of the remote operation command to the electric device 104 may be stopped. Alternatively, the control unit 305 of the controller 105 waits for transmission of the remote operation command to the electric device 104 until communication between the controller 105 and the server 130 is restored, and communication between the controller 105 and the server 130 is performed. After recovery, the remote operation command that has been waiting may be transmitted to the electric device 104.

また、コントローラ105の制御部305は、遠隔操作コマンドを電気機器104へ送信した後に、コントローラ105とサーバ130との間に通信障害が発生したと判別すると、電気機器104に遠隔操作コマンドによる制御の実行を中止させてもよい。   If the control unit 305 of the controller 105 determines that a communication failure has occurred between the controller 105 and the server 130 after transmitting the remote operation command to the electric device 104, the control unit 305 of the controller 105 controls the electric device 104 according to the remote operation command. Execution may be stopped.

あるいは、コントローラ105の制御部305は、遠隔操作コマンドを電気機器104へ送信した後に、コントローラ105とサーバ130との間に通信障害が発生したと判別すると、電気機器104を第1モードから第2モードへ切り替えさせてもよい。   Alternatively, when the control unit 305 of the controller 105 determines that a communication failure has occurred between the controller 105 and the server 130 after transmitting the remote operation command to the electrical device 104, the control unit 305 moves the electrical device 104 from the first mode to the second mode. The mode may be switched.

(実施形態2)
次に、本発明の実施形態2について説明する。本実施形態では、電気機器104が第1モード(通常モード)で運転中に、電気機器104とコントローラ105との間の通信に障害が発生したケースについて説明する。
(Embodiment 2)
Next, Embodiment 2 of the present invention will be described. In the present embodiment, a case will be described in which a failure occurs in communication between the electrical device 104 and the controller 105 while the electrical device 104 is operating in the first mode (normal mode).

本実施形態では、ハートビート信号は、電気機器104からコントローラ105へ定期的に送信され、レスポンス信号は、ハートビート信号に対する応答として、コントローラ105から電気機器104へ送信される。   In the present embodiment, the heartbeat signal is periodically transmitted from the electric device 104 to the controller 105, and the response signal is transmitted from the controller 105 to the electric device 104 as a response to the heartbeat signal.

電気機器104の制御ユニット40は、ハートビート信号をコントローラ105へ送信する(ステップS701)。コントローラ105の制御部305は、ハートビート信号を電気機器104から受信する。   The control unit 40 of the electric device 104 transmits a heartbeat signal to the controller 105 (step S701). The control unit 305 of the controller 105 receives a heartbeat signal from the electric device 104.

コントローラ105の制御部305は、ハートビート信号を電気機器104から受信すると、ハートビート信号に対する応答としてレスポンス信号を電気機器104へ送信する(ステップS702)。電気機器104は、レスポンス信号をコントローラ105から受信する。   When receiving the heartbeat signal from the electrical device 104, the control unit 305 of the controller 105 transmits a response signal to the electrical device 104 as a response to the heartbeat signal (step S702). The electric device 104 receives the response signal from the controller 105.

ここで、もし、電気機器104とコントローラ105との間の通信に障害が発生すると、電気機器104とコントローラ105との間のハートビート信号及び/又はレスポンス信号の送受信が失敗し、電気機器104はハートビート信号を送信した時刻(もしくは送信しようと試みた時刻)から閾時間が経過してもレスポンス信号を受信しないこととなる。   Here, if a failure occurs in communication between the electric device 104 and the controller 105, transmission / reception of the heartbeat signal and / or response signal between the electric device 104 and the controller 105 fails, and the electric device 104 Even if the threshold time elapses from the time when the heartbeat signal is transmitted (or when the transmission is attempted), the response signal is not received.

電気機器104の制御ユニット40は、電気機器104とコントローラ105との間の通信状態を判別する(ステップS703)。   The control unit 40 of the electric device 104 determines the communication state between the electric device 104 and the controller 105 (step S703).

すなわち、電気機器104の制御ユニット40は、ハートビート信号を送信した時刻から閾時間が経過するまでの間にレスポンス信号を受信しない場合、電気機器104とコントローラ105との間の通信に障害が発生したと判別し、ハートビート信号を送信した時刻から閾時間が経過するまでの間にレスポンス信号を受信した場合、電気機器104とコントローラ105との間の通信に障害が発生していないと判別する。   That is, if the control unit 40 of the electrical device 104 does not receive a response signal before the threshold time elapses from the time when the heartbeat signal is transmitted, a failure occurs in communication between the electrical device 104 and the controller 105. If the response signal is received before the threshold time elapses from the time when the heartbeat signal is transmitted, it is determined that there is no failure in communication between the electrical device 104 and the controller 105. .

また、電気機器104の制御ユニット40は、ハートビート信号のコントローラ105への送信に失敗した場合も、電気機器104とコントローラ105との間の通信に障害が発生したと判別する。   The control unit 40 of the electrical device 104 determines that a failure has occurred in communication between the electrical device 104 and the controller 105 even when transmission of the heartbeat signal to the controller 105 fails.

なお、電気機器104とコントローラ105との間の通信経路そのものは正常であるものの、コントローラ105がハングアップして無応答になった場合も、ハートビート信号の送受信とレスポンス信号の送受信が失敗する。このため、電気機器104とコントローラ105との間の通信障害には、コントローラ105がハングアップしたことによる障害も含まれる。   Note that although the communication path itself between the electric device 104 and the controller 105 is normal, the heartbeat signal transmission and reception and the response signal transmission and reception also fail when the controller 105 hangs up and does not respond. Therefore, the communication failure between the electric device 104 and the controller 105 includes a failure due to the controller 105 being hung up.

通信障害が発生したと判別した後も、ステップS701におけるハートビート信号の送受信、及び、ステップS702におけるレスポンス信号の送受信がリトライされる。電気機器104の制御ユニット40は、通信障害が発生したと判別した後、通信障害が復旧したか否かを繰り返し判別する。   Even after determining that a communication failure has occurred, transmission / reception of the heartbeat signal in step S701 and transmission / reception of the response signal in step S702 are retried. After determining that a communication failure has occurred, the control unit 40 of the electrical device 104 repeatedly determines whether the communication failure has been recovered.

電気機器104の制御ユニット40は、切替条件が満たされるか否かを判別する(ステップS704)。   The control unit 40 of the electric device 104 determines whether or not the switching condition is satisfied (step S704).

切替条件は、例えば、「通信障害が発生したと判別した時刻が、予め決められた期間内であること」である。制御ユニット40は、例えば毎日8時から20時までといったように、ユーザからの入力もしくは予め定められたアルゴリズムに基づいて、期間を設定する。そして、制御ユニット40は、通信障害が発生したと判別した時刻がこの期間内であれば、切替条件が満たされたと判別し、第1モードから第2モードへ切り替える。通信障害が発生したと判別した時刻がこの期間内に含まれないのであれば、制御ユニット40は、切替条件が満たされていないと判別し、第1モードから第2モードへ切り替えない。   The switching condition is, for example, “the time when it is determined that a communication failure has occurred is within a predetermined period”. The control unit 40 sets a period based on an input from a user or a predetermined algorithm, for example, every day from 8:00 to 20:00. If the time at which it is determined that a communication failure has occurred is within this period, the control unit 40 determines that the switching condition is satisfied, and switches from the first mode to the second mode. If the time at which it is determined that a communication failure has occurred is not included in this period, the control unit 40 determines that the switching condition is not satisfied and does not switch from the first mode to the second mode.

切替条件に、「切替条件の判別時に遠隔操作コマンドによる動作中である」という条件を含めてもよい。制御ユニット40は、遠隔操作コマンドによる動作中であって、且つ、通信障害が発生したと判別された時刻が、予め決められた期間内であれば、切替条件が満たされると判別してもよい。この場合、遠隔操作コマンドによらずに、ユーザが電気機器104の操作パネルを直接操作することにより第1モードで動作しているのであれば、通信障害が発生しても、第2モードに切り替わることはない。   The switching condition may include a condition “being operated by a remote operation command when determining the switching condition”. The control unit 40 may determine that the switching condition is satisfied if the operation is being performed by the remote operation command and the time when it is determined that the communication failure has occurred is within a predetermined period. . In this case, if the user operates in the first mode by directly operating the operation panel of the electric device 104 without using the remote operation command, the mode is switched to the second mode even if a communication failure occurs. There is nothing.

切替条件は、「通信障害が発生したと判別した時刻から、予め設定した期間が経過しても、通信障害が復旧しないこと」でもよい。制御ユニット40は、第1の時刻に通信障害が発生したと判別し、第1の時刻から予め設定した期間が経過する第2の時刻までの間に、ステップS701におけるハートビート信号の送受信とステップS702におけるレスポンス信号の送受信のうち少なくとも一方が成功しないと、切替条件が満たされたと判別し、第1モードから第2モードへ切り替える。第1の時刻から第2の時刻までの間に、ステップS701におけるハートビート信号の送受信とステップS702におけるレスポンス信号の送受信の両方が成功すれば、制御ユニット40は、切替条件が満たされていないと判別し、第1モードから第2モードへ切り替えない。   The switching condition may be “the communication failure does not recover even if a preset period elapses from the time when it is determined that the communication failure has occurred”. The control unit 40 determines that a communication failure has occurred at the first time, and transmits and receives the heartbeat signal and the step in step S701 between the first time and the second time when a preset period has elapsed. If at least one of the transmission and reception of the response signal in S702 is not successful, it is determined that the switching condition is satisfied, and the mode is switched from the first mode to the second mode. If both the transmission / reception of the heartbeat signal in step S701 and the transmission / reception of the response signal in step S702 are successful between the first time and the second time, the control unit 40 indicates that the switching condition is not satisfied. Discriminate and do not switch from the first mode to the second mode.

切替条件が満たされると判別した場合、電気機器104の制御ユニット40は、第1モードから第2モードに切り替える(ステップS705)。切替条件が満たされないと判別した場合、電気機器104の制御ユニット40は、切替処理を終了し、第1モードでの運転を継続する。   When it is determined that the switching condition is satisfied, the control unit 40 of the electric device 104 switches from the first mode to the second mode (step S705). When it is determined that the switching condition is not satisfied, the control unit 40 of the electric device 104 ends the switching process and continues the operation in the first mode.

電気機器104の制御ユニット40は、第1モードから第2モードに切り替えた後、第1モードから第2モードに切り替えた旨の切替通知を、ユーザが所有する携帯電話機等、予め登録された端末へ送信してもよい。   The control unit 40 of the electrical device 104, after switching from the first mode to the second mode, sends a notification of switching indicating that the mode has been switched from the first mode to the second mode, such as a mobile phone owned by the user in advance. May be sent to.

あるいは、電気機器104の制御ユニット40は、第1モードから第2モードに切り替える前、第1モードから第2モードに切り替える旨の切替通知を、予め登録された端末へ送信してもよい。   Alternatively, before switching from the first mode to the second mode, the control unit 40 of the electric device 104 may transmit a switching notification to the effect of switching from the first mode to the second mode to a previously registered terminal.

電気機器104とコントローラ105との間の通信が復旧すると、電気機器104の制御ユニット40は、自動的に、第2モードから第1モードに戻してもよい。   When communication between the electric device 104 and the controller 105 is restored, the control unit 40 of the electric device 104 may automatically return from the second mode to the first mode.

あるいは、電気機器104とコントローラ105との間の通信が復旧すると、電気機器104の制御ユニット40は、電気機器104が有する操作パネル等へのユーザによる直接的な操作があった後、第2モードから第1モードに戻してもよい。   Alternatively, when the communication between the electric device 104 and the controller 105 is restored, the control unit 40 of the electric device 104 performs the second mode after a direct operation by the user to the operation panel or the like of the electric device 104 is performed. To the first mode.

また、電気機器104とコントローラ105との間の通信が復旧すると、電気機器104の制御ユニット40は、第2モードから第1モードに戻すか否かをコントローラ105に問い合わせ、第2モードから第1モードに戻す旨の指示をコントローラ105から受信した後、第2モードから第1モードに戻してもよい。   When communication between the electric device 104 and the controller 105 is restored, the control unit 40 of the electric device 104 inquires of the controller 105 whether to return from the second mode to the first mode, and from the second mode to the first mode. After receiving an instruction to return to the mode from the controller 105, the second mode may be returned to the first mode.

例えば、コントローラ105の制御部305は、第2モードから第1モードに自動的に戻してよいか否かの入力をユーザから予め受け付け、受け付けた内容を示すデータを記憶部303に記憶しておき、この記憶されたデータに基づいて、第2モードから第1モードに戻すか否かを決定する。   For example, the control unit 305 of the controller 105 receives an input from the user in advance as to whether or not to automatically return from the second mode to the first mode, and stores data indicating the received content in the storage unit 303. Based on the stored data, it is determined whether to return from the second mode to the first mode.

更には、電気機器104とコントローラ105との間の通信が復旧すると、電気機器104の制御ユニット40は、第2モードから第1モードに戻すか否かを、予め登録された端末に問い合わせ、第2モードから第1モードに戻す旨の指示をこの端末から受信した後、第2モードから第1モードに戻してもよい。   Furthermore, when the communication between the electric device 104 and the controller 105 is restored, the control unit 40 of the electric device 104 inquires of a previously registered terminal whether or not to return from the second mode to the first mode. After receiving from the terminal an instruction to return from the second mode to the first mode, the second mode may be returned to the first mode.

本実施形態によれば、電気機器104は、電気機器104とコントローラ105との間の通信に障害が発生すると、自動的に、より安全を確保できる動作へと切り替えることができる。電力システム1は、通信障害の発生により電気機器104の遠隔操作に支障を来したり安全な運転に支障を来したりするおそれがあると判別すると、自動的に、より安全を確保できる動作へと切り替えることができる。   According to the present embodiment, when a failure occurs in communication between the electric device 104 and the controller 105, the electric device 104 can automatically switch to an operation that can ensure more safety. When the power system 1 determines that there is a risk that the remote operation of the electrical device 104 may be hindered or the safe operation may be hindered due to the occurrence of a communication failure, the power system 1 automatically moves to an operation that can ensure more safety. And can be switched.

本実施形態では、ハートビート信号が電気機器104からコントローラ105へ送信され、レスポンス信号がコントローラ105から電気機器104へ送信される。しかし、ハートビート信号がコントローラ105から電気機器104へ送信され、レスポンス信号が電気機器104からコントローラ105へ送信されるようにしてもよい。この場合、ハートビート信号は、予め決められた閾時間毎に、コントローラ105から電気機器104へ送信される。電気機器104の制御ユニット40は、前回ハートビート信号を受信した時刻から閾時間が経過するまでの間に次のハートビート信号を受信しない場合に、電気機器104とコントローラ105との間の通信に障害が発生したと判別すればよい。   In the present embodiment, a heartbeat signal is transmitted from the electrical device 104 to the controller 105, and a response signal is transmitted from the controller 105 to the electrical device 104. However, a heartbeat signal may be transmitted from the controller 105 to the electric device 104 and a response signal may be transmitted from the electric device 104 to the controller 105. In this case, the heartbeat signal is transmitted from the controller 105 to the electrical device 104 every predetermined threshold time. When the control unit 40 of the electrical device 104 does not receive the next heartbeat signal before the threshold time elapses from the time when the previous heartbeat signal is received, the control unit 40 performs communication between the electrical device 104 and the controller 105. It may be determined that a failure has occurred.

電気機器104とコントローラ105との間の通信障害の発生は、コントローラ105がサーバ130から遠隔操作コマンドを受信した後に判別される可能性もある。コントローラ105の制御部305は、遠隔操作コマンドのサーバ130からの受信後であって、遠隔操作コマンドの電気機器104への送信前に、電気機器104とコントローラ105との間に通信障害が発生したと判別すると、電気機器104とコントローラ105との間に通信障害が発生し遠隔操作が出来ない旨の通知を、遠隔操作コマンドの送信元である端末装置140へサーバ130を介して送信してもよい。   The occurrence of a communication failure between the electric device 104 and the controller 105 may be determined after the controller 105 receives a remote operation command from the server 130. The controller 305 of the controller 105 has a communication failure between the electrical device 104 and the controller 105 after receiving the remote operation command from the server 130 and before transmitting the remote operation command to the electrical device 104. If a notification that communication failure has occurred between the electric device 104 and the controller 105 and remote control cannot be performed is transmitted to the terminal device 140 that is the transmission source of the remote control command via the server 130 Good.

電気機器104とコントローラ105との間の通信障害の発生は、遠隔操作コマンドによる制御を開始した後に判別される可能性がある。電気機器104の制御ユニット40は、遠隔操作コマンドによる制御の開始後に、電気機器104とコントローラ105との間に通信障害が発生したと判別すると、遠隔操作コマンドによる制御を中止し、第1モードから第2モードに切り替えてもよい。   The occurrence of a communication failure between the electric device 104 and the controller 105 may be determined after the start of control by a remote operation command. When the control unit 40 of the electric device 104 determines that a communication failure has occurred between the electric device 104 and the controller 105 after the start of the control by the remote operation command, the control unit 40 stops the control by the remote operation command and starts from the first mode. You may switch to the second mode.

(実施形態3)
次に、本発明の実施形態3について説明する。本実施形態では、電気機器104が第1モードで動作中に、サーバ130と端末装置140との間の通信に障害が発生したケースについて説明する。
(Embodiment 3)
Next, a third embodiment of the present invention will be described. In the present embodiment, a case where a failure occurs in communication between the server 130 and the terminal device 140 while the electric device 104 is operating in the first mode will be described.

本実施形態では、ハートビート信号は、サーバ130から端末装置140へ定期的に送信され、レスポンス信号は、ハートビート信号に対する応答として、端末装置140からサーバ130へ送信される。   In the present embodiment, the heartbeat signal is periodically transmitted from the server 130 to the terminal device 140, and the response signal is transmitted from the terminal device 140 to the server 130 as a response to the heartbeat signal.

サーバ130の制御部は、ハートビート信号を端末装置140へ送信する(ステップS801)。端末装置140の制御部407は、ハートビート信号をサーバ130から受信する。   The control unit of the server 130 transmits a heartbeat signal to the terminal device 140 (step S801). The control unit 407 of the terminal device 140 receives a heartbeat signal from the server 130.

端末装置140の制御部407は、ハートビート信号をサーバ130から受信すると、ハートビート信号に対する応答としてレスポンス信号をサーバ130へ送信する(ステップS802)。サーバ130は、レスポンス信号を端末装置140から受信する。   When receiving the heartbeat signal from the server 130, the control unit 407 of the terminal device 140 transmits a response signal to the server 130 as a response to the heartbeat signal (step S802). The server 130 receives a response signal from the terminal device 140.

ここで、もし、サーバ130と端末装置140との間の通信に障害が発生すると、サーバ130と端末装置140との間のハートビート信号及び/又はレスポンス信号の送受信が失敗し、サーバ130はハートビート信号を送信した時刻(もしくは送信しようと試みた時刻)から閾時間が経過してもレスポンス信号を受信しないこととなる。   Here, if a failure occurs in communication between the server 130 and the terminal device 140, transmission / reception of the heartbeat signal and / or response signal between the server 130 and the terminal device 140 fails, and the server 130 Even if the threshold time elapses from the time when the beat signal is transmitted (or the time when transmission is attempted), the response signal is not received.

サーバ130の制御部は、サーバ130と端末装置140との間の通信状態を判別する(ステップS803)。   The control unit of the server 130 determines the communication state between the server 130 and the terminal device 140 (step S803).

すなわち、サーバ130の制御部は、ハートビート信号を送信した時刻から閾時間が経過するまでの間にレスポンス信号を受信しない場合、サーバ130の制御部との間の通信に障害が発生したと判別し、ハートビート信号を送信した時刻から閾時間が経過するまでの間にレスポンス信号を受信した場合、サーバ130の制御部との間の通信に障害が発生していないと判別する。   That is, when the control unit of the server 130 does not receive a response signal before the threshold time elapses from the time when the heartbeat signal is transmitted, it is determined that a failure has occurred in communication with the control unit of the server 130. If a response signal is received from the time when the heartbeat signal is transmitted until the threshold time elapses, it is determined that no failure has occurred in communication with the control unit of the server 130.

また、サーバ130の制御部は、ハートビート信号の端末装置140への送信に失敗した場合も、サーバ130の制御部との間の通信に障害が発生したと判別する。   Further, the control unit of the server 130 determines that a failure has occurred in communication with the control unit of the server 130 even when transmission of the heartbeat signal to the terminal device 140 fails.

なお、サーバ130と端末装置140との間の通信経路そのものは正常であるものの、端末装置140がハングアップして無応答になった場合も、ハートビート信号の送受信とレスポンス信号の送受信が失敗する。このため、サーバ130と端末装置140との間の通信障害には、端末装置140がハングアップしたことによる障害も含まれる。   Note that although the communication path itself between the server 130 and the terminal device 140 is normal, the transmission / reception of the heartbeat signal and the transmission / reception of the response signal also fail when the terminal device 140 hangs up and does not respond. . For this reason, the communication failure between the server 130 and the terminal device 140 includes a failure due to the terminal device 140 being hung up.

通信障害が発生したと判別した後も、ステップS801におけるハートビート信号の送受信、及び、ステップS802におけるレスポンス信号の送受信がリトライされる。サーバ130の制御部は、通信障害が発生したと判別した後、通信障害が復旧したか否かを繰り返し判別する。   Even after determining that a communication failure has occurred, transmission / reception of the heartbeat signal in step S801 and transmission / reception of the response signal in step S802 are retried. After determining that a communication failure has occurred, the control unit of the server 130 repeatedly determines whether the communication failure has been recovered.

サーバ130の制御部は、サーバ130と端末装置140との間の通信に障害が発生していると判別した場合、障害通知をコントローラ105へ送信する(ステップS804)。コントローラ105の制御部305は、障害通知をサーバ130から受信する。   When determining that a failure has occurred in communication between the server 130 and the terminal device 140, the control unit of the server 130 transmits a failure notification to the controller 105 (step S804). The control unit 305 of the controller 105 receives a failure notification from the server 130.

サーバ130と端末装置140との間の通信に障害が発生していないと判別した場合には、サーバ130の制御部は、障害通知の代わりに、非障害通知をコントローラ105へ送信する。コントローラ105の制御部305は、非障害通知をサーバ130から受信する。   If it is determined that a failure has not occurred in communication between the server 130 and the terminal device 140, the control unit of the server 130 transmits a non-failure notification to the controller 105 instead of the failure notification. The control unit 305 of the controller 105 receives a non-failure notification from the server 130.

障害通知をサーバ130から受信すると、コントローラ105の制御部305は、障害通知を電気機器104へ送信する(ステップS805)。電気機器104の制御ユニット40は、障害通知をコントローラ105から受信する。   When the failure notification is received from the server 130, the control unit 305 of the controller 105 transmits the failure notification to the electric device 104 (step S805). The control unit 40 of the electric device 104 receives the failure notification from the controller 105.

なお、非障害通知を受信すると、コントローラ105の制御部305は、非障害通知を電気機器104へ送信する。電気機器104の制御ユニット40は、非障害通知をコントローラ105から受信する。   When receiving the non-failure notification, the control unit 305 of the controller 105 transmits the non-failure notification to the electrical device 104. The control unit 40 of the electric device 104 receives the non-failure notification from the controller 105.

電気機器104の制御ユニット40は、切替条件が満たされるか否かを判別する(ステップS806)。   The control unit 40 of the electrical device 104 determines whether or not the switching condition is satisfied (step S806).

切替条件が満たされると判別した場合、電気機器104の制御ユニット40は、第1モードから第2モードに切り替える(ステップS807)。切替条件が満たされないと判別した場合、電気機器104の制御ユニット40は、切替処理を終了し、第1モードでの運転を継続する。   When it is determined that the switching condition is satisfied, the control unit 40 of the electric device 104 switches from the first mode to the second mode (step S807). When it is determined that the switching condition is not satisfied, the control unit 40 of the electric device 104 ends the switching process and continues the operation in the first mode.

電気機器104の制御ユニット40は、第1モードから第2モードに切り替えた後、第1モードから第2モードに切り替えた旨の切替通知をコントローラ105へ送信する(ステップS808)。コントローラ105の制御部305は、切替通知を電気機器104から受信する。   After switching from the first mode to the second mode, the control unit 40 of the electric device 104 transmits a switching notification indicating that the mode has been switched from the first mode to the second mode to the controller 105 (step S808). The control unit 305 of the controller 105 receives the switching notification from the electric device 104.

コントローラ105の制御部305は、切替通知を電気機器104から受信すると、切替通知をサーバ130へ送信する(ステップS809)。サーバ130の制御部は、切替通知をコントローラ105から受信する。   When receiving the switching notification from the electric device 104, the control unit 305 of the controller 105 transmits the switching notification to the server 130 (step S809). The control unit of the server 130 receives the switching notification from the controller 105.

なお、電気機器104の制御ユニット40は、第1モードから第2モードに切り替える前に、第1モードから第2モードに切り替える旨の切替通知をコントローラ105へ送信してもよい。   Note that the control unit 40 of the electrical device 104 may transmit a switching notification to the effect of switching from the first mode to the second mode to the controller 105 before switching from the first mode to the second mode.

あるいは、電気機器104の制御ユニット40は、第1モードから第2モードに切り替える前に、第1モードから第2モードに切り替える旨の切替通知を、コントローラ105の代わりに、もしくは、コントローラ105に加えて、ユーザが所有する携帯電話機等、予め登録された端末へ送信してもよい。   Alternatively, before switching from the first mode to the second mode, the control unit 40 of the electric device 104 adds a switching notification to the effect of switching from the first mode to the second mode instead of the controller 105 or to the controller 105. Then, it may be transmitted to a terminal registered in advance, such as a mobile phone owned by the user.

サーバ130と端末装置140との間の通信が復旧すると、サーバ130の制御部は、電気機器104が第1モードから第2モードに切り替えた旨の切替通知を端末装置140へ通知する。端末装置140の制御部407は、電気機器104が第1モードから第2モードに切り替えたことを示すメッセージや画像をLCD424に表示する。   When communication between the server 130 and the terminal device 140 is restored, the control unit of the server 130 notifies the terminal device 140 of a switching notification indicating that the electrical device 104 has switched from the first mode to the second mode. The control unit 407 of the terminal device 140 displays a message or an image indicating that the electric device 104 has switched from the first mode to the second mode on the LCD 424.

なお、電気機器104の制御ユニット40は、第1モードから第2モードに切り替える前に、第1モードから第2モードに切り替える旨の切替通知をコントローラ105へ送信してもよい。   Note that the control unit 40 of the electrical device 104 may transmit a switching notification to the effect of switching from the first mode to the second mode to the controller 105 before switching from the first mode to the second mode.

あるいは、電気機器104の制御ユニット40は、第1モードから第2モードに切り替える前に、第1モードから第2モードに切り替える旨の切替通知を、コントローラ105の代わりに、もしくは、コントローラ105に加えて、ユーザが所有する携帯電話機等、予め登録された端末へ送信してもよい。   Alternatively, before switching from the first mode to the second mode, the control unit 40 of the electric device 104 adds a switching notification to the effect of switching from the first mode to the second mode instead of the controller 105 or to the controller 105. Then, it may be transmitted to a terminal registered in advance, such as a mobile phone owned by the user.

本実施形態によれば、電気機器104は、サーバ130と端末装置140との間の通信に障害が発生すると、自動的に、より安全を確保できる動作へと切り替えることができる。電力システム1は、通信障害の発生により電気機器104の遠隔操作に支障を来したり安全な運転に支障を来したりするおそれがあると判別すると、自動的に、より安全を確保できる動作へと切り替えることができる。   According to this embodiment, when a failure occurs in communication between the server 130 and the terminal device 140, the electrical device 104 can automatically switch to an operation that can ensure more safety. When the power system 1 determines that there is a risk that the remote operation of the electrical device 104 may be hindered or the safe operation may be hindered due to the occurrence of a communication failure, the power system 1 automatically moves to an operation that can ensure more safety. And can be switched.

本実施形態では、ハートビート信号がサーバ130から端末装置140へ送信され、レスポンス信号が端末装置140からサーバ130へ送信される。しかし、ハートビート信号が端末装置140からサーバ130へ送信され、レスポンス信号がサーバ130から端末装置140へ送信されるようにしてもよい。この場合、ハートビート信号は、予め決められた閾時間毎に、端末装置140からサーバ130へ送信され、サーバ130の制御部は、前回ハートビート信号を受信した時刻から閾時間が経過するまでの間に次のハートビート信号を受信しない場合に、サーバ130と端末装置140との間の通信に障害が発生したと判別すればよい。   In the present embodiment, a heartbeat signal is transmitted from the server 130 to the terminal device 140, and a response signal is transmitted from the terminal device 140 to the server 130. However, a heartbeat signal may be transmitted from the terminal device 140 to the server 130, and a response signal may be transmitted from the server 130 to the terminal device 140. In this case, the heartbeat signal is transmitted from the terminal device 140 to the server 130 every predetermined threshold time, and the control unit of the server 130 waits until the threshold time elapses from the time when the heartbeat signal was received last time. If the next heartbeat signal is not received in the meantime, it may be determined that a failure has occurred in the communication between the server 130 and the terminal device 140.

サーバ130と端末装置140との間の通信障害の発生は、サーバ130が端末装置140から遠隔操作コマンドを受信した後に判別される可能性がある。サーバ130の制御部は、遠隔操作コマンドの端末装置140からの受信後であって、遠隔操作コマンドのコントローラ105への送信前に、サーバ130と端末装置140との間に通信障害が発生したと判別すると、遠隔操作コマンドのコントローラ105への送信を中止してもよい。あるいは、サーバ130の制御部は、サーバ130と端末装置140との間の通信が復旧するまで、遠隔操作コマンドのコントローラ105への送信を待機し、サーバ130と端末装置140との間の通信が復旧した後、待機していた遠隔操作コマンドのコントローラ105への送信を実行してもよい。   The occurrence of a communication failure between the server 130 and the terminal device 140 may be determined after the server 130 receives a remote operation command from the terminal device 140. The control unit of the server 130 determines that a communication failure has occurred between the server 130 and the terminal device 140 after receiving the remote operation command from the terminal device 140 and before transmitting the remote operation command to the controller 105. When it is determined, transmission of the remote operation command to the controller 105 may be stopped. Alternatively, the control unit of the server 130 waits for transmission of the remote operation command to the controller 105 until the communication between the server 130 and the terminal device 140 is restored, and the communication between the server 130 and the terminal device 140 is performed. After the restoration, the remote operation command that has been waiting may be transmitted to the controller 105.

また、サーバ130の制御部は、遠隔操作コマンドをコントローラ105へ送信した後に、サーバ130と端末装置140との間に通信障害が発生したと判別すると、電気機器104に遠隔操作コマンドによる制御の実行を中止させる中止コマンドをコントローラ105へ送信してもよい。中止コマンドを受信したコントローラ105は、中止コマンドを電気機器104へ送信し、遠隔操作コマンドによる制御の実行を中止させる。   If the control unit of the server 130 determines that a communication failure has occurred between the server 130 and the terminal device 140 after transmitting the remote operation command to the controller 105, the control unit 130 executes control by the remote operation command. May be transmitted to the controller 105. The controller 105 that has received the cancel command transmits the cancel command to the electric device 104 and cancels the execution of the control by the remote operation command.

あるいは、サーバ130の制御部は、遠隔操作コマンドをコントローラ105へ送信した後に、サーバ130と端末装置140との間に通信障害が発生したと判別すると、電気機器104を第1モードから第2モードに切り替えさせる切替コマンドをコントローラ105へ送信してもよい。切替コマンドを受信したコントローラ105は、切替コマンドを電気機器104へ送信し、第1モードから第2モードへ切り替えさせる。   Alternatively, when the control unit of the server 130 determines that a communication failure has occurred between the server 130 and the terminal device 140 after transmitting the remote operation command to the controller 105, the control unit of the server 130 changes the electrical device 104 from the first mode to the second mode. A switching command for switching to may be transmitted to the controller 105. The controller 105 that has received the switching command transmits the switching command to the electric device 104 to switch from the first mode to the second mode.

(実施形態4)
次に、本発明の実施形態4について説明する。切替条件が満たされるか否かの判別は、電気機器104ではなく、コントローラ105によって行われてもよい。
(Embodiment 4)
Next, a fourth embodiment of the present invention will be described. Whether or not the switching condition is satisfied may be determined by the controller 105 instead of the electric device 104.

図9に、電力システム1の機能的な構成を示す。切替判別部504は、電気機器104ではなく、コントローラ105に設けられる。コントローラ105の制御部305が、切替判別部504として機能する。   FIG. 9 shows a functional configuration of the power system 1. The switching determination unit 504 is provided not in the electric device 104 but in the controller 105. The control unit 305 of the controller 105 functions as the switching determination unit 504.

コントローラ105の制御部305は、ステップS601におけるハートビート信号の送受信が正常に行われたか否か、及び、ステップS602におけるレスポンス信号の送受信が正常に行われたか否かを判別することにより、コントローラ105とサーバ130との間に通信障害が発生しているか否かを判別する。   The control unit 305 of the controller 105 determines whether or not the heartbeat signal has been normally transmitted and received in step S601 and whether or not the response signal has been normally transmitted and received in step S602. And whether or not a communication failure has occurred between the server 130 and the server 130.

そして、コントローラ105の制御部305は、切替条件が満たされるか否かを判別する。   Then, the control unit 305 of the controller 105 determines whether the switching condition is satisfied.

切替条件は、例えば、「通信障害が発生したと判別した時刻が、予め決められた期間内であること」である。コントローラ105の制御部305は、例えば毎日8時から20時までといったように、ユーザからの入力もしくは予め定められたアルゴリズムに基づいて、期間を設定する。そして、制御部305は、通信障害が発生したと判別した時刻がこの期間内に含まれれば、切替条件が満たされたと判別する。通信障害が発生したと判別した時刻がこの期間内に含まれなければ、制御ユニット40は、切替条件が満たされていないと判別する。   The switching condition is, for example, “the time when it is determined that a communication failure has occurred is within a predetermined period”. The control unit 305 of the controller 105 sets a period based on an input from a user or a predetermined algorithm, for example, from 8:00 to 20:00 every day. Then, the control unit 305 determines that the switching condition is satisfied if the time at which it is determined that a communication failure has occurred is included in this period. If the time at which it is determined that a communication failure has occurred is not included in this period, the control unit 40 determines that the switching condition is not satisfied.

切替条件に、「切替条件の判別時に、電気機器104が遠隔操作コマンドによる動作中である」という条件を含めてもよい。制御部305は、電気機器104が遠隔操作コマンドによる動作中であって、且つ、通信障害が発生したと判別された時刻が、予め決められた期間内であれば、切替条件が満たされると判別してもよい。この場合、遠隔操作コマンドによらずに、ユーザが電気機器104の操作パネルを直接操作することにより第1モードで動作しているのであれば、通信障害が発生しても、第2モードに切り替わることはない。   The switching condition may include a condition that “the electric device 104 is operating by a remote operation command when the switching condition is determined”. The control unit 305 determines that the switching condition is satisfied if the electrical device 104 is operating by a remote operation command and the time when it is determined that a communication failure has occurred is within a predetermined period. May be. In this case, if the user operates in the first mode by directly operating the operation panel of the electric device 104 without using the remote operation command, the mode is switched to the second mode even if a communication failure occurs. There is nothing.

切替条件は、「通信障害が発生したと判別してから、通信障害が復旧したと判別することなく、予め決められた時間以上が経過したこと」でもよい。コントローラ105の制御部305は、第1の時刻に通信障害が発生したと判別し、第1の時刻の後、通信障害が復旧したと判別することなく(つまりハートビート信号に対するレスポンス信号を受信することなく)、予め決められた時間が経過すると、切替条件が満たされたと判別する。第1の時刻に通信障害が発生したと判別した後、予め決められた時間が経過していない第2の時刻に通信障害が復旧したと判別すると、切替条件が満たされていないと判別する。   The switching condition may be that “a predetermined time or more has elapsed without determining that the communication failure has been recovered after determining that the communication failure has occurred”. The control unit 305 of the controller 105 determines that a communication failure has occurred at the first time, and receives a response signal to the heartbeat signal without determining that the communication failure has been recovered after the first time. If the predetermined time has elapsed, it is determined that the switching condition is satisfied. After determining that a communication failure has occurred at the first time and determining that the communication failure has been recovered at a second time when a predetermined time has not elapsed, it is determined that the switching condition is not satisfied.

切替条件は、「閾回数以上続けて、通信障害が発生したと判別したこと」でもよい。例えば閾回数を二回としたとき、コントローラ105の制御部305は、第1の時刻に障害が発生したと判別し、第1の時刻より後の第2の時刻に、通信障害が続いていると判別すると(もしくは通信障害が復旧したと判別することなく、再び通信障害が発生したと判別すると)、切替条件が満たされたと判別する。第1の時刻に通信障害が発生したと判別し、第2の時刻に通信障害が復旧したと判別すると、制御部305は、切替条件が満たされていないと判別する。   The switching condition may be “determining that a communication failure has occurred for more than the threshold number of times”. For example, when the threshold number is set to 2, the controller 305 of the controller 105 determines that a failure has occurred at the first time, and a communication failure continues at a second time after the first time. (Or determining that a communication failure has occurred again without determining that the communication failure has been recovered), it is determined that the switching condition has been satisfied. If it is determined that a communication failure has occurred at the first time and the communication failure has been recovered at the second time, the control unit 305 determines that the switching condition is not satisfied.

切替条件が満たされると判別した場合、コントローラ105の制御部305は、切替条件が満たされたことを示す障害通知を電気機器104へ送信する。   When it is determined that the switching condition is satisfied, the control unit 305 of the controller 105 transmits a failure notification indicating that the switching condition is satisfied to the electric device 104.

切替条件が満たされないと判別した場合、コントローラ105の制御部305は、切替条件が満たされないことを示す非障害通知を電気機器104へ送信する。   When it is determined that the switching condition is not satisfied, the control unit 305 of the controller 105 transmits a non-failure notification indicating that the switching condition is not satisfied to the electric device 104.

コントローラ105の制御部305は、予め決められた時間間隔で、障害通知と非障害通知のどちらか一方を電気機器104へ送信することが望ましい。   It is desirable that the control unit 305 of the controller 105 transmits either a failure notification or a non-failure notification to the electrical device 104 at a predetermined time interval.

そして、電気機器104の制御ユニット40は、障害通知をコントローラ105から受信すると、第1モードから第2モードへ切り替える。電気機器104の制御ユニット40は、非障害通知をコントローラ105から受信すると、第1モードでの運転を続ける。   And control unit 40 of electric equipment 104 will change from the 1st mode to the 2nd mode, if a failure notice is received from controller 105. When receiving the non-failure notification from the controller 105, the control unit 40 of the electric device 104 continues to operate in the first mode.

非障害通知を受信した時点で既に第2モードで動作中であれば、電気機器104の制御ユニット40は、第2モードから第1モードへ切り替えてもよい。   If it is already operating in the second mode when the non-failure notification is received, the control unit 40 of the electric device 104 may switch from the second mode to the first mode.

あるいは、制御ユニット40は、第2モードから第1モードへ切り替えるか否かを端末装置140に問い合わせ、第2モードから第1モードへ切り替える旨の指示を端末装置140から受信した後に、第2モードから第1モードへ切り替えてもよい。   Alternatively, the control unit 40 inquires of the terminal device 140 whether or not to switch from the second mode to the first mode, and receives an instruction from the terminal device 140 to switch from the second mode to the first mode. May be switched to the first mode.

また、制御ユニット40は、第2モードから第1モードへ切り替えるか否かを、ユーザが所有する携帯電話機等、予め登録された端末に問い合わせ、第2モードから第1モードへ切り替える旨の指示をこの端末から受信した後に、第2モードから第1モードへ切り替えてもよい。   In addition, the control unit 40 inquires of a pre-registered terminal such as a mobile phone owned by the user whether or not to switch from the second mode to the first mode, and gives an instruction to switch from the second mode to the first mode. After receiving from this terminal, the second mode may be switched to the first mode.

制御ユニット40は、第2モードから第1モードに切り替える前に、第2モードから第1モードに切り替える旨の切替通知を、コントローラ105、及び/又は、ユーザが所有する携帯電話機等、予め登録された端末へ、送信する。   Prior to switching from the second mode to the first mode, the control unit 40 is registered in advance with a notification of switching from the second mode to the first mode, such as the controller 105 and / or a mobile phone owned by the user. To the other terminal.

もしくは、制御ユニット40は、第2モードから第1モードに切り替えた後に、第2モードから第1モードに切り替えた旨の切替通知を、コントローラ105、及び/又は、ユーザが所有する携帯電話機等、予め登録された端末へ、送信する。   Or, after switching from the second mode to the first mode, the control unit 40 notifies the controller 105 and / or a mobile phone owned by the user that the switching from the second mode to the first mode, etc. Send to a pre-registered terminal.

本実施形態によれば、コントローラ105は、サーバ130と端末装置140との間の通信に障害が発生すると、電気機器104を、自動的に、より安全を確保できる動作へと切り替えさせることができる。電力システム1は、通信障害の発生により電気機器104の遠隔操作に支障を来したり安全な運転に支障を来したりするおそれがあると判別すると、電気機器104を、自動的に、より安全を確保できる動作へと切り替えさせることができる。   According to the present embodiment, when a failure occurs in communication between the server 130 and the terminal device 140, the controller 105 can automatically switch the electrical device 104 to an operation that can ensure more safety. . When the power system 1 determines that there is a risk that the remote operation of the electric device 104 may be hindered or the safe operation may be hindered due to the occurrence of a communication failure, the electric device 104 is automatically and more safely Can be switched to an operation that can secure the above.

なお、コントローラ105の制御部305は、通信障害が発生したと判別すると、切替条件が満たされるか否かを判別することなく、通信障害が発生したことを示す障害通知を電気機器104へ送信し、この障害通知を受信した電気機器104は、直ちに、第1モードから第2モードへ切り替えてもよい。   If the control unit 305 of the controller 105 determines that a communication failure has occurred, the control unit 305 transmits a failure notification indicating that the communication failure has occurred to the electrical device 104 without determining whether the switching condition is satisfied. The electric device 104 that has received the failure notification may immediately switch from the first mode to the second mode.

本発明は、上述した実施形態に限定されず、種々の変形及び応用が可能である。また、上述した実施形態の各構成要素を自由に組み合わせることも可能である。   The present invention is not limited to the above-described embodiments, and various modifications and applications are possible. Moreover, it is also possible to freely combine the constituent elements of the above-described embodiments.

上記各実施形態では、コントローラ105とサーバ130との間の通信に障害が発生したケースと、電気機器104とコントローラ105との間の通信に障害が発生したケースと、サーバ130と端末装置140との間の通信に障害が発生したケースとを別々に説明した。しかし、通信障害は同時に複数箇所で発生する可能性がある。そこで、上記各実施形態を任意に組み合わせて実施することにより、通信障害が同時に複数箇所で発生した場合にも、より高い安全性を確保することができる。   In each of the above embodiments, a case where a failure occurs in communication between the controller 105 and the server 130, a case where a failure occurs in communication between the electrical device 104 and the controller 105, the server 130 and the terminal device 140, The case where a failure occurred in the communication between was explained separately. However, communication failures may occur at multiple locations at the same time. Therefore, by implementing the above embodiments in an arbitrary combination, higher safety can be ensured even when communication failures occur simultaneously at a plurality of locations.

サーバ130と端末装置140とコントローラ105は、上記実施形態に示すようにそれぞれ単体で動作可能なコンピュータであってもよいし、通信ネットワーク150を介したいわゆるクラウドコンピューティングにより実現されてもよい。   The server 130, the terminal device 140, and the controller 105 may each be a computer that can operate alone as shown in the above embodiment, or may be realized by so-called cloud computing via the communication network 150.

電気機器104が上記の受信部503と切替判別部504と送信部506を備える代わりに、電気機器104に外付けで追加された通信アダプタが受信部503と切替判別部504と送信部506を備えてもよい。電気機器104は、通信アダプタを介して、遠隔操作コマンドを受信したり、切替通知をコントローラ105へ送信したりしてもよい。   Instead of the electric device 104 having the reception unit 503, the switching determination unit 504, and the transmission unit 506, a communication adapter externally added to the electric device 104 includes the reception unit 503, the switching determination unit 504, and the transmission unit 506. May be. The electrical device 104 may receive a remote operation command or transmit a switching notification to the controller 105 via the communication adapter.

遠隔操作コマンドの具体的な内容は、本発明によって限定されない。例えば、空気調和機104Aであれば、遠隔操作コマンドには、目標温度の変更、動作モード(冷房、暖房、除湿、送風等)の変更、電源のオン・オフ、動作の予約等を指示するコマンドがある。   The specific content of the remote operation command is not limited by the present invention. For example, in the case of the air conditioner 104A, the remote operation command includes a command for instructing change of the target temperature, change of the operation mode (cooling, heating, dehumidification, ventilation, etc.), power on / off, operation reservation, etc. There is.

上記の電力システム1の全部又は一部としてコンピュータを動作させるためのプログラムを、メモリカード、CD−ROM(Compact Disc-Read Only Memory)、DVD(Digital Versatile Disk)、MO(Magneto Optical disk)等のコンピュータが読み取り可能な記録媒体に格納して配布し、これを別のコンピュータにインストールし、上述の手段として動作させ、あるいは、上述の工程を実行させてもよい。   Programs for operating a computer as all or a part of the power system 1 include a memory card, a CD-ROM (Compact Disc-Read Only Memory), a DVD (Digital Versatile Disk), an MO (Magneto Optical disk), etc. The information may be stored in a computer-readable recording medium and distributed, installed in another computer, operated as the above-described means, or the above-described steps may be executed.

さらに、インターネット上のサーバ装置が有するディスク装置等にプログラムを格納しておき、例えば、搬送波に重畳させて、コンピュータにダウンロード等するものとしてもよい。   Furthermore, the program may be stored in a disk device or the like included in a server device on the Internet, and may be downloaded onto a computer by being superimposed on a carrier wave, for example.

本発明は、本発明の広義の精神と範囲を逸脱することなく、様々な実施形態及び変形が可能とされるものである。また、上述した実施形態は、本発明を説明するためのものであり、本発明の範囲を限定するものではない。つまり、本発明の範囲は、実施形態ではなく、請求の範囲によって示される。そして、請求の範囲内及びそれと同等の発明の意義の範囲内で施される様々な変形が、本発明の範囲内とみなされる。   Various embodiments and modifications can be made to the present invention without departing from the broad spirit and scope of the present invention. Further, the above-described embodiment is for explaining the present invention, and does not limit the scope of the present invention. That is, the scope of the present invention is shown not by the embodiments but by the claims. Various modifications within the scope of the claims and within the scope of the equivalent invention are considered to be within the scope of the present invention.

以上説明したように、本発明によれば、より高い安全性を確保することができる。   As described above, according to the present invention, higher safety can be ensured.

1 電力システム、20 室外機、30 室内機、40 制御ユニット、50 冷却サイクル回路、101 発電システム、102 蓄電システム、103 自立切替盤、104 電気機器、105 コントローラ、110 宅内システム、120 宅外システム、130 サーバ、140 端末装置、150 通信ネットワーク、301 入力部、302 表示部、303 記憶部、304 通信部、305 制御部、401 無線通信部、402 音声処理部、403 表示部、404 外部I/F、405 入力部、406 記憶部、407 制御部、421 アンテナ、422 スピーカ、423 マイクロフォン、424 LCD、425 タッチパネル 501 通信状態判別部、502 送信部、503 受信部、504 切替判別部、505 動作部、506 送信部、507 受信部 DESCRIPTION OF SYMBOLS 1 Electric power system, 20 Outdoor unit, 30 Indoor unit, 40 Control unit, 50 Cooling cycle circuit, 101 Electric power generation system, 102 Power storage system, 103 Self-sustained switchboard, 104 Electric equipment, 105 Controller, 110 Home system, 120 Outside system, 130 server, 140 terminal device, 150 communication network, 301 input unit, 302 display unit, 303 storage unit, 304 communication unit, 305 control unit, 401 wireless communication unit, 402 voice processing unit, 403 display unit, 404 external I / F , 405 input unit, 406 storage unit, 407 control unit, 421 antenna, 422 speaker, 423 microphone, 424 LCD, 425 touch panel 501 communication state determination unit, 502 transmission unit, 503 reception unit, 504 switching determination unit, 505 operation unit, 506 Transmitter, 507 Receiver

上記課題を解決するため、この発明に係る電気機器は、
宅内に設置され、第1モード又は前記第1モードより機能が制限される第2モードで動作する電気機器であって、
ユーザが操作する端末装置からの遠隔操作の指示をコントローラを介して受信し、前記端末装置と前記コントローラとの間の通信経路上において障害が発生したことを示す障害通知と前記通信経路上において障害が発生していないことを示す非障害通知とのうちいずれか一方を前記コントローラから受信する受信部と、
前記受信した遠隔操作の指示に基づいて動作する動作部と、
前記障害通知又は前記非障害通知に基づいて、切替条件が満たされるか否かを判別する切替判別部と、
を備え、
前記動作部は、前記切替条件が満たされると判別されると、前記第1モードから前記第2モードへ切り替える。
In order to solve the above problems, an electrical device according to the present invention is
An electrical device that is installed in a home and operates in a first mode or a second mode in which the function is restricted from the first mode,
An indication of the remote control from the terminal device operated by a user received via the controller, in the terminal device and the failure notification and the upper communication path to indicate that a failure has occurred on the communication path between the controller A receiver that receives from the controller one of a non-failure notification indicating that no failure has occurred ;
An operation unit that operates based on the received remote operation instruction;
A switching determination unit that determines whether a switching condition is satisfied based on the failure notification or the non-failure notification ;
With
When it is determined that the switching condition is satisfied, the operation unit switches from the first mode to the second mode.

上記課題を解決するため、この発明に係る電気機器は、
宅内に設置され、第1モード又は前記第1モードより機能が制限される第2モードで動作する電気機器であって、
ユーザが操作する端末装置からの遠隔操作の指示をコントローラを介して受信し、前記端末装置と前記コントローラとの間の通信経路上において障害が発生したことを示す障害通知と前記通信経路上において障害が発生していないことを示す非障害通知とを前記コントローラから受信する受信部と、
前記受信した遠隔操作の指示に基づいて動作する動作部と、
前記障害通知又は前記非障害通知に基づいて、切替条件が満たされるか否かを判別する切替判別部と、
を備え、
前記動作部は、前記切替条件が満たされると判別されると、前記第1モードから前記第2モードへ切り替え
前記切替判別部は、前記切替条件が満たされるか否かを判別する時間間隔を、前記非障害通知を続けて受信した回数に基づいて変更する。
In order to solve the above problems, an electrical device according to the present invention is
Is installed in home, an electrical equipment operating in the second mode of functionality than the first mode or the first mode is restricted,
An indication of the remote control from the terminal device operated by a user received via the controller, a failure notification indicating that a fault has occurred on the communication path between the terminal device and the controller, on the communication path a receiver for receiving a non-fault notification from the controller indicating that a failure has not occurred,
An operation unit that operates based on the received remote operation instruction;
A switching determination unit that determines whether a switching condition is satisfied based on the failure notification or the non-failure notification;
With
When it is determined that the switching condition is satisfied, the operation unit switches from the first mode to the second mode ,
The switching determination unit changes a time interval for determining whether or not the switching condition is satisfied based on the number of times the non-failure notification is continuously received.

Claims (12)

宅内に設置され、第1モード又は前記第1モードより機能が制限される第2モードで動作する電気機器であって、
宅外からの遠隔操作の指示を、コントローラを介して受信する受信部と、
前記受信した遠隔操作の指示に基づいて動作する動作部と、
前記遠隔操作に用いられる通信経路上において通信障害が発生したか否かの判別結果に基づいて、切替条件が満たされるか否かを判別する切替判別部と、
を備え、
前記動作部は、前記切替条件が満たされると判別されると、前記第1モードから前記第2モードへ切り替える、
電気機器。
An electrical device that is installed in a home and operates in a first mode or a second mode in which the function is restricted from the first mode,
A receiving unit that receives a remote operation instruction from outside the home via a controller;
An operation unit that operates based on the received remote operation instruction;
A switching determination unit that determines whether or not a switching condition is satisfied based on a determination result of whether or not a communication failure has occurred on a communication path used for the remote operation;
With
When the operation unit determines that the switching condition is satisfied, the operation unit switches from the first mode to the second mode.
Electrical equipment.
前記受信部は、前記通信経路上において障害が発生したことを示す障害通知を前記コントローラから更に受信し、
前記切替判別部は、前記障害通知に基づいて、前記切替条件が満たされるか否かを判別する、
請求項1に記載の電気機器。
The receiving unit further receives a failure notification indicating that a failure has occurred on the communication path from the controller;
The switching determination unit determines whether or not the switching condition is satisfied based on the failure notification;
The electrical device according to claim 1.
前記切替判別部は、前記受信部が予め決められた期間内に前記障害通知を前記コントローラから受信すると、前記切替条件が満たされると判別する、
請求項2に記載の電気機器。
The switching determination unit determines that the switching condition is satisfied when the reception unit receives the failure notification from the controller within a predetermined period.
The electric device according to claim 2.
前記受信部は、前記通信経路上において障害が発生していないことを示す非障害通知を前記コントローラから更に受信し、
前記切替判別部は、前記受信部が前記障害通知を前記コントローラから受信してから、前記非障害通知を受信することなく、予め決められた時間以上が経過すると、前記切替条件が満たされると判別する、
請求項2に記載の電気機器。
The receiver further receives a non-failure notification from the controller indicating that no failure has occurred on the communication path;
The switching determination unit determines that the switching condition is satisfied when a predetermined time or more elapses without receiving the non-failure notification after the reception unit receives the failure notification from the controller. To
The electric device according to claim 2.
前記受信部は、前記通信経路上において障害が発生していないことを示す非障害通知を前記コントローラから更に受信し、
前記切替判別部は、前記受信部が前記非障害通知を受信することなく閾回数以上続けて前記障害通知を前記コントローラから受信すると、前記切替条件が満たされると判別する、
請求項2に記載の電気機器。
The receiver further receives a non-failure notification from the controller indicating that no failure has occurred on the communication path;
The switching determination unit determines that the switching condition is satisfied when the reception unit continuously receives the failure notification from the controller without exceeding the threshold number of times without receiving the non-failure notification.
The electric device according to claim 2.
前記受信部は、前記通信経路上において障害が発生していないことを示す非障害通知を前記コントローラから更に受信し、
前記切替判別部は、前記受信部が前記障害通知又は前記非障害通知を受信してから予め決められた時間以上が経過しても、前記障害通知と前記非障害通知のいずれも受信しないと、前記切替条件が満たされると判別する、
請求項2に記載の電気機器。
The receiver further receives a non-failure notification from the controller indicating that no failure has occurred on the communication path;
The switching determination unit is configured to receive neither the failure notification nor the non-failure notification even when a predetermined time or more has elapsed since the reception unit received the failure notification or the non-failure notification. Determining that the switching condition is satisfied;
The electric device according to claim 2.
前記動作部が前記第1モードから前記第2モードへ切り替えたこと、又は、前記動作部が前記第1モードから前記第2モードへ切り替えることを示す切替通知を前記コントローラへ送信する送信部を更に備える、
請求項1から6のいずれか1項に記載の電気機器。
A transmission unit that transmits to the controller a switching notification indicating that the operation unit has switched from the first mode to the second mode or that the operation unit has switched from the first mode to the second mode; Prepare
The electrical apparatus of any one of Claim 1 to 6.
宅外からの遠隔操作の指示を取得し、前記取得した遠隔操作の指示を宅内に設置される電気機器へ送信する送信部と、
遠隔操作に用いられる通信経路上において通信障害が発生したか否かを判別する通信状態判別部と、
前記通信状態判別部による判別結果に基づいて、前記電気機器の動作モードを第1モードから前記第1モードよりも機能が制限される第2モードへ切り替える切替条件が満たされるか否かを判別する切替判別部と、
を備え、
前記送信部は、前記切替条件が満たされると判別されると、前記切替条件が満たされたことを示す障害通知を前記電気機器へ送信する、
コントローラ。
A transmission unit for acquiring an instruction for remote operation from outside the house, and transmitting the acquired remote operation instruction to an electrical device installed in the house;
A communication state determination unit for determining whether or not a communication failure has occurred on a communication path used for remote operation;
Based on a determination result by the communication state determination unit, it is determined whether or not a switching condition for switching the operation mode of the electric device from the first mode to the second mode in which the function is more limited than the first mode is satisfied. A switching discriminator;
With
When it is determined that the switching condition is satisfied, the transmission unit transmits a failure notification indicating that the switching condition is satisfied to the electric device.
controller.
前記送信部は、前記切替条件が満たされないと判別されると、前記切替条件が満たされないことを示す非障害通知を前記電気機器へ送信する、
請求項8に記載のコントローラ。
When it is determined that the switching condition is not satisfied, the transmission unit transmits a non-failure notification indicating that the switching condition is not satisfied to the electrical device.
The controller according to claim 8.
宅内に設置されたコントローラと、宅内に設置され宅外から前記コントローラを介して遠隔操作される電気機器と、を備え、
前記コントローラは、前記遠隔操作に用いられる通信経路上において通信障害が発生したか否かを判別し、通信障害が発生したと判別した場合に、通信障害が発生したことを前記電気機器に通知し、
前記電気機器は、前記コントローラから通信障害が発生したことの通知を受けると、第1モードから前記第1モードよりも機能が制限される第2モードへ動作を切り替える、
管理システム。
A controller installed in the house, and an electric device installed in the house and remotely operated from outside the house via the controller,
The controller determines whether or not a communication failure has occurred on the communication path used for the remote operation, and when determining that a communication failure has occurred, notifies the electronic device that the communication failure has occurred. ,
When the electrical device receives a notification that a communication failure has occurred from the controller, the electrical device switches the operation from the first mode to the second mode in which the function is limited compared to the first mode.
Management system.
宅内に設置され、第1モード又は前記第1モードより機能が制限される第2モードで動作する電気機器にて実行される制御方法であって、
宅外からの遠隔操作の指示を、コントローラを介して受信する受信ステップと、
前記受信した遠隔操作の指示に基づいて動作する動作ステップと、
前記遠隔操作に用いられる通信経路上において通信障害が発生したか否かの判別結果に基づいて、切替条件が満たされるか否かを判別する切替判別ステップと、
を備え、
前記動作ステップでは、前記切替条件が満たされると判別されると、前記第1モードから前記第2モードへ切り替える、
電気機器の制御方法。
A control method that is installed in a home and that is executed in an electrical device that operates in a first mode or a second mode in which the function is restricted from the first mode,
A receiving step of receiving an instruction for remote operation from outside the home via the controller;
An operation step that operates based on the received remote operation instruction;
A switching determination step of determining whether or not a switching condition is satisfied based on a determination result of whether or not a communication failure has occurred on a communication path used for the remote operation;
With
In the operation step, when it is determined that the switching condition is satisfied, switching from the first mode to the second mode is performed.
Control method of electrical equipment.
宅内に設置され、第1モード又は前記第1モードより機能が制限される第2モードで動作するコンピュータを、
宅外からの遠隔操作の指示を、コントローラを介して受信する受信部、
前記受信した遠隔操作の指示に基づいて動作する動作部、
前記遠隔操作に用いられる通信経路上において通信障害が発生したか否かの判別結果に基づいて、切替条件が満たされるか否かを判別する切替判別部、
として機能させ、
前記動作部は、前記切替条件が満たされると判別されると、前記第1モードから前記第2モードへ切り替える、
プログラム。
A computer that is installed in a home and operates in the first mode or the second mode in which the function is restricted from the first mode,
A receiving unit that receives a remote operation instruction from outside the home via a controller;
An operation unit that operates based on the received remote operation instruction;
A switching determination unit that determines whether or not a switching condition is satisfied based on a determination result of whether or not a communication failure has occurred on a communication path used for the remote operation;
Function as
When the operation unit determines that the switching condition is satisfied, the operation unit switches from the first mode to the second mode.
program.
JP2016537684A 2014-07-31 2014-07-31 ELECTRIC DEVICE, CONTROLLER, MANAGEMENT SYSTEM, ELECTRIC DEVICE CONTROL METHOD, AND PROGRAM Active JP6115927B2 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2014/070236 WO2016017005A1 (en) 2014-07-31 2014-07-31 Electric appliance, controller, management system, control method for electric appliance, and program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2016121257A Division JP6224775B2 (en) 2016-06-17 2016-06-17 ELECTRIC DEVICE, MANAGEMENT SYSTEM, ELECTRIC DEVICE CONTROL METHOD, AND PROGRAM

Publications (2)

Publication Number Publication Date
JP6115927B2 JP6115927B2 (en) 2017-04-19
JPWO2016017005A1 true JPWO2016017005A1 (en) 2017-04-27

Family

ID=55216943

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016537684A Active JP6115927B2 (en) 2014-07-31 2014-07-31 ELECTRIC DEVICE, CONTROLLER, MANAGEMENT SYSTEM, ELECTRIC DEVICE CONTROL METHOD, AND PROGRAM

Country Status (2)

Country Link
JP (1) JP6115927B2 (en)
WO (1) WO2016017005A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110140991B (en) * 2019-05-05 2022-12-23 贵州中烟工业有限责任公司 System for be used for slicer dual mode control
JPWO2023157267A1 (en) * 2022-02-21 2023-08-24

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08299580A (en) * 1995-05-10 1996-11-19 Pfu Ltd Terminal equipment for gift exchange job, terminal equipment and data processing system
JP2006129231A (en) * 2004-10-29 2006-05-18 Nec Corp Portable communication terminal and automatic manner mode setting/releasing system and method thereof
US20090138753A1 (en) * 2007-11-22 2009-05-28 Takashi Tameshige Server switching method and server system equipped therewith
JP2011066493A (en) * 2009-09-15 2011-03-31 Tokyo Metropolitan Government Remote control system
US20130114410A1 (en) * 2011-11-09 2013-05-09 Buffalo Inc. Network Relay Device, Control Method for Network Relay Device, and Recording Medium on which Program for Controlling Network Relay Device Is Recorded

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0198086A (en) * 1987-10-09 1989-04-17 Nec Corp Trouble countermeasure system in measuring data collecting system
JPH03225407A (en) * 1990-01-31 1991-10-04 Hitachi Ltd Automatic power source remote control system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08299580A (en) * 1995-05-10 1996-11-19 Pfu Ltd Terminal equipment for gift exchange job, terminal equipment and data processing system
JP2006129231A (en) * 2004-10-29 2006-05-18 Nec Corp Portable communication terminal and automatic manner mode setting/releasing system and method thereof
US20090138753A1 (en) * 2007-11-22 2009-05-28 Takashi Tameshige Server switching method and server system equipped therewith
JP2009129148A (en) * 2007-11-22 2009-06-11 Hitachi Ltd Server switching method and server system
JP2011066493A (en) * 2009-09-15 2011-03-31 Tokyo Metropolitan Government Remote control system
US20130114410A1 (en) * 2011-11-09 2013-05-09 Buffalo Inc. Network Relay Device, Control Method for Network Relay Device, and Recording Medium on which Program for Controlling Network Relay Device Is Recorded
CN103107949A (en) * 2011-11-09 2013-05-15 巴比禄股份有限公司 Network relay device, control method for network relay device
JP2013102392A (en) * 2011-11-09 2013-05-23 Buffalo Inc Repeating device, and method and program for controlling repeating device

Also Published As

Publication number Publication date
WO2016017005A1 (en) 2016-02-04
JP6115927B2 (en) 2017-04-19

Similar Documents

Publication Publication Date Title
TWI536324B (en) Method for power management and security system management device
JP5274491B2 (en) Short circuit isolator
CN102032650B (en) Air conditioner monitoring system
JP6533263B2 (en) Electrical device, management system, control method of electrical device, and program
JP5988452B2 (en) Terminal device, control device, failure determination system, and failure determination method
KR102032406B1 (en) System and Method for Disaster Alarm and Monitoring
WO2018154652A1 (en) Remote control device, air conditioner, and air conditioning system
JP6324422B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND PROGRAM
JP6115927B2 (en) ELECTRIC DEVICE, CONTROLLER, MANAGEMENT SYSTEM, ELECTRIC DEVICE CONTROL METHOD, AND PROGRAM
CN104515251B (en) A kind of air-conditioner outdoor unit anti-theft control system and method
JP2008057868A (en) Air conditioner
JP2020143868A (en) Control device, air conditioner, control method and program
JP2014137161A (en) Air conditioner
JP2019169969A (en) Electric apparatus, management system, control method of electric apparatus, and program
KR102493150B1 (en) Air-conditioner and the controlling method for the same
KR102131805B1 (en) Method for restoring communication failure of air conditioning system, air conditioning controller and air conditioning system using the same
JP2013037600A (en) Building facility control system
JP2006302054A (en) Monitoring device
JP2017011542A (en) Control system, control method and program
JPWO2019239830A1 (en) Air conditioning system
ES2675889T3 (en) Security system with segregated operating software
JP7271236B2 (en) Control device, air conditioner, control method and program
JPWO2018207237A1 (en) Air conditioner and air conditioning system
JP2012016249A (en) Energization control system
EP3889789A1 (en) Control system, apparatus management system, control method, and program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161130

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: 20170214

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170314

R150 Certificate of patent or registration of utility model

Ref document number: 6115927

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250