JP2018066603A - Control device, time setting method, and program - Google Patents

Control device, time setting method, and program Download PDF

Info

Publication number
JP2018066603A
JP2018066603A JP2016204270A JP2016204270A JP2018066603A JP 2018066603 A JP2018066603 A JP 2018066603A JP 2016204270 A JP2016204270 A JP 2016204270A JP 2016204270 A JP2016204270 A JP 2016204270A JP 2018066603 A JP2018066603 A JP 2018066603A
Authority
JP
Japan
Prior art keywords
time
unit
time setting
time information
smart meter
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
JP2016204270A
Other languages
Japanese (ja)
Other versions
JP6694794B2 (en
Inventor
櫻井 俊之
Toshiyuki Sakurai
俊之 櫻井
勝則 佐々木
Katsunori Sasaki
勝則 佐々木
由美子 若杉
Yumiko Wakasugi
由美子 若杉
服部 浩明
Hiroaki Hattori
浩明 服部
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.)
NTT Comware Corp
Original Assignee
NTT Comware 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 NTT Comware Corp filed Critical NTT Comware Corp
Priority to JP2016204270A priority Critical patent/JP6694794B2/en
Publication of JP2018066603A publication Critical patent/JP2018066603A/en
Application granted granted Critical
Publication of JP6694794B2 publication Critical patent/JP6694794B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)
  • Electric Clocks (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a control device, a time setting method, and a program that can improve convenience at the time of setting time.SOLUTION: A control device includes: a clocking unit 13 for clocking time; a communication unit 11 for receiving time information from a smart meter 20 that measures an amount of power use; and a time setting unit 151 which is notified by the smart meter 20 at a prescribed time interval, receives a message including the time information and a measurement value of an accumulated amount of power use at constant time from the smart meter 20 and sets the time of the clocking unit 13 on the basis of the time information received from the smart meter 20.SELECTED DRAWING: Figure 1

Description

本発明は、制御装置、時刻設定方法、及びプログラムに関する。   The present invention relates to a control device, a time setting method, and a program.

電力使用量を集計するスマートメータを利用する技術が知られている(例えば、特許文献1を参照)。スマートメータは、時系列に電力使用量を測定するために、正確な時刻に設定された時計を備えている。また、近年、このようなスマートメータを利用する技術として、スマートメータと、スマートメータが測定した電力使用量などのデータを収集及び分析するHEMS(Home Energy Management System)コントローラなどの制御装置とを接続して、住宅内の機器の電力を管理する技術が知られている。   A technique using a smart meter that counts power consumption is known (see, for example, Patent Document 1). The smart meter includes a clock set at an accurate time in order to measure power consumption in time series. In recent years, as a technology that uses such a smart meter, a smart meter is connected to a control device such as a HEMS (Home Energy Management System) controller that collects and analyzes data such as power consumption measured by the smart meter. A technique for managing the power of equipment in a house is known.

特開2013−191962号公報JP 2013-191962 A

ところで、上述したHEMSコントローラなどの制御装置では、収集したデータを時系列に分析するために、正確な時刻を得る必要がある。そのため、このような制御装置では、例えば、ネットワーク経由で時刻を補正するNTP(Network Time Protocol)、PTP(Precision Time Protocol)などの技術を利用して、内蔵の時計に正確な時刻を設定していた。
しかしながら、例えば、新築の住宅にHEMSコントローラなどの制御装置を設置する際には、ネットワーク環境が構築されていない場合があり、このような場合には、制御装置の内蔵の時計に正確な時刻を設定する手段がなかった。そのため、上述した制御装置では、時刻を設定することができずに、ネットワーク環境が構築された後に、再度、時刻を設定する処理を行う必要があり、利便性が悪い場合があった。
By the way, in the control device such as the HEMS controller described above, it is necessary to obtain an accurate time in order to analyze the collected data in time series. Therefore, in such a control device, for example, an accurate time is set in a built-in clock using a technique such as NTP (Network Time Protocol) or PTP (Precision Time Protocol) that corrects the time via a network. It was.
However, for example, when a control device such as a HEMS controller is installed in a newly built house, a network environment may not be constructed. In such a case, an accurate time is displayed on a clock built in the control device. There was no way to set. For this reason, the above-described control device cannot set the time, and after the network environment is constructed, it is necessary to perform the process of setting the time again, which is sometimes not convenient.

本発明は、上記問題を解決すべくなされたもので、その目的は、時刻を設定する際の利便性を向上させることができる制御装置、時刻設定方法、及びプログラムを提供することにある。   The present invention has been made to solve the above problems, and an object of the present invention is to provide a control device, a time setting method, and a program capable of improving convenience when setting the time.

上記問題を解決するために、本発明の一態様は、時刻を計時する時計部と、電力使用量を計測するスマートメータから時刻情報を受信する通信部と、前記通信部によって、前記スマートメータから受信した前記時刻情報に基づいて、前記時計部の時刻を設定する時刻設定部とを備えることを特徴とする制御装置である。   In order to solve the above problem, an aspect of the present invention provides a clock unit that measures time, a communication unit that receives time information from a smart meter that measures power usage, and a communication unit that receives time information from the smart meter. And a time setting unit that sets a time of the clock unit based on the received time information.

また、本発明の一態様は、上記の制御装置において、前記通信部は、所定の時間間隔で前記スマートメータから通知され、前記時刻情報及び定時積算電力量の測定値を含む電文を前記スマートメータから受信し、前記時刻設定部は、前記電文に含まれる前記時刻情報に基づいて、前記時計部の時刻を設定することを特徴とする。   Further, according to one aspect of the present invention, in the control device, the communication unit is notified from the smart meter at a predetermined time interval, and a message including the time information and a measured value of the scheduled integrated electric energy is transmitted to the smart meter. The time setting unit sets the time of the clock unit based on the time information included in the message.

また、本発明の一態様は、上記の制御装置において、前記通信部は、前記スマートメータが計時する現在時刻情報を要求する現在時刻要求を送信し、当該現在時刻要求に応じて、前記現在時刻情報を前記時刻情報として含む応答を前記スマートメータから受信し、前記時刻設定部は、前記通信部によって繰り返し受信した、前記応答に含まれる前記現在時刻情報に基づいて、前記現在時刻情報の分単位の切り替わり点を検出し、検出した当該切り替わり点に基づいて、前記時計部の時刻を設定することを特徴とする。   According to another aspect of the present invention, in the control device, the communication unit transmits a current time request for requesting current time information measured by the smart meter, and the current time is determined in response to the current time request. A response including information as the time information is received from the smart meter, and the time setting unit is repeatedly received by the communication unit, and based on the current time information included in the response, the minute unit of the current time information , And the time of the timepiece unit is set based on the detected switching point.

また、本発明の一態様は、上記の制御装置において、前記時刻設定部は、前記切り替わり点を含む検索範囲を二分する位置における前記現在時刻情報に基づいて、前記二分した前記検索範囲のいずれかを新たな前記検索範囲とする処理を繰り返す二分検索法により前記切り替わり点を検出することを特徴とする。   Further, according to one aspect of the present invention, in the control device, the time setting unit is any one of the search ranges divided into two based on the current time information at a position that bisects the search range including the switching point. The switching point is detected by a binary search method that repeats the process of setting the search range as a new search range.

また、本発明の一態様は、上記の制御装置において、前記時刻設定部は、所定の応答間隔で前記現在時刻情報を繰り返し受信して、前記切り替わり点を含む範囲を限定する限定処理を実行し、限定した当該範囲に対して、前記所定の応答間隔を狭めて、前記限定処理を繰り返し実行することで、前記切り替わり点を検出することを特徴とする。   Further, according to one aspect of the present invention, in the above control device, the time setting unit repeatedly receives the current time information at a predetermined response interval, and executes a limiting process for limiting a range including the switching point. The switching point is detected by repeatedly executing the limiting process while narrowing the predetermined response interval with respect to the limited range.

また、本発明の一態様は、上記の制御装置において、前記時刻設定部は、前記時刻情報を受信するための遅延時間と前記時刻情報とに基づいて、前記時計部の時刻を設定することを特徴とする。   According to another aspect of the present invention, in the control device, the time setting unit sets the time of the clock unit based on a delay time for receiving the time information and the time information. Features.

また、本発明の一態様は、時刻を計時する時計部を備える制御装置が実行する時刻設定方法であって、電力使用量を計測するスマートメータから時刻情報を受信する受信ステップと、前記受信ステップによって、前記スマートメータから受信した前記時刻情報に基づいて、前記時計部の時刻を設定する時刻設定ステップとを含むことを特徴とする時刻設定方法である。   One embodiment of the present invention is a time setting method executed by a control device including a clock unit that measures time, a reception step of receiving time information from a smart meter that measures power consumption, and the reception step And a time setting step of setting the time of the clock unit based on the time information received from the smart meter.

また、本発明の一態様は、時刻を計時する時計部を備える制御装置が有するコンピュータに、電力使用量を計測するスマートメータから時刻情報を受信する受信ステップと、前記受信ステップによって、前記スマートメータから受信した前記時刻情報に基づいて、前記時計部の時刻を設定する時刻設定ステップとを実行させるためのプログラムである。   One embodiment of the present invention includes a reception step of receiving time information from a smart meter that measures power consumption in a computer included in a control device including a clock unit that measures time, and the smart meter includes: And a time setting step for setting the time of the clock unit based on the time information received from the program.

本発明によれば、時刻を設定する際の利便性を向上させることができる。   According to the present invention, convenience when setting the time can be improved.

本実施形態による電力管理システムの一例を示す機能ブロック図である。It is a functional block diagram which shows an example of the power management system by this embodiment. 本実施形態における遅延時間θの一例を説明する図である。It is a figure explaining an example of delay time theta in this embodiment. 第1の実施形態による時刻設定処理の一例を示すフローチャートである。It is a flowchart which shows an example of the time setting process by 1st Embodiment. 第2の実施形態による時刻設定処理の一例を示すフローチャートである。It is a flowchart which shows an example of the time setting process by 2nd Embodiment. 第2の実施形態による時刻設定の動作の一例を説明する図である。It is a figure explaining an example of the operation | movement of the time setting by 2nd Embodiment. 第3の実施形態による時刻設定処理の一例を示すフローチャートである。It is a flowchart which shows an example of the time setting process by 3rd Embodiment. 第3の実施形態による時刻設定の動作の一例を説明する図である。It is a figure explaining an example of the operation | movement of the time setting by 3rd Embodiment.

以下、本発明の実施形態による制御装置、時刻設定方法、及びプログラムについて、図面を参照して説明する。   Hereinafter, a control device, a time setting method, and a program according to embodiments of the present invention will be described with reference to the drawings.

[第1の実施形態]
図1は、本実施形態による電力管理システム1の一例を示す機能ブロック図である。
図1に示すように、電力管理システム1は、HEMSコントローラ10と、スマートメータ20と、宅内機器(31、32)とを備えている。なお、図1は、後述する第1〜第3の実施形態における構成例を示す共通の図面である。
[First Embodiment]
FIG. 1 is a functional block diagram illustrating an example of a power management system 1 according to the present embodiment.
As shown in FIG. 1, the power management system 1 includes a HEMS controller 10, a smart meter 20, and home devices (31, 32). FIG. 1 is a common drawing showing a configuration example in first to third embodiments described later.

スマートメータ20は、例えば、住宅100(需要家宅)に設置され、当該住宅100の電力使用量を計測する電力メータである。スマートメータ20は、例えば、920MHz(メガヘルツ)帯無線通信を利用したWi−SUN(Wireless Smart Utility Network)の通信機能を有している。スマートメータ20は、Wi−SUNを利用して、MDMS(Meter Data Management System)の電力会社サーバ2との間で通信するAルートと、HEMSコントローラ10との間で通信するBルートとの2系統の通信を行う。
また、スマートメータ20は、無線通信部21と、電力計測部22と、時計部23と、メータ記憶部24と、メータ制御部25とを備えている。
The smart meter 20 is, for example, a power meter that is installed in a house 100 (customer's house) and measures the power consumption of the house 100. The smart meter 20 has a Wi-SUN (Wireless Smart Utility Network) communication function using, for example, 920 MHz (megahertz) band wireless communication. The smart meter 20 uses Wi-SUN, and two systems of an A route that communicates with the electric power company server 2 of MDMS (Meter Data Management System) and a B route that communicates with the HEMS controller 10. Communication.
The smart meter 20 includes a wireless communication unit 21, a power measurement unit 22, a clock unit 23, a meter storage unit 24, and a meter control unit 25.

無線通信部21は、例えば、920MHz帯無線通信を利用したWi−SUNによる通信を行う。無線通信部21は、上述したAルートと、Bルートとを切り替えて、電力会社サーバ2、又は、HEMSコントローラ10との間で通信を行う。
電力計測部22は、例えば、住宅100で使用する電力使用量(電力量)を計測する。
For example, the wireless communication unit 21 performs communication by Wi-SUN using 920 MHz band wireless communication. The wireless communication unit 21 performs communication with the power company server 2 or the HEMS controller 10 by switching between the A route and the B route described above.
For example, the power measuring unit 22 measures the amount of power used (amount of power) used in the house 100.

時計部23は、例えば、RTC(Real Time Clock)機能を有する内蔵時計であり、時刻を計時する。時計部23には、Aルートによるネットワークを介して、正確な時刻が設定されている。なお、時計部23は、“時”、“分”、“秒”などの時刻を計時するが、“年”、“月”、“日”などを更新するカレンダ機能を有していてもよい。   The clock unit 23 is a built-in clock having an RTC (Real Time Clock) function, for example, and measures time. The clock unit 23 is set with an accurate time via a network based on the A route. The clock unit 23 measures time such as “hour”, “minute”, “second”, but may have a calendar function for updating “year”, “month”, “day”, and the like. .

メータ記憶部24は、スマートメータ20の各種処理に利用する情報を記憶する。メータ記憶部24は、例えば、電力計測部22によって計測された電力使用量と、計測時刻とを対応付けた計測情報を記憶する。また、メータ記憶部24は、例えば、30分間隔などの所定の時間間隔毎の積算電力量と、計測年月日及び計測時刻と対応付けた積算電力量情報を記憶する。   The meter storage unit 24 stores information used for various processes of the smart meter 20. The meter storage unit 24 stores, for example, measurement information in which the power usage measured by the power measurement unit 22 is associated with the measurement time. In addition, the meter storage unit 24 stores, for example, integrated power amount information corresponding to a predetermined time interval such as an interval of 30 minutes, a measurement date, and a measurement time.

メータ制御部25は、例えば、CPU(Central Processing Unit)などを含むプロセッサであり、スマートメータ20を統括的に制御する。メータ制御部25は、電力計測部22が測定した電力使用量と、時計部23の時刻情報とを取得し、電力使用量と、時刻情報とを対応付けて、メータ記憶部24に記憶させる。また、メータ制御部25は、例えば、30分毎の積算電力量を算出し、当該積算電力量と、計測年月日及び計測時刻と対応付けた積算電力量情報をメータ記憶部24に記憶させる。また、メータ制御部25は、無線通信部21を介して、上述したAルートによる電力会社サーバ2との間の通信を制御するとともに、BルートによるHEMSコントローラ10との間の通信を制御する。   The meter control unit 25 is a processor including, for example, a CPU (Central Processing Unit) and the like, and comprehensively controls the smart meter 20. The meter control unit 25 acquires the power usage amount measured by the power measurement unit 22 and the time information of the clock unit 23, and stores the power usage amount and the time information in the meter storage unit 24 in association with each other. For example, the meter control unit 25 calculates the integrated power amount every 30 minutes, and stores the integrated power amount and the integrated power amount information associated with the measurement date and time in the meter storage unit 24. . Further, the meter control unit 25 controls communication with the power company server 2 using the A route described above and also controls communication with the HEMS controller 10 using the B route via the wireless communication unit 21.

ここで、Bルートによるスマートメータ20とHEMSコントローラ10との間の通信プロトコルは、例えば、ECHONET(登録商標) Liteである。また、ECHONET Liteには、スマートメータ20からHEMSコントローラ10に時刻情報又は時刻情報を含む情報を送信するクラスとして、例えば、「低圧スマート電力量メータクラス」及び「機器オブジェクトスーパークラス」が規定されている。なお、「低圧スマート電力量メータクラス」では、時刻情報を定時積算電力量計測値の計測日時として含む情報が送信される。メータ制御部25は、Bルートによる通信処理として、これらのクラスに対応した処理を制御する。なお、ECHONET Liteのクラス規定につては、「ECHONET SPECIFICATION APPENDIX ECHONET機器オブジェクト詳細規定」(May 29, 2015 Release G)に規定されている。   Here, the communication protocol between the smart meter 20 and the HEMS controller 10 by the B route is, for example, ECHONET (registered trademark) Lite. In addition, in the ECHONET Lite, for example, “low voltage smart power meter class” and “apparatus object super class” are defined as classes for transmitting time information or information including time information from the smart meter 20 to the HEMS controller 10. Yes. In the “low-voltage smart electric energy meter class”, information including time information as the measurement date and time of the scheduled integrated electric energy measurement value is transmitted. The meter control unit 25 controls processing corresponding to these classes as communication processing by the B route. Note that the ECHONET Lite class rules are defined in “ECHONET SPECIFICATION APPENDIX ECHONET Device Object Detailed Rules” (May 29, 2015 Release G).

メータ制御部25は、例えば、「低圧スマート電力量メータクラス」に規定される「定時積算電力量計測値(正方向計測値)」プロパティに基づいて、計測年月日、計測時刻(“時”、“分”、“秒”の時刻情報)、及び積算電力量を含むプロパティ値通知(INF)の電文を、Bルートにより30分毎にHEMSコントローラ10に通知する。なお、「低圧スマート電力量メータクラス」には、売電用の「定時積算電力量計測値(逆方向計測値)」プロパティが規定されている。メータ制御部25は、売電を行う場合には、「定時積算電力量計測値(逆方向計測値)」プロパティに基づいて、計測年月日、計測時刻(“時”、“分”、“秒”の時刻情報)、及び積算電力量を含むプロパティ値通知(INF)の電文を、Bルートにより30分毎にHEMSコントローラ10に通知する。
また、メータ制御部25は、例えば、「機器オブジェクトスーパークラス」に規定される「現在時刻設定」プロパティに基づいて、Bルートによる「現在時刻設定」のプロパティ値の読み出し要求(Get)に対して、現在時刻(“時”、“分”の時刻情報)を含む読み出し応答(Get_Res)をHEMSコントローラ10に送信する。
For example, the meter control unit 25 determines the measurement date and time (“hour”) based on the “timed integrated energy measurement value (positive direction measurement value)” property defined in the “low-voltage smart energy meter class”. , “Minute”, “second” time information), and a property value notification (INF) message including the accumulated power amount are notified to the HEMS controller 10 every 30 minutes by the B route. In the “low-voltage smart electric energy meter class”, a “scheduled integrated electric energy measurement value (reverse direction measurement value)” property for power sale is defined. When the power is sold, the meter control unit 25 determines the measurement date and time (“hour”, “minute”, “minute”) based on the “scheduled cumulative power consumption measurement value (reverse direction measurement value)” property. Time information of “second”) and a property value notification (INF) message including the accumulated power amount are notified to the HEMS controller 10 every 30 minutes by the B route.
In addition, the meter control unit 25 responds to a read request (Get) of the property value of “current time setting” by the B route based on the “current time setting” property defined in “device object superclass”, for example. Then, a read response (Get_Res) including the current time (time information of “hour” and “minute”) is transmitted to the HEMS controller 10.

