JP2019193128A - Apparatus control device, communication system, communication method, and program - Google Patents

Apparatus control device, communication system, communication method, and program Download PDF

Info

Publication number
JP2019193128A
JP2019193128A JP2018084744A JP2018084744A JP2019193128A JP 2019193128 A JP2019193128 A JP 2019193128A JP 2018084744 A JP2018084744 A JP 2018084744A JP 2018084744 A JP2018084744 A JP 2018084744A JP 2019193128 A JP2019193128 A JP 2019193128A
Authority
JP
Japan
Prior art keywords
control
communication
controller
control command
information
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
JP2018084744A
Other languages
Japanese (ja)
Other versions
JP7068913B2 (en
Inventor
修一 村山
Shuichi Murayama
修一 村山
矢部 正明
Masaaki Yabe
正明 矢部
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2018084744A priority Critical patent/JP7068913B2/en
Publication of JP2019193128A publication Critical patent/JP2019193128A/en
Application granted granted Critical
Publication of JP7068913B2 publication Critical patent/JP7068913B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P60/00Technologies relating to agriculture, livestock or agroalimentary industries
    • Y02P60/12Technologies relating to agriculture, livestock or agroalimentary industries using renewable energies, e.g. solar water pumping
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/12Improving ICE efficiencies

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

To notify an external device of information indicating the linkage state of a control object apparatus and thereby prevent the repetition of retransmission processing of a control command by the external device.SOLUTION: An apparatus control device 20 controls a second apparatus 32 interlocked to a first apparatus 31 according to a control command received from a controller 10 and includes a communication control unit 21 that communicates with the controller 10 and the second apparatus 32. When the communication control unit 21 receives the control command for controlling the second apparatus 32 from the controller 10, the communication control unit 21 transmits coordination information, which is information indicating the linkage state of the second apparatus 32 with the first apparatus 31, to the controller 10.SELECTED DRAWING: Figure 1

Description

本発明は、機器を制御する機器制御装置に関する。   The present invention relates to a device control apparatus that controls a device.

一般に、通信ネットワークに接続された複数の機器を、その通信ネットワークを介して遠隔管理又は遠隔制御する機器制御装置が用いられている。このような機器制御装置を備えた通信システムでは、外部装置としての配信センタから送信されたプログラムを機器制御装置が取得し実行することにより、各機器を制御目的に応じて制御することができる(例えば、特許文献1参照)。   Generally, a device control apparatus that remotely manages or remotely controls a plurality of devices connected to a communication network is used. In a communication system including such a device control device, the device control device acquires and executes a program transmitted from a distribution center as an external device, whereby each device can be controlled according to the control purpose ( For example, see Patent Document 1).

特開2002−95072号公報JP 2002-95072 A

しかしながら、従来の技術では、複数の機器のうちの制御対象である機器が連携動作を行っている場合、外部装置は、制御対象である機器の連動状態、例えば、連携動作を行っている状態かどうかを把握することができない。そのため、制御対象である機器に対する制御が失敗した場合、外部装置は制御対象である機器を制御するための制御指令の再送処理を繰り返すため、通信システムにおける負荷が増加するという問題がある。   However, in the conventional technology, when a device to be controlled among a plurality of devices performs a cooperative operation, the external device is in a state of cooperation of the device to be controlled, for example, a state in which a cooperative operation is performed. I can't figure out. For this reason, when the control of the device to be controlled fails, the external device repeats the control command retransmission process for controlling the device to be controlled, which increases the load on the communication system.

本発明の目的は、制御対象である機器の連動状態を示す情報を外部装置に通知することにより、外部装置の制御指令の再送処理の繰り返しを防ぐことである。   An object of the present invention is to notify the external device of information indicating the interlocking state of a device to be controlled, thereby preventing repetition of a control command retransmission process of the external device.

本発明の機器制御装置は、
外部装置から受信した制御指令に従って第1の機器と連動する第2の機器を制御する機器制御装置であって、
前記外部装置及び前記第2の機器と通信する通信制御部を備え、
前記第2の機器を制御するための前記制御指令を前記通信制御部が前記外部装置から受信したとき、前記通信制御部は、前記第2の機器の前記第1の機器との連動状態を示す情報である連携情報を前記外部装置に向けて送信する
ことを特徴とする。
The device control apparatus of the present invention is
A device control device for controlling a second device linked to the first device in accordance with a control command received from an external device;
A communication control unit that communicates with the external device and the second device;
When the communication control unit receives the control command for controlling the second device from the external device, the communication control unit indicates an interlocking state of the second device with the first device. Link information that is information is transmitted to the external device.

本発明によれば、制御対象である機器の連動状態を示す情報を外部装置に通知することにより、外部装置の制御指令の再送処理の繰り返しを防ぐことができる。   ADVANTAGE OF THE INVENTION According to this invention, the repetition of the resending process of the control command of an external apparatus can be prevented by notifying the external apparatus of the information which shows the interlocking state of the apparatus which is a control object.

実施の形態1に係る通信システムの構成を概略的に示すブロック図である。1 is a block diagram schematically showing a configuration of a communication system according to a first embodiment. 記憶部に格納されたデータの構造を概略的に示す図である。It is a figure which shows roughly the structure of the data stored in the memory | storage part. 通信システムにおける通信方法の一例を示すシーケンス図である。It is a sequence diagram which shows an example of the communication method in a communication system. 実施の形態2に係る通信システムの構成を概略的に示すブロック図である。3 is a block diagram schematically showing a configuration of a communication system according to a second embodiment. FIG. ノードオブジェクトの構造を概略的に示す図である。It is a figure which shows the structure of a node object roughly. 実施の形態2に係る通信システムにおける通信方法の一例を示すシーケンス図である。6 is a sequence diagram illustrating an example of a communication method in a communication system according to Embodiment 2. FIG. 実施の形態3に係る通信システムの構成を概略的に示すブロック図である。FIG. 9 is a block diagram schematically showing a configuration of a communication system according to a third embodiment. 実施の形態3に係る通信システムにおける通信方法の一例を示すシーケンス図である。12 is a sequence diagram illustrating an example of a communication method in a communication system according to Embodiment 3. FIG.

実施の形態1.
図1は、実施の形態1に係る通信システム100の構成を概略的に示すブロック図である。
通信システム100は、機器制御装置20と、機器制御装置20の外側にある外部装置としてのコントローラ10とを有する。
通信システム100は、第1の機器31及び第2の機器32と通信することができ、第1の機器31及び第2の機器32を制御することができる。
Embodiment 1 FIG.
FIG. 1 is a block diagram schematically showing a configuration of a communication system 100 according to the first embodiment.
The communication system 100 includes a device control device 20 and a controller 10 as an external device outside the device control device 20.
The communication system 100 can communicate with the first device 31 and the second device 32, and can control the first device 31 and the second device 32.

通信システム100は、例えば、一般社団法人エコーネットコンソーシアムによって発行された「ECHONET Lite規格書 Version1.12」(以下、単に「ECHONET Lite規格書」ともいう)に規定された通信仕様に従うシステムである。   The communication system 100 is, for example, a system that complies with communication specifications defined in “ECHONET Lite Standard Version 1.12” (hereinafter, also simply referred to as “ECHONET Lite Standard”) issued by the Echonet Consortium.

第1の機器31は、第2の機器32と連動する。同様に、第2の機器32は、第1の機器31と連動する。第1の機器31が第2の機器32と連動することを連携動作ともいう。同様に、第2の機器32が第1の機器31と連動することを連携動作ともいう。連携動作とは、例えば、1つの機器(例えば、第2の機器32)がある動作を行っているときに、他の機器(例えば、第1の機器31)が特定の動作を行うこと又は動作の停止をすることを意味する。   The first device 31 is interlocked with the second device 32. Similarly, the second device 32 works with the first device 31. Linking the first device 31 with the second device 32 is also referred to as a cooperative operation. Similarly, the interlocking of the second device 32 with the first device 31 is also referred to as a cooperative operation. The cooperative operation is, for example, that one device (for example, the second device 32) performs a certain operation while another device (for example, the first device 31) performs a specific operation or operation. Means to stop.

第1の機器31及び第2の機器32は、例えば、ECHONET Lite規格書で定義された「ECHONET Lite機器」である。例えば、第1の機器31及び第2の機器32は、蓄電池、太陽電池モジュール、空調機器などの機器である。   The first device 31 and the second device 32 are, for example, “ECHONET Lite devices” defined in the ECHONET Lite standard. For example, the first device 31 and the second device 32 are devices such as a storage battery, a solar cell module, and an air conditioner.

通信システム100は、例えば、太陽光発電システムである。この場合、第1の機器31は、例えば、太陽光を用いて発電可能な太陽電池モジュールであり、第2の機器32は、例えば、蓄電及び放電が可能な蓄電池である。この場合、機器制御装置20は、例えば、パワーコンディショナであり、コントローラ10は、スマートフォン、タブレット端末、パーソナルコンピュータなどの端末装置である。   The communication system 100 is, for example, a solar power generation system. In this case, the first device 31 is, for example, a solar cell module that can generate power using sunlight, and the second device 32 is, for example, a storage battery that can store and discharge. In this case, the device control device 20 is, for example, a power conditioner, and the controller 10 is a terminal device such as a smartphone, a tablet terminal, or a personal computer.

通信システム100のユーザは、コントローラ10を用いて機器制御装置20、第1の機器31、及び第2の機器32を制御する。具体的には、ユーザが、第1の機器31又は第2の機器32を制御するための制御指令をコントローラ10に入力すると、その制御指令は、機器制御装置20に入力される。機器制御装置20は、コントローラ10からの制御指令に従って、制御対象である機器(すなわち、第1の機器31又は第2の機器32)に制御指令を送信する。   A user of the communication system 100 controls the device control apparatus 20, the first device 31, and the second device 32 using the controller 10. Specifically, when the user inputs a control command for controlling the first device 31 or the second device 32 to the controller 10, the control command is input to the device control device 20. The device control apparatus 20 transmits a control command to a device to be controlled (that is, the first device 31 or the second device 32) according to the control command from the controller 10.

コントローラ10は、第1の機器31及び第2の機器32を遠隔制御するための機器である。コントローラ10は、例えば、機器制御装置20と通信を行うためのアプリケーションソフトウェアを持つ。   The controller 10 is a device for remotely controlling the first device 31 and the second device 32. For example, the controller 10 has application software for communicating with the device control apparatus 20.

図1に示される例では、コントローラ10は、通信線40を通して機器制御装置20(具体的には、通信制御部21の通信部21a)と通信可能に接続されている。ただし、コントローラ10は、機器制御装置20と無線通信を行ってもよい。すなわち、コントローラ10は、機器制御装置20と有線通信又は無線通信を行うことができる。   In the example shown in FIG. 1, the controller 10 is communicably connected to the device control apparatus 20 (specifically, the communication unit 21 a of the communication control unit 21) through the communication line 40. However, the controller 10 may perform wireless communication with the device control apparatus 20. That is, the controller 10 can perform wired communication or wireless communication with the device control apparatus 20.

本実施の形態では、コントローラ10は、第1の機器31と連動する第2の機器32を制御するための制御指令を機器制御装置20に送信する。言い換えると、コントローラ10は、制御対象である機器(本実施の形態では、第2の機器32)がモデル化された機器オブジェクト(具体的には、後述する機器オブジェクト221又は222)に向けて制御指令を送信する。後述するように、本実施の形態では、機器オブジェクトとは、例えば、ECHONET Lite規格書で定義された「機器オブジェクト」を意味する。すなわち、コントローラ10は、機器オブジェクト221又は222に向けて制御指令を送信することにより、各機器(第1の機器31又は第2の機器32)を制御する。   In the present embodiment, the controller 10 transmits a control command for controlling the second device 32 interlocked with the first device 31 to the device control apparatus 20. In other words, the controller 10 controls the control target device (in this embodiment, the second device 32) toward a modeled device object (specifically, a device object 221 or 222 described later). Send a command. As will be described later, in the present embodiment, the device object means, for example, a “device object” defined in the ECHONET Lite standard. That is, the controller 10 controls each device (the first device 31 or the second device 32) by transmitting a control command to the device object 221 or 222.

機器制御装置20は、通信制御部21と、記憶部22とを有する。機器制御装置20の機能は、例えば、ECHONET Lite規格書で定義された「ECHONET Lite通信ミドルウェア」によって実現される。したがって、機器制御装置20の構成は、図1に示される構成に限定されない。   The device control apparatus 20 includes a communication control unit 21 and a storage unit 22. The function of the device control apparatus 20 is realized by, for example, “ECHONET Lite communication middleware” defined in the ECHONET Lite standard. Therefore, the configuration of the device control apparatus 20 is not limited to the configuration shown in FIG.

機器制御装置20は、例えば、プロセッサ及びメモリで構成される。機器制御装置20は、さらに通信インタフェースを有してもよい。プロセッサは、例えば、メモリに格納されるプログラムを実行するCPU(Central Processing Unit)である。この場合、機器制御装置20の機能(例えば、本実施の形態で説明される通信方法)は、ソフトウェア、ファームウェア、又はソフトウェアとファームウェアとの組み合わせにより実現される。ソフトウェア及びファームウェアはプログラムとしてメモリに格納することができる。これにより、機器制御装置20の機能を実現するためのプログラムは、コンピュータによって実行される。   The device control device 20 includes, for example, a processor and a memory. The device control apparatus 20 may further have a communication interface. The processor is, for example, a CPU (Central Processing Unit) that executes a program stored in a memory. In this case, the function (for example, the communication method described in the present embodiment) of the device control apparatus 20 is realized by software, firmware, or a combination of software and firmware. Software and firmware can be stored in memory as programs. Thereby, the program for realizing the function of the device control apparatus 20 is executed by the computer.

機器制御装置20は、単一回路又は複合回路などの専用のハードウェアとしての処理回路で構成されてもよい。この場合、機器制御装置20の機能は、処理回路で実現される。   The device control apparatus 20 may be configured by a processing circuit as dedicated hardware such as a single circuit or a composite circuit. In this case, the function of the device control device 20 is realized by a processing circuit.

図1に示される例では、通信制御部21は、通信部21a及び21bと、管理部21cとを有する。通信制御部21は、コントローラ10及び第2の機器32と通信する。通信制御部21は、第1の機器31と通信することもできる。   In the example illustrated in FIG. 1, the communication control unit 21 includes communication units 21a and 21b and a management unit 21c. The communication control unit 21 communicates with the controller 10 and the second device 32. The communication control unit 21 can also communicate with the first device 31.

通信部21aは、例えば、コントローラ10と通信を行うための通信インタフェースである。図1に示される例では、通信部21aは通信線40を介してコントローラ10と接続されている。通信部21bは、例えば、第1の機器31及び第2の機器32と通信を行うための通信インタフェースである。図1に示される例では、通信部21bは通信線41を介して第1の機器31及び第2の機器32と接続されている。   The communication unit 21a is a communication interface for communicating with the controller 10, for example. In the example shown in FIG. 1, the communication unit 21 a is connected to the controller 10 via the communication line 40. The communication unit 21b is a communication interface for communicating with the first device 31 and the second device 32, for example. In the example shown in FIG. 1, the communication unit 21 b is connected to the first device 31 and the second device 32 via the communication line 41.

管理部21cは、通信部21aを介してコントローラ10との間でデータ(例えば、制御指令、応答信号、又は連携情報)の送信及び受信を行う。管理部21cは、通信部21bを介して第1の機器31及び第2の機器32との間でデータ(例えば、制御指令又は応答信号)の送信及び受信を行う。さらに、管理部21cは、記憶部22へのデータの書き込み及び記憶部22からデータの読み出しを行う。   The management unit 21c transmits and receives data (for example, a control command, a response signal, or cooperation information) with the controller 10 via the communication unit 21a. The management unit 21c transmits and receives data (for example, a control command or a response signal) between the first device 31 and the second device 32 via the communication unit 21b. Furthermore, the management unit 21 c writes data into the storage unit 22 and reads data from the storage unit 22.

図1に示される例では、機器制御装置20(具体的には、通信制御部21の通信部21b)は、通信線41を通して第1の機器31及び第2の機器32と通信可能に接続されている。機器制御装置20と第1の機器31との間の通信線及び機器制御装置20と第2の機器32との間の通信線は互いに独立していてもよい。ただし、機器制御装置20は、第1の機器31及び第2の機器32と無線通信を行ってもよい。すなわち、機器制御装置20は、第1の機器31及び第2の機器32と有線通信又は無線通信を行うことができる。   In the example shown in FIG. 1, the device control apparatus 20 (specifically, the communication unit 21 b of the communication control unit 21) is connected to the first device 31 and the second device 32 through the communication line 41 so as to be communicable. ing. The communication line between the device control device 20 and the first device 31 and the communication line between the device control device 20 and the second device 32 may be independent of each other. However, the device control apparatus 20 may perform wireless communication with the first device 31 and the second device 32. That is, the device control apparatus 20 can perform wired communication or wireless communication with the first device 31 and the second device 32.

記憶部22は、コンピュータで読み取り可能な記録媒体であり、例えば、RAM(Random Access Memory)及びROM(Read Only Memory)などの揮発性メモリ、不揮発性メモリ、又は揮発性メモリと不揮発性メモリとの組み合わせである。   The storage unit 22 is a computer-readable recording medium, for example, a volatile memory such as a RAM (Random Access Memory) and a ROM (Read Only Memory), a nonvolatile memory, or a volatile memory and a nonvolatile memory. It is a combination.

図2は、記憶部22に格納されたデータの構造を概略的に示す図である。
記憶部22は、プログラム、情報などのデータを記憶する。具体的には、記憶部22には、ノードオブジェクト223と、機器オブジェクト221と、機器オブジェクト222とが記憶されている。ノードオブジェクト223、機器オブジェクト221、及び機器オブジェクト222は、例えば、ECHONET Lite規格書で定義された「ECHONETオブジェクト」である。ノードオブジェクト223、機器オブジェクト221、及び機器オブジェクト222は、予め定義されており、記憶部22に格納されている。ただし、ノードオブジェクト223、機器オブジェクト221、及び機器オブジェクト222内のデータは、随時更新されてもよい。
FIG. 2 is a diagram schematically showing the structure of data stored in the storage unit 22.
The storage unit 22 stores data such as programs and information. Specifically, a node object 223, a device object 221, and a device object 222 are stored in the storage unit 22. The node object 223, the device object 221, and the device object 222 are, for example, “ECHONET objects” defined in the ECHONET Lite standard. The node object 223, the device object 221 and the device object 222 are defined in advance and stored in the storage unit 22. However, the data in the node object 223, the device object 221, and the device object 222 may be updated as needed.

本実施の形態では、ノードオブジェクト223は、機器制御装置20をオブジェクト化したものである。言い換えると、ノードオブジェクト223は、機器制御装置20をモデル化したものである。図2に示される例では、ノードオブジェクト223は、制御項目23a及び機器情報23bを有する。制御項目23aは、例えば、機器制御装置20の動作モード、動作状態、及び動作設定などの機器制御装置20に対する制御に関する情報を含む。機器情報23bは、機器制御装置20の名称、及び機器制御装置20の名称以外の機器制御装置20が有する情報を含む。   In the present embodiment, the node object 223 is obtained by converting the device control apparatus 20 into an object. In other words, the node object 223 is a model of the device control apparatus 20. In the example shown in FIG. 2, the node object 223 has a control item 23a and device information 23b. The control item 23a includes information related to control of the device control device 20, such as an operation mode, an operation state, and an operation setting of the device control device 20, for example. The device information 23b includes information of the device control device 20 other than the name of the device control device 20 and the name of the device control device 20.

本実施の形態では、機器オブジェクト221は、第1の機器31をオブジェクト化したものである。言い換えると、機器オブジェクト221は、第1の機器31をモデル化したものである。図2に示される例では、機器オブジェクト221は、制御項目24a、機器情報24b、及び連携情報24cを有する。   In the present embodiment, the device object 221 is an object formed from the first device 31. In other words, the device object 221 is a model of the first device 31. In the example illustrated in FIG. 2, the device object 221 includes a control item 24a, device information 24b, and linkage information 24c.

制御項目24aは、例えば、第1の機器31の動作モード、動作状態、及び動作設定などの第1の機器31に対する制御に関する情報を含む。例えば、第1の機器31が太陽電池モジュールである場合、例えば、動作状態及び運転モードが制御項目24aとして記憶部22に記憶されている。   The control item 24a includes information related to control of the first device 31 such as an operation mode, an operation state, and an operation setting of the first device 31, for example. For example, when the 1st apparatus 31 is a solar cell module, the operation state and the operation mode are memorize | stored in the memory | storage part 22 as the control item 24a, for example.

機器情報24bは、第1の機器31の名称などの第1の機器31に関する情報を含む。連携情報24cは、制御対象である機器の、他の機器との連動状態を示す情報である。連動状態とは、例えば、制御対象である機器が連携動作を行っている状態又は連携動作を行っていない状態をいう。例えば、連携情報24cは、制御対象である機器(第1の機器31又は第2の機器32)が連携動作を行っていることを示す情報である。   The device information 24 b includes information related to the first device 31 such as the name of the first device 31. The linkage information 24c is information indicating a linkage state of a device to be controlled with another device. The interlocking state refers to, for example, a state where a device to be controlled is performing a cooperative operation or a state in which a cooperative operation is not performed. For example, the cooperation information 24c is information indicating that the device to be controlled (the first device 31 or the second device 32) is performing a cooperation operation.

機器オブジェクト221は、第1の機器31を制御するためのプログラムを含んでいてもよい。   The device object 221 may include a program for controlling the first device 31.

本実施の形態では、機器オブジェクト222は、第2の機器32をオブジェクト化したものである。言い換えると、機器オブジェクト222は、第2の機器32をモデル化したものである。図2に示される例では、機器オブジェクト222は、制御項目25a、機器情報25b、及び連携情報25cを有する。   In the present embodiment, the device object 222 is obtained by converting the second device 32 into an object. In other words, the device object 222 is a model of the second device 32. In the example illustrated in FIG. 2, the device object 222 includes a control item 25a, device information 25b, and linkage information 25c.

制御項目25aは、例えば、第2の機器32の動作モード、動作状態、及び動作設定などの第2の機器32に対する制御に関する情報を含む。例えば、第2の機器32が蓄電池である場合、例えば、動作状態及び運転モードが制御項目25aとして記憶部22に記憶されている。   The control item 25a includes information related to control of the second device 32, such as an operation mode, an operation state, and an operation setting of the second device 32, for example. For example, when the second device 32 is a storage battery, for example, the operation state and the operation mode are stored in the storage unit 22 as the control item 25a.

機器情報25bは、第2の機器32の名称などの第2の機器32に関する情報を含む。連携情報25cは、例えば、制御対象である機器(例えば、第1の機器31又は第2の機器32)の、他の機器(例えば、第1の機器31又は第2の機器32)との連動状態を示す情報である。例えば、連携情報25cは、制御対象である機器(第1の機器31又は第2の機器32)が連携動作を行っていることを示す情報である。   The device information 25b includes information related to the second device 32 such as the name of the second device 32. The linkage information 25c is, for example, a linkage between a device to be controlled (for example, the first device 31 or the second device 32) and another device (for example, the first device 31 or the second device 32). This is information indicating the state. For example, the cooperation information 25c is information indicating that the device to be controlled (the first device 31 or the second device 32) is performing a cooperation operation.

機器オブジェクト222は、第2の機器32を制御するためのプログラムを含んでいてもよい。   The device object 222 may include a program for controlling the second device 32.

ノードオブジェクト223、機器オブジェクト221、及び機器オブジェクト222は、通信制御部21(例えば、通信部21a若しくは21b又はその両方)に備えられていてもよい。この場合、ノードオブジェクト223、機器オブジェクト221、及び機器オブジェクト222は、コントローラ10と制御対象である機器との間における通信を行うための通信インタフェースとして機能する。   The node object 223, the device object 221, and the device object 222 may be provided in the communication control unit 21 (for example, the communication unit 21a or 21b or both). In this case, the node object 223, the device object 221, and the device object 222 function as a communication interface for performing communication between the controller 10 and a device to be controlled.

機器制御装置20は、コントローラ10から受信した制御指令に従って制御対象である機器(例えば、第1の機器31又は第2の機器32)を制御する。例えば、機器制御装置20は、コントローラ10からの制御指令によって指定された機器オブジェクト221又は222に対応する機器(例えば、第1の機器31又は第2の機器32)に対する制御(具体的には、制御指令の送信)を行う。   The device control apparatus 20 controls a device to be controlled (for example, the first device 31 or the second device 32) according to the control command received from the controller 10. For example, the device control apparatus 20 controls the device (for example, the first device 31 or the second device 32) corresponding to the device object 221 or 222 specified by the control command from the controller 10 (specifically, Control command transmission).

図3は、通信システム100における通信方法の一例を示すシーケンス図である。
本実施の形態では、通信システム100が太陽光発電システムである場合の通信システム100における通信方法の一例を説明する。
FIG. 3 is a sequence diagram illustrating an example of a communication method in the communication system 100.
In the present embodiment, an example of a communication method in the communication system 100 when the communication system 100 is a solar power generation system will be described.

例えば、コントローラ10は、売電を行うための制御指令Sg1を機器制御装置20に送信する。機器制御装置20の通信制御部21は、受信通知としての応答信号である応答Re1をコントローラ10に送信する。   For example, the controller 10 transmits a control command Sg <b> 1 for selling power to the device control device 20. The communication control unit 21 of the device control apparatus 20 transmits a response Re1 that is a response signal as a reception notification to the controller 10.

機器制御装置20の通信制御部21は、コントローラ10からの制御指令Sg1に従って第1の機器31に制御指令Sg2を送信する。制御指令Sg2は、制御指令Sg1に従って第1の機器31を制御するための制御指令である。   The communication control unit 21 of the device control device 20 transmits a control command Sg2 to the first device 31 in accordance with the control command Sg1 from the controller 10. The control command Sg2 is a control command for controlling the first device 31 according to the control command Sg1.

第1の機器31は、制御指令Sg2を受信すると、制御指令Sg2に従って、売電のための制御動作を実行する。さらに、第1の機器31は、第2の機器32に連携制御信号Sg3を送信し、第2の機器32と共に連携動作を行う。具体的には、第1の機器31が売電(すなわち、放電)を行っている間、第2の機器32が放電を行わないように第1の機器31は第2の機器32を制御する。   When receiving the control command Sg2, the first device 31 executes a control operation for selling power according to the control command Sg2. Further, the first device 31 transmits a cooperation control signal Sg <b> 3 to the second device 32, and performs a cooperation operation with the second device 32. Specifically, the first device 31 controls the second device 32 so that the second device 32 does not discharge while the first device 31 is selling power (that is, discharging). .

第2の機器32は、第1の機器31から連携制御信号Sg3を受信すると、連携動作を開始する。例えば、第1の機器31が売電(すなわち、放電)を行っている間、第2の機器32は、放電を行わない。   When the second device 32 receives the cooperation control signal Sg3 from the first device 31, the second device 32 starts the cooperation operation. For example, while the first device 31 is selling power (that is, discharging), the second device 32 does not discharge.

第1の機器31は、制御指令Sg2に基づく制御動作の結果を通知するための通知信号である結果通知m1を、機器制御装置20の通信制御部21に送信する。   The first device 31 transmits a result notification m1, which is a notification signal for notifying the result of the control operation based on the control command Sg2, to the communication control unit 21 of the device control apparatus 20.

コントローラ10は、制御対象である第1の機器31の現在状態を取得するための信号である状態取得信号Sg4を機器制御装置20に送信する。   The controller 10 transmits to the device control apparatus 20 a state acquisition signal Sg4 that is a signal for acquiring the current state of the first device 31 to be controlled.

機器制御装置20の通信制御部21は、コントローラ10からの状態取得信号Sg4を受信すると、第1の機器31の状態をコントローラ10に通知するための状態通知信号Re2(単に「応答Re2」ともいう)をコントローラ10に送信する。   When the communication control unit 21 of the device control apparatus 20 receives the state acquisition signal Sg4 from the controller 10, the state notification signal Re2 (also simply referred to as “response Re2”) for notifying the controller 10 of the state of the first device 31. ) To the controller 10.

