JP6022977B2 - Energy management device, energy management method, and energy management system - Google Patents

Energy management device, energy management method, and energy management system Download PDF

Info

Publication number
JP6022977B2
JP6022977B2 JP2013058931A JP2013058931A JP6022977B2 JP 6022977 B2 JP6022977 B2 JP 6022977B2 JP 2013058931 A JP2013058931 A JP 2013058931A JP 2013058931 A JP2013058931 A JP 2013058931A JP 6022977 B2 JP6022977 B2 JP 6022977B2
Authority
JP
Japan
Prior art keywords
data
server
storage unit
time
transmitted
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2013058931A
Other languages
Japanese (ja)
Other versions
JP2014186370A (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.)
Kyocera Corp
Original Assignee
Kyocera 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 Kyocera Corp filed Critical Kyocera Corp
Priority to JP2013058931A priority Critical patent/JP6022977B2/en
Publication of JP2014186370A publication Critical patent/JP2014186370A/en
Application granted granted Critical
Publication of JP6022977B2 publication Critical patent/JP6022977B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)
  • Selective Calling Equipment (AREA)

Description

本発明は、エネルギー管理装置、エネルギー管理方法、およびエネルギー管理システムに関するものである。より詳細には、本発明は、収集した消費電力などのデータをサーバに送信するエネルギー管理装置、エネルギー管理方法、およびエネルギー管理システムに関するものである。   The present invention relates to an energy management device, an energy management method, and an energy management system. More specifically, the present invention relates to an energy management device, an energy management method, and an energy management system that transmit collected data such as power consumption to a server.

近年の省エネルギーに対する意識の高まりを受けて、一般家庭などにおいてもHEMS(Home Energy Management System)のような電力管理装置を設置して、家庭などにおける消費電力の状況を収集することにより把握しようとするニーズが高まっている。   In response to growing awareness of energy conservation in recent years, power management devices such as HEMS (Home Energy Management System) have also been installed in general households, etc., and efforts are being made to collect information on the status of power consumption at homes. Needs are growing.

HEMSのような電力管理装置は、収集した各種のデータをサーバに送信することができる。このようにして、ユーザは、サーバにアクセスすることで、例えば外出先のような、電力管理装置から離れた場所にいても、電力管理装置が管理している電力などのデータにアクセスできる。   A power management apparatus such as HEMS can transmit various collected data to a server. Thus, by accessing the server, the user can access data such as power managed by the power management apparatus even at a place away from the power management apparatus, such as a place where the user is away.

特開2003−279122号公報JP 2003-279122 A

そこで、例えば特許文献1においては、電力のデータを時間情報に関連付けてサーバに送信することが提案されている。   Therefore, for example, Patent Document 1 proposes that power data is transmitted to a server in association with time information.

しかしながら、例えばサーバメンテナンス等により電力管理装置からサーバへデータを送信できない時もある。このような場合、例えば、電力管理装置におけるデータに基づいて生成するグラフと、サーバが取得したデータに基づいて生成するグラフとが同じにならないというような不都合が生じる。   However, there are times when data cannot be transmitted from the power management apparatus to the server due to server maintenance, for example. In such a case, for example, there is a disadvantage that the graph generated based on the data in the power management apparatus and the graph generated based on the data acquired by the server are not the same.

本発明の目的は、サーバにデータが送信できない時があっても、サーバとの間でデータを極力一致させることができるエネルギー管理装置、エネルギー管理方法、およびエネルギー管理システムを提供することにある。   An object of the present invention is to provide an energy management device, an energy management method, and an energy management system that can match data with a server as much as possible even when data cannot be transmitted to the server.

上記目的を達成する第1の観点に係る発明は、
サーバにエネルギーの物理量変化に関するデータを送信するエネルギー管理装置であって、
物理量の経時変化を第1の時間(1分)単位で計測した第1データ(分データ)、および、当該第1データ(分データ)を第2の時間(例えば1時間)単位で積算した第2データ(例えば時データ)を、一時的に記憶する記憶部(例えばRAM)と、
所定時間(例えば10分)経過時に、当該所定時間ぶんの第1データおよび最新の第2データを前記記憶部から読み出して前記サーバに送信し、当該送信が成功した場合、送信済みのデータを前記記憶部から消去するように制御する制御部と、を備え、
前記制御部は、前記送信が失敗した場合、次の所定時間(10分)経過時に、当該次の所定時間ぶんの第1データおよび最新の第2データを前記記憶部から読み出して前記サーバに送信し、第2の時間単位の積算が完了した第2データがある時は、未送信の前記所定時間ぶんの第1データとともに当該積算が完了した第2データも前記記憶部から読み出して送信するように制御することを特徴とするものである。
The invention according to the first aspect to achieve the above object is
An energy management device that transmits data on changes in physical quantities of energy to a server,
First data (minute data) obtained by measuring a change in physical quantity over time in a first time (1 minute) unit, and a first data obtained by integrating the first data (minute data) in a second time (for example, 1 hour) unit. A storage unit (for example, RAM) that temporarily stores two data (for example, time data);
When a predetermined time (for example, 10 minutes) elapses, the first data and the latest second data corresponding to the predetermined time are read from the storage unit and transmitted to the server. A control unit that controls to erase from the storage unit,
When the transmission fails, the control unit reads the first data and the latest second data for the next predetermined time from the storage unit and transmits them to the server when the next predetermined time (10 minutes) has elapsed. When there is second data that has been integrated in the second time unit, the second data that has been integrated is read from the storage unit and transmitted together with the first data that has not been transmitted for the predetermined time. It is characterized by controlling to.

また、前記制御部は、前記記憶部において、前記第2データが前記第1データよりも先に消去されないように制御してもよい。   The control unit may control the storage unit so that the second data is not erased before the first data.

また、前記記憶部よりも記憶容量の大きい半導体メモリ(例えばSD)をさらに備え、
前記制御部は、前記記憶部に一時的に記憶した第1データおよび第2データを前記半導体メモリにさらに記憶し、当該一時的に記憶した第1データおよび第2データを前記サーバに送信する際には、当該半導体メモリからは読み出さないように制御してもよい。
In addition, a semiconductor memory (for example, SD) having a larger storage capacity than the storage unit is further provided,
The control unit further stores the first data and the second data temporarily stored in the storage unit in the semiconductor memory, and transmits the temporarily stored first data and second data to the server. However, it may be controlled not to read from the semiconductor memory.

また、上記目的を達成する第2の観点に係る発明は、
サーバにエネルギーの物理量変化に関するデータを送信するエネルギー管理装置におけるエネルギー管理方法であって、
物理量の経時変化を第1の時間(1分)単位で計測した第1データ(分データ)、および、当該第1データ(分データ)を第2の時間(例えば1時間)単位で積算した第2データ(例えば時データ)を、一時的に記憶部に記憶する記憶ステップと、
所定時間(例えば10分)経過時に、当該所定時間ぶんの第1データおよび最新の第2データを前記記憶部から読み出して前記サーバに送信し、当該送信が成功した場合、送信済みのデータを前記記憶部から消去するように制御する制御ステップと、を有し、
前記制御ステップにおいて、前記送信が失敗した場合、次の所定時間(10分)経過時に、当該次の所定時間ぶんの第1データおよび最新の第2データを前記記憶部から読み出して前記サーバに送信し、第2の時間単位の積算が完了した第2データがある時は、未送信の前記所定時間ぶんの第1データとともに当該積算が完了した第2データも前記記憶部から読み出して送信するように制御することを特徴とするものである。
The invention according to the second aspect for achieving the above object is as follows:
An energy management method in an energy management device for transmitting data on a physical quantity change of energy to a server,
First data (minute data) obtained by measuring a change in physical quantity over time in a first time (1 minute) unit, and a first data obtained by integrating the first data (minute data) in a second time (for example, 1 hour) unit. A storage step of temporarily storing two data (for example, time data) in the storage unit;
When a predetermined time (for example, 10 minutes) elapses, the first data and the latest second data corresponding to the predetermined time are read from the storage unit and transmitted to the server. A control step for controlling to erase from the storage unit,
In the control step, when the transmission fails, when the next predetermined time (10 minutes) elapses, the first data and the latest second data for the next predetermined time are read from the storage unit and transmitted to the server. When there is second data that has been integrated in the second time unit, the second data that has been integrated is read from the storage unit and transmitted together with the first data that has not been transmitted for the predetermined time. It is characterized by controlling to.

さらに、上記目的を達成する第3の観点に係る発明は、
サーバと、当該サーバにエネルギーの物理量変化に関するデータを送信するエネルギー管理装置と、を有するエネルギー管理システムであって、
前記エネルギー管理装置は、
物理量の経時変化を第1の時間(1分)単位で計測した第1データ(分データ)、および、当該第1データ(分データ)を第2の時間(例えば1時間)単位で積算した第2データ(例えば時データ)を、一時的に記憶する記憶部と、
所定時間(例えば10分)経過時に、当該所定時間ぶんの第1データおよび最新の第2データを前記記憶部から読み出して前記サーバに送信し、当該送信が成功した場合、送信済みのデータを前記記憶部から消去するように制御する制御部と、を備え、
前記サーバは、前記エネルギー管理装置からのデータを受信すると、受信完了の応答を返し、
前記制御部は、前記送信に対する受信完了の応答を受信しなかった場合、次の所定時間(10分)経過時に、当該次の所定時間ぶんの第1データおよび最新の第2データを前記記憶部から読み出して前記サーバに送信し、第2の時間単位の積算が完了した第2データがある時は、未送信の前記所定時間ぶんの第1データとともに当該積算が完了した第2データも前記記憶部から読み出して送信するように制御することを特徴とするものである。
Furthermore, the invention according to the third aspect for achieving the above object is as follows:
An energy management system comprising: a server; and an energy management device that transmits data related to a physical quantity change of energy to the server,
The energy management device includes:
First data (minute data) obtained by measuring a change in physical quantity over time in a first time (1 minute) unit, and a first data obtained by integrating the first data (minute data) in a second time (for example, 1 hour) unit. A storage unit for temporarily storing two data (eg, time data);
When a predetermined time (for example, 10 minutes) elapses, the first data and the latest second data corresponding to the predetermined time are read from the storage unit and transmitted to the server. A control unit that controls to erase from the storage unit,
When the server receives data from the energy management device, it returns a response indicating completion of reception,
If the control unit does not receive a reception completion response to the transmission, when the next predetermined time (10 minutes) has elapsed, the control unit stores the first data and the latest second data for the next predetermined time. When there is second data that has been accumulated in the second time unit and read out from the server, the second data that has been accumulated together with the untransmitted first data for the predetermined time is also stored in the memory. It is characterized in that it is controlled so as to be read from the unit and transmitted.

本発明に係るエネルギー管理装置、エネルギー管理方法、およびエネルギー管理システムによれば、サーバにデータが送信できない時があっても、サーバとの間でデータを極力一致させることができる。   According to the energy management device, the energy management method, and the energy management system according to the present invention, even when data cannot be transmitted to the server, the data can be matched with the server as much as possible.

本発明の実施形態に係る電力管理システムを概略的に示す機能ブロック図である。1 is a functional block diagram schematically showing a power management system according to an embodiment of the present invention. 本発明の実施形態に係る電力管理装置の内部を概略的に示す機能ブロック図である。It is a functional block diagram which shows roughly the inside of the power management apparatus which concerns on embodiment of this invention. 本発明の実施形態に係る電力管理装置がサーバにデータを送信する例を説明する図である。It is a figure explaining the example in which the power management apparatus which concerns on embodiment of this invention transmits data to a server. 本発明の実施形態に係る電力管理装置がサーバにデータを送信する他の例を説明する図である。It is a figure explaining the other example in which the power management apparatus which concerns on embodiment of this invention transmits data to a server. 本発明の実施形態に係る電力管理装置によるデータの出力処理を説明するフローチャートである。It is a flowchart explaining the output process of the data by the power management apparatus which concerns on embodiment of this invention.

以下、本発明の実施形態について、図面を参照して説明する。以下説明する実施形態においては、本発明に係るエネルギー管理装置の一例として、電力に関する情報を管理することができる電力管理装置について説明する。また、本発明に係るエネルギー管理システムの一例として、そのような電力管理装置を含む電力管理システムについて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the embodiments described below, a power management apparatus capable of managing information related to power will be described as an example of an energy management apparatus according to the present invention. Moreover, the power management system containing such a power management apparatus is demonstrated as an example of the energy management system which concerns on this invention.