なお、「機器オブジェクトスーパークラス」の「現在時刻設定」プロパティは、HEMSコントローラ10が、ECHONET Liteに対応する機器の内蔵時計の時刻が合っている(正しい)か否かを確認するためのプロパティである。「現在時刻設定」では、例えば、ECHONET Liteに対応する機器の時刻が合っていないことが確認された場合に、HEMSコントローラ10が、HEMSコントローラ10の時刻を当該機器に設定する(Set)ことを前提としている。本実施形態では、この機器の時刻が合っている(正しい)か否かを確認する「現在時刻設定」プロパティの機能を、HEMSコントローラ10の時刻修正に利用する。   The “current time setting” property of the “device object super class” is a property for the HEMS controller 10 to check whether the time of the internal clock of the device corresponding to ECHONET Lite is correct (correct). is there. In “current time setting”, for example, when it is confirmed that the time of the device corresponding to ECHONET Lite is not correct, the HEMS controller 10 sets the time of the HEMS controller 10 to the device (Set). It is assumed. In the present embodiment, the function of the “current time setting” property for confirming whether or not the time of this device is correct (correct) is used for time correction of the HEMS controller 10.

宅内機器(31、32)は、住宅100内に設置され、HEMSコントローラ10によって、電力消費に関する管理が行われる機器である。例えば、宅内機器31は、分電盤であり、宅内機器32は、エアーコンディショナ(以下、エアコンという)である。なお、本実施形態において、宅内機器(31、32)は、電力管理システム1が備える任意の宅内機器を示す場合、又は特に区別しない場合には、宅内機器30として説明する。各宅内機器30は、ネットワークNW1を介して、HEMSコントローラ10に接続されている。
ネットワークNW1は、住宅100内のホームエリアネットワーク(HAN)である。
The home devices (31, 32) are devices that are installed in the house 100 and are managed by the HEMS controller 10 regarding power consumption. For example, the home device 31 is a distribution board, and the home device 32 is an air conditioner (hereinafter referred to as an air conditioner). In the present embodiment, the in-home devices (31, 32) will be described as the in-home device 30 in the case where any in-home devices provided in the power management system 1 are indicated or not particularly distinguished. Each in-home device 30 is connected to the HEMS controller 10 via the network NW1.
The network NW1 is a home area network (HAN) in the house 100.

HEMSコントローラ10(制御装置の一例)は、スマートメータ20が計測した電力使用量に関する情報を取得するとともに、宅内機器30の消費電力を取得し、宅内機器30の動作モードを制御するなどの電力消費に関する管理を行う。HEMSコントローラ10は、例えば、上述したWi−SUNを利用したBルートにより、定時積算電力量計測値を取得する。また、HEMSコントローラ10は、例えば、上述したネットワークNW1を介して、宅内機器30の消費電力の収集及び宅内機器30の動作モードの制御を行う。
また、HEMSコントローラ10は、無線通信部11と、NW(ネットワーク)通信部12と、時計部13と、記憶部14と、制御部15とを備えている。
The HEMS controller 10 (an example of a control device) acquires information on the power consumption measured by the smart meter 20, acquires power consumption of the home device 30, and controls the operation mode of the home device 30. To manage. For example, the HEMS controller 10 acquires the scheduled integrated electric energy measurement value by the B route using the Wi-SUN described above. In addition, the HEMS controller 10 collects power consumption of the home device 30 and controls the operation mode of the home device 30 via, for example, the network NW1 described above.
The HEMS controller 10 also includes a wireless communication unit 11, an NW (network) communication unit 12, a clock unit 13, a storage unit 14, and a control unit 15.