コントローラ10は、機器制御装置20から状態通知信号Re2を受信すると、制御対象である第1の機器31の状態を取得し、第1の機器31の状態が正常か異常か判定する。図3に示される例では、コントローラ10は、第1の機器31の状態が正常であると判定し、第1の機器31に対する制御を終了する。一方、コントローラ10は、第1の機器31の状態が異常であると判定した場合、制御指令Sg1を再び送信する。   When the controller 10 receives the state notification signal Re2 from the device control apparatus 20, the controller 10 acquires the state of the first device 31 that is the control target, and determines whether the state of the first device 31 is normal or abnormal. In the example shown in FIG. 3, the controller 10 determines that the state of the first device 31 is normal, and ends the control for the first device 31. On the other hand, when the controller 10 determines that the state of the first device 31 is abnormal, the controller 10 transmits the control command Sg1 again.

図3に示される例では、第1の機器31に対する制御の後、コントローラ10は、第2の機器32に対する制御を行う。コントローラ10は、第2の機器32からの放電を行うための制御指令Sg5を機器制御装置20に送信する。機器制御装置20の通信制御部21がコントローラ10から制御指令Sg5を受信したとき、機器制御装置20の通信制御部21は、応答信号である応答Re3をコントローラ10に送信する。   In the example shown in FIG. 3, the controller 10 controls the second device 32 after controlling the first device 31. The controller 10 transmits a control command Sg <b> 5 for discharging from the second device 32 to the device control apparatus 20. When the communication control unit 21 of the device control device 20 receives the control command Sg5 from the controller 10, the communication control unit 21 of the device control device 20 transmits a response Re3 that is a response signal to the controller 10.