図1は、本発明の実施形態に係る電力管理システムを概略的に示す機能ブロック図である。   FIG. 1 is a functional block diagram schematically showing a power management system according to an embodiment of the present invention.

図1に示すように、本実施形態に係る電力管理システム1は、電力管理装置10を含んで構成される。この電力管理装置10には、系統電源20、太陽光発電部30、燃料電池発電部40、蓄電部50、CTセンサ60、スマートタップ70、水道メータ80、およびガスメータ90が接続される。   As shown in FIG. 1, the power management system 1 according to this embodiment includes a power management device 10. The power management apparatus 10 is connected to a system power source 20, a solar power generation unit 30, a fuel cell power generation unit 40, a power storage unit 50, a CT sensor 60, a smart tap 70, a water meter 80, and a gas meter 90.

本実施形態において、電力管理装置10は、電力管理システム1における電力のやり取りに係る各種情報を収集する。具体的には、電力管理装置10は、系統電源20から買電する電力、および系統電源20に売電する電力の情報を収集する。また、電力管理装置10は、太陽光発電部30および燃料電池発電部40が発電する電力の情報を収集する。また、電力管理装置10は、蓄電部50が備える二次電池に充電および放電する電力の情報を収集する。さらに、電力管理装置10は、CTセンサ60およびスマートタップ70が検出する、各負荷機器の消費電力の情報を収集する。   In the present embodiment, the power management apparatus 10 collects various types of information related to the exchange of power in the power management system 1. Specifically, the power management apparatus 10 collects information on the power purchased from the system power supply 20 and the power sold to the system power supply 20. In addition, the power management apparatus 10 collects information on the power generated by the solar power generation unit 30 and the fuel cell power generation unit 40. In addition, the power management apparatus 10 collects information on the power to charge and discharge the secondary battery included in the power storage unit 50. Furthermore, the power management apparatus 10 collects information on the power consumption of each load device detected by the CT sensor 60 and the smart tap 70.

電力管理装置10が収集する情報は、電力の情報のみに限定されるものでなはく、例えば水道メータ80が検出する上水道の給水量、および、ガスメータ90が検出するガスの供給量などの情報も収集することができる。電力管理装置10の機能および電力管理装置10が行う処理については、後述する。   The information collected by the power management apparatus 10 is not limited to power information only. For example, information such as the amount of water supplied by the water meter 80 and the amount of gas supplied by the gas meter 90 is detected. Can also be collected. The functions of the power management apparatus 10 and the processing performed by the power management apparatus 10 will be described later.

太陽光発電部30は、太陽光を利用して発電することができる。このため、太陽光発電部30は、太陽電池を備えており、太陽光のエネルギーを直接的に電力に変換する。本実施形態において、太陽光発電部30は、例えば家の屋根などにソーラパネルを設置して、太陽光を利用して発電するような態様を想定している。しかしながら、本発明において、太陽光発電部30は、太陽光のエネルギーを電力に変換できるものであれば、任意のものを採用することができる。   The solar power generation unit 30 can generate power using sunlight. For this reason, the solar power generation unit 30 includes a solar battery, and directly converts solar energy into electric power. In this embodiment, the solar power generation unit 30 assumes a mode in which, for example, a solar panel is installed on the roof of a house and power is generated using sunlight. However, in this invention, the solar power generation part 30 can employ | adopt arbitrary things, if the energy of sunlight can be converted into electric power.

図1に示すように、太陽光発電部30は、系統電源20(商用電源)に電力を供給することができる。すなわち、太陽光発電部30は、系統連系されるようにする。このようにして、太陽光発電部30が発電した電力は、系統電源20に売電することができる。   As shown in FIG. 1, the solar power generation unit 30 can supply power to the system power supply 20 (commercial power supply). That is, the solar power generation unit 30 is grid-connected. In this way, the power generated by the solar power generation unit 30 can be sold to the system power supply 20.

燃料電池発電部40は、外部から供給された水素および酸素などのガスを電気化学反応させる燃料電池によって発電を行い、発電した電力を供給することができる。本実施形態において、燃料電池発電部40は、燃料電池が起動した後は、電力系統からの電力を受けずに稼動する、すなわち自立運転することが可能であるものであってもよい。本実施形態において、燃料電池発電部40は、自立運転することができるように、改質部など他の機能部も必要に応じて含むものとする。   The fuel cell power generation unit 40 can generate electric power using a fuel cell that electrochemically reacts gases such as hydrogen and oxygen supplied from the outside, and can supply the generated electric power. In the present embodiment, after the fuel cell is started, the fuel cell power generation unit 40 may operate without receiving power from the power system, that is, be capable of autonomous operation. In the present embodiment, the fuel cell power generation unit 40 includes other functional units such as a reforming unit as necessary so that the fuel cell power generation unit 40 can operate independently.

燃料電池発電部40が発電した電力は、電力管理システム1が電力を供給する各種の負荷機器に供給することができる。ここで、各種の負荷機器は、電力管理システム1から電力を供給される、ユーザが使用する家電機器などの機器の総称とする。   The electric power generated by the fuel cell power generation unit 40 can be supplied to various load devices that the electric power management system 1 supplies electric power. Here, the various types of load devices are generic names of devices such as home appliances used by the user to which power is supplied from the power management system 1.

蓄電部50は、蓄電池を備えており、この蓄電池に充電された電力を放電することにより、電力を供給することができる。また、蓄電部50は、系統電源20または燃料電池発電部40等から供給される電力を充電することもできる。また、蓄電部50から放電される電力も、電力管理システム1が電力を供給する各種の負荷機器に供給することができる。なお、太陽光発電部30および燃料電池発電部40が発電する電力、ならびに蓄電部50が放電する電力では、電力管理システム1が各種の負荷機器に供給する電力として不足する場合には、不足ぶんを系統電源20から買電することができる。   The power storage unit 50 includes a storage battery, and can supply power by discharging the power charged in the storage battery. The power storage unit 50 can also charge power supplied from the system power supply 20 or the fuel cell power generation unit 40 or the like. Moreover, the electric power discharged from the electrical storage part 50 can also be supplied to the various load apparatuses which the electric power management system 1 supplies electric power. Note that the power generated by the solar power generation unit 30 and the fuel cell power generation unit 40 and the power discharged by the power storage unit 50 are insufficient when the power management system 1 is insufficient as power to be supplied to various load devices. Can be purchased from the system power supply 20.

CT(Current Transformer)センサ60は、電流センサの一種であり、本実施形態において、分電盤において分岐された電力の供給経路に対して、それぞれ必要に応じてCTセンサを複数設置することができる。これにより、電力管理装置10は、分電盤において分岐された電力の情報を、当該分岐された電力ごとに取得することができる。図1においては、例として、1つのCTセンサしか示していないが、分電盤において分岐された電力の供給経路の数等に応じて、任意の数のCTセンサを設置することができる。   A CT (Current Transformer) sensor 60 is a type of current sensor. In the present embodiment, a plurality of CT sensors can be installed on the power supply path branched in the distribution board as necessary. . Thereby, the power management apparatus 10 can acquire the information on the power branched in the distribution board for each branched power. Although only one CT sensor is shown in FIG. 1 as an example, any number of CT sensors can be installed according to the number of power supply paths branched in the distribution board.

スマートタップ70は、各負荷機器のプラグ(コンセントの差し込みプラグ)と、電力が供給されるソケット(コンセントのプラグ受け(レセプタクル))との間に取り付けられて、当該負荷機器の電力を検出することができる。スマートタップ70は、負荷機器のプラグと電力供給のソケットとを中継するように取り付けられることにより、その位置の電圧および電流を検出し、その検出結果から消費電力を算出して、その算出結果を電力管理装置10に送信する。ここで、スマートタップ70が無線通信により電力情報を電力管理装置10に送信する場合、スマートタップ中継器を介するようにしてもよい。スマートタップ70は、負荷機器のプラグとソケットとの間の電気的接続をするACアダプタ部、AC100V系の電力測定部を備えている。また、スマートタップ70は、測定結果等の通信を行うための無線部およびアンテナ、ならびに、これらスマートタップ内部の回路を駆動するためのDC電源を生成するAC/DC変換部も備えている。   The smart tap 70 is attached between a plug (plug of an outlet) of each load device and a socket (plug receptacle (receptacle) of the outlet) to which electric power is supplied, and detects the electric power of the load device. Can do. The smart tap 70 is attached so as to relay the plug of the load device and the power supply socket, thereby detecting the voltage and current at that position, calculating the power consumption from the detection result, and calculating the calculation result. It transmits to the power management apparatus 10. Here, when the smart tap 70 transmits power information to the power management apparatus 10 by wireless communication, a smart tap relay may be used. The smart tap 70 includes an AC adapter unit that performs electrical connection between a plug of a load device and a socket, and an AC100V power measurement unit. The smart tap 70 also includes a wireless unit and an antenna for performing communication of measurement results and the like, and an AC / DC conversion unit that generates a DC power source for driving a circuit inside the smart tap.

水道メータ80は、上水道から家庭内に供給される給水量などを検出する検出器である。水道メータ80は、単位時間の給水量などを検出し、当該検出結果を電力管理装置10に通知することができる。   The water meter 80 is a detector that detects the amount of water supplied from the water supply to the home. The water meter 80 can detect the amount of water supplied per unit time and notify the power management apparatus 10 of the detection result.

ガスメータ90は、例えば家庭内に供給される都市ガスの供給量などを検出する検出器である。ガスメータ90は、単位時間のガス供給量などを検出し、当該検出結果を電力管理装置10に通知することができる。   The gas meter 90 is a detector that detects, for example, the supply amount of city gas supplied to the home. The gas meter 90 can detect a gas supply amount per unit time and notify the power management apparatus 10 of the detection result.

図1に示した各機能部は、電力管理システム1において典型的な機能部を例示したものであり、本発明による電力管理システムにおける機能部は、図1に示したものに限定されない。本発明による電力管理システムにおいて、電力管理装置10は、各種の電力に係る制御を行い、消費電力、ガス、および水道などの各種情報を収集することができる。   Each functional unit illustrated in FIG. 1 is an example of a typical functional unit in the power management system 1, and the functional unit in the power management system according to the present invention is not limited to that illustrated in FIG. In the power management system according to the present invention, the power management apparatus 10 can control various types of power and collect various types of information such as power consumption, gas, and water.

また、電力管理システム1の電力管理装置10は、WLAN(無線LAN)ルータ200と通信を行うことができる。また、このWLANルータ200は、例えばPC210、タブレット型PC、およびスマートフォン230などの各種端末からのアクセスを受け付けることができる。したがって、PC210、タブレット型PC、およびスマートフォン230などの各種端末は、電力管理装置10と無線通信を行うことができる。ここで、WLANルータ200は、例えば家庭内LANを構築するアクセスポイントとすることができる。この場合、例えば電力管理装置10が設置された家屋内に存在するPC210、タブレット型PC、およびスマートフォン230などの各種端末は、WLANルータ200を介して、電力管理装置10と無線通信することができる。以下の説明においては、PC210、タブレット型PC、およびスマートフォン230などの端末は、主として電力管理システム1が設置された家屋内にて用いるものとして説明する。すなわち、ユーザは、PC210、タブレット型PC、およびスマートフォン230などの端末を用いることにより、電力管理装置10が取得した消費電力などの各種の情報にアクセスすることができる。   The power management apparatus 10 of the power management system 1 can communicate with a WLAN (wireless LAN) router 200. Further, the WLAN router 200 can accept access from various terminals such as a PC 210, a tablet PC, and a smartphone 230, for example. Therefore, various terminals such as the PC 210, the tablet PC, and the smartphone 230 can perform wireless communication with the power management apparatus 10. Here, the WLAN router 200 can be an access point for constructing a home LAN, for example. In this case, for example, various terminals such as the PC 210, the tablet PC, and the smartphone 230 existing in the house where the power management apparatus 10 is installed can wirelessly communicate with the power management apparatus 10 via the WLAN router 200. . In the following description, terminals such as the PC 210, the tablet PC, and the smartphone 230 are described as being mainly used in a house where the power management system 1 is installed. That is, the user can access various types of information such as power consumption acquired by the power management apparatus 10 by using terminals such as the PC 210, the tablet PC, and the smartphone 230.