無線通信部11(通信部の一例)は、例えば、920MHz帯無線通信を利用したWi−SUNによる通信を行う。無線通信部11は、上述したBルートによるスマートメータ20との間で通信を行う。無線通信部11は、例えば、スマートメータ20から、時刻情報を受信する。すなわち、無線通信部11は、例えば、上述した「定時積算電力量計測値」のプロパティ値通知の電文(以下、通知電文という)や、「現在時刻設定」のプロパティ値の読み出し応答電文(以下、応答電文という)を受信することにより、当該通知電文又は当該応答電文に含まれている時刻情報を受信する。
例えば、無線通信部11は、所定の時間間隔(例えば、30分間隔)でスマートメータ20から通知され、時刻情報及び定時積算電力量の測定値を含む電文(例えば、「定時積算電力量計測値」の通知電文)をスマートメータ20から受信する。
The wireless communication unit 11 (an example of a communication unit) performs, for example, Wi-SUN communication using 920 MHz band wireless communication. The wireless communication unit 11 performs communication with the smart meter 20 using the B route described above. For example, the wireless communication unit 11 receives time information from the smart meter 20. That is, the wireless communication unit 11, for example, a property value notification message (hereinafter referred to as a notification message) of the “timed integrated power consumption measurement value” or a property value read response message (hereinafter referred to as a “current time setting”). The time information included in the notification message or the response message is received.
For example, the wireless communication unit 11 is notified from the smart meter 20 at a predetermined time interval (for example, every 30 minutes), and includes a message (for example, “measurement value of the scheduled integrated power amount”, including time information and a measured value of the scheduled integrated power amount. ”Is received from the smart meter 20.

NW通信部12は、無線LAN(Local Area Network)通信、有線LAN通信、Wi−SUN通信などを利用してネットワークNW1に接続し、ネットワークNW1を介して各種通信を行う。NW通信部12は、例えば、ネットワークNW1を介して、宅内機器30に接続し、宅内機器30の消費電力の収集及び動作モードの制御に関する通信を行う。   The NW communication unit 12 connects to the network NW1 using wireless LAN (Local Area Network) communication, wired LAN communication, Wi-SUN communication, and the like, and performs various types of communication via the network NW1. For example, the NW communication unit 12 is connected to the in-home device 30 via the network NW1, and performs communication related to collection of power consumption and control of the operation mode of the in-home device 30.

時計部13は、例えば、RTC機能を有する内蔵時計であり、時刻を計時する。時計部13には、後述する時刻設定部151によって、正確な時刻が設定されている。なお、時計部13は、 “時”、“分”、“秒”などの時刻を計時するが、“年”、“月”、“日”などを更新するカレンダ機能を有していてもよい。   The clock unit 13 is a built-in clock having an RTC function, for example, and measures time. In the clock unit 13, an accurate time is set by a time setting unit 151 described later. The clock unit 13 measures time such as “hour”, “minute”, “second”, but may have a calendar function for updating “year”, “month”, “day”, and the like. .

記憶部14は、HEMSコントローラ10の各種処理に利用する情報を記憶する。記憶部14は、例えば、時計部13の時刻設定の処理に利用する情報を記憶する。また、記憶部14は、例えば、スマートメータ20から取得した「定時積算電力量計測値」のプロパティ値、及び宅内機器30の電力消費を管理するための情報などを記憶する。この宅内機器30の電力消費を管理するための情報には、例えば、宅内機器30の消費電力などの収集データ及び動作モードなどの制御情報、等が含まれ、記憶部14は、当該情報と、時計部13から取得した時刻情報とを対応付けて記憶する。   The storage unit 14 stores information used for various processes of the HEMS controller 10. The storage unit 14 stores, for example, information used for the time setting process of the clock unit 13. In addition, the storage unit 14 stores, for example, the property value of the “timed integrated power consumption measurement value” acquired from the smart meter 20 and information for managing the power consumption of the home appliance 30. The information for managing the power consumption of the home device 30 includes, for example, collected data such as power consumption of the home device 30 and control information such as an operation mode. The storage unit 14 stores the information, The time information acquired from the clock unit 13 is stored in association with each other.

制御部15は、例えば、CPUなどを含むプロセッサであり、HEMSコントローラ10を統括的に制御する。制御部15は、例えば、時計部13の時刻を設定する処理や、宅内機器30の電力消費を管理する処理などを実行する。
また、制御部15は、時刻設定部151と、電力管理部152とを備えている。
The control unit 15 is a processor including, for example, a CPU and controls the HEMS controller 10 in an integrated manner. The control unit 15 executes, for example, processing for setting the time of the clock unit 13 and processing for managing power consumption of the home appliance 30.
The control unit 15 includes a time setting unit 151 and a power management unit 152.

時刻設定部151は、無線通信部11によって、スマートメータ20から受信した時刻情報に基づいて、時計部13の時刻を設定する。時刻設定部151は、例えば、「定時積算電力量計測値」の通知電文に含まれる時刻情報に基づいて、時計部13の時刻を設定する。なお、「定時積算電力量計測値」の通知電文には、上述したように、“時”、“分”、“秒”の時刻情報(計測時刻)が含まれており、時刻設定部151は、当該“時”、“分”、“秒”の時刻情報に基づいて、時計部13の時刻を設定する。   The time setting unit 151 sets the time of the clock unit 13 based on the time information received from the smart meter 20 by the wireless communication unit 11. For example, the time setting unit 151 sets the time of the clock unit 13 based on the time information included in the notification message “timed integrated electric energy measurement value”. In addition, as described above, the notification message of “timed integrated power consumption measurement value” includes time information (measurement time) of “hour”, “minute”, and “second”, and the time setting unit 151 Based on the time information of “hour”, “minute”, and “second”, the time of the clock unit 13 is set.

また、時刻設定部151は、上述した時刻情報を受信するための遅延時間θと当該時刻情報とに基づいて、時計部13の時刻を設定する。ここで、遅延時間θとは、例えば、HEMSコントローラ10からスマートメータ20への過去のプロパティ値の読み出し要求(Get)や、スマートメータ20とHEMSコントローラ10との間の認証、セッション管理、暗号化に利用されているPANA(Protocol for Carrying Authentication for Network Access, RFC5191)におけるPANA Ping(PANA-Notification-Request/PANA-Notification-Answer)等に対する往復遅延時間RTT(Round Trip Time)の統計値(例えば、タイムアウトを除いた平均値、中央値等)を“2”で除算した値である。   The time setting unit 151 sets the time of the clock unit 13 based on the delay time θ for receiving the time information described above and the time information. Here, the delay time θ is, for example, a request for reading past property values (Get) from the HEMS controller 10 to the smart meter 20, authentication between the smart meter 20 and the HEMS controller 10, session management, and encryption. Statistical value of round trip time RTT (Round Trip Time) for PANA Ping (PANA-Notification-Request / PANA-Notification-Answer) etc. in PANA (Protocol for Carrying Authentication for Network Access, RFC5191) (Average value excluding time-out, median value, etc.) divided by “2”.

図2は、本実施形態における遅延時間θの一例を説明する図である。
図2に示すように、往復遅延時間RTTは、遅延時間DLY1と、遅延時間DLY2と、遅延時間DLY3との合計の遅延時間である。遅延時間DLY1は、HEMSコントローラ10からスマートメータ20への電文M1(例えば、プロパティ値の読み出し要求(Get)の電文)の送信に掛かる時間である。また、遅延時間DLY2は、スマートメータ20における、例えば、プロパティ値の読み出し内部処理に掛かる時間である。また、遅延時間DLY3は、スマートメータ20からHEMSコントローラ10への電文M2(例えば、プロパティ値の読み出し応答(Get_Res)の電文)の送信に掛かる時間である。
FIG. 2 is a diagram illustrating an example of the delay time θ in the present embodiment.
As shown in FIG. 2, the round trip delay time RTT is a total delay time of the delay time DLY1, the delay time DLY2, and the delay time DLY3. The delay time DLY1 is a time required for transmission of a message M1 (for example, a property value read request (Get) message) from the HEMS controller 10 to the smart meter 20. The delay time DLY2 is a time required for internal processing of, for example, reading property values in the smart meter 20. The delay time DLY3 is a time required for transmission of a message M2 from the smart meter 20 to the HEMS controller 10 (for example, a message of a property value read response (Get_Res)).

制御部15は、このような往復遅延時間RTTを、時計部13を利用して予め計測して、計測した往復遅延時間RTTを記憶部14に記憶させる。そして、制御部15は、記憶部14が記憶する過去の(複数の)往復遅延時間RTTの中央値、又は平均値を2分の1(1/2)した値を遅延時間θとして算出する。制御部15は、算出した遅延時間θを記憶部14に記憶させる。
なお、上述した例では、プロパティ値の読み出し要求(Get)を利用して、往復遅延時間RTTを計測する例を説明したが、制御部15は、PANA Pingを利用して往復遅延時間RTTを計測してもよい。
The control unit 15 measures the round trip delay time RTT in advance using the clock unit 13 and stores the measured round trip delay time RTT in the storage unit 14. Then, the control unit 15 calculates, as the delay time θ, a median value of the past (plural) round-trip delay times RTT stored in the storage unit 14 or a value obtained by halving (1/2) the average value. The control unit 15 stores the calculated delay time θ in the storage unit 14.
In the example described above, the example in which the round trip delay time RTT is measured using the property value read request (Get) has been described. However, the control unit 15 measures the round trip delay time RTT using PANA Ping. May be.

図1の説明に戻り、時刻設定部151は、このように予め算出されている遅延時間θを、記憶部14から取得し、取得した遅延時間θを、上述した“時”、“分”、“秒”の時刻情報に加算した時刻を、時計部13の時刻として設定する。   Returning to the description of FIG. 1, the time setting unit 151 acquires the delay time θ calculated in advance as described above from the storage unit 14, and uses the acquired delay time θ as the above-described “hour”, “minute”, The time added to the time information of “second” is set as the time of the clock unit 13.

電力管理部152は、住宅100内の電力消費(電力使用)を管理する処理を実行する。電力管理部152は、例えば、無線通信部11を介して、スマートメータ20から「定時積算電力量計測値」のプロパティ値を取得し、取得した当該プロパティ値を記憶部14に記憶させる。また、電力管理部152は、例えば、NW通信部12を介して、各宅内機器30の消費電力などのデータを収集し、当該収集データと、時計部13から取得した時刻情報とを対応付けて記憶部14に記憶させる。また、電力管理部152は、収集データ及びスマートメータ20から取得した定時積算電力量計測値に基づいて、動作モードなどの制御情報を決定し、当該制御情報を、例えば、NW通信部12を介して各宅内機器30に送信する。   The power management unit 152 executes processing for managing power consumption (power use) in the house 100. For example, the power management unit 152 acquires the property value of “timed integrated power consumption measurement value” from the smart meter 20 via the wireless communication unit 11 and stores the acquired property value in the storage unit 14. In addition, the power management unit 152 collects data such as the power consumption of each home device 30 via the NW communication unit 12 and associates the collected data with the time information acquired from the clock unit 13, for example. The data is stored in the storage unit 14. In addition, the power management unit 152 determines control information such as an operation mode based on the collected data and the measurement value of the scheduled integrated power amount acquired from the smart meter 20, and the control information is transmitted to the NW communication unit 12, for example. To each home device 30.

なお、ネットワークNW1(ホームエリアネットワーク)は、インターネットなどの外部のネットワークNW2に接続可能であり、HEMSコントローラ10は、ネットワークNW1及びネットワークNW2を介して、正確な時刻(標準時間)を計時する時計サーバ3(時刻サーバ)に接続可能である。上述した時刻設定部151は、住宅100においてネットワークNW2に接続できる環境が構築され、ネットワークNW1及びネットワークNW2を介して、時計サーバ3に接続可能である場合には、時計サーバ3から取得した情報(例えば、時刻情報)に基づいて、時計部13の時刻を設定してもよい。この場合、時刻設定部151は、NTPや、PTPなどの技術を利用して、時計部13の時刻を設定する。   Note that the network NW1 (home area network) can be connected to an external network NW2 such as the Internet, and the HEMS controller 10 is a clock server that measures accurate time (standard time) via the network NW1 and the network NW2. 3 (time server). When the environment that can be connected to the network NW2 is constructed in the house 100 and the time setting unit 151 described above is connectable to the clock server 3 via the network NW1 and the network NW2, the information ( For example, the time of the clock unit 13 may be set based on the time information. In this case, the time setting unit 151 sets the time of the clock unit 13 using a technique such as NTP or PTP.

次に、図3を参照して、本実施形態によるHEMSコントローラ10の動作について説明する。ここでは、本実施形態によるHEMSコントローラ10の時刻設定処理について説明する。
図3は、本実施形態による時刻設定処理の一例を示すフローチャートである。
Next, the operation of the HEMS controller 10 according to the present embodiment will be described with reference to FIG. Here, the time setting process of the HEMS controller 10 by this embodiment is demonstrated.
FIG. 3 is a flowchart illustrating an example of the time setting process according to the present embodiment.

図3に示すように、時刻設定処理を行う際に、HEMSコントローラ10の時刻設定部151は、まず、30分毎の「定時積算電力量計測値」の通知有りであるか否かを判定する(ステップS101)。すなわち、時刻設定部151は、無線通信部11に、「定時積算電力量計測値」の通信電文がスマートメータ20から通知されたか否かを判定する。時刻設定部151は、「定時積算電力量計測値」の通信電文が通知された場合(ステップS101:YES)に、処理をステップS102に進める。また、時刻設定部151は、「定時積算電力量計測値」の通信電文が通知されていない場合(ステップS101:NO)に、処理をステップS101に戻す。   As shown in FIG. 3, when performing the time setting process, the time setting unit 151 of the HEMS controller 10 first determines whether or not there is a notification of the “timed integrated power consumption measurement value” every 30 minutes. (Step S101). That is, the time setting unit 151 determines whether or not the wireless meter 11 has notified the smart meter 20 of a communication message of “measured amount of accumulated power on time”. The time setting unit 151 advances the process to step S102 when a communication message of “scheduled integrated power consumption measurement value” is notified (step S101: YES). Moreover, the time setting part 151 returns a process to step S101, when the communication message | telegram of "a fixed integration electric energy measured value" is not notified (step S101: NO).

なお、スマートメータ20の無線通信部21は、例えば、毎時00分00秒と、毎時30分00秒のように、30分毎に、「定時積算電力量計測値」の通知電文を、例えば、Wi−SUNによる無線通信により、HEMSコントローラ10に通知する。   For example, the wireless communication unit 21 of the smart meter 20 may send a notification message of “measured amount of accumulated electric energy at a fixed time” every 30 minutes, for example, hourly 00:00 and hourly 30:00. The HEMS controller 10 is notified by wireless communication using Wi-SUN.

ステップS102において、無線通信部11は、「定時積算電力量計測値」の通信電文の通知電文を受信する。無線通信部11は、例えば、Wi−SUNによる無線通信により、計測時刻(“時”、“分”、“秒”の時刻情報)を含む「定時積算電力量計測値」の通信電文を、スマートメータ20から受信する。無線通信部11は、受信した通信電文を記憶部14に記憶させる。   In step S <b> 102, the wireless communication unit 11 receives a notification message of a communication message “scheduled integrated power consumption measurement value”. The wireless communication unit 11 uses, for example, Wi-SUN wireless communication to smartly transmit a communication message of “timed integrated power consumption measurement value” including measurement time (time information of “hour”, “minute”, “second”). Receive from meter 20. The wireless communication unit 11 stores the received communication message in the storage unit 14.

次に、時刻設定部151は、「定時積算電力量計測値」の通信電文に含まれる計測時刻を取得する(ステップS103)。時刻設定部151は、例えば、記憶部14が記憶する「定時積算電力量計測値」の通信電文を読み出し、当該通信電文に含まれる計測時刻(“時”、“分”、“秒”の時刻情報)を取得する。   Next, the time setting unit 151 acquires the measurement time included in the communication telegram of “timed integrated power consumption measurement value” (step S103). For example, the time setting unit 151 reads a communication telegram of “timed integrated power consumption measurement value” stored in the storage unit 14 and measures the measurement time (“hour”, “minute”, “second” included in the communication telegram. Information).

次に、時刻設定部151は、取得した計測時刻に遅延時間θを加算した時刻を時計部13の時刻に設定する(ステップS104)。すなわち、時刻設定部151は、取得した計測時刻である“時”、“分”、“秒”の時刻情報に、図2に示す遅延時間θを加算して、時計部13の時刻に設定する。ステップS104の処理後に、時刻設定部151は、時刻設定処理を終了する。   Next, the time setting unit 151 sets the time obtained by adding the delay time θ to the acquired measurement time as the time of the clock unit 13 (step S104). That is, the time setting unit 151 sets the time of the clock unit 13 by adding the delay time θ shown in FIG. 2 to the time information of “hour”, “minute”, and “second” that are the acquired measurement times. . After the process of step S104, the time setting unit 151 ends the time setting process.

なお、時刻設定部151は、上述した時刻設定処理は、HEMSコントローラ10が設置された際、及び、HEMSコントローラ10が再起動された際に実行するが、スマートメータ20から受信した計測時刻(“時”、“分”、“秒”の時刻情報)と、時計部13の時刻とが所定の値以上の差が生じた場合に、当該時刻設定処理を実行してもよい。   The time setting unit 151 executes the time setting process described above when the HEMS controller 10 is installed and when the HEMS controller 10 is restarted. The time setting process may be executed when a difference of a predetermined value or more occurs between the time information of “hour”, “minute”, and “second”) and the time of the clock unit 13.

以上説明したように、本実施形態によるHEMSコントローラ10は、時刻を計時する時計部13と、無線通信部11(通信部)と、時刻設定部151とを備えている。無線通信部11は、電力使用量を計測するスマートメータ20から時刻情報(例えば、「定時積算電力量計測値」の通知電文に含まれる“時”、“分”、“秒”の時刻情報)を受信する。時刻設定部151は、無線通信部11によって、スマートメータ20から受信した時刻情報に基づいて、時計部13の時刻を設定する。   As described above, the HEMS controller 10 according to the present embodiment includes the clock unit 13 that measures time, the wireless communication unit 11 (communication unit), and the time setting unit 151. The wireless communication unit 11 receives time information from the smart meter 20 that measures power consumption (for example, time information of “hour”, “minute”, and “second” included in a notification message of “timed integrated power consumption measurement value”). Receive. The time setting unit 151 sets the time of the clock unit 13 based on the time information received from the smart meter 20 by the wireless communication unit 11.

これにより、本実施形態によるHEMSコントローラ10は、スマートメータ20から正確な時刻情報を取得することで正確な時刻を時計部13に設定することができる。例えば、住宅100にネットワーク環境(例えば、ネットワークNW1の環境及びネットワークNW2への接続環境)が構築されていない場合であっても、本実施形態によるHEMSコントローラ10は、正確な時刻を設定することができる。そのため、本実施形態によるHEMSコントローラ10では、住宅100に設置時に、時刻を適切に設定することができずに、ネットワーク環境が構築された後に、再度、時刻を設定する処理を行う必要がない。このように、本実施形態によるHEMSコントローラ10は、時刻を設定する際の利便性を向上させることができる。   Thereby, the HEMS controller 10 according to the present embodiment can set the accurate time in the clock unit 13 by acquiring the accurate time information from the smart meter 20. For example, even when the network environment (for example, the environment of the network NW1 and the connection environment to the network NW2) is not established in the house 100, the HEMS controller 10 according to the present embodiment can set an accurate time. it can. Therefore, in the HEMS controller 10 according to the present embodiment, the time cannot be appropriately set when installed in the house 100, and it is not necessary to perform the process of setting the time again after the network environment is constructed. Thus, the HEMS controller 10 according to the present embodiment can improve convenience when setting the time.

また、本実施形態によるHEMSコントローラ10は、GPS(Global Positioning System)時計や電波時計の機能を備える必要がなく、安価、且つ、簡易な構成により、正確な時刻を設定することができる。   Further, the HEMS controller 10 according to the present embodiment does not need to have a function of a GPS (Global Positioning System) clock or a radio clock, and can set an accurate time with an inexpensive and simple configuration.

また、本実施形態では、無線通信部11は、所定の時間間隔(例えば、30分間隔)でスマートメータ20から通知され、時刻情報及び定時積算電力量の測定値を含む電文(例えば、「定時積算電力量計測値」の通信電文)をスマートメータ20から受信する。時刻設定部151は、当該電文に含まれる時刻情報(“時”、“分”、“秒”の時刻情報)に基づいて、時計部13の時刻を設定する。
これにより、本実施形態によるHEMSコントローラ10は、簡易な手段により、スマートメータ20に設定されている時刻と、時計部13の時刻とを同期させて、正確な時刻を設定することができる。なお、「定時積算電力量計測値」の通信電文は、スマートメータ20に標準で備えられる機能であるため、本実施形態によるHEMSコントローラ10は、時刻設定のために、スマートメータ20に特別な機能変更及び機能追加を行う必要がない。
Further, in the present embodiment, the wireless communication unit 11 is notified from the smart meter 20 at a predetermined time interval (for example, every 30 minutes), and includes a message (for example, “on-time” including time information and a measured value of the scheduled integrated power consumption. The communication message of “integrated electric energy measurement value” is received from the smart meter 20. The time setting unit 151 sets the time of the clock unit 13 based on the time information (“hour”, “minute”, “second” time information) included in the message.
Thereby, the HEMS controller 10 by this embodiment can synchronize the time set to the smart meter 20, and the time of the timepiece part 13 by a simple means, and can set an exact time. In addition, since the communication message of “timed integrated power consumption measurement value” is a function provided as a standard in the smart meter 20, the HEMS controller 10 according to the present embodiment has a special function for the smart meter 20 for time setting. There is no need to change or add functions.

また、本実施形態では、時刻設定部151は、時刻情報を受信するための遅延時間θと時刻情報とに基づいて、時計部13の時刻を設定する。
これにより、本実施形態によるHEMSコントローラ10は、さらに正確な時刻を時計部13に設定することができる。
In the present embodiment, the time setting unit 151 sets the time of the clock unit 13 based on the delay time θ for receiving the time information and the time information.
Thereby, the HEMS controller 10 by this embodiment can set the more exact time to the timepiece part 13. FIG.

また、本実施形態によるHEMSコントローラ10は、ネットワーク(NW1、NW2)に接続する可能なNW通信部12を備えている。時刻設定部151は、NW通信部12によって、ネットワーク(NW1、NW2)を介して時計サーバ3に接続可能な場合に、当該時計サーバ3から取得した時刻情報に基づいて、時計部13の時刻を設定するようにしてもよい。
これにより、本実施形態によるHEMSコントローラ10は、スマートメータ20からだけでなく、ネットワーク(NW1、NW2)を介した当該時計サーバ3からも正確な時刻情報を取得して、時計部13の時刻を設定することができる。
Further, the HEMS controller 10 according to the present embodiment includes an NW communication unit 12 that can be connected to a network (NW1, NW2). When the NW communication unit 12 can connect to the clock server 3 via the network (NW1, NW2), the time setting unit 151 sets the time of the clock unit 13 based on the time information acquired from the clock server 3. You may make it set.
Thereby, the HEMS controller 10 according to the present embodiment acquires accurate time information not only from the smart meter 20 but also from the clock server 3 via the network (NW1, NW2), and the time of the clock unit 13 is obtained. Can be set.

また、本実施形態による時刻設定方法は、時刻を計時する時計部13を備えるHEMSコントローラ10が実行する時刻設定方法であって、受信ステップと、時刻設定ステップとを含んでいる。受信ステップにおいて、HEMSコントローラ10(無線通信部11)が、電力使用量を計測するスマートメータ20から時刻情報を受信する。時刻設定ステップにおいて、HEMSコントローラ10(時刻設定部151)が、受信ステップによって、スマートメータ20から受信した時刻情報に基づいて、時計部13の時刻を設定する。
これにより、本実施形態による時刻設定方法は、上述したHEMSコントローラ10と同様の効果を奏し、時刻を設定する際の利便性を向上させることができる。
In addition, the time setting method according to the present embodiment is a time setting method executed by the HEMS controller 10 including the clock unit 13 that measures time, and includes a reception step and a time setting step. In the reception step, the HEMS controller 10 (wireless communication unit 11) receives time information from the smart meter 20 that measures the power consumption. In the time setting step, the HEMS controller 10 (time setting unit 151) sets the time of the clock unit 13 based on the time information received from the smart meter 20 in the receiving step.
Thereby, the time setting method by this embodiment has the same effect as the HEMS controller 10 mentioned above, and can improve the convenience at the time of setting a time.

[第2の実施形態]
次に、図面を参照して、第2の実施形態によるHEMSコントローラ10aについて説明する。
本実施形態では、上述した「現在時刻設定」のプロパティ値の読み出し応答電文を利用して、時計部13の時刻を設定する場合の一例について説明する。
[Second Embodiment]
Next, the HEMS controller 10a according to the second embodiment will be described with reference to the drawings.
In the present embodiment, an example will be described in which the time of the clock unit 13 is set by using the above-described property value read response message of “current time setting”.

HEMSコントローラ10aは、図1に示すように、時刻設定部151の代わりに時刻設定部151aを備える点を除いて、第1の実施形態と同様である。
時刻設定部151aは、無線通信部11によって繰り返し受信した、応答(例えば、「現在時刻設定」の応答電文)に含まれる現在時刻情報に基づいて、現在時刻情報の分単位の切り替わり点を検出し、検出した当該切り替わり点に基づいて、時計部13の時刻を設定する。
As shown in FIG. 1, the HEMS controller 10 a is the same as that of the first embodiment except that a time setting unit 151 a is provided instead of the time setting unit 151.
The time setting unit 151a detects a switching point in minutes of the current time information based on the current time information included in a response (for example, a response message of “current time setting”) repeatedly received by the wireless communication unit 11. The time of the clock unit 13 is set based on the detected switching point.

なお、「現在時刻設定」の応答電文に含まれる現在時刻情報には、“時”、“分”の時刻情報が含まれ、“秒”(秒単位)の時刻情報が含まれていない。そのため、時刻設定部151aは、無線通信部11を介して、上述した「現在時刻設定」の要求電文をスマートメータ20に、繰り返し送信して、当該要求電文に応じて、スマートメータ20から送信された「現在時刻設定」の応答電文を無線通信部11が受信する。そして、時刻設定部151aは、繰り返し受信した応答電文に含まれる現在時刻情報に基づいて、現在時刻情報の分単位の切り替わり点を検出し、検出した当該切り替わり点に基づいて、時計部13の時刻を設定する。   The current time information included in the “current time setting” response message includes “hour” and “minute” time information, and does not include “second” (second unit) time information. For this reason, the time setting unit 151a repeatedly transmits the above-mentioned “current time setting” request message to the smart meter 20 via the wireless communication unit 11, and is transmitted from the smart meter 20 according to the request message. The wireless communication unit 11 receives a response message of “current time setting”. Then, the time setting unit 151a detects a switching point in minutes of the current time information based on the current time information included in the response message repeatedly received, and based on the detected switching point, the time of the clock unit 13 Set.

具体的に、時刻設定部151aは、二分検索法により切り替わり点を検出し、検出した当該切り替わり点に基づいて、時計部13の時刻を設定する。ここで、二分検索法とは、切り替わり点を含む検索範囲を二分する位置における現在時刻情報に基づいて、二分した検索範囲のいずれかを新たな検索範囲とする処理を繰り返す二分検索法により切り替わり点を検出する検索手法である。二分検索法の詳細については、図4及び図5を参照して後述する。   Specifically, the time setting unit 151a detects a switching point by the binary search method, and sets the time of the clock unit 13 based on the detected switching point. Here, the binary search method is a switching point by a binary search method that repeats the process of setting one of the search ranges divided into two as a new search range based on the current time information at a position that bisects the search range including the switching point. Is a search technique for detecting. Details of the binary search method will be described later with reference to FIGS. 4 and 5.

次に、図面を参照して、本実施形態によるHEMSコントローラ10aの動作について説明する。ここでは、本実施形態によるHEMSコントローラ10aの時刻設定処理について説明する。
図4は、本実施形態による時刻設定処理の一例を示すフローチャートである。
Next, the operation of the HEMS controller 10a according to the present embodiment will be described with reference to the drawings. Here, the time setting process of the HEMS controller 10a according to the present embodiment will be described.
FIG. 4 is a flowchart illustrating an example of the time setting process according to the present embodiment.

図4に示すように、時刻設定処理を行う際に、HEMSコントローラ10aの時刻設定部151aは、まず、変数(T_wait、window)を初期化する(ステップS201)。時刻設定部151aは、例えば、変数T_wait及び変数windowのそれぞれに“30秒”を設定する。ここで、変数windowは、検索範囲の大きさを決定するパラメータであり、変数T_waitは、次回のスマートメータ20の現在時刻情報を取得する待ち時間を示すパラメータである。なお、変数window及び変数T_waitを含んだ各変数の設定値は、記憶部14に記憶されるものとする。   As shown in FIG. 4, when performing the time setting process, the time setting unit 151a of the HEMS controller 10a first initializes variables (T_wait, window) (step S201). For example, the time setting unit 151a sets “30 seconds” to each of the variable T_wait and the variable window. Here, the variable window is a parameter that determines the size of the search range, and the variable T_wait is a parameter that indicates a waiting time for acquiring the current time information of the next smart meter 20. In addition, the setting value of each variable including the variable window and the variable T_wait is stored in the storage unit 14.

次に、時刻設定部151aは、スマートメータ20の現在時刻情報を取得し、変数ST0に代入する(ステップS202)。時刻設定部151aは、無線通信部11を介して、スマートメータ20に、「現在時刻設定」の要求電文を送信し、無線通信部11を介して、当該要求電文に応じた「現在時刻設定」の応答電文に含まれる現在時刻情報(“時”、“分”の時刻情報)を取得する。そして、時刻設定部151aは、取得した現在時刻情報を変数ST0に代入(設定)する。   Next, the time setting unit 151a acquires the current time information of the smart meter 20, and substitutes it into the variable ST0 (step S202). The time setting unit 151 a transmits a request message of “current time setting” to the smart meter 20 via the wireless communication unit 11, and “current time setting” corresponding to the request message via the wireless communication unit 11. Current time information (time information of “hour” and “minute”) included in the response message. Then, the time setting unit 151a substitutes (sets) the acquired current time information for the variable ST0.

次に、時刻設定部151aは、HEMSコントローラ10aの現在時刻情報を取得し、初期時刻の変数T0に代入する(ステップS203)。時刻設定部151aは、時計部13の時刻をHEMSコントローラ10aの現在時刻情報として取得し、取得した現在時刻情報を変数T0に代入(設定)する。   Next, the time setting unit 151a acquires the current time information of the HEMS controller 10a, and substitutes it for the initial time variable T0 (step S203). The time setting unit 151a acquires the time of the clock unit 13 as current time information of the HEMS controller 10a, and substitutes (sets) the acquired current time information into the variable T0.

次に、時刻設定部151aは、HEMSコントローラ10aの現在時刻が、(T0+T_wait)になったか否かを判定する(ステップS204)。時刻設定部151aは、時計部13の時刻をHEMSコントローラ10aの現在時刻として取得し、当該現在時刻が、(T0+T_wait)と一致するか否かを判定する。時刻設定部151aは、HEMSコントローラ10aの現在時刻が、(T0+T_wait)になった場合(ステップS204:YES)に、処理をステップS205に進める。また、時刻設定部151aは、HEMSコントローラ10aの現在時刻が、(T0+T_wait)になっていない場合(ステップS204:NO)に、処理をステップS204に戻し、ステップS204の処理を繰り返す。   Next, the time setting unit 151a determines whether or not the current time of the HEMS controller 10a has reached (T0 + T_wait) (step S204). The time setting unit 151a acquires the time of the clock unit 13 as the current time of the HEMS controller 10a, and determines whether or not the current time matches (T0 + T_wait). When the current time of the HEMS controller 10a becomes (T0 + T_wait) (step S204: YES), the time setting unit 151a advances the process to step S205. In addition, when the current time of the HEMS controller 10a is not (T0 + T_wait) (step S204: NO), the time setting unit 151a returns the process to step S204 and repeats the process of step S204.

ステップS205において、時刻設定部151aは、スマートメータ20の現在時刻情報を取得し、変数ST1に代入する。時刻設定部151aは、上述したステップS202と同様に、無線通信部11を介して、「現在時刻設定」の応答電文に含まれる現在時刻情報(“時”、“分”の時刻情報)を取得する。そして、時刻設定部151aは、取得した現在時刻情報を変数ST1に代入(設定)する。   In step S205, the time setting unit 151a acquires the current time information of the smart meter 20, and substitutes it into the variable ST1. The time setting unit 151a obtains the current time information (time information of “hour” and “minute”) included in the response message of “current time setting” via the wireless communication unit 11, as in step S202 described above. To do. Then, the time setting unit 151a substitutes (sets) the acquired current time information for the variable ST1.

次に、時刻設定部151aは、変数ST0の値(時刻)と変数ST1の値(時刻)とが不一致であるか否かを判定する(ステップS206)。すなわち、時刻設定部151aは、分単位の時刻が更新されたか否かを判定する。時刻設定部151aは、変数ST0の値(時刻)と変数ST1の値(時刻)とが不一致である場合(ステップS206:YES)に、処理をステップS207に進める。また、時刻設定部151aは、変数ST0の値(時刻)と変数ST1の値(時刻)とが一致している場合(ステップS206:NO)に、処理をステップS208に進める。   Next, the time setting unit 151a determines whether or not the value of the variable ST0 (time) and the value of the variable ST1 (time) do not match (step S206). That is, the time setting unit 151a determines whether or not the minute time has been updated. When the value (time) of variable ST0 and the value (time) of variable ST1 do not match (step S206: YES), time setting unit 151a advances the process to step S207. In addition, when the value (time) of the variable ST0 matches the value (time) of the variable ST1 (step S206: NO), the time setting unit 151a advances the process to step S208.

ステップS207において、時刻設定部151aは、各変数を更新する。この場合、時刻設定部151aは、変数ST1の時刻より前の範囲を次回の検索範囲に設定するように各変数を更新する。具体的に、時刻設定部151aは、変数windowに、現在の変数windowの値の(1/2)を更新値として代入する。なお、時刻設定部151aは、変数windowを更新する際に、更新値を例えば、四捨五入して整数値にして代入する。また、時刻設定部151aは、変数T0に、(T0+T_wait)を更新値として代入し、変数T_waitに(60秒−window)を更新値として代入する。時刻設定部151aは、ステップS207の処理後に、処理をステップS209に進める。   In step S207, the time setting unit 151a updates each variable. In this case, the time setting unit 151a updates each variable so that a range before the time of the variable ST1 is set as the next search range. Specifically, the time setting unit 151a substitutes (1/2) of the value of the current variable window as an update value for the variable window. In addition, when updating the variable window, the time setting unit 151a, for example, rounds off the update value to give an integer value. Further, the time setting unit 151a substitutes (T0 + T_wait) as an update value for the variable T0, and substitutes (60 seconds−window) as an update value for the variable T_wait. The time setting unit 151a advances the process to step S209 after the process of step S207.

ステップS208において、時刻設定部151aは、各変数を更新する。この場合、時刻設定部151aは、変数ST1の時刻より後の範囲を次回の検索範囲に設定するように各変数を更新する。具体的に、時刻設定部151aは、変数windowに、現在の変数windowの値の(1/2)を更新値として代入する。なお、時刻設定部151aは、変数windowを更新する際に、更新値を例えば、四捨五入して整数値にして代入する。また、時刻設定部151aは、変数T0に、(T0+T_wait)を更新値として代入し、変数T_waitに(60秒+window)を更新値として代入する。時刻設定部151aは、ステップS208の処理後に、処理をステップS209に進める。   In step S208, the time setting unit 151a updates each variable. In this case, the time setting unit 151a updates each variable so that the range after the time of the variable ST1 is set as the next search range. Specifically, the time setting unit 151a substitutes (1/2) of the value of the current variable window as an update value for the variable window. In addition, when updating the variable window, the time setting unit 151a, for example, rounds off the update value to give an integer value. Also, the time setting unit 151a substitutes (T0 + T_wait) as an update value for the variable T0, and substitutes (60 seconds + window) as an update value for the variable T_wait. The time setting part 151a advances a process to step S209 after the process of step S208.

ステップS209において、時刻設定部151aは、変数ST0に、変数ST1の値を代入して更新する。
次に、時刻設定部151aは、変数windowの値が“1秒”であるか否かを判定する(ステップS210)。すなわち、時刻設定部151aは、変数windowに“1秒”が設定されているか否かを判定する。時刻設定部151aは、変数windowの値が“1秒”である場合(ステップS210:YES)に、処理をステップS211に進める。また、時刻設定部151aは、変数windowの値が“1秒”でない場合(ステップS210:NO)に、処理をステップS204に戻す。
In step S209, the time setting unit 151a updates the variable ST0 by assigning the value of the variable ST1.
Next, the time setting unit 151a determines whether or not the value of the variable window is “1 second” (step S210). That is, the time setting unit 151a determines whether or not “1 second” is set in the variable window. When the value of the variable window is “1 second” (step S210: YES), the time setting unit 151a advances the process to step S211. Further, when the value of the variable window is not “1 second” (step S210: NO), the time setting unit 151a returns the process to step S204.

ステップS211において、時刻設定部151aは、HEMSコントローラ10aの現在時刻が、(T0+T_wait)になったか否かを判定する。時刻設定部151aは、HEMSコントローラ10aの現在時刻が、(T0+T_wait)になった場合(ステップS211:YES)に、処理をステップS212に進める。また、時刻設定部151aは、HEMSコントローラ10aの現在時刻が、(T0+T_wait)になっていない場合(ステップS211:NO)に、処理をステップS211に戻し、ステップS211の処理を繰り返す。   In step S211, the time setting unit 151a determines whether or not the current time of the HEMS controller 10a is (T0 + T_wait). When the current time of the HEMS controller 10a becomes (T0 + T_wait) (step S211: YES), the time setting unit 151a advances the process to step S212. Further, when the current time of the HEMS controller 10a is not (T0 + T_wait) (step S211: NO), the time setting unit 151a returns the process to step S211 and repeats the process of step S211.

ステップS212において、時刻設定部151aは、スマートメータ20の現在時刻情報を取得し、変数ST1に代入する。時刻設定部151aは、上述したステップS205と同様に、無線通信部11を介して、「現在時刻設定」の応答電文に含まれる現在時刻情報(“時”、“分”の時刻情報)を取得する。そして、時刻設定部151aは、取得した現在時刻情報を変数ST1に代入(設定)する。   In step S212, the time setting unit 151a acquires the current time information of the smart meter 20, and substitutes it into the variable ST1. The time setting unit 151a acquires the current time information (time information of “hour” and “minute”) included in the response message of “current time setting” via the wireless communication unit 11, as in step S205 described above. To do. Then, the time setting unit 151a substitutes (sets) the acquired current time information for the variable ST1.

次に、時刻設定部151aは、変数ST0の値(時刻)と変数ST1の値(時刻)とが不一致であるか否かを判定する(ステップS213)。すなわち、時刻設定部151aは、上述したステップS206と同様に、分単位の時刻が更新されたか否かを判定する。時刻設定部151aは、変数ST0の値(時刻)と変数ST1の値(時刻)とが不一致である場合(ステップS213:YES)に、処理をステップS214に進める。また、時刻設定部151aは、変数ST0の値(時刻)と変数ST1の値(時刻)とが一致している場合(ステップS213:NO)に、処理をステップS215に進める。   Next, the time setting unit 151a determines whether or not the value of the variable ST0 (time) and the value of the variable ST1 (time) do not match (step S213). That is, the time setting unit 151a determines whether or not the minute time has been updated as in step S206 described above. When the value (time) of the variable ST0 and the value (time) of the variable ST1 do not match (step S213: YES), the time setting unit 151a advances the process to step S214. Further, when the value (time) of the variable ST0 matches the value (time) of the variable ST1 (step S213: NO), the time setting unit 151a advances the process to step S215.

ステップS214において、時刻設定部151aは、変数ST1の値(時刻)に遅延時間θを加算した時刻を、時計部13の時刻に設定する。ステップS214の処理後に、時刻設定部151aは、時刻設定処理を終了する。   In step S214, the time setting unit 151a sets the time obtained by adding the delay time θ to the value (time) of the variable ST1 as the time of the clock unit 13. After the process of step S214, the time setting unit 151a ends the time setting process.

ステップS215において、時刻設定部151aは、(ST1+59秒)の値(時刻)に遅延時間θを加算した時刻を、時計部13の時刻に設定する。ステップS215の処理後に、時刻設定部151aは、時刻設定処理を終了する。   In step S215, the time setting unit 151a sets the time obtained by adding the delay time θ to the value (time) of (ST1 + 59 seconds) as the time of the clock unit 13. After the process of step S215, the time setting unit 151a ends the time setting process.

次に、図5を参照して、上述した図4に示す時刻設定処理を実行した場合の具体例について説明する。
図5は、本実施形態による時刻設定の動作の一例を説明する図である。
図5に示す例では、時刻設定部151aが、スマートメータ20における10時X分50秒〜10時X+1分50秒の検索範囲R0を検索して、10時X+1分00秒の分単位の切り替わり点P1を検出する動作について説明する。
Next, a specific example when the time setting process shown in FIG. 4 described above is executed will be described with reference to FIG.
FIG. 5 is a diagram for explaining an example of the time setting operation according to the present embodiment.
In the example shown in FIG. 5, the time setting unit 151a searches the search range R0 of 10 hours X minutes 50 seconds to 10 hours X + 1 minutes 50 seconds in the smart meter 20 and switches in units of minutes of 10 hours X + 1 minutes 00 seconds. An operation for detecting the point P1 will be described.

図5に示す(X=0)において、まず、変数window及び変数T_waitは、“30秒”であり、変数ST0の値は、スマートメータ20の現在時刻情報の取得ポイントP10は、10時00分50秒である。時刻設定部151aは、取得ポイントP10から変数T_waitの値(30秒)分を待って、取得ポイントP11におけるスマートメータ20の現在時刻情報を取得し、当該現在時刻情報を変数ST1の値とする。ここでは、現在時刻情報の分情報に変化があるため(ST0≠ST1)、時刻設定部151aは、変数windowに、現在の変数windowの値の(1/2)を更新値として代入するとともに、変数T_waitに(60秒−window)を更新値として代入する。したがって、時刻設定部151aは、変数windowに“15秒”を代入し、変数T_waitに“45秒”を代入する。また、時刻設定部151aは、変数ST0に、変数ST1の値を代入して更新する。   In FIG. 5 (X = 0), first, the variable window and the variable T_wait are “30 seconds”, and the value of the variable ST0 is the current time information acquisition point P10 of the smart meter 20 at 10:00. 50 seconds. The time setting unit 151a waits for the value (30 seconds) of the variable T_wait from the acquisition point P10, acquires the current time information of the smart meter 20 at the acquisition point P11, and sets the current time information as the value of the variable ST1. Here, since there is a change in the minute information of the current time information (ST0 ≠ ST1), the time setting unit 151a substitutes (1/2) of the value of the current variable window for the variable window as an update value, Substitute (60 seconds-window) as an update value in the variable T_wait. Therefore, the time setting unit 151a substitutes “15 seconds” for the variable window, and substitutes “45 seconds” for the variable T_wait. In addition, the time setting unit 151a updates the variable ST0 by assigning the value of the variable ST1.

次に、(X=1)において、検索範囲R0から検索範囲R1に絞られ(狭められ)、時刻設定部151aは、取得ポイントP11から変数T_waitの値(45秒)分を待って、取得ポイントP12におけるスマートメータ20の現在時刻情報を取得し、当該現在時刻情報を変数ST1の値とする。ここでは、現在時刻情報の分情報に変化があるため(ST0≠ST1)、時刻設定部151aは、変数windowに、現在の変数windowの値の(1/2)を更新値として代入するとともに、変数T_waitに(60秒−window)を更新値として代入する。したがって、時刻設定部151aは、変数windowに“8秒”を代入し、変数T_waitに“52秒”を代入する。なお、時刻設定部151aは、変数windowを更新する際に、更新値を例えば、四捨五入して整数値にして代入する。また、時刻設定部151aは、変数ST0に、変数ST1の値を代入して更新する。   Next, at (X = 1), the search range R0 is narrowed (narrowed) from the search range R0, and the time setting unit 151a waits for the value (45 seconds) of the variable T_wait from the acquisition point P11, and then acquires the acquisition point. The current time information of the smart meter 20 at P12 is acquired, and the current time information is set as the value of the variable ST1. Here, since there is a change in the minute information of the current time information (ST0 ≠ ST1), the time setting unit 151a substitutes (1/2) of the value of the current variable window for the variable window as an update value, Substitute (60 seconds-window) as an update value in the variable T_wait. Therefore, the time setting unit 151a substitutes “8 seconds” for the variable window and substitutes “52 seconds” for the variable T_wait. In addition, when updating the variable window, the time setting unit 151a, for example, rounds off the update value to give an integer value. In addition, the time setting unit 151a updates the variable ST0 by assigning the value of the variable ST1.

次に、(X=2)において、検索範囲R1から検索範囲R2に絞られ(狭められ)、時刻設定部151aは、取得ポイントP12から変数T_waitの値(52秒)分を待って、取得ポイントP13におけるスマートメータ20の現在時刻情報を取得し、当該現在時刻情報を変数ST1の値とする。ここでは、現在時刻情報の分情報に変化がないため(ST0=ST1)、時刻設定部151aは、変数windowに、現在の変数windowの値の(1/2)を更新値として代入するとともに、変数T_waitに(60秒+window)を更新値として代入する。したがって、時刻設定部151aは、変数windowに“4秒”を代入し、変数T_waitに“64秒”を代入する。また、時刻設定部151aは、変数ST0に、変数ST1の値を代入して更新する。   Next, at (X = 2), the search range R1 is narrowed (narrowed) from the search range R1, and the time setting unit 151a waits for the value of the variable T_wait (52 seconds) from the acquisition point P12, and then acquires the acquisition point. The current time information of the smart meter 20 at P13 is acquired, and the current time information is set as the value of the variable ST1. Here, since there is no change in the minute information of the current time information (ST0 = ST1), the time setting unit 151a assigns (1/2) of the value of the current variable window to the variable window as an update value, Substitute (60 seconds + window) as an update value in the variable T_wait. Therefore, the time setting unit 151a substitutes “4 seconds” for the variable window and substitutes “64 seconds” for the variable T_wait. In addition, the time setting unit 151a updates the variable ST0 by assigning the value of the variable ST1.

次に、(X=3)において、検索範囲R2から検索範囲R3に絞られ(狭められ)、時刻設定部151aは、取得ポイントP13から変数T_waitの値(64秒)分を待って、取得ポイントP14におけるスマートメータ20の現在時刻情報を取得し、当該現在時刻情報を変数ST1の値とする。ここでは、現在時刻情報の分情報に変化があるため(ST0≠ST1)、時刻設定部151aは、変数windowに、現在の変数windowの値の(1/2)を更新値として代入するとともに、変数T_waitに(60秒−window)を更新値として代入する。したがって、時刻設定部151aは、変数windowに“2秒”を代入し、変数T_waitに“58秒”を代入する。また、時刻設定部151aは、変数ST0に、変数ST1の値を代入して更新する。   Next, at (X = 3), the search range R2 is narrowed (narrowed) from the search range R2, and the time setting unit 151a waits for the value of the variable T_wait (64 seconds) from the acquisition point P13, and then acquires the acquisition point. The current time information of the smart meter 20 at P14 is acquired, and the current time information is set as the value of the variable ST1. Here, since there is a change in the minute information of the current time information (ST0 ≠ ST1), the time setting unit 151a substitutes (1/2) of the value of the current variable window for the variable window as an update value, Substitute (60 seconds-window) as an update value in the variable T_wait. Therefore, the time setting unit 151a substitutes “2 seconds” for the variable window and substitutes “58 seconds” for the variable T_wait. In addition, the time setting unit 151a updates the variable ST0 by assigning the value of the variable ST1.

次に、(X=4)において、検索範囲R3から検索範囲R4に絞られ(狭められ)、時刻設定部151aは、取得ポイントP14から変数T_waitの値(58秒)分を待って、取得ポイントP15におけるスマートメータ20の現在時刻情報を取得し、当該現在時刻情報を変数ST1の値とする。ここでは、現在時刻情報の分情報に変化があるため(ST0≠ST1)、時刻設定部151aは、変数windowに、現在の変数windowの値の(1/2)を更新値として代入するとともに、変数T_waitに(60秒−window)を更新値として代入する。したがって、時刻設定部151aは、変数windowに“1秒”を代入し、変数T_waitに“59秒”を代入する。また、時刻設定部151aは、変数ST0に、変数ST1の値を代入して更新する。   Next, at (X = 4), the search range R3 is narrowed (narrowed) from the search range R3, and the time setting unit 151a waits for the value of the variable T_wait (58 seconds) from the acquisition point P14, and then acquires the acquisition point. The current time information of the smart meter 20 in P15 is acquired, and the current time information is set as the value of the variable ST1. Here, since there is a change in the minute information of the current time information (ST0 ≠ ST1), the time setting unit 151a substitutes (1/2) of the value of the current variable window for the variable window as an update value, Substitute (60 seconds-window) as an update value in the variable T_wait. Therefore, the time setting unit 151a substitutes “1 second” for the variable window and substitutes “59 seconds” for the variable T_wait. In addition, the time setting unit 151a updates the variable ST0 by assigning the value of the variable ST1.

次に、(X=5)において、検索範囲R4から検索範囲R5に絞られ(狭められ)、時刻設定部151aは、取得ポイントP15から変数T_waitの値(59秒)分を待って、取得ポイントP16におけるスマートメータ20の現在時刻情報を取得し、当該現在時刻情報を変数ST1の値とする。ここでは、変数windowが“1秒”であり、且つ、現在時刻情報の分情報に変化がないため(ST0=ST1)、時刻設定部151aは、仮の時刻を10時05分59秒として、遅延時間θを加算した時刻を、時計部13に設定する。   Next, at (X = 5), the search range R4 is narrowed (narrowed) from the search range R4, and the time setting unit 151a waits for the value of the variable T_wait (59 seconds) from the acquisition point P15, and then acquires the acquisition point. The current time information of the smart meter 20 at P16 is acquired, and the current time information is set as the value of the variable ST1. Here, since the variable window is “1 second” and the minute information of the current time information does not change (ST0 = ST1), the time setting unit 151a sets the provisional time as 10:05:59, The time obtained by adding the delay time θ is set in the clock unit 13.

このように、本実施形態の二分検索法を用いた手法では、時刻設定部151aは、取得ポイントP10〜取得ポイントP16の合計7回のスマートメータ20の現在時刻情報を取得することにより、時計部13の時刻を設定する。   Thus, in the method using the binary search method of the present embodiment, the time setting unit 151a acquires the current time information of the smart meter 20 a total of seven times from the acquisition point P10 to the acquisition point P16, thereby obtaining a clock unit. Set 13 times.

以上説明したように、本実施形態のHEMSコントローラ10aでは、無線通信部11は、スマートメータ20が計時する現在時刻情報を要求する現在時刻要求(例えば、「現在時刻設定」の要求電文)を送信し、当該現在時刻要求に応じて、現在時刻情報を時刻情報として含む応答(例えば、「現在時刻設定」の応答電文)をスマートメータ20から受信する。そして、時刻設定部151aは、無線通信部11によって繰り返し受信した、応答に含まれる現在時刻情報に基づいて、現在時刻情報の分単位の切り替わり点(例えば、図5の切り替わり点P1)を検出し、検出した当該切り替わり点に基づいて、時計部13の時刻を設定する。
これにより、本実施形態のHEMSコントローラ10aは、第1の実施形態と同様に、スマートメータ20から正確な時刻情報を取得することで正確な時刻を時計部13に設定することができる。よって、本実施形態によるHEMSコントローラ10aは、時刻を設定する際の利便性を向上させることができる。
As described above, in the HEMS controller 10a of this embodiment, the wireless communication unit 11 transmits a current time request (for example, a request message of “current time setting”) for requesting current time information measured by the smart meter 20. In response to the current time request, a response including the current time information as time information (for example, a response message of “current time setting”) is received from the smart meter 20. And the time setting part 151a detects the switching point (for example, switching point P1 of FIG. 5) of the minute unit of present time information based on the present time information included in the response repeatedly received by the wireless communication part 11. The time of the clock unit 13 is set based on the detected switching point.
Thereby, the HEMS controller 10a of this embodiment can set exact time to the timepiece part 13 by acquiring exact time information from the smart meter 20, similarly to 1st Embodiment. Therefore, the HEMS controller 10a according to the present embodiment can improve the convenience when setting the time.

また、本実施形態では、時刻設定部151aは、切り替わり点を含む検索範囲を二分する位置における現在時刻情報に基づいて、二分した検索範囲のいずれかを新たな検索範囲とする処理を繰り返す二分検索法により切り替わり点(P1)を検出する。
これにより、本実施形態のHEMSコントローラ10aは、例えば、分単位までの現在時刻情報から秒単位までの正確な時刻を推定し、当該正確な時刻を時計部13に設定することができる。
Further, in the present embodiment, the time setting unit 151a repeats a binary search that repeats the process of setting one of the divided search ranges as a new search range based on the current time information at a position that bisects the search range including the switching point. The switching point (P1) is detected by the method.
Thereby, the HEMS controller 10a of this embodiment can estimate the exact time to the second unit from the present time information to a minute unit, for example, and can set the said exact time to the clock part 13. FIG.

[第3の実施形態]
次に、図面を参照して、第3の実施形態によるHEMSコントローラ10bについて説明する。
本実施形態では、上述した「現在時刻設定」のプロパティ値の読み出し応答電文を利用して、時計部13の時刻を設定する場合の別の一例について説明する。
[Third Embodiment]
Next, a HEMS controller 10b according to a third embodiment will be described with reference to the drawings.
In the present embodiment, another example in which the time of the clock unit 13 is set using the above-described read response message of the “current time setting” property value will be described.

HEMSコントローラ10bは、図1に示すように、時刻設定部151又は時刻設定部151aの代わりに時刻設定部151bを備える点を除いて、第1又は第2の実施形態と同様である。
時刻設定部151bは、上述した第2の実施形態の時刻設定部151aと同様に、無線通信部11によって繰り返し受信した、応答(例えば、「現在時刻設定」の応答電文)に含まれる現在時刻情報に基づいて、現在時刻情報の分単位の切り替わり点を検出し、検出した当該切り替わり点に基づいて、時計部13の時刻を設定する。
As shown in FIG. 1, the HEMS controller 10b is the same as that of the first or second embodiment except that a time setting unit 151b is provided instead of the time setting unit 151 or the time setting unit 151a.
The time setting unit 151b is the same as the time setting unit 151a of the second embodiment described above, and the current time information included in the response (for example, the response message of “current time setting”) repeatedly received by the wireless communication unit 11. Based on the above, a switching point in minutes of the current time information is detected, and the time of the clock unit 13 is set based on the detected switching point.

時刻設定部151bは、所定の応答間隔で現在時刻情報を繰り返し受信して、切り替わり点を含む範囲を限定する限定処理を実行し、限定した当該範囲に対して、所定の応答間隔を狭めて、限定処理を繰り返し実行することで、切り替わり点を検出する。なお、時刻設定部151bは、検出した切り替わり点に基づいて、時計部13の時刻を設定する処理は、時刻設定部151aと同様である。   The time setting unit 151b repeatedly receives the current time information at a predetermined response interval, executes a limiting process for limiting the range including the switching point, narrows the predetermined response interval with respect to the limited range, Switching points are detected by repeatedly executing the limiting process. The time setting unit 151b is similar to the time setting unit 151a in setting the time of the clock unit 13 based on the detected switching point.

次に、図面を参照して、本実施形態によるHEMSコントローラ10bの動作について説明する。ここでは、本実施形態によるHEMSコントローラ10bの時刻設定処理について説明する。
図6は、本実施形態による時刻設定処理の一例を示すフローチャートである。
Next, the operation of the HEMS controller 10b according to the present embodiment will be described with reference to the drawings. Here, the time setting process of the HEMS controller 10b according to the present embodiment will be described.
FIG. 6 is a flowchart illustrating an example of the time setting process according to the present embodiment.

図6に示すように、時刻設定処理を行う際に、HEMSコントローラ10bの時刻設定部151bは、まず、変数(T_wait、count)を初期化する(ステップS301)。時刻設定部151bは、例えば、変数T_waitに“10秒”を設定する。ここで、変数T_waitは、次回のスマートメータ20の現在時刻情報を取得する待ち時間(検索間隔)を示すパラメータである。また、時刻設定部151bは、例えば、変数countに“0”を設定する。なお、変数T_wait及び変数countを含んだ各変数の設定値は、記憶部14に記憶されるものとする。   As shown in FIG. 6, when performing the time setting process, the time setting unit 151b of the HEMS controller 10b first initializes variables (T_wait, count) (step S301). For example, the time setting unit 151b sets “10 seconds” to the variable T_wait. Here, the variable T_wait is a parameter indicating a waiting time (search interval) for acquiring the current time information of the next smart meter 20. In addition, the time setting unit 151b sets “0” to the variable count, for example. Note that the setting values of each variable including the variable T_wait and the variable count are stored in the storage unit 14.

続く、ステップS302からステップS306までの処理は、上述した図4に示すステップS202からステップS206までの処理と同様であるため、ここではその説明を省略する。
なお、ステップS306において、時刻設定部151bは、変数ST0の値(時刻)と変数ST1の値(時刻)とが不一致である場合(ステップS306:YES)に、処理をステップS310に進める。また、時刻設定部151bは、変数ST0の値(時刻)と変数ST1の値(時刻)とが一致している場合(ステップS306:NO)に、処理をステップS307に進める。
The subsequent processing from step S302 to step S306 is the same as the processing from step S202 to step S206 shown in FIG. 4 described above, and a description thereof will be omitted here.
In step S306, when the value (time) of the variable ST0 and the value (time) of the variable ST1 do not match (step S306: YES), the time setting unit 151b advances the process to step S310. Further, when the value (time) of the variable ST0 matches the value (time) of the variable ST1 (step S306: NO), the time setting unit 151b advances the process to step S307.

ステップS307において、時刻設定部151bは、変数T0を更新する。この場合、時刻設定部151bは、変数T0に、(T0+T_wait)を更新値として代入する。
次に、時刻設定部151bは、変数countの値が“1”であるか否かを判定する(ステップS308)。時刻設定部151bは、変数countの値が“1”である場合(ステップS308:YES)に、処理をステップS309に進める。また、時刻設定部151bは、変数countの値が“1”でない場合(ステップS308:NO)に、処理をステップS304に戻す。
In step S307, the time setting unit 151b updates the variable T0. In this case, the time setting unit 151b substitutes (T0 + T_wait) as an update value for the variable T0.
Next, the time setting unit 151b determines whether or not the value of the variable count is “1” (step S308). When the value of the variable count is “1” (step S308: YES), the time setting unit 151b advances the process to step S309. In addition, when the value of the variable count is not “1” (step S308: NO), the time setting unit 151b returns the process to step S304.

ステップS309において、時刻設定部151bは、変数T_waitに“1秒”を設定する。すなわち、時刻設定部151bは、検索間隔を“10秒”から“1秒”に変更する。ステップS309の処理後に、時刻設定部151bは、処理をステップS304に戻す。   In step S309, the time setting unit 151b sets “1 second” to the variable T_wait. That is, the time setting unit 151b changes the search interval from “10 seconds” to “1 second”. After the process of step S309, the time setting unit 151b returns the process to step S304.

また、ステップS310において、時刻設定部151bは、変数countの値が“0”であるか否かを判定する。時刻設定部151bは、変数countの値が“0”である場合(ステップS310:YES)に、処理をステップS311に進める。また、時刻設定部151bは、変数countの値が“0”でない場合(ステップS310:NO)に、処理をステップS312に進める。   In step S310, the time setting unit 151b determines whether the value of the variable count is “0”. When the value of the variable count is “0” (step S310: YES), the time setting unit 151b advances the process to step S311. In addition, when the value of the variable count is not “0” (step S310: NO), the time setting unit 151b advances the process to step S312.

ステップS311において、時刻設定部151bは、各変数を更新する。この場合、時刻設定部151bは、変数ST1の時刻の直前の10秒間の範囲を次回の検索範囲に設定するように各変数を更新する。具体的に、時刻設定部151bは、変数T0に、(T0+T_wait)を更新値として代入し、変数T_waitに(60秒−T_wait)を更新値として代入する。また、時刻設定部151bは、変数ST0に、変数ST1の値を更新値として代入し、変数countに、“1”の値を更新値として代入する。ステップS311の処理後に、時刻設定部151bは、処理をステップS304に戻す。   In step S311, the time setting unit 151b updates each variable. In this case, the time setting unit 151b updates each variable so that the range of 10 seconds immediately before the time of the variable ST1 is set as the next search range. Specifically, the time setting unit 151b substitutes (T0 + T_wait) as an update value for the variable T0, and substitutes (60 seconds−T_wait) as an update value for the variable T_wait. In addition, the time setting unit 151b assigns the value of the variable ST1 to the variable ST0 as an update value, and assigns the value of “1” to the variable count as an update value. After the process of step S311, the time setting unit 151b returns the process to step S304.

また、ステップS312において、時刻設定部151bは、変数ST1の値(時刻)に遅延時間θを加算した時刻を、時計部13の時刻に設定する。ステップS312の処理後に、時刻設定部151bは、時刻設定処理を終了する。   In step S312, the time setting unit 151b sets the time obtained by adding the delay time θ to the value (time) of the variable ST1 as the time of the clock unit 13. After the process of step S312, the time setting unit 151b ends the time setting process.

次に、図7を参照して、上述した図6に示す時刻設定処理を実行した場合の具体例について説明する。
図7は、本実施形態による時刻設定の動作の一例を説明する図である。
図7に示す例では、時刻設定部151bが、スマートメータ20における10時X分20秒〜10時X+1分20秒の検索範囲R20を検索して、10時X+1分00秒の分単位の切り替わり点P2を検出する動作について説明する。
Next, a specific example when the time setting process shown in FIG. 6 described above is executed will be described with reference to FIG.
FIG. 7 is a diagram for explaining an example of the time setting operation according to the present embodiment.
In the example illustrated in FIG. 7, the time setting unit 151b searches the search range R20 of the smart meter 20 from 10 hours X minutes 20 seconds to 10 hours X + 1 minutes 20 seconds, and switches in units of minutes of 10 hours X + 1 minutes 00 seconds. An operation for detecting the point P2 will be described.

図7に示す(X=0)において、まず、時刻設定部151bは、10秒間隔(T_wait=10秒)でスマートメータ20の現在時刻情報を取得し、当該現在時刻の分情報が変化したか否かを判定する。この図に示す例では、時刻設定部151bは、取得ポイントP20〜取得ポイントP24まで順番に10秒間隔にスマートメータ20の現在時刻情報を取得し、取得ポイントP24において、現在時刻の分情報が変化している(ST0≠ST0)。そのため、取得ポイントP24において、時刻設定部151bは、変数T_waitに(60秒−T_wait)を代入して、変数T_waitを更新する。すなわち、時刻設定部151bは、変数T_waitに“50秒”を設定する。   In (X = 0) shown in FIG. 7, first, the time setting unit 151b acquires the current time information of the smart meter 20 at intervals of 10 seconds (T_wait = 10 seconds), and whether the minute information of the current time has changed. Determine whether or not. In the example shown in this figure, the time setting unit 151b acquires the current time information of the smart meter 20 at intervals of 10 seconds in order from the acquisition point P20 to the acquisition point P24, and the minute information of the current time changes at the acquisition point P24. (ST0 ≠ ST0). Therefore, at the acquisition point P24, the time setting unit 151b updates the variable T_wait by substituting (60 seconds−T_wait) for the variable T_wait. That is, the time setting unit 151b sets “50 seconds” to the variable T_wait.

次に、(X=1)において、時刻設定部151bは、検索範囲を、取得ポイントP24の直前の10秒間の検索範囲R21に狭めて、取得ポイントP25から1秒間隔(T_wait=1秒)でスマートメータ20の現在時刻情報を取得し、当該現在時刻の分情報が変化したか否かを判定する。この図に示す例では、時刻設定部151bは、取得ポイントP26において、現在時刻の分情報が変化している(ST0≠ST0)。そのため、取得ポイントP26において、時刻設定部151bは、仮の時刻を10時02分00秒として、遅延時間θを加算した時刻を、時計部13に設定する。   Next, at (X = 1), the time setting unit 151b narrows the search range to the search range R21 for 10 seconds immediately before the acquisition point P24, and at intervals of 1 second (T_wait = 1 second) from the acquisition point P25. The current time information of the smart meter 20 is acquired, and it is determined whether the minute information of the current time has changed. In the example shown in this figure, the time setting unit 151b has the minute information of the current time changed at the acquisition point P26 (ST0 ≠ ST0). Therefore, at the acquisition point P26, the time setting unit 151b sets the time obtained by adding the delay time θ to the clock unit 13 with the provisional time set to 10:02:00.

以上説明したように、本実施形態のHEMSコントローラ10bでは、無線通信部11は、スマートメータ20が計時する現在時刻情報を要求する現在時刻要求(例えば、「現在時刻設定」の要求電文)を送信し、当該現在時刻要求に応じて、現在時刻情報を時刻情報として含む応答(例えば、「現在時刻設定」の応答電文)をスマートメータ20から受信する。そして、時刻設定部151bは、無線通信部11によって繰り返し受信した、応答に含まれる現在時刻情報に基づいて、現在時刻情報の分単位の切り替わり点(例えば、図7の切り替わり点P2)を検出し、検出した当該切り替わり点に基づいて、時計部13の時刻を設定する。
これにより、本実施形態のHEMSコントローラ10bは、第1及び第2の実施形態と同様に、スマートメータ20から正確な時刻情報を取得することで正確な時刻を時計部13に設定することができる。よって、本実施形態によるHEMSコントローラ10bは、時刻を設定する際の利便性を向上させることができる。
As described above, in the HEMS controller 10b of this embodiment, the wireless communication unit 11 transmits a current time request (for example, a request message of “current time setting”) for requesting current time information measured by the smart meter 20. In response to the current time request, a response including the current time information as time information (for example, a response message of “current time setting”) is received from the smart meter 20. Then, the time setting unit 151b detects a switching point (for example, the switching point P2 in FIG. 7) of the current time information based on the current time information included in the response repeatedly received by the wireless communication unit 11. The time of the clock unit 13 is set based on the detected switching point.
Thereby, the HEMS controller 10b of this embodiment can set an exact time to the timepiece unit 13 by acquiring accurate time information from the smart meter 20 as in the first and second embodiments. . Therefore, the HEMS controller 10b according to the present embodiment can improve the convenience when setting the time.

また、本実施形態では、時刻設定部151bは、所定の応答間隔で現在時刻情報を繰り返し受信して、切り替わり点を含む範囲を限定する限定処理を実行し、限定した当該範囲(例えば、検索範囲R21)に対して、所定の応答間隔を狭めて(例えば、1秒間隔)、限定処理を繰り返し実行することで、切り替わり点(P2)を検出する。
これにより、本実施形態のHEMSコントローラ10bは、例えば、分単位までの現在時刻情報から秒単位までの正確な時刻を推定し、当該正確な時刻を時計部13に設定することができる。なお、本実施形態のHEMSコントローラ10bは、X=0、及びX=1の2分間で、切り替わり点(P2)を検出することができ、第2の実施形態に比べて、短時間で時計部13の時刻を設定することができる。
In the present embodiment, the time setting unit 151b repeatedly receives current time information at a predetermined response interval, executes a limiting process for limiting a range including a switching point, and performs the limited range (for example, a search range). For R21), the switching point (P2) is detected by narrowing a predetermined response interval (for example, every 1 second) and repeatedly executing the limiting process.
Thereby, the HEMS controller 10b of this embodiment can estimate the exact time to the second unit from the present time information to a minute unit, for example, and can set the said exact time to the clock part 13. FIG. Note that the HEMS controller 10b of the present embodiment can detect the switching point (P2) in 2 minutes of X = 0 and X = 1, and in a shorter time than the second embodiment, Thirteen times can be set.

なお、本発明は、上記の各実施形態に限定されるものではなく、本発明の趣旨を逸脱しない範囲で変更可能である。
例えば、上記の各実施形態において、それぞれが単独で実施される例を説明したが、各実施形態の一部又は全部を組み合わせて実施してもよい。
The present invention is not limited to the above embodiments, and can be modified without departing from the spirit of the present invention.
For example, in each of the above-described embodiments, an example in which each of the embodiments is performed alone has been described. However, a part or all of each embodiment may be combined.

また、上記の各実施形態において、宅内機器30は、分電盤(宅内機器31)と、エアコン(宅内機器32)とである例を説明したが、これに限定されるものではなく、他の機器であってもよい。   Moreover, in each said embodiment, although the household device 30 demonstrated the example which is a distribution board (home device 31) and an air conditioner (home device 32), it is not limited to this, It may be a device.

また、上記の各実施形態において、HEMSコントローラ10(10a、10b)は、スマートメータ20から取得した時刻情報に基づいて、設定した時計部13の時刻を利用して、宅内機器30の内蔵時計の時刻を設定するようにしてもよい。すなわち、宅内機器30は、HEMSコントローラ10(10a、10b)から取得した時刻情報に基づいて、内蔵時計の時刻を設定するようにしてもよい。これにより、HEMSコントローラ10(10a、10b)と、スマートメータ20と、宅内機器30との全ての時刻が同期され、電力管理システム1全体で時刻を同期することができる。   Further, in each of the above-described embodiments, the HEMS controller 10 (10a, 10b) uses the set time of the clock unit 13 based on the time information acquired from the smart meter 20, and the built-in clock of the home device 30 You may make it set time. That is, the home device 30 may set the time of the built-in clock based on the time information acquired from the HEMS controller 10 (10a, 10b). Thereby, all the time of HEMS controller 10 (10a, 10b), smart meter 20, and in-home equipment 30 is synchronized, and it can synchronize time in the whole power management system 1.

また、上記の各実施形態において、HEMSコントローラ10(10a、10b)の無線通信部11及びスマートメータ20の無線通信部21は、Wi−SUNを利用した無線通信である例を説明したが、これに限定されるものではなく、無線LAN、3G/LTEなどの移動体通信などの他の無線通信を利用してもよい。また、HEMSコントローラ10(10a、10b)及びスマートメータ20は、無線通信部11及び無線通信部21の代わりに、PLC(Power Line Communication)などの有線通信を利用した通信部を備えてもよい。   In each of the above embodiments, the wireless communication unit 11 of the HEMS controller 10 (10a, 10b) and the wireless communication unit 21 of the smart meter 20 have been described as examples of wireless communication using Wi-SUN. However, the present invention is not limited to this, and other wireless communication such as wireless LAN, mobile communication such as 3G / LTE may be used. The HEMS controller 10 (10a, 10b) and the smart meter 20 may include a communication unit using wired communication such as PLC (Power Line Communication) instead of the wireless communication unit 11 and the wireless communication unit 21.

なお、上述したHEMSコントローラ10(10a、10b)が備える各構成は、内部に、コンピュータシステムを有している。そして、上述したHEMSコントローラ10(10a、10b)が備える各構成の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより上述したHEMSコントローラ10(10a、10b)が備える各構成における処理を行ってもよい。ここで、「記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行する」とは、コンピュータシステムにプログラムをインストールすることを含む。ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。
また、「コンピュータシステム」は、インターネットやWAN、LAN、専用回線等の通信回線を含むネットワークを介して接続された複数のコンピュータ装置を含んでもよい。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。このように、プログラムを記憶した記録媒体は、CD−ROM等の非一過性の記録媒体であってもよい。
Each component included in the HEMS controller 10 (10a, 10b) described above has a computer system therein. And the program for implement | achieving the function of each structure with which the HEMS controller 10 (10a, 10b) mentioned above is recorded on a computer-readable recording medium, and the program recorded on this recording medium is read into a computer system. The processing in each configuration provided in the above-described HEMS controller 10 (10a, 10b) may be performed by executing. Here, “loading and executing a program recorded on a recording medium into a computer system” includes installing the program in the computer system. The “computer system” here includes an OS and hardware such as peripheral devices.
Further, the “computer system” may include a plurality of computer devices connected via a network including a communication line such as the Internet, WAN, LAN, and dedicated line. The “computer-readable recording medium” refers to a storage device such as a flexible medium, a magneto-optical disk, a portable medium such as a ROM and a CD-ROM, and a hard disk incorporated in a computer system. As described above, the recording medium storing the program may be a non-transitory recording medium such as a CD-ROM.

また、記録媒体には、当該プログラムを配信するために配信サーバからアクセス可能な内部又は外部に設けられた記録媒体も含まれる。なお、プログラムを複数に分割し、それぞれ異なるタイミングでダウンロードした後にHEMSコントローラ10(10a、10b)が備える各構成で合体される構成や、分割されたプログラムのそれぞれを配信する配信サーバが異なっていてもよい。さらに「コンピュータ読み取り可能な記録媒体」とは、ネットワークを介してプログラムが送信された場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリ(RAM)のように、一定時間プログラムを保持しているものも含むものとする。また、上記プログラムは、上述した機能の一部を実現するためのものであってもよい。さらに、上述した機能をコンピュータシステムに既に記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であってもよい。   The recording medium also includes a recording medium provided inside or outside that is accessible from the distribution server in order to distribute the program. In addition, after dividing a program into a plurality of parts and downloading them at different timings, the composition combined with each composition provided in the HEMS controller 10 (10a, 10b) and the distribution server for delivering each of the divided programs are different. Also good. Furthermore, a “computer-readable recording medium” holds a program for a certain period of time, such as a volatile memory (RAM) inside a computer system that becomes a server or client when the program is transmitted via a network. Including things. The program may be for realizing a part of the functions described above. Furthermore, what can implement | achieve the function mentioned above in combination with the program already recorded on the computer system, and what is called a difference file (difference program) may be sufficient.

また、上述した機能の一部又は全部を、LSI(Large Scale Integration)等の集積回路として実現してもよい。上述した各機能は個別にプロセッサ化してもよいし、一部、又は全部を集積してプロセッサ化してもよい。また、集積回路化の手法はLSIに限らず専用回路、又は汎用プロセッサで実現してもよい。また、半導体技術の進歩によりLSIに代替する集積回路化の技術が出現した場合、当該技術による集積回路を用いてもよい。   Moreover, you may implement | achieve part or all of the function mentioned above as integrated circuits, such as LSI (Large Scale Integration). Each function described above may be individually made into a processor, or a part or all of them may be integrated into a processor. Further, the method of circuit integration is not limited to LSI, and may be realized by a dedicated circuit or a general-purpose processor. In addition, when an integrated circuit technology that replaces LSI appears due to the advancement of semiconductor technology, an integrated circuit based on the technology may be used.

1 電力管理システム
2 電力会社サーバ
3 時計サーバ
10、10a、10b HEMSコントローラ
11、21 無線通信部
12 NW通信部
13、23 時計部
14 記憶部
15 制御部
20 スマートメータ
22 電力計測部
24 メータ記憶部
25 メータ制御部
30、31、32 宅内機器
100 住宅(需要家宅)
151、151a、151b 時刻設定部
152 電力管理部
NW1、NW2 ネットワーク
DESCRIPTION OF SYMBOLS 1 Power management system 2 Electric power company server 3 Clock server 10, 10a, 10b HEMS controller 11, 21 Wireless communication part 12 NW communication part 13, 23 Clock part 14 Storage part 15 Control part 20 Smart meter 22 Electric power measurement part 24 Meter storage part 25 Meter control unit 30, 31, 32 Residential equipment 100 Housing (customer's home)
151, 151a, 151b Time setting unit 152 Power management unit NW1, NW2 Network

Claims (8)

時刻を計時する時計部と、
電力使用量を計測するスマートメータから時刻情報を受信する通信部と、
前記通信部によって、前記スマートメータから受信した前記時刻情報に基づいて、前記時計部の時刻を設定する時刻設定部と
を備えることを特徴とする制御装置。
A clock section for measuring time,
A communication unit that receives time information from a smart meter that measures power consumption; and
A control device comprising: a time setting unit configured to set a time of the clock unit based on the time information received from the smart meter by the communication unit.
前記通信部は、所定の時間間隔で前記スマートメータから通知され、前記時刻情報及び定時積算電力量の測定値を含む電文を前記スマートメータから受信し、
前記時刻設定部は、前記電文に含まれる前記時刻情報に基づいて、前記時計部の時刻を設定する
ことを特徴とする請求項1に記載の制御装置。
The communication unit is notified from the smart meter at a predetermined time interval, and receives a message including the time information and a measurement value of the integrated power consumption on time, from the smart meter,
The control device according to claim 1, wherein the time setting unit sets the time of the clock unit based on the time information included in the message.
前記通信部は、前記スマートメータが計時する現在時刻情報を要求する現在時刻要求を送信し、当該現在時刻要求に応じて、前記現在時刻情報を前記時刻情報として含む応答を前記スマートメータから受信し、
前記時刻設定部は、前記通信部によって繰り返し受信した、前記応答に含まれる前記現在時刻情報に基づいて、前記現在時刻情報の分単位の切り替わり点を検出し、検出した当該切り替わり点に基づいて、前記時計部の時刻を設定する
ことを特徴とする請求項1に記載の制御装置。
The communication unit transmits a current time request for requesting current time information timed by the smart meter, and receives a response including the current time information as the time information from the smart meter in response to the current time request. ,
The time setting unit detects a switching point in minutes of the current time information based on the current time information included in the response repeatedly received by the communication unit, and based on the detected switching point, The control device according to claim 1, wherein the time of the clock unit is set.
前記時刻設定部は、前記切り替わり点を含む検索範囲を二分する位置における前記現在時刻情報に基づいて、前記二分した前記検索範囲のいずれかを新たな前記検索範囲とする処理を繰り返す二分検索法により前記切り替わり点を検出する
ことを特徴とする請求項3に記載の制御装置。
The time setting unit, based on the current time information at a position that bisects the search range including the switching point, by a binary search method that repeats the process of setting one of the search ranges divided into two as the new search range The control device according to claim 3, wherein the switching point is detected.
前記時刻設定部は、所定の応答間隔で前記現在時刻情報を繰り返し受信して、前記切り替わり点を含む範囲を限定する限定処理を実行し、限定した当該範囲に対して、前記所定の応答間隔を狭めて、前記限定処理を繰り返し実行することで、前記切り替わり点を検出する
ことを特徴とする請求項3に記載の制御装置。
The time setting unit repeatedly receives the current time information at a predetermined response interval, executes a limiting process for limiting a range including the switching point, and sets the predetermined response interval for the limited range. The control device according to claim 3, wherein the switching point is detected by narrowing and repeatedly executing the limiting process.
前記時刻設定部は、前記時刻情報を受信するための遅延時間と前記時刻情報とに基づいて、前記時計部の時刻を設定する
ことを特徴とする請求項1から請求項5のいずれか一項に記載の制御装置。
The said time setting part sets the time of the said timepiece part based on the delay time for receiving the said time information, and the said time information. The time of Claim 1 characterized by the above-mentioned. The control device described in 1.
時刻を計時する時計部を備える制御装置が実行する時刻設定方法であって、
電力使用量を計測するスマートメータから時刻情報を受信する受信ステップと、
前記受信ステップによって、前記スマートメータから受信した前記時刻情報に基づいて、前記時計部の時刻を設定する時刻設定ステップと
を含むことを特徴とする時刻設定方法。
A time setting method executed by a control device including a clock unit for measuring time,
A reception step of receiving time information from a smart meter that measures power consumption;
A time setting method comprising: a time setting step of setting the time of the clock unit based on the time information received from the smart meter by the receiving step.
時刻を計時する時計部を備える制御装置が有するコンピュータに、
電力使用量を計測するスマートメータから時刻情報を受信する受信ステップと、
前記受信ステップによって、前記スマートメータから受信した前記時刻情報に基づいて、前記時計部の時刻を設定する時刻設定ステップと
を実行させるためのプログラム。
A computer having a control device having a clock unit for measuring time,
A reception step of receiving time information from a smart meter that measures power consumption;
A program for causing the receiving step to execute a time setting step of setting a time of the clock unit based on the time information received from the smart meter.
JP2016204270A 2016-10-18 2016-10-18 Control device, time setting method, and program Active JP6694794B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016204270A JP6694794B2 (en) 2016-10-18 2016-10-18 Control device, time setting method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016204270A JP6694794B2 (en) 2016-10-18 2016-10-18 Control device, time setting method, and program

Publications (2)

Publication Number Publication Date
JP2018066603A true JP2018066603A (en) 2018-04-26
JP6694794B2 JP6694794B2 (en) 2020-05-20

Family

ID=62086975

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016204270A Active JP6694794B2 (en) 2016-10-18 2016-10-18 Control device, time setting method, and program

Country Status (1)

Country Link
JP (1) JP6694794B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109066971A (en) * 2018-07-26 2018-12-21 安徽南瑞继远电网技术有限公司 Intelligent substation fortune inspection managing and control system and method based on whole station business datum

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109066971A (en) * 2018-07-26 2018-12-21 安徽南瑞继远电网技术有限公司 Intelligent substation fortune inspection managing and control system and method based on whole station business datum

Also Published As

Publication number Publication date
JP6694794B2 (en) 2020-05-20

Similar Documents

Publication Publication Date Title
JP5135946B2 (en) Wireless positioning system
CN102845004B (en) Method and apparatus for the time synchronized of distribution system and measurement
DK3098621T3 (en) Systems and methods for registering locations for physical valuables
Ferrigno et al. Experimental characterization of synchronization protocols for instrument wireless interface
JP5724066B2 (en) Monitoring system, monitoring device, monitoring device program, terminal device, and terminal device program
Volgyesi et al. Time synchronization services for low-cost fog computing applications
JP5774240B1 (en) Communication device, smart meter and wireless mesh network
Mani et al. MNTP: Enhancing time synchronization for mobile devices
JP2019057785A (en) Radio communication system, communication device and data integration method
JP6025692B2 (en) Area quality degradation estimation apparatus and method
JP6694794B2 (en) Control device, time setting method, and program
Yan et al. Wearables clock synchronization using skin electric potentials
US20140364143A1 (en) Providing location assistance information using data from smart meters
JP2016099955A (en) Information processing device, information processing method and program
JP6376911B2 (en) Clock time comparison method and clock time correction method
US20210234626A1 (en) Time stamping method, time stamping apparatus and program
Ambassa et al. Secure and reliable power consumption monitoring in untrustworthy micro-grids
JP2016066216A (en) Communication apparatus, acquisition method and acquire program
JP2019020170A (en) Position search system, server, method for position search, and position search program
KR20130059162A (en) System and method for display of battery consume
Capriglione et al. Time synchronization based on linear regression in low cost WSNs: A performance analysis
KR20150141055A (en) Method for time synchronization of watt-hour meter time synchronization system
JP2016017898A (en) Information processing device and information processing method
US11190905B2 (en) Method for determining the relative proximity of wireless networked devices
JP7134625B2 (en) Traffic prediction device, traffic prediction program, traffic prediction method, and traffic prediction system

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20181116

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20181227

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20191209

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20191217

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200212

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200420

R150 Certificate of patent or registration of utility model

Ref document number: 6694794

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