機器制御装置20の通信制御部21は、コントローラ10からの制御指令Sg5に従って制御対象である第2の機器32に制御指令Sg6を送信する。制御指令Sg6は、制御指令Sg5に従って第2の機器32を制御するための制御指令である。制御指令Sg6は、制御指令Sg5と同じ信号でもよく、制御指令Sg5及び他の情報を含む信号でもよい。   The communication control unit 21 of the device control apparatus 20 transmits a control command Sg6 to the second device 32 that is a control target in accordance with the control command Sg5 from the controller 10. The control command Sg6 is a control command for controlling the second device 32 in accordance with the control command Sg5. The control command Sg6 may be the same signal as the control command Sg5, or may be a signal including the control command Sg5 and other information.

図3に示される例では、第2の機器32が制御指令Sg6を受信したとき、第2の機器32は連携動作を継続している。この場合、第2の機器32は制御指令Sg5に基づく制御動作を実行できないため、第2の機器32に対する制御が失敗する。   In the example shown in FIG. 3, when the second device 32 receives the control command Sg6, the second device 32 continues the cooperative operation. In this case, since the second device 32 cannot execute the control operation based on the control command Sg5, the control on the second device 32 fails.

第2の機器32は、制御指令Sg5に基づく制御動作の結果を通知するための通知信号である結果通知m2を、機器制御装置20の通信制御部21に送信する。   The second device 32 transmits a result notification m2 that is a notification signal for notifying the result of the control operation based on the control command Sg5 to the communication control unit 21 of the device control apparatus 20.