さらに、WLANルータ200は、インターネットを経て、データサーバ300と無線通信することができる。データサーバ300は、電力管理装置10が収集した消費電力などの情報を受信して、記憶することができる。以下、本明細書において、データサーバ300は単に「サーバ300」と略記する。   Further, the WLAN router 200 can wirelessly communicate with the data server 300 via the Internet. The data server 300 can receive and store information such as power consumption collected by the power management apparatus 10. Hereinafter, in this specification, the data server 300 is simply abbreviated as “server 300”.

スマートフォン310などの端末は、インターネットを介して、サーバ300と通信することができる。この通信により、スマートフォン310などの端末は、電力管理装置10が収集した消費電力などの情報であってサーバ300に記憶された情報にアクセスすることができる。このため、スマートフォン310などの端末は、例えば外出先のような電力管理装置10から離れた場所にいても、電力管理装置10が管理している電力などのデータにアクセスできる。すなわち、スマートフォン310などの端末は、WLANルータ200による家庭内LANに接続できず、電力管理装置10と直接通信を行うことができなくても、サーバ300に記憶されたデータであれば、アクセスすることができる。   A terminal such as the smartphone 310 can communicate with the server 300 via the Internet. Through this communication, a terminal such as the smartphone 310 can access information stored in the server 300 that is information such as power consumption collected by the power management apparatus 10. For this reason, a terminal such as the smartphone 310 can access data such as power managed by the power management apparatus 10 even when the terminal is away from the power management apparatus 10 such as a place away from home. That is, even if the terminal such as the smartphone 310 cannot be connected to the home LAN by the WLAN router 200 and cannot directly communicate with the power management apparatus 10, the terminal accesses if it is data stored in the server 300. be able to.

次に、電力管理装置10の機能について説明する。本発明に係る電力管理装置は、サーバにデータが送信できない時があっても、サーバとの間でデータを極力一致させることを主な目的とするため、以下、電力管理装置10がサーバ300に各種のデータを送信することについて重点的に説明する。したがって、電力管理装置10によるサーバへのデータ送信以外の各種の機能については、適宜説明を省略する。   Next, functions of the power management apparatus 10 will be described. The power management apparatus according to the present invention mainly aims to match data with the server as much as possible even when data cannot be transmitted to the server. The transmission of various data will be described mainly. Therefore, description of various functions other than data transmission to the server by the power management apparatus 10 will be omitted as appropriate.

図2は、電力管理装置10の内部を概略的に示す機能ブロック図である。図2に示すように、電力管理装置10は、制御部11、一時記憶部12、通信部13、および半導体メモリ14を備えている。   FIG. 2 is a functional block diagram schematically showing the inside of the power management apparatus 10. As shown in FIG. 2, the power management apparatus 10 includes a control unit 11, a temporary storage unit 12, a communication unit 13, and a semiconductor memory 14.

制御部11は、電力管理装置10において、主として計測された消費電力などの各種のデータを一時記憶部12および半導体メモリ14などに記憶し、さらに一時記憶部12に記憶された情報を適宜読み出して、サーバ300に送信するように制御する。制御部11による具体的な制御は、後述する。図2においては、計測された消費電力などの各種のデータは、説明の便宜のため、計測データ1、計測データ2、…、計測データnと記してある。これらの計測データは、電力管理装置10に接続される機器構成に応じて、任意の数とすることができる。具体的には、計測データ1、計測データ2、…、計測データnは、例えば図1に示したCTセンサ70およびスマートタップ80の検出した消費電力のデータとすることができる。その他、計測データ1〜nは、例えば図1に示した太陽光発電部30および燃料電池発電部40などの発電電力のデータとすることができる。さらに、計測データ1〜nは、例えば図1に示した水道メータ80およびガスメータ90が検出したそれぞれの供給量のデータとすることもできる。   In the power management apparatus 10, the control unit 11 stores various data such as mainly measured power consumption in the temporary storage unit 12 and the semiconductor memory 14, and further appropriately reads information stored in the temporary storage unit 12. , Control to transmit to the server 300. Specific control by the control unit 11 will be described later. In FIG. 2, various data such as the measured power consumption are indicated as measurement data 1, measurement data 2,..., Measurement data n for convenience of explanation. These measurement data can be an arbitrary number depending on the device configuration connected to the power management apparatus 10. Specifically, the measurement data 1, measurement data 2,..., Measurement data n can be, for example, power consumption data detected by the CT sensor 70 and the smart tap 80 shown in FIG. In addition, the measurement data 1 to n can be generated power data of the solar power generation unit 30 and the fuel cell power generation unit 40 shown in FIG. Furthermore, the measurement data 1 to n can be data of the respective supply amounts detected by the water meter 80 and the gas meter 90 shown in FIG.

このように、本実施形態において、電力管理装置10が取得してサーバ300に送信する情報は種々のデータとすることができる。このため、以下、このような情報を、適宜、「物理量の経時変化を計測したデータ」または単に「データ」のように称する。   As described above, in the present embodiment, the information acquired by the power management apparatus 10 and transmitted to the server 300 can be various data. For this reason, hereinafter, such information is appropriately referred to as “data obtained by measuring a change in physical quantity with time” or simply “data”.

一時記憶部12は、例えばRAMなどの揮発性メモリとすることができ、記憶容量が比較的大きくないメモリとすることができるが、頻繁なアクセスに耐え得るメモリとするのが好適である。ここで、頻繁なアクセスとは、制御部11がサーバ300に取得するための情報を一時記憶部12に書き込んだり、読み出したりする動作を含む。   The temporary storage unit 12 can be a volatile memory such as a RAM, for example, and can be a memory with a relatively small storage capacity, but is preferably a memory that can withstand frequent access. Here, frequent access includes operations for the control unit 11 to write or read information for the server 300 to acquire in the temporary storage unit 12.

通信部13は、制御部11が一時記憶部12から読み出した電力などの各種の情報を、インターネットを介してサーバ300に送信する。この通信部13は、データ送受信部およびアンテナなどの無線通信に必要な機能部を備えるようにするのが好適である。図2においては、説明の簡略化のために、図1で説明したWLANルータ200は省略してある。   The communication unit 13 transmits various types of information such as power read by the control unit 11 from the temporary storage unit 12 to the server 300 via the Internet. The communication unit 13 preferably includes a function unit necessary for wireless communication such as a data transmission / reception unit and an antenna. In FIG. 2, the WLAN router 200 described in FIG. 1 is omitted for simplification of description.

また、本実施形態による電力管理装置10は、半導体メモリ14を備えるようにするのが好適である。この半導体メモリ14は、例えばSDなどの不揮発性のメモリとすることができ、記憶容量が比較的大きなメモリとするのが好適であるが、一時記憶部12に比べて頻繁なアクセスが好ましくないメモリとすることができる。すなわち、本実施形態において、電力管理装置10は、一時記憶部12よりも記憶容量の大きい半導体メモリ(例えばSD)14をさらに備える。   Moreover, it is preferable that the power management apparatus 10 according to the present embodiment includes the semiconductor memory 14. The semiconductor memory 14 can be a non-volatile memory such as an SD, and is preferably a memory having a relatively large storage capacity, but a memory that is less frequently accessed than the temporary storage unit 12 is preferable. It can be. That is, in the present embodiment, the power management apparatus 10 further includes a semiconductor memory (for example, SD) 14 having a larger storage capacity than the temporary storage unit 12.

この半導体メモリ14は、一時記憶部12に比べて長期間、好適には電力管理装置10が設置されて稼働してから現在に至るまで、所定の情報を保持するようにする。このようにして、電力管理装置10が管理する各種情報のうち半導体メモリ14に記憶した情報は、例えば所定のアプリケーションソフトウェアなどにより、例えばPC210などの端末において、ユーザに見易く把握し易い態様で表示することができる。しかしながら、上述したように、この半導体メモリ14は、頻繁なアクセスが好ましくないメモリとすることができるため、後述のように、サーバ300にデータを送信する際に制御部11が情報を読み出すメモリとしては使用しないようにするのが好適である。   The semiconductor memory 14 retains predetermined information for a long period of time as compared with the temporary storage unit 12, preferably from when the power management apparatus 10 is installed and operated until now. In this way, information stored in the semiconductor memory 14 among various information managed by the power management apparatus 10 is displayed in a manner that is easy for the user to see and understand on, for example, a terminal such as the PC 210 by using predetermined application software, for example. be able to. However, as described above, the semiconductor memory 14 can be a memory that is not frequently accessed. Therefore, as described later, when the data is transmitted to the server 300, the control unit 11 reads out information. Is preferably not used.

次に、本実施形態において、一時記憶部12および半導体メモリ14に記憶する情報の内容について説明する。   Next, contents of information stored in the temporary storage unit 12 and the semiconductor memory 14 in the present embodiment will be described.

(1)分データ(W)
まず、本実施形態において、物理量の経時変化を所定の時間を単位として計測したデータについて、説明の便宜のために、名前を付けて説明する。例えば、消費電力など経時変化する物理量を所定の検出部により検出した計測データのうち、当該検出部により検出した瞬時値の1分間の平均値を算出したものを、「分データ」と称する。この分データのように、物理量の経時変化を第1の時間(ここでは1分とする)単位で計測したデータを、本発明における「第1データ」とも称する。ここでは、当該「分データ」は、単位をW(ワット)とすることができる。
(1) Minute data (W)
First, in this embodiment, data obtained by measuring a change in physical quantity with time in units of a predetermined time will be described with a name for convenience of explanation. For example, among the measurement data obtained by detecting a physical quantity that changes with time, such as power consumption, by a predetermined detection unit, the one-minute average value of the instantaneous value detected by the detection unit is referred to as “minute data”. Like this minute data, data obtained by measuring a change in physical quantity with time in units of a first time (here, 1 minute) is also referred to as “first data” in the present invention. Here, the unit of the “minute data” may be W (watts).

(2)時データ(Wh)
次に、本実施形態において、「分データ」のような第1データを所定の第2の時間単位で積算したデータについても、説明の便宜のために、名前を付ける。例えば、消費電力などの分データを60分ぶん積算したデータを、「時データ」と称する。この時データのように、上述した第1データを所定の第2の時間(ここでは1時間とする)単位で積算したデータを、本発明における「第2データ」とも称する。ここでは、当該「時データ」は、単位をWh(ワット時)とすることができる。本発明において、この時データは、5分ごとに更新して積算するデータとする。
(2) Hour data (Wh)
Next, in this embodiment, a name is also given to data obtained by integrating first data such as “minute data” in a predetermined second time unit for convenience of explanation. For example, data obtained by integrating minute data such as power consumption for 60 minutes is referred to as “hour data”. At this time, like the data, data obtained by integrating the first data described above in units of a predetermined second time (here, 1 hour) is also referred to as “second data” in the present invention. Here, the unit of the “hour data” may be Wh (watt hour). In the present invention, the data at this time is data that is updated and integrated every five minutes.

(3)日データ(Wh)
次に、本実施形態において、例えば、上述した時データを、1日(24時間)ぶん積算したデータを、「日データ」と称する。ここでは、当該「日データ」は、単位をWh(ワット時)とすることができる。本発明において、この日データは、1時間ごとに更新して積算するデータとする。
(3) Date data (Wh)
Next, in the present embodiment, for example, data obtained by integrating the time data described above for one day (24 hours) is referred to as “day data”. Here, the unit of the “day data” may be Wh (watt hour). In the present invention, this day data is updated and integrated every hour.

(4)月データ(Wh)
次に、本実施形態において、例えば、上述した時データを、1月ぶん積算したデータを、「月データ」と称する。ここでは、当該「月データ」は、単位をWh(ワット時)とすることができる。本発明において、この月データは、1時間ごとに更新して積算するデータとする。
(4) Monthly data (Wh)
Next, in the present embodiment, for example, data obtained by integrating the time data described above for one month is referred to as “month data”. Here, the unit of the “month data” may be Wh (watt hours). In the present invention, the month data is data that is updated and integrated every hour.