機器制御装置20の通信制御部21は、第2の機器32から結果通知m2を受信したとき、制御指令Sg5に基づく制御動作が実行できたか否かを、結果通知m2に基づいて判定する。ただし、機器制御装置20の通信制御部21は、第2の機器32から結果通知m2を受信したとき、制御指令Sg5に基づく制御動作が実行できたか否かを、記憶部22に格納されている機器オブジェクト222の連携情報25cに基づいて判定してもよい。この場合、連携情報25cは、第2の機器32の連動状態を示す情報である。連動状態とは、連携動作を行っている状態又は連携動作を行っていない状態を意味する。   When receiving the result notification m2 from the second device 32, the communication control unit 21 of the device control apparatus 20 determines whether or not the control operation based on the control command Sg5 has been executed based on the result notification m2. However, the communication control unit 21 of the device control device 20 stores in the storage unit 22 whether or not the control operation based on the control command Sg5 has been executed when the result notification m2 is received from the second device 32. The determination may be made based on the cooperation information 25c of the device object 222. In this case, the linkage information 25c is information indicating the linkage state of the second device 32. The interlocking state means a state where a cooperative operation is performed or a state where a cooperative operation is not performed.

機器制御装置20の通信制御部21は、第2の機器32から結果通知m2を受信したとき、制御指令Sg5に基づく制御動作が実行できたか否かを判定し、判定結果に基づいて機器オブジェクト222内の連携情報25cである連携情報i1をコントローラ10に送信する。図3に示される例では、連携情報i1は、第2の機器32が第1の機器31との連携動作を行っていることを示す情報である。すなわち、機器制御装置20の通信制御部21は、連携情報i1を用いて、制御対象である第2の機器32に対する制御指令Sg5に基づく制御が不可能であることをコントローラ10に通知する。   When the communication control unit 21 of the device control apparatus 20 receives the result notification m2 from the second device 32, the communication control unit 21 determines whether or not the control operation based on the control command Sg5 has been executed, and the device object 222 is based on the determination result. The link information i1 that is the link information 25c is transmitted to the controller 10. In the example illustrated in FIG. 3, the cooperation information i <b> 1 is information indicating that the second device 32 is performing a cooperation operation with the first device 31. That is, the communication control unit 21 of the device control apparatus 20 notifies the controller 10 that the control based on the control command Sg5 for the second device 32 that is the control target is impossible using the cooperation information i1.

コントローラ10は、機器制御装置20から連携情報i1を受信すると、第2の機器32に対する制御動作、すなわち、第2の機器32を制御するための処理を終了する。したがって、第2の機器32に対する制御が失敗した場合でも、コントローラ10は、制御指令Sg5の再送処理は行わない。コントローラ10は、機器制御装置20から連携情報i1を受信することにより、制御対象の機器である第2の機器32に対する制御を行うための通信が正常に完了したと判断することができる。これにより、制御対象の機器に対する制御が失敗した場合であっても、コントローラ10は、通信の異常ではないと判定することができる。   When the controller 10 receives the cooperation information i <b> 1 from the device control apparatus 20, the controller 10 ends the control operation for the second device 32, that is, the process for controlling the second device 32. Therefore, even when the control on the second device 32 fails, the controller 10 does not perform the retransmission process of the control command Sg5. By receiving the cooperation information i1 from the device control apparatus 20, the controller 10 can determine that the communication for controlling the second device 32 that is the device to be controlled has been completed normally. Thereby, even if it is a case where control with respect to the apparatus of control object fails, it can determine with the controller 10 not being abnormal in communication.

制御対象である機器が連携動作を行っている場合、機器制御装置20の通信制御部21は、コントローラ10からの制御指令を制御対象である機器へ送信しなくてもよい。この場合、機器制御装置20は、コントローラ10からの制御指令を制御対象である機器に送信せずに、機器オブジェクト221又は222内の連携情報24c又は25cに基づいて、連携情報i1をコントローラ10に送信する。   When the device to be controlled is performing a cooperative operation, the communication control unit 21 of the device control apparatus 20 may not transmit the control command from the controller 10 to the device to be controlled. In this case, the device control apparatus 20 does not transmit the control command from the controller 10 to the device to be controlled, and sends the link information i1 to the controller 10 based on the link information 24c or 25c in the device object 221 or 222. Send.

例えば、図3に示される例では、機器制御装置20の通信制御部21は、コントローラ10からの制御指令Sg6を、制御対象である第2の機器32に送信せずに連携情報i1をコントローラ10へ送信してもよい。図3に示される例では、機器オブジェクト222に第2の機器32の連動状態を示す情報、すなわち、連携情報25cが格納されている。通信制御部21は、第2の機器32が連携動作を継続していることを認識することができるので、通信制御部21は、コントローラ10から第2の機器32に対する制御指令Sg5を受信したとき、第2の機器32に制御指令Sg6を送信せずに、コントローラ10へ連携情報i1を送信することができる。   For example, in the example illustrated in FIG. 3, the communication control unit 21 of the device control apparatus 20 transmits the link information i1 to the controller 10 without transmitting the control command Sg6 from the controller 10 to the second device 32 to be controlled. May be sent to. In the example shown in FIG. 3, information indicating the interlocking state of the second device 32, that is, cooperation information 25 c is stored in the device object 222. Since the communication control unit 21 can recognize that the second device 32 continues the cooperative operation, the communication control unit 21 receives the control command Sg5 for the second device 32 from the controller 10. The link information i1 can be transmitted to the controller 10 without transmitting the control command Sg6 to the second device 32.

すなわち、通信制御部21は、コントローラ10から第2の機器32に対する制御指令Sg5を受信したとき、制御指令Sg5に基づく制御動作が実行できるか否かを判定し、判定結果に基づいて、第2の機器32に制御指令Sg6を送信せずに、連携情報i1をコントローラ10に送信することができる。これにより、通信システム100における処理の負荷を低減することができる。   That is, when the communication control unit 21 receives a control command Sg5 for the second device 32 from the controller 10, the communication control unit 21 determines whether or not a control operation based on the control command Sg5 can be executed, and based on the determination result, the second The link information i1 can be transmitted to the controller 10 without transmitting the control command Sg6 to the device 32. Thereby, the processing load in the communication system 100 can be reduced.

以上に説明したように、実施の形態1に係る通信システム100によれば、制御対象である機器(図3に示される例では、第2の機器32)を制御するための制御指令を、機器制御装置20の通信制御部21が外部装置としてのコントローラ10から受信したとき、通信制御部21は、連携情報i1をコントローラ10に向けて送信する。これにより、制御対象である機器が連携動作を行っている間に、機器制御装置20が外部装置としてのコントローラ10から制御指令を受信した場合でも、機器制御装置20が制御対象である機器の連動状態を示す情報である連携情報i1をコントローラ10に通知することができる。   As described above, according to the communication system 100 according to the first embodiment, the control command for controlling the device to be controlled (second device 32 in the example shown in FIG. 3) is transmitted to the device. When the communication control unit 21 of the control device 20 receives from the controller 10 as an external device, the communication control unit 21 transmits the cooperation information i1 to the controller 10. Accordingly, even when the device control apparatus 20 receives a control command from the controller 10 as an external device while the device to be controlled is performing a cooperative operation, the device control apparatus 20 is linked to the device to be controlled. It is possible to notify the controller 10 of linkage information i1 that is information indicating a state.

コントローラ10は、連携情報i1を受信したとき、制御対象の機器に対する制御を行うための通信が正常に完了したと判断することができる。これにより、制御対象の機器に対する制御が失敗した場合であっても、コントローラ10は、通信の異常ではないと判定することができるので、コントローラ10からの制御指令の再送処理の繰り返しを防ぐことができる。その結果、通信システム100における負荷の増加を防ぐことができる。   When the controller 10 receives the cooperation information i1, the controller 10 can determine that the communication for controlling the control target device has been normally completed. As a result, even if the control of the control target device fails, the controller 10 can determine that the communication is not abnormal, and therefore, it is possible to prevent the retransmission of the control command from the controller 10 from being repeated. it can. As a result, an increase in load in the communication system 100 can be prevented.

図3に示される例では、機器制御装置20の通信制御部21は、コントローラ10から制御指令Sg1及びSg5を受信したとき、これらの指令に対応する応答Re1及びRe3を送信する。しかしながら、機器制御装置20の通信制御部21は、コントローラ10から制御指令Sg1又はSg5を受信したとき、必ずしも応答Re1又はRe3を送信しなくてもよい。例えば、機器制御装置20の通信制御部21は、制御指令Sg5に対応する応答Re3を、連携情報i1と共にコントローラ10に送信してもよい。   In the example illustrated in FIG. 3, when the communication control unit 21 of the device control device 20 receives control commands Sg1 and Sg5 from the controller 10, the communication control unit 21 transmits responses Re1 and Re3 corresponding to these commands. However, when the communication control unit 21 of the device control apparatus 20 receives the control command Sg1 or Sg5 from the controller 10, it does not necessarily have to transmit the response Re1 or Re3. For example, the communication control unit 21 of the device control apparatus 20 may transmit a response Re3 corresponding to the control command Sg5 to the controller 10 together with the cooperation information i1.

通信制御部21からコントローラ10への応答(例えば、応答Re1,Re2,又はRe3)は、連携情報を含んでもよい。この場合の連携情報は、例えば、第1の機器31及び第2の機器32が連携動作を行っていないことを示す情報でもよい。   The response from the communication control unit 21 to the controller 10 (for example, the response Re1, Re2, or Re3) may include cooperation information. The cooperation information in this case may be information indicating that the first device 31 and the second device 32 are not performing a cooperation operation, for example.

実施の形態2.
図4は、実施の形態2に係る通信システム200の構成を概略的に示すブロック図である。
通信システム200は、例えば、ECHONET Lite規格書に規定された通信仕様に従うシステムである。
Embodiment 2. FIG.
FIG. 4 is a block diagram schematically showing a configuration of the communication system 200 according to the second embodiment.
The communication system 200 is a system that conforms to a communication specification defined in the ECHONET Lite standard, for example.

実施の形態2に係る通信システム200は、実施の形態1における機器制御装置20の代わりに機器制御装置20aを有する。実施の形態2に係る通信システム200において、機器制御装置20a以外の構成は、実施の形態1に係る通信システム100の構成と同じである。具体的には、通信システム200におけるノードオブジェクト223aは、例えば、ECHONET Lite規格書で定義された「ECHONETオブジェクト」であるが、ノードオブジェクト223aの構造が、実施の形態1に係る通信システム100におけるノードオブジェクト223の構造と異なる。   The communication system 200 according to the second embodiment includes a device control device 20a instead of the device control device 20 according to the first embodiment. In the communication system 200 according to the second embodiment, the configuration other than the device control device 20a is the same as the configuration of the communication system 100 according to the first embodiment. Specifically, the node object 223a in the communication system 200 is, for example, an “ECHONET object” defined in the ECHONET Lite standard. Different from the structure of the object 223.

機器制御装置20aの機能は、例えば、ECHONET Lite規格書で定義された「ECHONET Lite通信ミドルウェア」によって実現される。したがって、機器制御装置20aの構成は、図4に示される構成に限定されない。   The function of the device control device 20a is realized by, for example, “ECHONET Lite communication middleware” defined in the ECHONET Lite standard. Therefore, the configuration of the device control device 20a is not limited to the configuration shown in FIG.

図5は、ノードオブジェクト223aの構造を概略的に示す図である。
図5に示されるように、ノードオブジェクト223aは、制御項目23a及び機器情報23bに加えて、連携情報23cを有する。連携情報23cは、制御対象である機器の、他の機器との連動状態を示す情報である。例えば、連携情報23cは、制御対象である機器(第1の機器31又は第2の機器32)が連携動作を行っていることを示す情報である。
FIG. 5 is a diagram schematically showing the structure of the node object 223a.
As shown in FIG. 5, the node object 223a has linkage information 23c in addition to the control item 23a and the device information 23b. The linkage information 23c is information indicating a linkage state of a device to be controlled with another device. For example, the cooperation information 23c is information indicating that the device to be controlled (the first device 31 or the second device 32) is performing a cooperation operation.

図6は、実施の形態2に係る通信システム200における通信方法の一例を示すシーケンス図である。
実施の形態2に係る通信システム200が太陽光発電システムである場合の通信システム200における通信方法の一例について、図3に示される通信方法と異なる処理について説明する。
FIG. 6 is a sequence diagram illustrating an example of a communication method in the communication system 200 according to Embodiment 2.
An example of a communication method in the communication system 200 when the communication system 200 according to Embodiment 2 is a solar power generation system will be described with respect to processing different from the communication method illustrated in FIG.