(5)年データ(Wh)
次に、本実施形態において、例えば、上述した時データを、1年ぶん積算したデータを、「年データ」と称する。ここでは、当該「年データ」は、単位をWh(ワット時)とすることができる。本発明において、この年データは、1時間ごとに更新して積算するデータとする。
(5) Year data (Wh)
Next, in the present embodiment, for example, data obtained by integrating the time data described above for one year is referred to as “year data”. Here, the unit of the “year data” may be Wh (watt hour). In the present invention, this year data is updated and integrated every hour.

(6)積算データ(Wh)
次に、本実施形態において、例えば、上述した時データを、電力管理装置10を設置して起動した時(あるいはリセットした時)から現在に至るまでの期間積算したデータを、「積算データ」と称する。ここでは、当該「積算データ」は、単位をWh(ワット時)とすることができる。本発明において、この積算データは、1時間ごとに更新して積算するデータとする。
(6) Integration data (Wh)
Next, in the present embodiment, for example, the time data described above is obtained by integrating the time data from the time when the power management apparatus 10 is installed and started (or reset) to the present time as “integrated data”. Called. Here, the unit of the “integrated data” can be Wh (watt hour). In the present invention, this integration data is data that is updated and integrated every hour.

本実施形態においては、制御部11は、例えば所定の検出器によって検出される消費電力の情報など、所定の物理量について、上述した(1)〜(6)の各データの全てを、所定のタイミングで半導体メモリ14に記憶する。ただし、分データについては、1分ごとに蓄積されるため、記憶が長期間にわたると、半導体メモリ14の記憶領域が不足する恐れがある。さらに、検出する消費電力などのデータのパラメータ数が増加すると、その分だけ、さらに半導体メモリ14の記憶領域が不足する恐れがある。したがって、本実施形態において、制御部11は、半導体メモリ14が分データを例えば35日ぶんのみ記憶するものとし、分データのうち35日以上経過したデータは順次消去するように制御する。一方、分データ以外の時データ、日データ、月データ、年データ、積算データなどについては、分データに比べてデータ量が極めて少なくなる。このため、制御部11は、半導体メモリ14が、時データ、日データ、月データ、年データ、積算データを、例えば10年など長期間記憶するようにする。   In the present embodiment, the control unit 11 converts all of the data (1) to (6) described above for a predetermined physical quantity, such as information on power consumption detected by a predetermined detector, at a predetermined timing. Is stored in the semiconductor memory 14. However, since minute data is accumulated every minute, there is a risk that the storage area of the semiconductor memory 14 will run short if the data is stored for a long period of time. Furthermore, when the number of data parameters such as power consumption to be detected increases, the storage area of the semiconductor memory 14 may further be insufficient. Therefore, in the present embodiment, the control unit 11 controls the semiconductor memory 14 to store minute data for only 35 days, for example, and sequentially erases data that has passed 35 days or more of the minute data. On the other hand, the amount of data for hour data, day data, month data, year data, integrated data, etc. other than minute data is extremely small compared to minute data. Therefore, the control unit 11 causes the semiconductor memory 14 to store time data, day data, month data, year data, and accumulated data for a long period of time, for example, 10 years.

また、本実施形態においては、制御部11は、半導体メモリ14に記憶される各データが更新されるのと同時に、同じデータを、一時記憶部12にも記憶するように制御する。ここで、制御部11は、一時記憶部12に記憶するデータとして、半導体メモリ14に記憶される各データの更新された値と同じデータを記憶するようにする。上述したように、一時記憶部12は、記憶容量が比較的大きくないメモリとすることができる。したがって、制御部11は、分データを記憶するに際して、一時記憶部12の記憶領域が不足しないような所定のタイミングで、当該分データのまとまりをサーバ300に送信するとともに、送信が成功したデータは一時記憶部12から消去するように制御する。したがって、本実施形態において、一時記憶部12に記憶されているデータは、まだサーバ300に送信が完了していないデータであり、一時記憶部12から消去されたデータは、すでにサーバ300に送信が完了したデータである。   In the present embodiment, the control unit 11 controls to store the same data in the temporary storage unit 12 at the same time as each data stored in the semiconductor memory 14 is updated. Here, the control unit 11 stores the same data as the updated value of each data stored in the semiconductor memory 14 as the data stored in the temporary storage unit 12. As described above, the temporary storage unit 12 can be a memory having a relatively small storage capacity. Therefore, when storing the minute data, the control unit 11 transmits the batch of the minute data to the server 300 at a predetermined timing so that the storage area of the temporary storage unit 12 is not short, and the data that has been successfully transmitted is Control is performed to erase from the temporary storage unit 12. Therefore, in the present embodiment, the data stored in the temporary storage unit 12 is data that has not yet been transmitted to the server 300, and the data deleted from the temporary storage unit 12 has already been transmitted to the server 300. Completed data.

さらに、本実施形態において、制御部11は、上述のようにサーバ300にまだ送信が完了していないデータと、さらに所定の時間を単位とした積算が完了する前の第2データも、一時記憶部12に記憶する。例えば、「時データ」は、分データが1時間ぶん積算すれば所定の時間を単位とした積算が完了するが、1時間ぶん積算する前すなわち積算の途中のデータも、まだサーバ300に送信されずに一時記憶部12に記憶する。また、例えば、「日データ」は、時データが1日ぶん積算すれば所定の時間を単位とした積算が完了するが、1日ぶん積算する前すなわち積算の途中のデータも、まだサーバ300に送信されずに一時記憶部12に記憶する。「月データ」および「年データ」も同様である。   Further, in the present embodiment, the control unit 11 also temporarily stores data that has not yet been transmitted to the server 300 as described above and second data before completion of integration in units of a predetermined time. Store in unit 12. For example, as for the “hour data”, if the minute data is accumulated for one hour, the integration in units of a predetermined time is completed, but the data before the accumulation for one hour, that is, the data during the integration is still transmitted to the server 300. Without being stored in the temporary storage unit 12. In addition, for example, “date data” is accumulated in units of a predetermined time if hour data is accumulated for one day, but data before accumulation for one day, that is, data in the middle of accumulation is still stored in the server 300. It is stored in the temporary storage unit 12 without being transmitted. The same applies to “monthly data” and “year data”.

以下、所定の第2の時間を単位とした積算が完了した第2データを、「完成した第2データ」のように記し、また所定の第2の時間を単位とした積算がまだ完了していない第2データを、「未完成の第2データ」のように記す。例えば、分データの積算が1時間の単位に満たない「時データ」は、「未完成の時データ」であり、分データの積算が1時間ぶん完了した「時データ」は、「完成した時データ」である。   Hereinafter, the second data that has been accumulated in units of a predetermined second time is described as “completed second data”, and the integration in units of the predetermined second time has not yet been completed. The second data that does not exist is described as “unfinished second data”. For example, “hour data” in which the integration of minute data is less than one hour is “incomplete time data”, and “hour data” in which integration of minute data has been completed for one hour is “when completed” Data ".

以上のように、例えばRAMなどとすることができる一時記憶部12は、物理量の経時変化を第1の時間単位で計測した第1データ(「分データ」)、および、当該第1データを第2の時間単位で積算した第2データ(例えば「時データ」)を、一時的に記憶する。   As described above, the temporary storage unit 12, which can be, for example, a RAM or the like, stores the first data (“minute data”) obtained by measuring the change over time in the physical quantity in the first time unit, Second data (for example, “hour data”) accumulated in units of two time units is temporarily stored.

制御部11は、電力管理装置10からサーバ300へのデータ送信が正しく完了したか否かを、サーバから例えばACKのような確認コマンドの返信によって判断することができる。すなわち、電力管理装置10からサーバ300へデータ送信を行い、サーバ300から電力管理装置10にACKが返信されてきたら、制御部11は、サーバ300へのデータ送信が正しく完了したと判断できる。一方、電力管理装置10からサーバ300へデータ送信を行ったのに、サーバ300から電力管理装置10にACKが返信されてこない場合、制御部11は、サーバ300へのデータ送信が正しく完了しなかったと判断できる。このように、サーバ300へのデータ送信が正しく完了しない場合としては、例えばサーバ300がメンテナンス等の理由によりダウンしている状態などが考えられる。   The control unit 11 can determine whether or not the data transmission from the power management apparatus 10 to the server 300 is correctly completed by returning a confirmation command such as ACK from the server. That is, when data transmission is performed from the power management apparatus 10 to the server 300 and an ACK is returned from the server 300 to the power management apparatus 10, the control unit 11 can determine that the data transmission to the server 300 has been correctly completed. On the other hand, when ACK is not returned from the server 300 to the power management apparatus 10 after data transmission from the power management apparatus 10 to the server 300, the control unit 11 does not complete data transmission to the server 300 correctly. Can be judged. As described above, as a case where data transmission to the server 300 is not completed correctly, for example, a state where the server 300 is down due to maintenance or the like can be considered.

サーバ300へのデータ送信が正しく完了しない場合、制御部11は、未送信データを一時記憶部12に記憶したままにして、次の所定のタイミングの際に、再び未送信データの送信を試みる。ここで当該次の所定のタイミングの際に、未送信データをサーバ300に送信することができれば、制御部11は、送信済みデータを一時記憶部12から消去することができる。しかしながら、未送信データをサーバ300に送信できない期間が比較的長くなると、一時記憶部12において送信済みデータの記憶領域が不足することが考えられる。このような場合、制御部11は、一時記憶部12から分データを消去するとともに、時データは消去しないように制御する。すなわち、制御部11は、一時記憶部12に記憶された第2データが第1データよりも先に消去されないように制御する。   When the data transmission to the server 300 is not correctly completed, the control unit 11 keeps the untransmitted data stored in the temporary storage unit 12 and tries to transmit the untransmitted data again at the next predetermined timing. If the untransmitted data can be transmitted to the server 300 at the next predetermined timing, the control unit 11 can delete the transmitted data from the temporary storage unit 12. However, if the period during which untransmitted data cannot be transmitted to the server 300 becomes relatively long, it is conceivable that the storage area for the transmitted data is insufficient in the temporary storage unit 12. In such a case, the control unit 11 controls to erase the minute data from the temporary storage unit 12 and not to erase the hour data. That is, the control unit 11 performs control so that the second data stored in the temporary storage unit 12 is not erased before the first data.

また、未送信データをサーバ300に送信できない期間が相当な長期にわたり、一時記憶部12において時データすらも記憶する領域が不足するような場合は、制御部11は、一時記憶部12から時データを消去するとともに、日データは消去しないように制御する。未送信データをサーバ300に送信できない期間がさらに長期にわたり、一時記憶部12において日データすらも記憶する領域が不足するような場合は、制御部11は、一時記憶部12から日データを消去するとともに、月データは消去しないように制御する。このように、本実施形態において、制御部11は、第1データを積算した第2データを一時的に一時記憶部12に記憶するように制御する。そして、本発明において、第2データは、「時データ」とする場合のみならず、「日データ」、「月データ」、および「年データ」とすることもできる。この場合、制御部11は、第2の時間の単位がより長時間である第2データが、第2の時間の単位がより短時間である第2データよりも先に消去されないように制御する。   Further, when the period during which unsent data cannot be transmitted to the server 300 is long and the area for storing even time data is insufficient in the temporary storage unit 12, the control unit 11 stores the time data from the temporary storage unit 12. Is deleted, and the date data is controlled not to be deleted. When the period during which unsent data cannot be transmitted to the server 300 is longer and the area for storing even the day data is insufficient in the temporary storage unit 12, the control unit 11 erases the day data from the temporary storage unit 12. At the same time, the month data is controlled not to be erased. As described above, in the present embodiment, the control unit 11 performs control so that the second data obtained by integrating the first data is temporarily stored in the temporary storage unit 12. In the present invention, the second data can be not only “hour data” but also “day data”, “month data”, and “year data”. In this case, the control unit 11 performs control so that the second data in which the second time unit is longer is not erased before the second data in which the second time unit is shorter. .

次に、本実施形態に係る電力管理装置10のサーバ300に対するデータ送信について、さらに具体的に説明する。   Next, data transmission to the server 300 of the power management apparatus 10 according to the present embodiment will be described more specifically.