実施の形態2に係る通信システム200では、機器制御装置20aの通信制御部21が第2の機器32から結果通知m2を受信すると、ノードオブジェクト223a内の連携情報23cである連携情報i1をコントローラ10に送信する。図6に示される例では、連携情報i1は、第2の機器32が第1の機器31との連携動作を行っていることを示す情報である。すなわち、機器制御装置20aは、連携情報i1を用いて、制御対象である第2の機器32に対する制御指令Sg5に基づく制御が不可能であることをコントローラ10に通知する。   In the communication system 200 according to the second embodiment, when the communication control unit 21 of the device control apparatus 20a receives the result notification m2 from the second device 32, the controller 10 receives the link information i1 that is the link information 23c in the node object 223a. Send to. In the example illustrated in FIG. 6, the cooperation information i <b> 1 is information indicating that the second device 32 is performing a cooperation operation with the first device 31. In other words, the device control apparatus 20a notifies the controller 10 that the control based on the control command Sg5 for the second device 32 that is the control target is impossible using the cooperation information i1.

コントローラ10は、機器制御装置20aから連携情報i1を受信すると、第2の機器32に対する制御動作、すなわち、第2の機器32を制御するための処理を終了する。したがって、第2の機器32に対する制御が失敗した場合でも、コントローラ10は、制御指令Sg5の再送処理は行わない。   When the controller 10 receives the cooperation information i1 from the device control apparatus 20a, the controller 10 ends the control operation for the second device 32, that is, the process for controlling the second device 32. Therefore, even when the control on the second device 32 fails, the controller 10 does not perform the retransmission process of the control command Sg5.

制御対象である機器が連携動作を行っている場合、機器制御装置20aの通信制御部21は、コントローラ10からの制御指令を制御対象である機器へ送信しなくてもよい。この場合、機器制御装置20aは、コントローラ10からの制御指令を制御対象である機器に送信せずに、ノードオブジェクト223a内の連携情報23cである連携情報i1をコントローラ10に送信する。   When the device to be controlled is performing a cooperative operation, the communication control unit 21 of the device control device 20a may not transmit the control command from the controller 10 to the device to be controlled. In this case, the device control apparatus 20a transmits the link information i1 that is the link information 23c in the node object 223a to the controller 10 without transmitting the control command from the controller 10 to the control target device.

例えば、図6に示される例では、機器制御装置20aの通信制御部21は、コントローラ10からの制御指令Sg6を、制御対象である第2の機器32に送信せずに連携情報i1をコントローラ10へ送信してもよい。図6に示される例では、ノードオブジェクト223aに第2の機器32の連動状態を示す情報、すなわち、連携情報23cが格納されている。通信制御部21は、第2の機器32が連携動作を継続していることを認識することができるので、通信制御部21は、コントローラ10から第2の機器32に対する制御指令Sg5を受信したとき、第2の機器32に制御指令Sg6を送信せずに、コントローラ10へ連携情報i1を送信することができる。これにより、通信システム200における処理の負荷を低減することができる。   For example, in the example illustrated in FIG. 6, the communication control unit 21 of the device control apparatus 20a transmits the link information i1 to the controller 10 without transmitting the control command Sg6 from the controller 10 to the second device 32 to be controlled. May be sent to. In the example shown in FIG. 6, information indicating the interlocking state of the second device 32, that is, cooperation information 23c is stored in the node object 223a. Since the communication control unit 21 can recognize that the second device 32 continues the cooperative operation, the communication control unit 21 receives the control command Sg5 for the second device 32 from the controller 10. The link information i1 can be transmitted to the controller 10 without transmitting the control command Sg6 to the second device 32. Thereby, the processing load in the communication system 200 can be reduced.

以上に説明したように、実施の形態2に係る通信システム200は、実施の形態1で説明した効果と同様の効果を有する。   As described above, the communication system 200 according to the second embodiment has the same effect as that described in the first embodiment.

さらに、実施の形態2に係る通信システム200では、連携情報i1は、機器オブジェクト221又は222を介さずに、ノードオブジェクト223aを介してコントローラ10に通知される。具体的には、管理部21cが第2の機器32から結果通知m2を受信すると、管理部21cが、ノードオブジェクト223a内の連携情報23cである連携情報i1をコントローラ10に送信する。したがって、制御対象である機器の連動状態を示す情報(すなわち、連携情報)は、少なくともノードオブジェクト223aで管理されていればよい。すなわち、制御対象である機器を追加した場合でも、機器制御装置20a内に予め備えられた機器オブジェクト221及び222を更新する必要がない。これにより、通信システム200において、制御対象である機器を追加した場合でも、その都度、機器オブジェクトにおいて連携情報を定義する必要がないので、通信システム200における負荷を軽減することができる。   Furthermore, in the communication system 200 according to the second embodiment, the cooperation information i1 is notified to the controller 10 via the node object 223a, not via the device object 221 or 222. Specifically, when the management unit 21 c receives the result notification m <b> 2 from the second device 32, the management unit 21 c transmits cooperation information i <b> 1 that is the cooperation information 23 c in the node object 223 a to the controller 10. Therefore, the information indicating the interlocking state of the device that is the control target (that is, the cooperation information) only needs to be managed by at least the node object 223a. That is, even when a device to be controlled is added, it is not necessary to update the device objects 221 and 222 provided in advance in the device control apparatus 20a. Thereby, even when a device to be controlled is added in the communication system 200, it is not necessary to define linkage information in the device object each time, so the load on the communication system 200 can be reduced.

図6に示される例では、機器制御装置20aの通信制御部21は、コントローラ10から制御指令Sg1及びSg5を受信したとき、これらの指令に対応する応答Re1及びRe3を送信する。しかしながら、機器制御装置20aの通信制御部21は、コントローラ10から制御指令Sg1又はSg5を受信したとき、必ずしも応答Re1又はRe3を送信しなくてもよい。例えば、機器制御装置20aの通信制御部21は、制御指令Sg5に対応する応答Re3を、連携情報i1と共にコントローラ10に送信してもよい。   In the example illustrated in FIG. 6, when the communication control unit 21 of the device control apparatus 20a receives control commands Sg1 and Sg5 from the controller 10, the communication control unit 21 transmits responses Re1 and Re3 corresponding to these commands. However, when the communication control unit 21 of the device control apparatus 20a receives the control command Sg1 or Sg5 from the controller 10, it does not necessarily have to transmit the response Re1 or Re3. For example, the communication control unit 21 of the device control apparatus 20a may transmit a response Re3 corresponding to the control command Sg5 to the controller 10 together with the cooperation information i1.

実施の形態3.
図7は、実施の形態3に係る通信システム300の構成を概略的に示すブロック図である。
通信システム300は、例えば、ECHONET Lite規格書に規定された通信仕様に従うシステムである。
Embodiment 3 FIG.
FIG. 7 is a block diagram schematically showing a configuration of a communication system 300 according to the third embodiment.
The communication system 300 is a system that complies with communication specifications defined in the ECHONET Lite standard, for example.

実施の形態3に係る通信システム300は、実施の形態1における機器制御装置20の代わりに機器制御装置20bを有する。実施の形態3に係る通信システム300において、機器制御装置20b以外の構成は、実施の形態1に係る通信システム100の構成と同じである。具体的には、機器制御装置20bは、機器オブジェクト221a及び222a、及び連携情報225を含む複合機器オブジェクト224を有する。   A communication system 300 according to the third embodiment includes a device control device 20b instead of the device control device 20 according to the first embodiment. In the communication system 300 according to the third embodiment, the configuration other than the device control device 20b is the same as the configuration of the communication system 100 according to the first embodiment. Specifically, the device control apparatus 20 b includes device objects 221 a and 222 a and a composite device object 224 including cooperation information 225.

機器制御装置20bの機能は、例えば、ECHONET Lite規格書で定義された「ECHONET Lite通信ミドルウェア」によって実現される。したがって、機器制御装置20bの構成は、図7に示される構成に限定されない。   The function of the device control apparatus 20b is realized by, for example, “ECHONET Lite communication middleware” defined in the ECHONET Lite standard. Therefore, the configuration of the device control apparatus 20b is not limited to the configuration shown in FIG.

複合機器オブジェクト224は、少なくとも1つの機器オブジェクト(本実施の形態では、機器オブジェクト221a及び222a)と連携情報225とを有する。機器オブジェクト221a及び222aは、例えば、ECHONET Lite規格書で定義された「ECHONETオブジェクト」である。   The composite device object 224 includes at least one device object (device objects 221a and 222a in the present embodiment) and linkage information 225. The device objects 221a and 222a are “ECHONET objects” defined in the ECHONET Lite standard, for example.

複合機器オブジェクト224の内容は、本実施の形態に限定されない。例えば、通信システム300に新たに接続された機器に対応する機器オブジェクトを複合機器オブジェクト224に追加してもよい。   The contents of the composite device object 224 are not limited to the present embodiment. For example, a device object corresponding to a device newly connected to the communication system 300 may be added to the composite device object 224.

機器オブジェクト221aは、制御項目24a及び機器情報24bを有する。機器オブジェクト222aは、制御項目25a及び機器情報25bを有する。   The device object 221a has a control item 24a and device information 24b. The device object 222a has a control item 25a and device information 25b.

本実施の形態では、連携情報225は、ノードオブジェクト223、機器オブジェクト221a、機器オブジェクト222aから独立している。   In the present embodiment, the cooperation information 225 is independent of the node object 223, the device object 221a, and the device object 222a.

連携情報225は、制御対象である機器の、他の機器との連動状態を示す情報である。例えば、連携情報225は、制御対象である機器(第1の機器31又は第2の機器32)が連携動作を行っていることを示す情報である。   The linkage information 225 is information indicating a linkage state of a device to be controlled with another device. For example, the cooperation information 225 is information indicating that the device to be controlled (the first device 31 or the second device 32) is performing a cooperation operation.

複合機器オブジェクト224は、予め定義されており、記憶部22に記憶されている。ただし、複合機器オブジェクト224内のデータは、随時更新されてもよい。複合機器オブジェクト224の内容は、コントローラ10に予め通知されていてもよい。   The composite device object 224 is defined in advance and stored in the storage unit 22. However, the data in the composite device object 224 may be updated at any time. The contents of the composite device object 224 may be notified to the controller 10 in advance.

図8は、実施の形態3に係る通信システム300における通信方法の一例を示すシーケンス図である。
実施の形態3に係る通信システム300が太陽光発電システムである場合の通信システム300における通信方法の一例について、図3に示される通信方法と異なる処理について説明する。
FIG. 8 is a sequence diagram illustrating an example of a communication method in the communication system 300 according to the third embodiment.
An example of a communication method in the communication system 300 when the communication system 300 according to Embodiment 3 is a solar power generation system will be described with respect to processing different from the communication method shown in FIG.

通信システム300では、各機器(例えば、第1の機器31又は第2の機器32)に対する制御は、コントローラ10が複合機器オブジェクト224に向けて制御指令を送信することにより実行される。   In the communication system 300, control of each device (for example, the first device 31 or the second device 32) is executed by the controller 10 sending a control command to the composite device object 224.

機器制御装置20bの通信制御部21は、第2の機器32から結果通知m2を受信すると、複合機器オブジェクト224内の連携情報225である連携情報i1をコントローラ10に送信する。図8に示される例では、連携情報i1は、第2の機器32が第1の機器31との連携動作を行っていることを示す情報である。すなわち、機器制御装置20bは、連携情報i1を用いて、制御対象である第2の機器32に対する制御指令Sg5に基づく制御が不可能であることをコントローラ10に通知する。   When the communication control unit 21 of the device control apparatus 20b receives the result notification m2 from the second device 32, the communication control unit 21 transmits cooperation information i1 that is the cooperation information 225 in the composite device object 224 to the controller 10. In the example illustrated in FIG. 8, the cooperation information i <b> 1 is information indicating that the second device 32 is performing a cooperation operation with the first device 31. In other words, the device control apparatus 20b notifies the controller 10 that the control based on the control command Sg5 for the second device 32 that is the control target is impossible using the cooperation information i1.

コントローラ10は、機器制御装置20bから連携情報i1を受信すると、第2の機器32に対する制御動作、すなわち、第2の機器32を制御するための処理を終了する。したがって、第2の機器32に対する制御が失敗した場合でも、コントローラ10は、制御指令Sg5の再送処理は行わない。   When the controller 10 receives the cooperation information i1 from the device control apparatus 20b, the controller 10 ends the control operation for the second device 32, that is, the process for controlling the second device 32. Therefore, even when the control on the second device 32 fails, the controller 10 does not perform the retransmission process of the control command Sg5.

制御対象である機器が連携動作を行っている場合、機器制御装置20bの通信制御部21は、コントローラ10からの制御指令を制御対象である機器へ送信しなくてもよい。この場合、機器制御装置20bは、コントローラ10からの制御指令を制御対象である機器に送信せずに、複合機器オブジェクト224内の連携情報225に基づいて、連携情報i1をコントローラ10に送信する。   When the device to be controlled is performing the cooperative operation, the communication control unit 21 of the device control device 20b may not transmit the control command from the controller 10 to the device to be controlled. In this case, the device control apparatus 20b transmits the link information i1 to the controller 10 based on the link information 225 in the composite device object 224 without transmitting the control command from the controller 10 to the control target device.

例えば、図8に示される例では、機器制御装置20bの通信制御部21は、コントローラ10からの制御指令Sg6を、制御対象である第2の機器32に送信せずに連携情報i1をコントローラ10へ送信してもよい。図8に示される例では、複合機器オブジェクト224に第2の機器32の連動状態を示す情報、すなわち、連携情報225が格納されている。通信制御部21は、第2の機器32が連携動作を継続していることを認識することができるので、通信制御部21は、コントローラ10から第2の機器32に対する制御指令Sg5を受信したとき、第2の機器32に制御指令Sg6を送信せずに、コントローラ10へ連携情報i1を送信することができる。これにより、通信システム100における処理の負荷を低減することができる。   For example, in the example illustrated in FIG. 8, the communication control unit 21 of the device control apparatus 20b transmits the link information i1 to the controller 10 without transmitting the control command Sg6 from the controller 10 to the second device 32 that is the control target. May be sent to. In the example illustrated in FIG. 8, information indicating the interlocking state of the second device 32, that is, cooperation information 225 is stored in the composite device object 224. Since the communication control unit 21 can recognize that the second device 32 continues the cooperative operation, the communication control unit 21 receives the control command Sg5 for the second device 32 from the controller 10. The link information i1 can be transmitted to the controller 10 without transmitting the control command Sg6 to the second device 32. Thereby, the processing load in the communication system 100 can be reduced.

以上に説明したように、実施の形態3に係る通信システム300は、実施の形態1で説明した効果と同様の効果を有する。   As described above, the communication system 300 according to the third embodiment has the same effect as that described in the first embodiment.

さらに、実施の形態3に係る通信システム300では、制御対象である機器の連動状態を示す情報(すなわち、連携情報)は、少なくとも複合機器オブジェクト224の連携情報225で管理されていればよい。すなわち、制御対象である機器を追加した場合でも、機器制御装置20b内に予め備えられた複数の機器オブジェクト(例えば、機器オブジェクト221a及び222a)を更新する必要がない。これにより、通信システム300において、制御対象である機器を追加した場合でも、その都度、各機器オブジェクトにおいて連携情報を定義する必要がないので、通信システム300における負荷を軽減することができる。   Furthermore, in the communication system 300 according to the third embodiment, information indicating the interlocking state of the device to be controlled (that is, cooperation information) may be managed by at least the cooperation information 225 of the composite device object 224. That is, even when a device to be controlled is added, it is not necessary to update a plurality of device objects (for example, device objects 221a and 222a) provided in advance in the device control apparatus 20b. Thereby, even when a device to be controlled is added in the communication system 300, it is not necessary to define linkage information in each device object each time, so the load on the communication system 300 can be reduced.

上述の各実施の形態では、ECHONET Lite規格書に規定された通信仕様に従うシステムとして、通信システム100,200,及び300における通信方法の例について説明したが、通信システム100,200,及び300は、必ずしもECHONET Lite規格書に規定された通信仕様に従う必要はない。例えば、機器制御装置20,20a,及び20bは、制御対象である機器との通信が可能な通信インタフェースを有していれば、上述の各実施の形態で説明した通信方法を実行することが可能である。   In each of the embodiments described above, examples of communication methods in the communication systems 100, 200, and 300 have been described as systems that comply with the communication specifications defined in the ECHONET Lite standard. However, the communication systems 100, 200, and 300 It is not always necessary to follow the communication specifications defined in the ECHONET Lite standard. For example, the device control apparatuses 20, 20a, and 20b can execute the communication method described in each of the above-described embodiments as long as the device control devices 20, 20a, and 20b have a communication interface that can communicate with a device to be controlled. It is.

以上に説明した各実施の形態における特徴は、互いに適宜組み合わせることができる。   The features in the embodiments described above can be combined with each other as appropriate.

100,200,300 通信システム、 10 コントローラ、 20,20a,20b 機器制御装置、 21 通信制御部、 22 記憶部、 31 第1の機器、 32 第2の機器。   100, 200, 300 communication system, 10 controller, 20, 20a, 20b device control device, 21 communication control unit, 22 storage unit, 31 first device, 32 second device.

Claims (11)