図3は、所定時間経過ごとに電力管理装置10がサーバ300にデータ送信を行い、サーバ300が正しくデータを受信できる場合について説明したシーケンス図である。以下の例においては、電力管理装置10がサーバ300にデータ送信を行うインターバルである所定時間を10分とする。また、図3に示す例において、電力管理装置10は、遅くとも時刻0:00からの消費電力などの各種物理量の経時変化を計測および記憶しているものとする。   FIG. 3 is a sequence diagram illustrating a case where the power management apparatus 10 transmits data to the server 300 every predetermined time and the server 300 can receive data correctly. In the following example, the predetermined time, which is the interval at which the power management apparatus 10 transmits data to the server 300, is 10 minutes. In the example shown in FIG. 3, it is assumed that the power management apparatus 10 measures and stores changes over time in various physical quantities such as power consumption from 0:00 at the latest.

図3に示すように、時刻0:10の時点においては、制御部11は、時刻0:00から0:10までの10分間におけるデータとして「分データ」を10個ぶん、一時記憶部12から読み出してサーバ300に送信する(データ送信(1))。さらに、この時、制御部11は、この時点の最新の「時データ」、最新の「日データ」、最新の「月データ」、最新の「年データ」、最新の「積算データ」も、一時記憶部12から読み出してサーバ300に送信する(データ送信(1))。ここで、「時データ」は、時刻0:00から0:10までの10分間という1時間単位に満たない時データすなわち未完成の時データが送信される。また、「日データ」、「月データ」、「年データ」も、時刻0:00から0:10までの10分間における、それぞれ未完成の日データ、未完成の月データ、未完成の年データが送信される。   As shown in FIG. 3, at the time of time 0:10, the control unit 11 stores 10 pieces of “minute data” as data for 10 minutes from time 0:00 to 0:10 from the temporary storage unit 12. The data is read and transmitted to the server 300 (data transmission (1)). Further, at this time, the control unit 11 temporarily stores the latest “hour data”, the latest “day data”, the latest “month data”, the latest “year data”, and the latest “integrated data” at this time. The data is read from the storage unit 12 and transmitted to the server 300 (data transmission (1)). Here, as the “time data”, time data that is less than one hour unit of 10 minutes from 0:00 to 0:10, that is, incomplete time data is transmitted. In addition, “day data”, “month data”, and “year data” are also unfinished day data, unfinished month data, and unfinished year data for 10 minutes from 0:00 to 0:10, respectively. Is sent.

サーバ300は、データ送信(1)において送信されたデータを受信すると、当該受信した旨を表すACK(1)を返信する。このACK(1)を受信したら、電力管理装置10の制御部11は、一時記憶部12に記憶されたデータのうちサーバ300に送信が完了したデータを消去する。   When the server 300 receives the data transmitted in the data transmission (1), the server 300 returns an ACK (1) indicating that the data has been received. When this ACK (1) is received, the control unit 11 of the power management apparatus 10 deletes data that has been transmitted to the server 300 from the data stored in the temporary storage unit 12.

次に、時刻0:20の時点においては、制御部11は、時刻0:10から0:20までの10分間における「分データ」を10個ぶん、一時記憶部12から読み出してサーバ300に送信する(データ送信(2))。さらに、この時、制御部11は、この時点の最新の「時データ」、最新の「日データ」、最新の「月データ」、最新の「年データ」、最新の「積算データ」も、一時記憶部12から読み出してサーバ300に送信する(データ送信(2))。ここで、「時データ」は、時刻0:00から0:20までの20分間における未完成の時データが送信される。また、「日データ」、「月データ」、「年データ」も、時刻0:00から0:20までの20分間における、それぞれ未完成の日データ、未完成の月データ、未完成の年データが送信される。   Next, at time 0:20, the control unit 11 reads 10 pieces of “minute data” for 10 minutes from time 0:10 to 0:20 from the temporary storage unit 12 and transmits them to the server 300. (Data transmission (2)). Further, at this time, the control unit 11 temporarily stores the latest “hour data”, the latest “day data”, the latest “month data”, the latest “year data”, and the latest “integrated data” at this time. The data is read from the storage unit 12 and transmitted to the server 300 (data transmission (2)). Here, as “time data”, incomplete time data in 20 minutes from time 0:00 to 0:20 is transmitted. “Day data”, “Month data”, and “Year data” are also unfinished day data, unfinished month data, and unfinished year data for 20 minutes from 0:00 to 0:20, respectively. Is sent.

サーバ300は、データ送信(2)において送信されたデータを受信すると、当該受信した旨を表すACK(2)を返信する。このACK(2)を受信したら、電力管理装置10の制御部11は、一時記憶部12に記憶されたデータのうちサーバ300に送信が完了したデータを消去する。   When the server 300 receives the data transmitted in the data transmission (2), the server 300 returns an ACK (2) indicating that the data has been received. When this ACK (2) is received, the control unit 11 of the power management apparatus 10 deletes data that has been transmitted to the server 300 from the data stored in the temporary storage unit 12.

次に、時刻0:30の時点においては、制御部11は、時刻0:20から0:30までの10分間における「分データ」を10個ぶん、一時記憶部12から読み出してサーバ300に送信する(データ送信(3))。さらに、この時、制御部11は、この時点の最新の「時データ」、最新の「日データ」、最新の「月データ」、最新の「年データ」、最新の「積算データ」も、一時記憶部12から読み出してサーバ300に送信する(データ送信(3))。ここで、「時データ」は、時刻0:00から0:30までの30分間における未完成の時データが送信される。また、「日データ」、「月データ」、「年データ」も、時刻0:00から0:30までの30分間における、それぞれ未完成の日データ、未完成の月データ、未完成の年データが送信される。   Next, at time 0:30, the control unit 11 reads 10 pieces of “minute data” for 10 minutes from time 0:20 to 0:30 from the temporary storage unit 12 and transmits them to the server 300. (Data transmission (3)). Further, at this time, the control unit 11 temporarily stores the latest “hour data”, the latest “day data”, the latest “month data”, the latest “year data”, and the latest “integrated data” at this time. The data is read from the storage unit 12 and transmitted to the server 300 (data transmission (3)). Here, as “time data”, incomplete time data in 30 minutes from time 0:00 to 0:30 is transmitted. In addition, “day data”, “month data”, and “year data” are also unfinished day data, unfinished month data, and unfinished year data for 30 minutes from 0:00 to 0:30, respectively. Is sent.

サーバ300は、データ送信(3)において送信されたデータを受信すると、当該受信した旨を表すACK(3)を返信する。このACK(3)を受信したら、電力管理装置10の制御部11は、一時記憶部12に記憶されたデータのうちサーバ300に送信が完了したデータを消去する。   When the server 300 receives the data transmitted in the data transmission (3), the server 300 returns an ACK (3) indicating that the data has been received. When this ACK (3) is received, the control unit 11 of the power management apparatus 10 deletes data that has been transmitted to the server 300 from the data stored in the temporary storage unit 12.

以降、時刻0:40の時点におけるデータ送信(4)および当該データ送信(4)に応じたACK(4)、時刻0:50の時点におけるデータ送信(5)および当該データ送信(5)に応じたACK(5)についても同様である。   Thereafter, data transmission (4) at time 0:40 and ACK (4) according to the data transmission (4), data transmission (5) at time 0:50 and data transmission (5) The same applies to ACK (5).

次に、時刻1:00の時点において、制御部11は、時刻0:50から1:00までの10分間における「分データ」を10個ぶん、一時記憶部12から読み出してサーバ300に送信する(データ送信(6))。さらに、この時、制御部11は、この時点の最新の「時データ」、最新の「日データ」、最新の「月データ」、最新の「年データ」、最新の「積算データ」も、一時記憶部12から読み出してサーバ300に送信する(データ送信(6))。ここで、「時データ」は、時刻0:00から1:00までの1時間(60分間)における完成した時データが送信される。一方、「日データ」、「月データ」、「年データ」は、時刻0:00から1:00までの1時間における、それぞれ未完成の日データ、未完成の月データ、未完成の年データが送信される。   Next, at time 1:00, the control unit 11 reads ten pieces of “minute data” for 10 minutes from time 0:50 to 1:00 from the temporary storage unit 12 and transmits them to the server 300. (Data transmission (6)). Further, at this time, the control unit 11 temporarily stores the latest “hour data”, the latest “day data”, the latest “month data”, the latest “year data”, and the latest “integrated data” at this time. The data is read from the storage unit 12 and transmitted to the server 300 (data transmission (6)). Here, as the “time data”, completed time data in one hour (60 minutes) from time 0:00 to 1:00 is transmitted. On the other hand, “day data”, “month data”, and “year data” are unfinished day data, unfinished month data, and unfinished year data, respectively, for one hour from 0:00 to 1:00. Is sent.

以下、同様に、時間の経過が1日(24時間)に及んだ時点では、「日データ」は「完成した日データ」が送信され、一方、「月データ」、「年データ」は、当該時点までの、それぞれ未完成の月データ、未完成の年データが送信される。また、時間の経過が1カ月に及んだ時点では、「月データ」は「完成した月データ」が送信され、一方、「年データ」は、当該時点までの未完成の年データが送信される。さらに、時間の経過が1年に及んだ時点では、「年データ」は「完成した年データ」が送信される。   Similarly, when the passage of time reaches one day (24 hours), “date data” is transmitted as “completed day data”, while “month data” and “year data” Until then, incomplete month data and incomplete year data are transmitted. In addition, when the time has passed for one month, “monthly data” is transmitted as “completed month data”, while “year data” is transmitted as unfinished year data up to that point. The Furthermore, when the passage of time reaches one year, “completed year data” is transmitted as “year data”.

次に、時刻1:10の時点において、制御部11は、時刻1:00から1:10までの10分間における「分データ」を10個ぶん、一時記憶部12から読み出してサーバ300に送信する(データ送信(6))。さらに、データ送信(6)において、制御部11は、「時データ」として、時刻1:00から1:10までの10分における未完成の時データを送信する。一方、制御部11は、「日データ」、「月データ」、「年データ」として、時刻0:00から1:10までにおける、それぞれ未完成の日データ、未完成の月データ、未完成の年データを送信する。   Next, at the time of time 1:10, the control unit 11 reads ten pieces of “minute data” for 10 minutes from time 1:00 to 1:10 from the temporary storage unit 12 and transmits them to the server 300. (Data transmission (6)). Further, in the data transmission (6), the control unit 11 transmits incomplete time data in 10 minutes from time 1:00 to 1:10 as “time data”. On the other hand, the control unit 11 sets “day data”, “month data”, and “year data” as unfinished day data, unfinished month data, and unfinished data from 0:00 to 1:10, respectively. Send year data.

このように、サーバ300が電力管理装置10から送信されるデータを所定時間経過ごとに正しく受信できていれば、電力管理装置10は、一時記憶部12の記憶領域が不足することなく、動作を継続することができる。   In this way, if the server 300 can correctly receive the data transmitted from the power management apparatus 10 every elapse of a predetermined time, the power management apparatus 10 operates without running out of the storage area of the temporary storage unit 12. Can continue.

図4は、所定時間経過ごとに電力管理装置10がサーバ300にデータ送信を行うも、サーバ300が正しくデータを受信できない場合について説明したシーケンス図である。以下の例においても、電力管理装置10がサーバ300にデータ送信を行うインターバルである所定時間を10分とする。また、図4に示す例においても、電力管理装置10は、遅くとも時刻0:00からの消費電力などの各種物理量の経時変化を計測および記憶しているものとする。   FIG. 4 is a sequence diagram illustrating a case where the power management apparatus 10 transmits data to the server 300 every predetermined time, but the server 300 cannot receive data correctly. Also in the following example, the predetermined time, which is the interval at which the power management apparatus 10 transmits data to the server 300, is 10 minutes. In the example illustrated in FIG. 4, the power management apparatus 10 also measures and stores changes with time of various physical quantities such as power consumption from time 0:00 at the latest.