外部装置から受信した制御指令に従って第1の機器と連動する第2の機器を制御する機器制御装置であって、
前記外部装置及び前記第2の機器と通信する通信制御部を備え、
前記第2の機器を制御するための前記制御指令を前記通信制御部が前記外部装置から受信したとき、前記通信制御部は、前記第2の機器の前記第1の機器との連動状態を示す情報である連携情報を前記外部装置に向けて送信する
ことを特徴とする機器制御装置。
A device control device that controls a second device linked to a first device in accordance with a control command received from an external device,
A communication control unit that communicates with the external device and the second device;
When the communication control unit receives the control command for controlling the second device from the external device, the communication control unit indicates an interlocking state of the second device with the first device. A device control apparatus characterized by transmitting link information, which is information, to the external device.
前記第2の機器の前記第1の機器との前記連動状態を示す前記情報は、前記第2の機器が前記第1の機器との連携動作を行っていることを示す情報であることを特徴とする請求項1に記載の機器制御装置。   The information indicating the linkage state of the second device with the first device is information indicating that the second device is performing a cooperative operation with the first device. The apparatus control apparatus according to claim 1. 前記通信制御部は、前記制御指令に基づく制御動作の結果を通知するための通知信号を前記第2の機器から受信したとき、前記連携情報を前記外部装置に送信することを特徴とする請求項1又は2に記載の機器制御装置。   The said communication control part transmits the said cooperation information to the said external device, when the notification signal for notifying the result of the control action based on the said control command is received from the said 2nd apparatus. The apparatus control apparatus according to 1 or 2. 前記通信制御部は、前記連携情報を用いて、前記第2の機器に対する制御が不可能であることを前記外部装置に通知することを特徴とする請求項1から3のいずれか1項に記載の機器制御装置。   The said communication control part notifies the said external device that control with respect to a said 2nd apparatus is impossible using the said cooperation information, The any one of Claim 1 to 3 characterized by the above-mentioned. Equipment control equipment. 前記通信制御部は、前記外部装置から前記制御指令を受信したとき、前記制御指令を前記第2の機器に送信することを特徴とする請求項1から4のいずれか1項に記載の機器制御装置。   5. The device control according to claim 1, wherein the communication control unit transmits the control command to the second device when the control command is received from the external device. 6. apparatus. 前記通信制御部は、前記制御指令に基づく制御動作の結果を通知するための通知信号を前記第2の機器から受信したとき、前記制御指令に基づく制御動作が実行できたか否かを判定し、判定結果に基づいて前記連携情報を前記外部装置に送信することを特徴とする請求項5に記載の機器制御装置。   The communication control unit determines whether or not the control operation based on the control command has been executed when the notification signal for notifying the result of the control operation based on the control command is received from the second device. The device control apparatus according to claim 5, wherein the cooperation information is transmitted to the external apparatus based on a determination result. 前記通信制御部は、前記外部装置から前記制御指令を受信したとき、前記制御指令に基づく制御動作が実行できるか否かを判定し、判定結果に基づいて、前記連携情報を前記外部装置に送信する請求項1から4のいずれか1項に記載の機器制御装置。   When the communication control unit receives the control command from the external device, the communication control unit determines whether a control operation based on the control command can be executed, and transmits the cooperation information to the external device based on the determination result The apparatus control apparatus according to any one of claims 1 to 4. 前記連携情報が格納された記憶部をさらに備えた請求項1から7のいずれか1項に記載の機器制御装置。   The device control device according to claim 1, further comprising a storage unit in which the cooperation information is stored. 第1の機器と連動する第2の機器を制御するための制御指令を送信するコントローラと、
前記コントローラから受信した前記制御指令に従って前記第2の機器を制御する機器制御装置と
を備え、
前記制御指令を前記機器制御装置が前記コントローラから受信したとき、前記機器制御装置は、前記第2の機器の前記第1の機器との連動状態を示す情報である連携情報を前記コントローラに向けて送信する
ことを特徴とする通信システム。
A controller that transmits a control command for controlling a second device linked to the first device;
A device control device for controlling the second device according to the control command received from the controller,
When the device control device receives the control command from the controller, the device control device directs cooperation information, which is information indicating a linkage state of the second device with the first device, to the controller. A communication system characterized by transmitting.
第1の機器と連動する第2の機器を制御するための制御指令を送信するコントローラと、前記コントローラから受信した前記制御指令に従って前記第2の機器を制御する機器制御装置とを有する通信システムにおける通信方法であって、
前記制御指令を前記機器制御装置に向けて送信するステップと、
前記制御指令を前記コントローラから受信したとき、前記第2の機器の前記第1の機器との連動状態を示す情報である連携情報を前記コントローラに向けて送信するステップと
を備える
ことを特徴とする通信方法。
In a communication system, comprising: a controller that transmits a control command for controlling a second device linked to a first device; and a device control device that controls the second device according to the control command received from the controller. A communication method,
Transmitting the control command to the device control device;
When the control command is received from the controller, there is provided a step of transmitting, to the controller, linkage information that is information indicating a linkage state of the second device with the first device. Communication method.
外部装置から受信した制御指令に従って第1の機器と連動する第2の機器を制御するコンピュータに、
前記第2の機器を制御するための前記制御指令を受信するステップと、
前記制御指令を前記外部装置から受信したとき、前記第2の機器の前記第1の機器との連動状態を示す情報である連携情報を前記外部装置に向けて送信するステップと
を実行させる
ことを特徴とするプログラム。
In a computer that controls a second device linked to the first device in accordance with a control command received from an external device,
Receiving the control command for controlling the second device;
When the control command is received from the external device, the step of transmitting cooperation information, which is information indicating a linkage state of the second device with the first device, to the external device is executed. A featured program.
JP2018084744A 2018-04-26 2018-04-26 Equipment control devices, communication systems, communication methods, and programs Active JP7068913B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018084744A JP7068913B2 (en) 2018-04-26 2018-04-26 Equipment control devices, communication systems, communication methods, and programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018084744A JP7068913B2 (en) 2018-04-26 2018-04-26 Equipment control devices, communication systems, communication methods, and programs

Publications (2)

Publication Number Publication Date
JP2019193128A true JP2019193128A (en) 2019-10-31
JP7068913B2 JP7068913B2 (en) 2022-05-17

Family

ID=68391049

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018084744A Active JP7068913B2 (en) 2018-04-26 2018-04-26 Equipment control devices, communication systems, communication methods, and programs

Country Status (1)

Country Link
JP (1) JP7068913B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004134851A (en) * 2002-10-08 2004-04-30 Hitachi Ltd Network apparatus and control method for the same
JP2005094752A (en) * 2004-09-03 2005-04-07 Toshiba Corp Communication apparatus, communication method, and communication control program
JP2005333294A (en) * 2004-05-19 2005-12-02 Funai Electric Co Ltd Imaging setting apparatus in remote watching system
JP2009212699A (en) * 2008-03-03 2009-09-17 Hitachi Ltd Information processing system and information processor
JP2012195664A (en) * 2011-03-15 2012-10-11 Fujitsu Ltd Device control program, device control apparatus, and device control method
JP2017005683A (en) * 2015-06-12 2017-01-05 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America Control method, control device and program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004134851A (en) * 2002-10-08 2004-04-30 Hitachi Ltd Network apparatus and control method for the same
JP2005333294A (en) * 2004-05-19 2005-12-02 Funai Electric Co Ltd Imaging setting apparatus in remote watching system
JP2005094752A (en) * 2004-09-03 2005-04-07 Toshiba Corp Communication apparatus, communication method, and communication control program
JP2009212699A (en) * 2008-03-03 2009-09-17 Hitachi Ltd Information processing system and information processor
JP2012195664A (en) * 2011-03-15 2012-10-11 Fujitsu Ltd Device control program, device control apparatus, and device control method
JP2017005683A (en) * 2015-06-12 2017-01-05 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America Control method, control device and program

Also Published As

Publication number Publication date
JP7068913B2 (en) 2022-05-17

Similar Documents

Publication Publication Date Title
JP5971225B2 (en) Wireless device, wireless module, interface module, and communication method
US10938628B2 (en) Battery management system and communication method thereof
US9961525B2 (en) Communication system
JP6231594B2 (en) Control device, equipment operation system, control method and program
CN112035145A (en) Equipment upgrading method and related device
WO2019104465A1 (en) Wireless communication method, device and system, wireless communication equipment and recording medium
JP6920511B2 (en) Mesh network signal transmission method and its remote control system
JP7068913B2 (en) Equipment control devices, communication systems, communication methods, and programs
US20160087814A1 (en) Wireless-communication quality-information processing device and communication system
JP6395858B2 (en) Network device discovery method, network device, and network device discovery system
JP4955736B2 (en) COMMUNICATION DEVICE, COMMUNICATION CONTROL METHOD, AND COMMUNICATION CONTROL PROGRAM
TWI484838B (en) Communication device
JP2019220738A (en) Communication controller, communication system, communication control method, and program
JP4404619B2 (en) COMMUNICATION DEVICE, COMMUNICATION CONTROL METHOD, AND COMMUNICATION CONTROL PROGRAM
KR20230006118A (en) Electronic device for performing network management operation and operating method thereof
AU2021230848A1 (en) Communication apparatus, program, communication method, information processing method, information processing apparatus, and communication system
JP6776164B2 (en) Management equipment, management methods and programs
JP2019169960A (en) Control device, apparatus operation system, control method and program
JP2014230064A (en) Communication system, server device, communication method, and program
JP3921417B2 (en) CATV Transmodulation System
JP7319853B2 (en) CONTROL SYSTEM, CONTROL DEVICE AND METHOD OF CONTROLLING THE CONTROL DEVICE
JP6629113B2 (en) Device control network system, electric device and device control method
JP2019174987A (en) Communication adapter and firmware update method
JP2016129286A (en) Command processing system and command processing method
JP2021082876A (en) Communication system, communication adapter, communication method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210121

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20211102

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20211130

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220127

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220502

R150 Certificate of patent or registration of utility model

Ref document number: 7068913

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150