図4に示すように、時刻0:10の時点においては、制御部11は、時刻0:00から0:10までの10分間におけるデータとして「分データ」を10個ぶん、一時記憶部12から読み出してサーバ300に送信する(データ送信(1))。さらに、この時、制御部11は、この時点の最新の「時データ」、最新の「日データ」、最新の「月データ」、最新の「年データ」、最新の「積算データ」も、一時記憶部12から読み出してサーバ300に送信する(データ送信(1))。ここで、「時データ」は、時刻0:00から0:10までの未完成の時データが送信される。また、「日データ」、「月データ」、「年データ」も、時刻0:00から0:10までの、それぞれ未完成の日データ、未完成の月データ、未完成の年データが送信される。   As shown in FIG. 4, at the time of time 0:10, the control unit 11 stores 10 pieces of “minute data” as data for 10 minutes from time 0:00 to 0:10, from the temporary storage unit 12. The data is read and transmitted to the server 300 (data transmission (1)). Further, at this time, the control unit 11 temporarily stores the latest “hour data”, the latest “day data”, the latest “month data”, the latest “year data”, and the latest “integrated data” at this time. The data is read from the storage unit 12 and transmitted to the server 300 (data transmission (1)). Here, as “time data”, incomplete time data from 0:00 to 0:10 is transmitted. In addition, “day data”, “month data”, and “year data” are also transmitted as unfinished day data, unfinished month data, and unfinished year data from time 0:00 to 0:10, respectively. The

図4において、サーバ300は、データ送信(1)において送信されたデータを受信できないため、当該受信した旨を表すACK(1)を返信することが無い(NACK(1))。ACK(1)が受信できない場合、電力管理装置10の制御部11は、一時記憶部12に記憶されたデータのうちサーバ300に未送信のデータを消去せずに保持する。   In FIG. 4, since the server 300 cannot receive the data transmitted in the data transmission (1), the server 300 does not send back ACK (1) indicating the reception (NACK (1)). When ACK (1) cannot be received, the control unit 11 of the power management apparatus 10 holds the data that has not been transmitted to the server 300 among the data stored in the temporary storage unit 12 without being erased.

次に、時刻0:20の時点においては、制御部11は、前回未送信の「分データ」を10個ぶん、および、時刻0:10から0:20までの10分間における新たな「分データ」を10個ぶん、一時記憶部12から読み出してサーバ300に送信する(データ送信(2))。さらに、この時、制御部11は、この時点の最新の「時データ」、最新の「日データ」、最新の「月データ」、最新の「年データ」、最新の「積算データ」も、一時記憶部12から読み出してサーバ300に送信する(データ送信(2))。ここで、「時データ」は、時刻0:00から0:20までの20分間における未完成の時データが送信される。また、「日データ」、「月データ」、「年データ」も、時刻0:00から0:20までの20分間における、それぞれ未完成の日データ、未完成の月データ、未完成の年データが送信される。   Next, at the time of time 0:20, the control unit 11 includes 10 pieces of “minute data” that have not been transmitted previously and a new “minute data” for 10 minutes from time 0:10 to 0:20. Are read from the temporary storage unit 12 and transmitted to the server 300 (data transmission (2)). Further, at this time, the control unit 11 temporarily stores the latest “hour data”, the latest “day data”, the latest “month data”, the latest “year data”, and the latest “integrated data” at this time. The data is read from the storage unit 12 and transmitted to the server 300 (data transmission (2)). Here, as “time data”, incomplete time data in 20 minutes from time 0:00 to 0:20 is transmitted. “Day data”, “Month data”, and “Year data” are also unfinished day data, unfinished month data, and unfinished year data for 20 minutes from 0:00 to 0:20, respectively. Is sent.

サーバ300は、データ送信(2)において送信されたデータも受信できないと、当該受信した旨を表すACK(2)を返信することが無い(NACK(2))。ACK(2)が受信できない場合、電力管理装置10の制御部11は、一時記憶部12に記憶されたデータのうちサーバ300に未送信のデータを消去せずに保持する。   If the server 300 cannot receive the data transmitted in the data transmission (2), the server 300 does not return an ACK (2) indicating that the data has been received (NACK (2)). When ACK (2) cannot be received, the control unit 11 of the power management apparatus 10 holds the data that has not been transmitted to the server 300 among the data stored in the temporary storage unit 12 without being erased.

以降、時刻0:30の時点におけるデータ送信(3)および当該データ送信(3)に応じたNACK(3)から、時刻0:50の時点におけるデータ送信(5)および当該データ送信(5)に応じたNACK(5)までについても同様である。すなわち、図4に示す状況においては、サーバ300は、時刻1:10に至るまでずっと、電力管理装置10が送信したデータを受信することができないでいる。この場合、時刻0:30の時点においては、制御部11は、未送信の「分データ」を20個ぶん、および、時刻0:20から0:30までの10分間における新たな「分データ」を10個ぶん、一時記憶部12から読み出してサーバ300に送信する(データ送信(3))。また、時刻0:40の時点においては、制御部11は、未送信の「分データ」を30個ぶん、および、時刻0:30から0:40までの10分間における新たな「分データ」を10個ぶん、一時記憶部12から読み出してサーバ300に送信する(データ送信(4))。   Thereafter, from data transmission (3) at time 0:30 and NACK (3) corresponding to the data transmission (3) to data transmission (5) and data transmission (5) at time 0:50. The same applies to the corresponding NACK (5). That is, in the situation shown in FIG. 4, the server 300 cannot receive the data transmitted by the power management apparatus 10 until the time 1:10. In this case, at the time of time 0:30, the control unit 11 includes 20 unsent “minute data” and new “minute data” for 10 minutes from time 0:20 to 0:30. Are read from the temporary storage unit 12 and transmitted to the server 300 (data transmission (3)). Further, at time 0:40, the control unit 11 stores 30 untransmitted “minute data” and new “minute data” for 10 minutes from time 0:30 to 0:40. Ten of them are read from the temporary storage unit 12 and transmitted to the server 300 (data transmission (4)).

このように、サーバ300が電力管理装置10から送信されるデータを所定時間経過ごとに正しく受信できない場合、一時記憶部12に未送信データを蓄積するため、やがて一時記憶部12の記憶領域が不足する。このような場合、上述したように、まず分データを消去するも、時データは消去しないようにする。それでも一時記憶部12の記憶領域が不足する場合、時データは消去するも、日データは消去しないようにする。このように、サンプル数の多いデータを消去してもサンプル数の少ないデータを残すことにより、サーバ300がデータ受信を再開した際に、データの詳細までは送信できないにしても、当該詳細なデータに準じたデータを送信することができる。したがって、サーバ300に保存されるデータを、電力管理装置10の半導体メモリ14に記憶したデータと可能な限り近いものにすることができる。したがって、例えば、電力管理装置10におけるデータに基づいて生成する電力などのグラフと、サーバ300が取得したデータに基づいて生成するグラフとが同じにならないというような不都合を、可能な限り低減することができる。   As described above, when the server 300 cannot correctly receive the data transmitted from the power management apparatus 10 every predetermined time, unsent data is accumulated in the temporary storage unit 12, and eventually the storage area of the temporary storage unit 12 is insufficient. To do. In such a case, as described above, the minute data is first erased, but the hour data is not erased. If the storage area of the temporary storage unit 12 still runs short, the hour data is erased but the date data is not erased. In this way, even if data with a large number of samples is deleted, data with a small number of samples remains, so that when the server 300 resumes data reception, even if the details of the data cannot be transmitted, the detailed data Can be transmitted. Therefore, the data stored in the server 300 can be as close as possible to the data stored in the semiconductor memory 14 of the power management apparatus 10. Therefore, for example, the inconvenience that the graph such as the power generated based on the data in the power management apparatus 10 and the graph generated based on the data acquired by the server 300 are not the same is reduced as much as possible. Can do.

次に、時刻1:00の時点においては、制御部11は、前回まで未送信の「分データ」を50個ぶん、および、時刻0:50から1:00までの10分間における新たな「分データ」を10個ぶん、一時記憶部12から読み出してサーバ300に送信する(データ送信(6))。さらに、この時、制御部11は、この時点の最新の「時データ」、最新の「日データ」、最新の「月データ」、最新の「年データ」、最新の「積算データ」も、一時記憶部12から読み出してサーバ300に送信する(データ送信(6))。ここで、「時データ」は、時刻0:00から1:00までの1時間(60分間)における完成した時データが送信される。一方、「日データ」、「月データ」、「年データ」、時刻0:00から1:00までの1時間における、それぞれ未完成の日データ、未完成の月データ、未完成の年データが送信される。   Next, at the time of time 1:00, the control unit 11 includes 50 “minute data” that have not been transmitted until the previous time, and a new “minute” in 10 minutes from time 0:50 to 1:00. Ten pieces of “data” are read from the temporary storage unit 12 and transmitted to the server 300 (data transmission (6)). Further, at this time, the control unit 11 temporarily stores the latest “hour data”, the latest “day data”, the latest “month data”, the latest “year data”, and the latest “integrated data” at this time. The data is read from the storage unit 12 and transmitted to the server 300 (data transmission (6)). Here, as the “time data”, completed time data in one hour (60 minutes) from time 0:00 to 1:00 is transmitted. On the other hand, “day data”, “month data”, “year data”, unfinished day data, unfinished month data, and unfinished year data in one hour from 0:00 to 1:00 Sent.

サーバ300は、データ送信(6)において送信されたデータも受信できないと、当該受信した旨を表すACK(6)を返信することが無い(NACK(6))。ACK(6)が受信できない場合、電力管理装置10の制御部11は、一時記憶部12に記憶されたデータのうちサーバ300に未送信のデータを消去せずに保持する。上述した、「完成した時データ」も、サーバ300に未送信のため、同様に、一時記憶部12から消去せずに保持する。   If the server 300 cannot receive the data transmitted in the data transmission (6), the server 300 does not return an ACK (6) indicating that the data has been received (NACK (6)). When ACK (6) cannot be received, the control unit 11 of the power management apparatus 10 holds the data that has not been transmitted to the server 300 among the data stored in the temporary storage unit 12 without being erased. Since the “completed time data” described above has not been transmitted to the server 300, it is similarly retained without being deleted from the temporary storage unit 12.

この後、時刻1:10の時点においては、制御部11は、前回まで未送信の「分データ」を60個ぶん、および、時刻1:00から1:10までの10分間における新たな「分データ」を10個ぶん、一時記憶部12から読み出してサーバ300に送信する(データ送信(7))。また、この時、制御部11は、前回のデータ送信(6)において送信できなかった、「完成した時データ」も、一時記憶部12から読み出してサーバ300に送信する(データ送信(7))。さらに、この時、制御部11は、この時点の最新の「時データ」、最新の「日データ」、最新の「月データ」、最新の「年データ」、最新の「積算データ」も、一時記憶部12から読み出してサーバ300に送信する(データ送信(7))。ここで、最新の「時データ」は、時刻1:00から1:10までの10分間における未完成の時データが送信される。一方、「日データ」、「月データ」、「年データ」は、時刻0:00から1:10までの1時間10分における、それぞれ未完成の日データ、未完成の月データ、未完成の年データが送信される。   Thereafter, at the time of time 1:10, the control unit 11 includes 60 pieces of “minute data” that have not been transmitted until the previous time, and a new “minute” in 10 minutes from time 1:00 to 1:10. Ten pieces of “data” are read from the temporary storage unit 12 and transmitted to the server 300 (data transmission (7)). At this time, the control unit 11 also reads “data when completed” that could not be transmitted in the previous data transmission (6) from the temporary storage unit 12 and transmits it to the server 300 (data transmission (7)). . Further, at this time, the control unit 11 temporarily stores the latest “hour data”, the latest “day data”, the latest “month data”, the latest “year data”, and the latest “integrated data” at this time. The data is read from the storage unit 12 and transmitted to the server 300 (data transmission (7)). Here, as the latest “time data”, incomplete time data in 10 minutes from time 1:00 to 1:10 is transmitted. On the other hand, “day data”, “month data”, and “year data” are unfinished day data, unfinished month data, and unfinished data at 1 hour and 10 minutes from 0:00 to 1:10, respectively. Year data is sent.

以降、制御部11は、所定時間(ここでは10分)ごとに、サーバ300に対するデータ送信が成功するまで、「完成した時データ」を他のデータに加えて送信し続ける。当該「完成した時データ」のサーバ300に対する送信が成功しないまま更に1時間経過した場合、制御部11は、当該「完成した時データ」の他に、新たな「完成した時データ」も、所定時間(10分)ごとにサーバ300に送信する。サーバ300に対するデータの送信が成功しないまま1日が経過すると、制御部11は、「完成した時データ」の他に、「完成した日データ」も、所定時間(10分)ごとにサーバ300に送信する。月データ、年データについても、同様に処理することができる。   Thereafter, the control unit 11 continues to transmit “data when completed” in addition to other data until data transmission to the server 300 is successful every predetermined time (here, 10 minutes). When one hour has passed without successful transmission of the “completed time data” to the server 300, the control unit 11 also sets a new “completed time data” in addition to the “completed time data”. It is transmitted to the server 300 every time (10 minutes). When one day has passed without successful transmission of data to the server 300, the control unit 11 sends the “completed date data” to the server 300 every predetermined time (10 minutes) in addition to “completed time data”. Send. Month data and year data can be processed in the same manner.

このように、サーバ300が電力管理装置10から送信されるデータを所定時間経過ごとに正しく受信できない場合、電力管理装置10は、一時記憶部12に未送信の分データを蓄積させる。このため、サーバ300が長期間にわたりデータを受信しない場合、一時記憶部12の記憶領域が不足することが考えられる。そのような場合、上述したように、電力管理装置10は、一時記憶部12から分データを消去しても、完成した時データは残すようにする。したがって、サーバ300に保存されるデータを、電力管理装置10の半導体メモリ14に記憶したデータと極力一致させることができる。したがって、例えば、電力管理装置10におけるデータに基づいて生成する消費電力などのグラフと、サーバ300が取得したデータに基づいて生成するグラフとが相違するという不都合を、可能な限り低減することができる。   As described above, when the server 300 cannot correctly receive the data transmitted from the power management apparatus 10 every predetermined time, the power management apparatus 10 causes the temporary storage unit 12 to accumulate untransmitted data. For this reason, when the server 300 does not receive data for a long period of time, the storage area of the temporary storage unit 12 may be insufficient. In such a case, as described above, even if the power management apparatus 10 erases the minute data from the temporary storage unit 12, the data is left when completed. Therefore, the data stored in the server 300 can be matched with the data stored in the semiconductor memory 14 of the power management apparatus 10 as much as possible. Therefore, for example, the inconvenience that a graph such as power consumption generated based on data in the power management apparatus 10 is different from a graph generated based on data acquired by the server 300 can be reduced as much as possible. .

次に、本実施形態に係る電力管理装置10によるデータ送信の処理手順を説明する。   Next, a data transmission processing procedure performed by the power management apparatus 10 according to the present embodiment will be described.

図5は、本実施形態に係る電力管理装置10によるデータ送信の処理手順を説明するフローチャートである。   FIG. 5 is a flowchart illustrating a data transmission processing procedure performed by the power management apparatus 10 according to the present embodiment.

図5に示す処理が開始すると、制御部11は、分データとする第1データ、および例えば時データとする第2データを、一時記憶部12に記憶し(ステップS11)、当該動作を所定時間経過まで継続する(ステップS12)。ここで、所定時間とは、図3および4で説明した例においては、10分とした。   When the processing shown in FIG. 5 starts, the control unit 11 stores the first data as minute data and the second data as hour data, for example, in the temporary storage unit 12 (step S11), and performs the operation for a predetermined time. It continues until it elapses (step S12). Here, the predetermined time is 10 minutes in the example described with reference to FIGS.

ステップS12において所定時間が経過したら、制御部11は、サーバ300にデータを送信するように制御する(ステップS13)。ステップS13でサーバ300に送信するデータとは、上述したように、所定時間ぶんの第1データ(分データ)、および、最新の第2データ(例えば時データ)である。ここで、送信する最新の第2データは、データの送信ができている場合、およびデータの送信ができない状態だが第2の単位時間がまだ経過していない場合、第2の時間を単位とする積算が完了していない「未完成の第2データ」となる。また、送信する最新の第2データは、データの送信ができないまま第2の単位時間が経過した場合、第2の時間を単位とする積算が完了した「完成した時データ」となる。   When a predetermined time has elapsed in step S12, the control unit 11 controls to transmit data to the server 300 (step S13). As described above, the data to be transmitted to the server 300 in step S13 is the first data (minute data) for the predetermined time and the latest second data (for example, hour data). Here, the latest second data to be transmitted is based on the second time when the data can be transmitted, and when the data cannot be transmitted but the second unit time has not yet elapsed. This is “incomplete second data” that has not been integrated. In addition, when the second unit time has passed without data being transmitted, the latest second data to be transmitted is “completed time data” in which integration in units of the second time has been completed.

ステップS13においてサーバ300にデータを送信したら、制御部11は、当該送信が成功したか否かを判定する(ステップS14)。データ送信が成功したと判定されたら、制御部11は、送信済みのデータを一時記憶部12から消去する(ステップS15)。このように、本実施形態において、制御部11は、所定時間経過時に、当該所定時間ぶんの第1データおよび最新の第2データを一時記憶部12から読み出してサーバ300に送信し、当該送信が成功した場合、送信済みのデータを一時記憶部12から消去するように制御する。   When data is transmitted to the server 300 in step S13, the control unit 11 determines whether or not the transmission is successful (step S14). If it is determined that the data transmission is successful, the control unit 11 deletes the transmitted data from the temporary storage unit 12 (step S15). As described above, in the present embodiment, when the predetermined time has elapsed, the control unit 11 reads the first data and the latest second data for the predetermined time from the temporary storage unit 12 and transmits them to the server 300. If successful, control is performed so that the transmitted data is erased from the temporary storage unit 12.

一方、ステップS14においてサーバ300に対するデータ送信が成功しなかった場合、制御部11は、次の所定時間が経過する際に、未送信の第1データを、当該所定時間経過時に送信するデータに合わせて送信する(ステップS16)。また、この時、制御部11は、未送信の完成した第2データがある場合、当該完成した第2データも、当該所定時間経過時に送信するデータに合わせて送信する(ステップS16)。このため、制御部11は、ステップS16においては、未送信の第1データおよび完成した第2データを、一時記憶部12に記憶するように制御する。   On the other hand, when the data transmission to the server 300 is not successful in step S14, the control unit 11 matches the untransmitted first data with the data to be transmitted when the predetermined time elapses when the next predetermined time elapses. (Step S16). At this time, if there is completed second data that has not been transmitted, the control unit 11 also transmits the completed second data in accordance with the data to be transmitted when the predetermined time has elapsed (step S16). For this reason, in step S16, the control unit 11 controls to store the untransmitted first data and the completed second data in the temporary storage unit 12.

ステップS16の後、図5の処理は開始に戻り、ステップS12において次の所定時間が経過したら、制御部11は、当該次の所定時間ぶんの第1データ、および最新の第2データをサーバ300に送信する(ステップS13)。このステップS13においては、ステップS16で説明したように、未送信の第1データおよび完成した第2データも合わせて送信する。   After step S16, the process of FIG. 5 returns to the start, and when the next predetermined time has elapsed in step S12, the control unit 11 stores the first data and the latest second data for the next predetermined time in the server 300. (Step S13). In step S13, as described in step S16, untransmitted first data and completed second data are also transmitted.

このように、本実施形態において、制御部11は、サーバ300へのデータ送信が失敗した場合、次の所定時間経過時に、当該次の所定時間ぶんの第1データおよび最新の第2データを一時記憶部12から読み出して前記サーバに送信する。この時、制御部11は、第2の時間単位の積算が完了した第2データがある時は、未送信の前記所定時間ぶんの第1データとともに当該積算が完了した第2データも一時記憶部12から読み出して送信するように制御する。   Thus, in this embodiment, when the data transmission to the server 300 fails, the control unit 11 temporarily stores the first data and the latest second data for the next predetermined time when the next predetermined time elapses. The data is read from the storage unit 12 and transmitted to the server. At this time, when there is second data that has been integrated in the second time unit, the control unit 11 temporarily stores the second data that has been integrated together with the first data that has not been transmitted for the predetermined time. Control to read from 12 and transmit.

本実施形態においては、上述したように、半導体メモリ14は、一時記憶部12に比べて頻繁なアクセスが好ましくないメモリとすることができる。このため、本実施形態において、制御部11は、一時記憶部12に一時的に記憶した第1データおよび第2データを半導体メモリ14にさらに記憶し、当該一時的に記憶したデータをサーバ300に送信する際には、半導体メモリ14から読み出さないように制御するのが望ましい。   In the present embodiment, as described above, the semiconductor memory 14 can be a memory that is less frequently accessed than the temporary storage unit 12. For this reason, in the present embodiment, the control unit 11 further stores the first data and the second data temporarily stored in the temporary storage unit 12 in the semiconductor memory 14, and stores the temporarily stored data in the server 300. When transmitting, it is desirable to control so as not to read from the semiconductor memory 14.

また、上述したように、本実施形態において、制御部11は、図5に示した処理とは別に、一時記憶部12における記憶領域が不足してきた際には、適宜、分データを消去するように制御するのが好適である。また、上述したように、制御部11は、一時記憶部12から「分データ」を消去しても、「時データ」は消去しないように制御するのが好適である。このような制御は、例えば、時データを消去する周期を、分データを消去する周期よりも長めに設定する等のようにして行うことができる。また、分データを消去する際にも、例えば古いデータから段階的に消去するなどの措置を講じるようにしてもよい。さらに、上述したように、第2データを、「時データ」、「日データ」、「月データ」、「年データ」のいずれかとして、第2の時間の単位がより長時間である第2データが、第2の時間の単位がより短時間である第2データよりも先に消去されないように制御してもよい。   In addition, as described above, in the present embodiment, the control unit 11 deletes the minute data as needed when the storage area in the temporary storage unit 12 becomes insufficient, separately from the processing shown in FIG. It is suitable to control to. Further, as described above, it is preferable that the control unit 11 performs control so that “hour data” is not deleted even if “minute data” is deleted from the temporary storage unit 12. Such control can be performed, for example, by setting the period for erasing the hour data to be longer than the period for erasing the minute data. Further, when erasing minute data, a measure such as erasing from old data stepwise may be taken. Furthermore, as described above, the second data is any one of “hour data”, “day data”, “month data”, and “year data”, and the second time unit is a longer time. Control may be performed so that the data is not erased before the second data whose second time unit is shorter.

このように、本実施形態に係る電力管理装置10によれば、サーバ300にデータが送信できない時があっても、サーバ300にデータを送信できるようになった際に、少なくとも未送信データに準じたデータの送信をすることができる。また、本実施形態に係る電力管理装置10によれば、サーバ300にデータが送信できない状態が継続しても、一時記憶部12が未送信データで満たされて記憶領域が不足するという事態が生じにくくなる。したがって、本実施形態に係る電力管理装置10によれば、サーバにデータが送信できない時があっても、サーバとの間でデータを極力一致させることができる。   Thus, according to the power management apparatus 10 according to the present embodiment, when data can be transmitted to the server 300 even when data cannot be transmitted to the server 300, at least according to the untransmitted data. Data can be transmitted. In addition, according to the power management apparatus 10 according to the present embodiment, even when the state in which data cannot be transmitted to the server 300 continues, a situation occurs in which the temporary storage unit 12 is filled with untransmitted data and the storage area is insufficient. It becomes difficult. Therefore, according to the power management apparatus 10 according to the present embodiment, even when data cannot be transmitted to the server, the data can be matched with the server as much as possible.

本発明を諸図面や実施例に基づき説明してきたが、当業者であれば本開示に基づき種々の変形や修正を行うことが容易であることに注意されたい。したがって、これらの変形や修正は本発明の範囲に含まれることに留意されたい。例えば、各機能部、各手段、各ステップなどに含まれる機能などは論理的に矛盾しないように再配置可能であり、複数の機能部やステップなどを1つに組み合わせたり、或いは分割したりすることが可能である。また、上述した本発明の各実施形態は、それぞれ説明した各実施形態に忠実に実施することに限定されるものではなく、適宜、各特徴を組み合わせて実施することもできる。   Although the present invention has been described based on the drawings and examples, it should be noted that those skilled in the art can easily make various modifications and corrections based on the present disclosure. Therefore, it should be noted that these variations and modifications are included in the scope of the present invention. For example, the functions included in each functional unit, each means, each step, etc. can be rearranged so that there is no logical contradiction, and a plurality of functional units, steps, etc. are combined or divided. It is possible. Further, each of the above-described embodiments of the present invention is not limited to being performed faithfully to each of the embodiments described above, and can be implemented by appropriately combining each feature.

例えば、上述した実施形態において、無線通信として説明した通信は、適宜、有線による通信とすることもできる。   For example, in the above-described embodiment, the communication described as the wireless communication can be appropriately performed by wired communication.

上述した実施形態においては、例として電力管理装置10からサーバ300に、電力に関するデータを送信する場合について説明した。しかしながら、本発明は、電力に関するデータの送信に限定されるものではない。例えば、水道またはガスなどの使用量などのデータをサーバ300に送信するエネルギー管理装置にも同様に適用することができる。すなわち、本発明に係るエネルギー管理装置は、各種エネルギーの物理量変化に関するデータを、サーバに送信するものである。   In the embodiment described above, the case where data related to power is transmitted from the power management apparatus 10 to the server 300 has been described as an example. However, the present invention is not limited to transmission of data relating to power. For example, the present invention can be similarly applied to an energy management apparatus that transmits data such as usage amount of water or gas to the server 300. That is, the energy management apparatus according to the present invention transmits data related to changes in physical quantities of various types of energy to a server.

また、上述した実施形態においては、電力管理装置10について重点的に説明したが、本発明は、上述したエネルギー管理装置のエネルギー管理方法、および、このようなエネルギー管理装置を含むエネルギー管理システムにも同様に適用することができる。   In the above-described embodiment, the power management apparatus 10 has been described with emphasis. However, the present invention is also applied to the energy management method of the energy management apparatus described above and an energy management system including such an energy management apparatus. The same can be applied.

1 電力管理システム
10 電力管理装置
11 制御部
12 一時記憶部
13 通信部
14半導体メモリ
20 系統電源
30 太陽光発電部
40 燃料電池発電部
50 蓄電部
60 CTセンサ
70 スマートタップ
80 水道メータ
90 ガスメータ
200 WLANルータ
210 PC
220 タブレット型PC
230 スマートフォン
300 データサーバ
310 スマートフォン

DESCRIPTION OF SYMBOLS 1 Power management system 10 Power management apparatus 11 Control part 12 Temporary storage part 13 Communication part 14 Semiconductor memory 20 System power supply 30 Photovoltaic power generation part 40 Fuel cell power generation part 50 Power storage part 60 CT sensor 70 Smart tap 80 Water meter 90 Gas meter 200 WLAN Router 210 PC
220 Tablet PC
230 Smartphone 300 Data server 310 Smartphone

Claims (5)

サーバにエネルギーの物理量変化に関するデータを送信するエネルギー管理装置であって、
物理量の経時変化を第1の時間単位で計測した第1データ、および、当該第1データを第2の時間単位で積算した第2データを、一時的に記憶する記憶部と、
所定時間経過時に、当該所定時間ぶんの第1データおよび最新の第2データを前記記憶部から読み出して前記サーバに送信し、当該送信が成功した場合、送信済みのデータを前記記憶部から消去するように制御する制御部と、を備え、
前記制御部は、前記送信が失敗した場合、次の所定時間経過時に、当該次の所定時間ぶんの第1データおよび最新の第2データを前記記憶部から読み出して前記サーバに送信し、第2の時間単位の積算が完了した第2データがある時は、未送信の前記所定時間ぶんの第1データとともに当該積算が完了した第2データも前記記憶部から読み出して送信するように制御することを特徴とする、エネルギー管理装置。
An energy management device that transmits data on changes in physical quantities of energy to a server,
A storage unit that temporarily stores first data obtained by measuring a temporal change in physical quantity in a first time unit, and second data obtained by integrating the first data in a second time unit;
When a predetermined time elapses, the first data and the latest second data corresponding to the predetermined time are read from the storage unit and transmitted to the server. When the transmission is successful, the transmitted data is deleted from the storage unit. And a control unit for controlling
When the transmission fails, the control unit reads out the first data and the latest second data for the next predetermined time from the storage unit and transmits them to the server when the next predetermined time elapses. When there is second data that has been integrated in units of time, control is performed so that the second data that has been integrated is read from the storage unit and transmitted together with the first data that has not been transmitted for the predetermined time. An energy management device.
前記制御部は、前記記憶部において、前記第2データが前記第1データよりも先に消去されないように制御する、請求項1に記載のエネルギー管理装置。   The energy management device according to claim 1, wherein the control unit controls the storage unit so that the second data is not erased before the first data. 前記記憶部よりも記憶容量の大きい半導体メモリをさらに備え、
前記制御部は、前記記憶部に一時的に記憶した第1データおよび第2データを前記半導体メモリにさらに記憶し、当該一時的に記憶した第1データおよび第2データを前記サーバに送信する際には、当該半導体メモリからは読み出さないように制御する、請求項1または2に記載のエネルギー管理装置。
A semiconductor memory having a larger storage capacity than the storage unit;
The control unit further stores the first data and the second data temporarily stored in the storage unit in the semiconductor memory, and transmits the temporarily stored first data and second data to the server. The energy management device according to claim 1, wherein control is performed so as not to read from the semiconductor memory.
サーバにエネルギーの物理量変化に関するデータを送信するエネルギー管理装置におけるエネルギー管理方法であって、
物理量の経時変化を第1の時間単位で計測した第1データ、および、当該第1データを第2の時間単位で積算した第2データを、一時的に記憶部に記憶する記憶ステップと、
所定時間経過時に、当該所定時間ぶんの第1データおよび最新の第2データを前記記憶部から読み出して前記サーバに送信し、当該送信が成功した場合、送信済みのデータを前記記憶部から消去するように制御する制御ステップと、を有し、
前記制御ステップにおいて、前記送信が失敗した場合、次の所定時間経過時に、当該次の所定時間ぶんの第1データおよび最新の第2データを前記記憶部から読み出して前記サーバに送信し、第2の時間単位の積算が完了した第2データがある時は、未送信の前記所定時間ぶんの第1データとともに当該積算が完了した第2データも前記記憶部から読み出して送信するように制御することを特徴とする、エネルギー管理方法。
An energy management method in an energy management device for transmitting data on a physical quantity change of energy to a server,
A storage step of temporarily storing, in a storage unit, first data obtained by measuring a temporal change in physical quantity in a first time unit, and second data obtained by integrating the first data in a second time unit;
When a predetermined time elapses, the first data and the latest second data corresponding to the predetermined time are read from the storage unit and transmitted to the server. When the transmission is successful, the transmitted data is deleted from the storage unit. Control steps to control, and
In the control step, when the transmission fails, when the next predetermined time elapses, the first data and the latest second data corresponding to the next predetermined time are read from the storage unit and transmitted to the server. When there is second data that has been integrated in units of time, control is performed so that the second data that has been integrated is read from the storage unit and transmitted together with the first data that has not been transmitted for the predetermined time. An energy management method.
サーバと、当該サーバにエネルギーの物理量変化に関するデータを送信するエネルギー管理装置と、を有するエネルギー管理システムであって、
前記エネルギー管理装置は、
物理量の経時変化を第1の時間単位で計測した第1データ、および、当該第1データを第2の時間単位で積算した第2データを、一時的に記憶する記憶部と、
所定時間経過時に、当該所定時間ぶんの第1データおよび最新の第2データを前記記憶部から読み出して前記サーバに送信し、当該送信が成功した場合、送信済みのデータを前記記憶部から消去するように制御する制御部と、を備え、
前記サーバは、前記エネルギー管理装置からのデータを受信すると、受信完了の応答を返し、
前記制御部は、前記送信に対する受信完了の応答を受信しなかった場合、次の所定時間経過時に、当該次の所定時間ぶんの第1データおよび最新の第2データを前記記憶部から読み出して前記サーバに送信し、第2の時間単位の積算が完了した第2データがある時は、未送信の前記所定時間ぶんの第1データとともに当該積算が完了した第2データも前記記憶部から読み出して送信するように制御することを特徴とする、エネルギー管理システム。
An energy management system comprising: a server; and an energy management device that transmits data related to a physical quantity change of energy to the server,
The energy management device includes:
A storage unit that temporarily stores first data obtained by measuring a temporal change in physical quantity in a first time unit, and second data obtained by integrating the first data in a second time unit;
When a predetermined time elapses, the first data and the latest second data corresponding to the predetermined time are read from the storage unit and transmitted to the server. When the transmission is successful, the transmitted data is deleted from the storage unit. And a control unit for controlling
When the server receives data from the energy management device, it returns a response indicating completion of reception,
If the control unit does not receive a reception completion response to the transmission, when the next predetermined time elapses, the control unit reads the first data and the latest second data for the next predetermined time from the storage unit, and When there is second data that has been transmitted to the server and has been accumulated in the second time unit, the second data that has been accumulated is read from the storage unit together with the untransmitted first data for the predetermined time. An energy management system characterized by controlling to transmit.
JP2013058931A 2013-03-21 2013-03-21 Energy management device, energy management method, and energy management system Active JP6022977B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013058931A JP6022977B2 (en) 2013-03-21 2013-03-21 Energy management device, energy management method, and energy management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013058931A JP6022977B2 (en) 2013-03-21 2013-03-21 Energy management device, energy management method, and energy management system

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2016197721A Division JP6410775B2 (en) 2016-10-06 2016-10-06 Energy management device, energy management method, and energy management system

Publications (2)

Publication Number Publication Date
JP2014186370A JP2014186370A (en) 2014-10-02
JP6022977B2 true JP6022977B2 (en) 2016-11-09

Family

ID=51833932

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013058931A Active JP6022977B2 (en) 2013-03-21 2013-03-21 Energy management device, energy management method, and energy management system

Country Status (1)

Country Link
JP (1) JP6022977B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101698274B1 (en) 2015-09-03 2017-02-01 엘에스산전 주식회사 Apparatus and method for data synchronizing of energy management system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002230040A (en) * 2001-02-01 2002-08-16 Hitachi Ltd Storage/transmission system
JP4449055B2 (en) * 2003-11-27 2010-04-14 日本光電工業株式会社 Biological signal data transmission / reception system and biological signal data transmission / reception method
JP4714025B2 (en) * 2006-01-06 2011-06-29 株式会社日立製作所 Sensor node, base station, sensor network, and sensing data transmission method

Also Published As

Publication number Publication date
JP2014186370A (en) 2014-10-02

Similar Documents

Publication Publication Date Title
CN108292860B (en) Power control device, operation plan making method and recording medium
CN102598454B (en) Control device and control method
JP6249895B2 (en) Power control system, method, and power control apparatus
US20110153108A1 (en) Method and device for remote power management
JP2009118652A (en) Charging system for electric vehicle
US20130207466A1 (en) Home energy management apparatus and method for interworking with new renewable energy
WO2016002346A1 (en) Power control system, and power control device
US20160111880A1 (en) Power controller, power control method, and power control system
JP6410775B2 (en) Energy management device, energy management method, and energy management system
JP6386084B2 (en) Electronic apparatus and method
JP2010213507A (en) Natural energy integrated power storage system and natural energy integrated power storage method
CN103201761A (en) Physical-quantity information providing system, measurement apparatus, mobile information terminal, method of providing physical-quantity information, method of controlling measurement apparatus, method of controlling mobile information terminal, and
JP5942769B2 (en) Power supply system
JP2016073133A (en) Power management system, power transmission management device, power reception management device, power management device, power management method, and computer program
JP6022977B2 (en) Energy management device, energy management method, and energy management system
US20170324245A1 (en) Power control apparatus, power control method, and power control program
JP7075930B2 (en) Control system and external linkage device
US20150338867A1 (en) Sensor apparatus and associated methods
US11646584B2 (en) Energy allocation system
JP2018166360A (en) Estimation device, estimation method, and estimation program
US9608446B2 (en) Method and apparatus for controlling energy supply
JP6501644B2 (en) Communication device
JP2020065401A (en) Emergency power generator, emergency power generator inspection system, and emergency power generator inspection method
JP6422314B2 (en) Wireless communication apparatus and wireless telemeter system
KR101179592B1 (en) Meter data repeating robot cleaner, method and system thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20151116

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160826

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20161006

R150 Certificate of patent or registration of utility model

Ref document number: 6022977

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150