Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5072945B2 - Control device, control system, and program - Google Patents
[go: Go Back, main page]

JP5072945B2 - Control device, control system, and program - Google Patents

Control device, control system, and program Download PDF

Info

Publication number
JP5072945B2
JP5072945B2 JP2009277019A JP2009277019A JP5072945B2 JP 5072945 B2 JP5072945 B2 JP 5072945B2 JP 2009277019 A JP2009277019 A JP 2009277019A JP 2009277019 A JP2009277019 A JP 2009277019A JP 5072945 B2 JP5072945 B2 JP 5072945B2
Authority
JP
Japan
Prior art keywords
control
control value
rule
assigned
value
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.)
Expired - Fee Related
Application number
JP2009277019A
Other languages
Japanese (ja)
Other versions
JP2011117689A (en
Inventor
知晃 行田
成憲 中田
丈瑠 黒岩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2009277019A priority Critical patent/JP5072945B2/en
Publication of JP2011117689A publication Critical patent/JP2011117689A/en
Application granted granted Critical
Publication of JP5072945B2 publication Critical patent/JP5072945B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Air Conditioning Control Device (AREA)
  • Selective Calling Equipment (AREA)

Description

本発明は、制御装置、制御システム及びプログラムに関し、更に詳しくは、ネットワークに接続された設備機器を制御するための制御装置、前記制御装置を有する制御システム、及びネットワークに接続された設備機器を制御するコンピュータによって実行されるプログラムに関する。   The present invention relates to a control device, a control system, and a program. More specifically, the present invention relates to a control device for controlling equipment connected to a network, a control system having the control device, and equipment connected to a network. The present invention relates to a program executed by a computer.

オフィスビルや店舗など、大規模な建造物に設置される設備機器は、ネットワークを介して相互に接続され、リモコンや制御機器などによって集中的に管理される。近年、分散配置されたこれらの設備機器を、当該設備機器ごとに設定された制御ルールに基づいて制御することで、各設備機器を周囲環境に合わせて、弾力的に運用するためのシステムが種々提案されている(例えば特許文献1参照)。特許文献1に開示されたシステムでは、ユーザは、設備機器毎に制御ルールを設定することで、各設備機器を、周囲環境に応じてカスタマイズすることができる。   Equipment installed in a large-scale building such as an office building or a store is connected to each other via a network and is centrally managed by a remote controller or a control device. In recent years, various systems for operating each equipment device flexibly according to the surrounding environment by controlling these equipment devices distributed and distributed based on the control rules set for each equipment device. It has been proposed (see, for example, Patent Document 1). In the system disclosed in Patent Literature 1, the user can customize each facility device according to the surrounding environment by setting a control rule for each facility device.

この種のシステムでは、ネットワークに異常が発生すると、複数の設備機器の運転に支障を来すことが考えられる。そこで、ネットワークの一部に異常が発生した場合に、この異常による被害の拡大を抑止するための装置が提案されている(例えば特許文献2参照)。   In this type of system, when an abnormality occurs in the network, it is considered that the operation of a plurality of equipment is hindered. Thus, there has been proposed an apparatus for suppressing the expansion of damage caused by an abnormality when an abnormality occurs in a part of the network (see, for example, Patent Document 2).

特開2004−178241号公報JP 2004-178241 A 特許第3775466号公報Japanese Patent No. 3775466

特許文献2に記載された装置は、制御ルールを実現するための複数のプログラムを、複数のユニットで実行する。そして、異常の発生時に、その時点でプログラムを実行していたユニットの動作のみを停止させる。これによれば、異常が発生した要因と考えられる動作のみが禁止されるので、異常の拡大を回避しつつ、異常の発生と無関係な動作を継続することができる。   The apparatus described in Patent Literature 2 executes a plurality of programs for realizing a control rule in a plurality of units. Then, when an abnormality occurs, only the operation of the unit that is executing the program at that time is stopped. According to this, since only the operation that is considered to be the cause of the abnormality is prohibited, it is possible to continue the operation unrelated to the occurrence of the abnormality while avoiding the expansion of the abnormality.

しかしながら、上述の装置では、予めプログラムをそれぞれのユニットに割り当ててグループ化しておく必要がある。そのため、装置のユーザ等は、制御ルールそれぞれの内容を個別に把握しておく必要がある。また、異常が発生した場合には、停止したユニットによって実行されていたプログラムの動作が、画一的に禁止される。このため、異常に起因しないプログラムの実行まで禁止されることがある。   However, in the above-described apparatus, it is necessary to assign a program to each unit in advance and make a group. Therefore, it is necessary for the user of the apparatus or the like to individually grasp the contents of each control rule. Further, when an abnormality occurs, the operation of the program executed by the stopped unit is uniformly prohibited. For this reason, execution of a program that is not caused by an abnormality may be prohibited.

本発明は、上述の事情の下になされたもので、システムで発生した異常に関連する制御ルールのみを抽出して無効化し、異常の波及を抑止することを目的とする。   The present invention has been made under the above-described circumstances, and an object thereof is to extract and invalidate only control rules related to an abnormality that has occurred in the system, and to suppress the spread of the abnormality.

上記目的を達成するため、本発明の制御装置は、ネットワークに接続された設備機器を制御するための制御装置であって、前記設備機器の状態を表す複数の制御値を記憶する記憶手段と、前記制御値を入力とした演算結果としての前記制御値を出力するための制御ルールを実行する実行手段と、前記記憶手段に記憶された1組の第1の制御値と第2の制御値との関連性を判断する判断手段と、前記記憶手段に記憶された前記制御値を参照して、前記設備機器の異常を検出する異常検出手段と、前記異常が検出されたときに参照された前記制御値を出力するための前記制御ルールと、前記異常が検出されたときに参照された前記制御値、又は前記判断手段によって、前記異常が検出されたときに参照された前記制御値と関連性があると判断された前記制御値を、前記入力としての前記制御値とする前記制御ルールを無効化する無効化手段とを備える。 In order to achieve the above object, a control device of the present invention is a control device for controlling equipment connected to a network, and stores a plurality of control values representing the state of the equipment, An execution means for executing a control rule for outputting the control value as a calculation result with the control value as an input; a set of first control value and second control value stored in the storage means; A judgment means for judging the relevance of the equipment, an abnormality detection means for detecting an abnormality of the equipment device with reference to the control value stored in the storage means, and the reference that is referred to when the abnormality is detected. The control rule for outputting a control value, the control value referred to when the abnormality is detected, or the relevance to the control value referred to when the abnormality is detected by the determination means Is judged to be The control value, and a disabling means for disabling said control rules to the control value as the input.

本発明によれば、異常が発生したときに参照された制御値、及びこの制御値と関連性のある制御値とを対象とする制御ルールのみを無効化することができる。これにより、異常に関連しない動作を継続させつつ、異常の波及を抑止することができる。   According to the present invention, it is possible to invalidate only a control rule that targets a control value that is referred to when an abnormality occurs and a control value that is related to the control value. Thereby, it is possible to suppress the spread of the abnormality while continuing the operation not related to the abnormality.

第1の実施形態に係る制御システムの構成を示すブロック図である。It is a block diagram which shows the structure of the control system which concerns on 1st Embodiment. 空調装置の構成を示すブロック図である。It is a block diagram which shows the structure of an air conditioning apparatus. 情報テーブルを示す図である。It is a figure which shows an information table. 制御テーブルを示す図である。It is a figure which shows a control table. 判断テーブルを示す図(その1)である。It is a figure (the 1) which shows a judgment table. 判断テーブルを示す図(その2)である。It is a figure (the 2) which shows a judgment table. 第2の実施形態に係る制御装置の物理的な構成を示すブロック図である。It is a block diagram which shows the physical structure of the control apparatus which concerns on 2nd Embodiment. CPUによって実行される一連の処理を示すフローチャート(その1)である。It is a flowchart (the 1) which shows a series of processes performed by CPU. CPUによって実行される一連の処理を示すフローチャート(その2)である。It is a flowchart (the 2) which shows a series of processes performed by CPU. 判断テーブルを示す図(その3)である。FIG. 10 is a third diagram illustrating a determination table.

《第1の実施形態》
以下、本発明の第1の実施形態を、図面を参照しつつ説明する。図1は本実施形態に係る制御システム10の構成を示すブロック図である。制御システム10は、ネットワーク50に接続された設備機器としての空調装置30を制御するためのシステムである。この制御システム10は、LAN(Local Area Network)などのネットワーク50に接続された制御装置20及び空調装置30を有している。
<< First Embodiment >>
Hereinafter, a first embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a control system 10 according to the present embodiment. The control system 10 is a system for controlling the air conditioner 30 as facility equipment connected to the network 50. The control system 10 includes a control device 20 and an air conditioner 30 connected to a network 50 such as a LAN (Local Area Network).

図2は、空調装置30の構成を示すブロック図である。空調装置30は、オフィスビルなどの居住空間100の空気を調和するための装置である。図2に示されるように、空調装置30は、空調ユニット32、ダクト34、温度センサ33A,33B、ダンパユニット35A,35B、及びこれらを統括的に制御するコントローラ31を有している。   FIG. 2 is a block diagram showing the configuration of the air conditioner 30. The air conditioner 30 is a device for harmonizing the air in the living space 100 such as an office building. As shown in FIG. 2, the air conditioner 30 includes an air conditioning unit 32, a duct 34, temperature sensors 33A and 33B, damper units 35A and 35B, and a controller 31 that comprehensively controls them.

空調ユニット32は、居住空間100の内部の空気と熱交換を行う熱交換器、この熱交換器に空気を供給するファン等を含んで構成されている。この空調ユニット32は、居住空間100の空気を取り込んで調和し、調和した空気をダクト34へ吐出する。   The air conditioning unit 32 includes a heat exchanger that exchanges heat with the air inside the living space 100, a fan that supplies air to the heat exchanger, and the like. The air conditioning unit 32 takes in the air in the living space 100 and harmonizes it, and discharges the conditioned air to the duct 34.

ダクト34は、居住空間100の内部に離間して配置された2つの吐出口34a,34bを有している。空調ユニット32から吐出された空気は、ダクト34の吐出口34a,34bを介して、居住空間100へ吐出される。   The duct 34 has two discharge ports 34 a and 34 b that are spaced apart from each other inside the living space 100. The air discharged from the air conditioning unit 32 is discharged into the living space 100 through the discharge ports 34 a and 34 b of the duct 34.

温度センサ33A,33Bは、ダクト34の吐出口34a,34bの近傍にそれぞれ配置されている。これらの温度センサ33A,33Bは、吐出口34a,34b近傍の空気温度に応じた信号をコントローラ31へ出力する。   The temperature sensors 33A and 33B are arranged in the vicinity of the discharge ports 34a and 34b of the duct 34, respectively. These temperature sensors 33A and 33B output a signal corresponding to the air temperature in the vicinity of the discharge ports 34a and 34b to the controller 31.

ダンパユニット35A,35Bそれぞれは、ダクト34の吐出口34a,34bを開閉するための開閉板と、この開閉板を動かすモータを有している。これらのダンパユニット35A,35Bそれぞれは、コントローラ31の指示に応じて、吐出口34a,34bをそれぞれ開閉する。   Each of the damper units 35A, 35B has an opening / closing plate for opening / closing the discharge ports 34a, 34b of the duct 34 and a motor for moving the opening / closing plate. Each of these damper units 35A and 35B opens and closes the discharge ports 34a and 34b in accordance with instructions from the controller 31, respectively.

コントローラ31は、ネットワーク50を介して、制御装置20の通信部22から出力される制御値に基づいて、空調ユニット32、ダンパユニット35A,35Bを駆動する。また、コントローラ31は、温度センサ33A,33Bを介して、吐出口34a,34b近傍の空気温度を計測する。そして、計測した温度に関する情報をネットワーク50を介して、制御装置20へ出力する。   The controller 31 drives the air conditioning unit 32 and the damper units 35A and 35B based on the control value output from the communication unit 22 of the control device 20 via the network 50. The controller 31 measures the air temperature in the vicinity of the discharge ports 34a and 34b via the temperature sensors 33A and 33B. And the information regarding the measured temperature is output to the control apparatus 20 via the network 50.

図1に戻り、制御装置20は、入力部21、通信部22、記憶部23、関連性算出部24、無効化部25、制御部26とから構成されている。   Returning to FIG. 1, the control device 20 includes an input unit 21, a communication unit 22, a storage unit 23, an association calculation unit 24, an invalidation unit 25, and a control unit 26.

記憶部23は、ハードディスク等の不揮発性メモリを含んで構成されている。そして、空調装置30を構成する機器の状態を示す数値を記憶する。以下、説明の便宜上、この数値を制御値という。   The storage unit 23 includes a nonvolatile memory such as a hard disk. And the numerical value which shows the state of the apparatus which comprises the air conditioner 30 is memorize | stored. Hereinafter, for convenience of explanation, this numerical value is referred to as a control value.

図3には、制御値と、制御値に関連する機器の名称と、制御値に割り当てられた情報番号と、制御値が記憶された記憶部23におけるアドレスと、制御値のサイズとが、模式的に表された情報テーブルが示されている。   FIG. 3 schematically shows the control value, the name of the device related to the control value, the information number assigned to the control value, the address in the storage unit 23 in which the control value is stored, and the size of the control value. A representative information table is shown.

制御値は、対応する機器の動作を示し、情報番号が割り当てられている。具体的には、空調装置30が居住空間100を冷房していること、或いは空調装置30が停止していることを表す制御値には、情報番号1が割り当てられている。この制御値は、空調装置30が居住空間100の冷房を行っているときに1となり、空調装置30が停止しているときに0となる。また、温度センサ33Aを介して検出された温度を表す制御値には、情報番号2が割り当てられている。この制御値は、その値が温度を表す。また、ダンパユニット35Aの状態を表す制御値には、情報番号3が割り当てられている。この制御値は、ダンパユニット35Aによって吐出口34aが開かれているときに1となり、閉じられているときに0となる。また、温度センサ33Bを介して検出された温度を表す制御値には、情報番号4が割り当てられている。この制御値は、その値が温度を表す。また、ダンパユニット35Bの状態を表す制御値には、情報番号5が割り当てられている。この制御値は、ダンパユニット35Bによって吐出口34bが開かれているときに1となり、閉じられているときに0となる。   The control value indicates the operation of the corresponding device and is assigned an information number. Specifically, information number 1 is assigned to a control value indicating that the air conditioner 30 is cooling the living space 100 or that the air conditioner 30 is stopped. This control value is 1 when the air conditioner 30 is cooling the living space 100 and is 0 when the air conditioner 30 is stopped. An information number 2 is assigned to a control value representing the temperature detected via the temperature sensor 33A. This control value represents the temperature. Information number 3 is assigned to the control value representing the state of the damper unit 35A. This control value becomes 1 when the discharge port 34a is opened by the damper unit 35A and becomes 0 when the discharge port 34a is closed. An information number 4 is assigned to a control value representing a temperature detected via the temperature sensor 33B. This control value represents the temperature. An information number 5 is assigned to the control value representing the state of the damper unit 35B. This control value becomes 1 when the discharge port 34b is opened by the damper unit 35B and becomes 0 when the discharge port 34b is closed.

図1に戻り、入力部21は、ユーザ等が、記憶部23に記憶された制御値を変更したり、制御部26へ後述する制御ルールを入力するためのインタフェースである。ユーザは、この入力部21を介して、情報番号が割り当てられた制御値を入力することで、記憶部23に記憶された各制御値を変更することができる。例えば、図3を参照するとわかるように、ユーザが、情報番号3が割り当てられた制御値として「1」を入力すると、入力部21は、記憶部23のアドレス0x0004へ、新たな制御値を出力する。これにより、記憶部23では、情報番号3が割り当てられた制御値が「0」から「1」へ変更される。また、ユーザは、この入力部21を介して、後述する制御ルールを、制御部26へ入力することができる。   Returning to FIG. 1, the input unit 21 is an interface for a user or the like to change a control value stored in the storage unit 23 or input a control rule to be described later to the control unit 26. The user can change each control value stored in the storage unit 23 by inputting the control value to which the information number is assigned via the input unit 21. For example, as can be seen with reference to FIG. 3, when the user inputs “1” as the control value to which the information number 3 is assigned, the input unit 21 outputs a new control value to the address 0x0004 of the storage unit 23. To do. Thereby, in the storage unit 23, the control value to which the information number 3 is assigned is changed from “0” to “1”. Further, the user can input control rules, which will be described later, to the control unit 26 via the input unit 21.

図1に戻り、制御部26は、記憶部23に記憶された制御値を参照して、所定の制御ルールに基づいて、空調装置30への制御内容を決定する。そして、決定した制御内容に基づいて、各情報番号が割り当てられた制御値を出力する。これにより、記憶部23に記憶された制御値が、制御部26から出力された制御値に更新される。   Returning to FIG. 1, the control unit 26 refers to the control value stored in the storage unit 23 and determines the control content for the air conditioner 30 based on a predetermined control rule. And based on the determined control content, the control value to which each information number was allocated is output. As a result, the control value stored in the storage unit 23 is updated to the control value output from the control unit 26.

図4は、制御ルールを模式的に示す制御テーブルを示す図である。この制御ルールは、情報番号に対応する制御値を入力値とし、この入力値に対して、判定値と演算子とに従った処理を施した結果としての制御値を出力することを規定したものである。   FIG. 4 is a diagram illustrating a control table schematically showing the control rules. This control rule stipulates that a control value corresponding to an information number is an input value, and that this control value is output as a result of processing according to a judgment value and an operator. It is.

例えば、ルール番号1の制御ルールは、図3に示される情報テーブルの情報番号2が割り当てられた制御値と、図4の制御テーブルの判定値とを比較する。そして、演算子に従い当該制御値が判定値「28」よりも大きいときに、情報テーブルの情報番号1が割り当てられた制御値として、設定値「1」を出力することを規定したルールである。つまり、温度センサ33Aを介して検出された温度が28℃より高いときに、空調装置30で、居住空間100を冷房することを規定した制御ルールである。   For example, the control rule with rule number 1 compares the control value assigned with information number 2 in the information table shown in FIG. 3 with the determination value in the control table in FIG. The rule stipulates that the set value “1” is output as the control value to which the information number 1 of the information table is assigned when the control value is greater than the determination value “28” according to the operator. That is, the control rule stipulates that the air conditioning device 30 cools the living space 100 when the temperature detected via the temperature sensor 33A is higher than 28 ° C.

同様にルール番号2の制御ルールは、情報番号2が割り当てられた制御値と、判定値「28」とを比較して、当該制御値が判定値「28」よりも大きいときに、情報テーブルの情報番号3が割り当てられた制御値として、設定値「1」を出力することを規定したルールである。つまり、温度センサ33Aを介して検出された温度が28℃より高いときに、吐出口34aを開くことを規定したルールである。   Similarly, the control rule of rule number 2 compares the control value to which information number 2 is assigned with the determination value “28”, and when the control value is greater than the determination value “28”, This rule stipulates that the set value “1” is output as the control value to which the information number 3 is assigned. That is, it is a rule that defines that the discharge port 34a is opened when the temperature detected via the temperature sensor 33A is higher than 28 ° C.

また、ルール番号3の制御ルールは、情報番号4が割り当てられた制御値と、判定値「28」とを比較して、当該制御値が判定値「28」よりも大きいときに、情報テーブルの情報番号1が割り当てられた制御値として、設定値「1」を出力することを規定したルールである。つまり、温度センサ33Bを介して検出された温度が28℃より高いときに、空調装置30で、居住空間100を冷房することを規定した制御ルールである。   The control rule of rule number 3 compares the control value assigned information number 4 with the determination value “28”, and when the control value is larger than the determination value “28”, This rule stipulates that the set value “1” is output as the control value to which the information number 1 is assigned. That is, the control rule stipulates that the air conditioning device 30 cools the living space 100 when the temperature detected via the temperature sensor 33B is higher than 28 ° C.

また、ルール番号4の制御ルールは、情報番号4が割り当てられた制御値と、判定値「28」とを比較して、当該制御値が判定値「28」よりも大きいときに、情報テーブルの情報番号5が割り当てられた制御値として、設定値「1」を出力することを規定したルールである。つまり、温度センサ33Bを介して検出された温度が28℃より高いときに、吐出口34bを開くことを規定したルールである。   The control rule of rule number 4 compares the control value assigned information number 4 with the determination value “28”, and when the control value is larger than the determination value “28”, This rule stipulates that the set value “1” is output as the control value to which the information number 5 is assigned. That is, it is a rule that defines that the discharge port 34b is opened when the temperature detected via the temperature sensor 33B is higher than 28 ° C.

また、ルール番号5の制御ルールは、情報番号2が割り当てられた制御値と、判定値「26」とを比較して、当該制御値が判定値「26」よりも小さいときに、情報テーブルの情報番号3が割り当てられた制御値として、設定値「0」を出力することを規定したルールである。つまり、温度センサ33Aを介して検出された温度が26℃より低いときに、吐出口34aを閉じることを規定したルールである。   Further, the control rule of rule number 5 compares the control value assigned information number 2 with the determination value “26”, and when the control value is smaller than the determination value “26”, This rule stipulates that the set value “0” is output as the control value to which the information number 3 is assigned. That is, the rule stipulates that the discharge port 34a be closed when the temperature detected via the temperature sensor 33A is lower than 26 ° C.

また、ルール番号6の制御ルールは、情報番号4が割り当てられた制御値と、判定値「26」とを比較して、当該制御値が判定値「26」よりも小さいときに、情報テーブルの情報番号5が割り当てられた制御値として、設定値「0」を出力することを規定したルールである。つまり、温度センサ33Bを介して検出された温度が26℃より低いときに、吐出口34bを閉じることを規定したルールである。   Further, the control rule of rule number 6 compares the control value assigned information number 4 with the determination value “26”, and when the control value is smaller than the determination value “26”, This rule stipulates that the set value “0” is output as the control value to which the information number 5 is assigned. That is, the rule stipulates that the discharge port 34b be closed when the temperature detected via the temperature sensor 33B is lower than 26 ° C.

また、ルール番号7の制御ルールは、情報番号3が割り当てられた制御値が判定値「0」と等しく、かつ情報番号5が割り当てられた制御値が判定値「0」と等しいときに、情報テーブルの情報番号1が割り当てられた制御値として、設定値「0」を出力することを規定したルールである。つまり、吐出口34a及び吐出口34b双方が閉じられているときに、空調装置30を停止させることを規定したルールである。   Further, the control rule of rule number 7 has information when the control value to which information number 3 is assigned is equal to the determination value “0” and the control value to which information number 5 is assigned is equal to the determination value “0”. This rule stipulates that a set value “0” is output as a control value to which information number 1 in the table is assigned. That is, the rule stipulates that the air conditioner 30 be stopped when both the discharge port 34a and the discharge port 34b are closed.

制御部26は、記憶部23から各情報番号が割り当てられた制御値を参照しつつ、上述の制御ルールに従った処理を実行する。これにより、制御部26から、制御ルールに従った制御値が出力される。その結果、記憶部23の制御値が、制御部26から出力された制御値に更新される。   The control unit 26 executes processing according to the above-described control rule while referring to the control value to which each information number is assigned from the storage unit 23. Thereby, the control value according to the control rule is output from the control unit 26. As a result, the control value in the storage unit 23 is updated to the control value output from the control unit 26.

図1に戻り、通信部22は、制御装置20とネットワーク50とのインタフェースである。通信部22は、ネットワーク50に接続された制御装置20及び空調装置30から、制御値に関する情報を受信すると、受信した制御値に、例えば情報番号を関連づけて出力する。これにより、関連づけられた情報番号に対応する制御値が更新される。例えば、図3を参照するとわかるように、通信部22は、温度センサ33Aを介して検出された温度が27℃であることを示す制御値に関する情報を受信した場合には、この情報に情報番号2を関連づけて出力する。これにより、情報番号2に対応するアドレス0x0002に記憶された制御値が「26」から「27」へ更新される。   Returning to FIG. 1, the communication unit 22 is an interface between the control device 20 and the network 50. When the communication unit 22 receives information on the control value from the control device 20 and the air conditioner 30 connected to the network 50, the communication unit 22 outputs the received control value in association with, for example, an information number. Thereby, the control value corresponding to the associated information number is updated. For example, as can be seen with reference to FIG. 3, when the communication unit 22 receives information on a control value indicating that the temperature detected via the temperature sensor 33 </ b> A is 27 ° C., the information number is included in this information. 2 is output in association. As a result, the control value stored in the address 0x0002 corresponding to the information number 2 is updated from “26” to “27”.

また、通信部22は、記憶部23に記憶された各情報番号が割り当てられた制御値を逐次読み出して、読み出した情報を空調装置30へ送信する。   In addition, the communication unit 22 sequentially reads out the control value to which each information number stored in the storage unit 23 is assigned, and transmits the read information to the air conditioner 30.

関連性算出部24は、情報番号1〜5が割り当てられた制御値から1組の制御値を順次選択する。そして、選択した1組の制御値の一方を入力とし、他方を出力とする制御ルールがある場合に、この1組の制御値同士を関連性があると判断する。そして、制御値同士の関連性を判断するための判断テーブルを生成する。   The relevancy calculation unit 24 sequentially selects a set of control values from the control values to which the information numbers 1 to 5 are assigned. Then, when there is a control rule in which one of the selected set of control values is input and the other is output, it is determined that the one set of control values is related. And the judgment table for judging the relevance of control values is produced | generated.

図5は、関連性算出部24によって生成された判断テーブルを示す図である。まず、関連性算出部24は、情報番号1が割り当てられた制御値、及び情報番号2が割り当てられた制御値を1組の制御値として抽出する。   FIG. 5 is a diagram illustrating a determination table generated by the relevance calculation unit 24. First, the relevancy calculation unit 24 extracts the control value to which the information number 1 is assigned and the control value to which the information number 2 is assigned as a set of control values.

次に、図4の制御テーブルを参照して、情報番号1が割り当てられた制御値を入力とし、情報番号2が割り当てられた制御値を出力とする制御ルールが存在するか否かを確認する。ここでは、情報番号1が割り当てられた制御値を入力とする制御ルール、及び情報番号2が割り当てられた制御値を出力とする制御ルールが存在しない。このため、関連性算出部24は、該当する制御ルールを確認することができない。   Next, referring to the control table of FIG. 4, it is confirmed whether or not there is a control rule that takes the control value assigned with information number 1 as an input and outputs the control value assigned with information number 2 as an output. . Here, there is no control rule that inputs a control value to which information number 1 is assigned and no control rule that outputs a control value to which information number 2 is assigned. For this reason, the relevance calculation unit 24 cannot confirm the corresponding control rule.

次に、情報番号2が割り当てられた制御値を入力とし、情報番号1が割り当てられた制御値を出力とする制御ルールが存在するか否かを確認する。ここでは、ルール番号1の制御ルールが、情報番号2が割り当てられた制御値を入力とし、情報番号1が割り当てられた制御値を出力とする。このため、関連性算出部24は、ルール番号1の制御ルールを確認する。   Next, it is confirmed whether or not there is a control rule in which the control value assigned with the information number 2 is input and the control value assigned with the information number 1 is output. Here, the control rule of rule number 1 has a control value assigned with information number 2 as an input and a control value assigned with information number 1 as an output. For this reason, the relevance calculation unit 24 checks the control rule of rule number 1.

次に、関連性算出部24は、情報番号1が割り当てられた制御値、及び情報番号2が割り当てられた制御値の組については、ルール番号1の制御ルールの存在を確認したため、情報番号1が割り当てられた制御値、及び情報番号2が割り当てられた制御値は互いに関連性を有すると判断する。   Next, the relevancy calculation unit 24 confirms the existence of the control rule with the rule number 1 for the control value to which the information number 1 is assigned and the control value to which the information number 2 is assigned. And the control value to which the information number 2 is assigned are determined to be related to each other.

次に、関連性算出部24は、情報番号1が割り当てられた制御値、及び情報番号3が割り当てられた制御値を1組の制御値として抽出する。そして、上述と同様の判断を行う。これにより、関連性算出部24は、情報番号3が割り当てられた制御値を入力とし、情報番号1が割り当てられた制御値を出力とするルール番号7の制御ルールの存在を最終的に確認する。この確認結果に基づいて、関連性算出部24は、情報番号1が割り当てられた制御値、及び情報番号3が割り当てられた制御値は互いに関連性を有すると判断する。   Next, the relevance calculation unit 24 extracts the control value to which the information number 1 is assigned and the control value to which the information number 3 is assigned as a set of control values. Then, the same determination as described above is performed. As a result, the relevancy calculation unit 24 finally receives the control value to which the information number 3 is assigned, and finally confirms the existence of the control rule with the rule number 7 to which the control value to which the information number 1 is assigned is output. . Based on the confirmation result, the relevance calculation unit 24 determines that the control value to which the information number 1 is assigned and the control value to which the information number 3 is assigned are related to each other.

次に、関連性算出部24は、情報番号1が割り当てられた制御値、及び情報番号4が割り当てられた制御値を1組の制御値として抽出する。そして、上述と同様の判断を行う。これにより、関連性算出部24は、情報番号4が割り当てられた制御値を入力とし、情報番号1が割り当てられた制御値を出力とするルール番号3の制御ルールの存在を最終的に確認する。この確認結果に基づいて、関連性算出部24は、情報番号1が割り当てられた制御値、及び情報番号4が割り当てられた制御値は互いに関連性を有すると判断する。   Next, the relevance calculation unit 24 extracts the control value to which the information number 1 is assigned and the control value to which the information number 4 is assigned as a set of control values. Then, the same determination as described above is performed. Thereby, the relevancy calculation unit 24 receives the control value assigned with the information number 4 as an input, and finally confirms the existence of the control rule with the rule number 3 that outputs the control value assigned with the information number 1. . Based on the confirmation result, the relevancy calculation unit 24 determines that the control value to which the information number 1 is assigned and the control value to which the information number 4 is assigned are related to each other.

次に、関連性算出部24は、情報番号1が割り当てられた制御値、及び情報番号5が割り当てられた制御値を1組の制御値として抽出する。そして、上述と同様の判断を行う。これにより、関連性算出部24は、情報番号5が割り当てられた制御値を入力とし、情報番号1が割り当てられた制御値を出力とするルール番号7の制御ルールの存在を最終的に確認する。この確認結果に基づいて、関連性算出部24は、情報番号1が割り当てられた制御値、及び情報番号5が割り当てられた制御値は互いに関連性を有すると判断する。   Next, the relevance calculation unit 24 extracts the control value to which the information number 1 is assigned and the control value to which the information number 5 is assigned as a set of control values. Then, the same determination as described above is performed. Thereby, the relevancy calculation unit 24 receives the control value assigned with the information number 5 as an input, and finally confirms the existence of the control rule with the rule number 7 that outputs the control value assigned with the information number 1. . Based on this confirmation result, the relevance calculation unit 24 determines that the control value to which the information number 1 is assigned and the control value to which the information number 5 is assigned are related to each other.

次に、関連性算出部24は、情報番号2が割り当てられた制御値、及び情報番号3が割り当てられた制御値を1組の制御値として抽出する。そして、上述と同様の判断を行う。これにより、関連性算出部24は、情報番号2が割り当てられた制御値を入力とし、情報番号3が割り当てられた制御値を出力とするルール番号2及び5の制御ルールの存在を最終的に確認する。この確認結果に基づいて、関連性算出部24は、情報番号2が割り当てられた制御値、及び情報番号3が割り当てられた制御値は互いに関連性を有すると判断する。   Next, the relevance calculation unit 24 extracts the control value to which the information number 2 is assigned and the control value to which the information number 3 is assigned as a set of control values. Then, the same determination as described above is performed. As a result, the relevance calculation unit 24 finally receives the control value assigned with the information number 2 and outputs the control value assigned with the information number 3 as the output. Check. Based on the confirmation result, the relevance calculation unit 24 determines that the control value to which the information number 2 is assigned and the control value to which the information number 3 is assigned are related to each other.

次に、関連性算出部24は、情報番号2が割り当てられた制御値、及び情報番号4が割り当てられた制御値を1組の制御値として抽出する。そして、上述と同様の判断を行う。ここでは、情報番号2が割り当てられた制御値、及び情報番号4が割り当てられた制御値のうちの一方を入力とし、他方を出力とする制御ルールが存在しない。このため、関連性算出部24は、該当する制御ルールを確認することができない。したがって、関連性算出部24は、情報番号2が割り当てられた制御値、及び情報番号4が割り当てられた制御値は互いに関連性を有しないと判断する。   Next, the relevance calculation unit 24 extracts the control value to which the information number 2 is assigned and the control value to which the information number 4 is assigned as a set of control values. Then, the same determination as described above is performed. Here, there is no control rule in which one of the control value to which information number 2 is assigned and the control value to which information number 4 is assigned is input and the other is output. For this reason, the relevance calculation unit 24 cannot confirm the corresponding control rule. Therefore, the relevance calculation unit 24 determines that the control value to which the information number 2 is assigned and the control value to which the information number 4 is assigned are not related to each other.

次に、関連性算出部24は、情報番号2が割り当てられた制御値、及び情報番号5が割り当てられた制御値を1組の制御値として抽出する。そして、上述と同様の判断を行う。ここでは、情報番号2が割り当てられた制御値、及び情報番号5が割り当てられた制御値のうちの一方を入力とし、他方を出力とする制御ルールが存在しない。このため、
関連性算出部24は、該当する制御ルールを確認することができない。したがって、関連性算出部24は、情報番号2が割り当てられた制御値、及び情報番号5が割り当てられた制御値は互いに関連性を有しないと判断する。
Next, the relevance calculation unit 24 extracts the control value to which the information number 2 is assigned and the control value to which the information number 5 is assigned as a set of control values. Then, the same determination as described above is performed. Here, there is no control rule in which one of the control value to which information number 2 is assigned and the control value to which information number 5 is assigned is input and the other is output. For this reason,
The relevancy calculation unit 24 cannot confirm the corresponding control rule. Therefore, the relevance calculation unit 24 determines that the control value to which the information number 2 is assigned and the control value to which the information number 5 is assigned are not related to each other.

以下、関連性算出部24は、順次情報番号3が割り当てられた制御値、及び情報番号4が割り当てられた制御値の組、情報番号3が割り当てられた制御値、及び情報番号5が割り当てられた制御値の組、情報番号4が割り当てられた制御値、及び情報番号5が割り当てられた制御値の組に対して、同様の処理及び判断を行う。   Hereinafter, the relevance calculation unit 24 is assigned a control value to which information number 3 is sequentially assigned, a set of control values to which information number 4 is assigned, a control value to which information number 3 is assigned, and information number 5 Similar processing and determination are performed for the control value set, the control value to which the information number 4 is assigned, and the control value set to which the information number 5 is assigned.

そして、関連性算出部24は、各制御値の組の関連性を反映した図5に示される判断テーブルを生成する。この判断テーブルでは、○印が関連性があることを示し、×印が関連性がないことを示している。例えば情報番号1が割り当てられた制御値と、情報番号2が割り当てられた制御値とは関連性があるため、対応するマトリクス内の印は○となる。また、情報番号2が割り当てられた制御値と、情報番号4が割り当てられた制御値とは関連性がないため、対応するマトリクス内の印は×となる。   Then, the relevance calculation unit 24 generates the determination table shown in FIG. 5 that reflects the relevance of each set of control values. In this determination table, a circle indicates that there is a relationship, and a cross indicates that there is no relationship. For example, since the control value to which information number 1 is assigned and the control value to which information number 2 is assigned are related, the mark in the corresponding matrix is ◯. Further, since the control value to which information number 2 is assigned and the control value to which information number 4 is assigned are not related, the mark in the corresponding matrix is x.

無効化部25は、記憶部23に記憶された制御値を参照し、参照した結果に基づいて空調装置30の異常を検出する。そして、異常を検出したときに参照した制御値を出力とする制御ルールと、異常を検出したときに参照した制御値、或いは当該制御値と関連性を有する制御値を入力とする制御ルールとを無効化する。   The invalidation unit 25 refers to the control value stored in the storage unit 23 and detects an abnormality of the air conditioner 30 based on the referred result. Then, a control rule that outputs a control value that is referenced when an abnormality is detected, and a control rule that inputs a control value that is referenced when an abnormality is detected, or a control value that is related to the control value. Disable it.

例えば、無効化部25は、空調装置30の運転を制御するための、情報番号1が割り当てられた制御値に基づいて、異常を検出した場合には、図5の判断テーブルを参照して、異常を検出したときに参照した情報番号1が割り当てられた制御値と関連性がある、情報番号2〜5が割り当てられた制御値を特定する。   For example, when the invalidation unit 25 detects an abnormality based on the control value assigned with the information number 1 for controlling the operation of the air conditioner 30, refer to the determination table in FIG. A control value to which information numbers 2 to 5 are assigned, which is related to the control value to which information number 1 referred to when an abnormality is detected, is specified.

次に、無効化部25は、図4の制御テーブルを参照して、情報番号1が割り当てられた制御値を出力とする、ルール番号1、3及び7の制御ルールを無効化する。   Next, the invalidating unit 25 refers to the control table of FIG. 4 and invalidates the control rules of rule numbers 1, 3 and 7 that output the control value to which the information number 1 is assigned.

次に、無効化部25は、情報番号1が割り当てられた制御値に関連性がある、情報番号2〜5が割り当てられた制御値を入力とする、ルール番号2、4、5及び6の制御ルールを無効化する。   Next, the invalidation unit 25 inputs the control values assigned with the information numbers 2 to 5 that are related to the control value assigned with the information number 1 and input the control values assigned with the information numbers 2 to 5. Disable control rules.

これにより、すべての制御ルールが無効化される。この場合、制御部26は、処理を停止することになる。   As a result, all control rules are invalidated. In this case, the control unit 26 stops the process.

また、無効化部25は、ダンパユニット35Aを制御するための制御値に基づいて、異常を検出した場合には、図5の判断テーブルを参照して、異常を検出したときに参照した情報番号3が割り当てられた制御値と関連性がある、情報番号1及び2が割り当てられた制御値を特定する。   Further, when the invalidation unit 25 detects an abnormality based on the control value for controlling the damper unit 35A, the information number referred to when the abnormality is detected with reference to the determination table of FIG. The control value to which information numbers 1 and 2 are assigned and related to the control value to which 3 is assigned is specified.

次に、無効化部25は、図4の制御テーブルを参照して、情報番号3が割り当てられた制御値を出力とする、ルール番号2及び5の制御ルールを無効化する。   Next, the invalidating unit 25 refers to the control table of FIG. 4 and invalidates the control rules of rule numbers 2 and 5 that output the control value to which the information number 3 is assigned.

次に、無効化部25は、情報番号3が割り当てられた制御値を入力とする、ルール番号7の制御ルールを無効化する。   Next, the invalidation unit 25 invalidates the control rule with the rule number 7 that receives the control value to which the information number 3 is assigned.

次に、無効化部25は、情報番号3が割り当てられた制御値に関連性がある、情報番号2が割り当てられた制御値を入力とする、ルール番号1の制御ルールを無効化する。   Next, the invalidation unit 25 invalidates the control rule with the rule number 1 that receives the control value to which the information number 2 is assigned and is related to the control value to which the information number 3 is assigned.

これにより、ルール番号1、2、5及び7の制御ルールが無効化される。この場合、制御部26は、ルール番号3、4、及び6の制御ルールに従った処理を実行することになる。   Thereby, the control rules of rule numbers 1, 2, 5 and 7 are invalidated. In this case, the control unit 26 executes processing according to the control rules of rule numbers 3, 4, and 6.

また、無効化部25は、温度センサ33Aの出力を表す制御値に基づいて、異常を検出した場合には、図5の判断テーブルを参照して、異常を検出したときに参照した情報番号2が割り当てられた制御値と関連性がある、情報番号1及び3が割り当てられた制御値を特定する。   Further, when the invalidation unit 25 detects an abnormality based on the control value representing the output of the temperature sensor 33A, the invalidation unit 25 refers to the determination table of FIG. Identifies the control values assigned information numbers 1 and 3 that are related to the assigned control values.

図4の制御テーブルを参照するとわかるように、ここでは情報番号2が割り当てられた制御値を出力とする制御ルールが存在しない。そこで、無効化部25は、情報番号2が割り当てられた制御値を入力とする制御ルール1、2及び5を無効化する。   As can be seen by referring to the control table of FIG. 4, there is no control rule that outputs the control value assigned with the information number 2 here. Therefore, the invalidation unit 25 invalidates the control rules 1, 2, and 5 that receive the control value assigned the information number 2 as an input.

次に、情報番号2が割り当てられた制御値に関連性がある、情報番号3が割り当てられた制御値を入力とする、ルール番号7の制御ルールを無効化する。   Next, the control rule with the rule number 7 that is related to the control value to which the information number 2 is assigned and that receives the control value to which the information number 3 is assigned is invalidated.

これにより、ルール番号1、2、5及び7の制御ルールが無効化される。この場合、制御部26は、ルール番号3、4及び6の制御ルールに従った処理を実行することになる。   Thereby, the control rules of rule numbers 1, 2, 5 and 7 are invalidated. In this case, the control unit 26 executes processing according to the control rules of rule numbers 3, 4 and 6.

以上説明したように、上述した制御システム10では、制御装置20が起動されると、まず関連性算出部24が、自動的に図5の判断テーブルを作成する。次に、通信部22が、記憶部23に記憶された制御値に関する情報を、定期的に、或いは、制御値が更新されたタイミングで、空調装置30のコントローラ31へ出力する。   As described above, in the control system 10 described above, when the control device 20 is activated, first, the relevance calculation unit 24 automatically creates the determination table of FIG. Next, the communication unit 22 outputs information on the control value stored in the storage unit 23 to the controller 31 of the air conditioner 30 periodically or at a timing when the control value is updated.

コントローラ31は、制御値に関する情報を受信すると、制御値に応じて、当該制御値に対応する空調ユニット32、或いはダンパユニット35A,35Bを駆動する。例えば、情報番号1が割り当てられた制御値に応じて、空調ユニット32を駆動し、情報番号3又は5が割り当てられた制御値に応じて、ダンパユニット35A,35Bを駆動する。また、コントローラ31は、温度センサ33A,33Bを介して計測した温度に関する情報を、定期的に制御装置20の通信部22へ出力する。   When the controller 31 receives information on the control value, the controller 31 drives the air conditioning unit 32 or the damper units 35A and 35B corresponding to the control value according to the control value. For example, the air conditioning unit 32 is driven according to the control value to which the information number 1 is assigned, and the damper units 35A and 35B are driven according to the control value to which the information number 3 or 5 is assigned. Further, the controller 31 periodically outputs information related to the temperature measured via the temperature sensors 33 </ b> A and 33 </ b> B to the communication unit 22 of the control device 20.

通信部22は、この温度に関する情報を受信すると、当該温度に応じた制御値を記憶部23へ出力する。これにより、記憶部23では、情報番号2及び4が割り当てられた制御値が更新される。   Upon receiving this temperature-related information, the communication unit 22 outputs a control value corresponding to the temperature to the storage unit 23. Thereby, in the memory | storage part 23, the control value to which the information numbers 2 and 4 were allocated is updated.

記憶部23の制御値が更新されると、制御部26は、更新された制御値を入力とする制御ルールを実行する。これにより、実行された制御ルールに応じた制御値が、記憶部23へ出力され、記憶部23の制御値が更新される。以降、コントローラ31は、制御値が更新されるごとに受信する制御値に応じて、空調ユニット32等を制御する。   When the control value in the storage unit 23 is updated, the control unit 26 executes a control rule with the updated control value as an input. Thereby, the control value according to the executed control rule is output to the storage unit 23, and the control value of the storage unit 23 is updated. Thereafter, the controller 31 controls the air conditioning unit 32 and the like according to the control value received every time the control value is updated.

一方、無効化部25は、制御値を参照した結果に基づいて異常を検出すると、異常を検出したときに参照した制御値を出力とする制御ルールと、異常を検出したときに参照した制御値、或いは異常を検出したときに参照した制御値と関連性を有する制御値を入力とする制御ルールのみを無効化する。   On the other hand, when the invalidation unit 25 detects an abnormality based on the result of referring to the control value, the control rule that outputs the control value referred to when the abnormality is detected, and the control value referred to when the abnormality is detected Alternatively, only a control rule that receives a control value that is related to the control value referenced when an abnormality is detected is invalidated.

これにより、異常の発生の原因と考えられる制御ルールの実行のみが禁止される。したがって、異常に無関係な制御ルールによる空調装置30の制御を継続しつつ、異常の波及を抑止することができる。   Thereby, only the execution of the control rule that is considered to be the cause of the abnormality is prohibited. Therefore, it is possible to suppress the spread of the abnormality while continuing the control of the air conditioner 30 according to the control rule unrelated to the abnormality.

また、本実施形態では、無効化するプログラムを決定するための判断テーブルが、自動的に生成される。したがって、同時に無効化する制御ルールを予め設定する必要がなくなり、ユーザの負担を軽減することができる。   In the present embodiment, a determination table for determining a program to be invalidated is automatically generated. Therefore, it is not necessary to set in advance a control rule to be invalidated at the same time, and the burden on the user can be reduced.

具体的には、ダンパユニット35Aを制御するための制御値に基づいて、異常が検出された場合には、ルール番号1、2、5及び7の制御ルールが無効化される。これにより、ダンパユニット35Aの故障によって、吐出口34aが閉じられているにもかかわらず、空調ユニット32が運転されることが回避される。その結果、空調ユニット32等で新たな異常が発生することを回避することができる。   Specifically, when an abnormality is detected based on a control value for controlling the damper unit 35A, the control rules of rule numbers 1, 2, 5, and 7 are invalidated. Thereby, it is avoided that the air conditioning unit 32 is operated even though the discharge port 34a is closed due to the failure of the damper unit 35A. As a result, it is possible to avoid occurrence of a new abnormality in the air conditioning unit 32 or the like.

なお、本実施形態では、関連性算出部24が、特定の制御ルールの入力となる制御値と、出力となる制御値とが関連性があると判断した。これに限らず、各制御値が区分されるグループを特定するための識別情報を規定し、この識別情報に基づいて、制御値同士の関連性を判断することとしてもよい。例えば、上述の識別情報を、記憶部23などに記憶させておき、関連性算出部24が、この識別情報に基づいて、同一グループに区分される制御値同士を関連性があると判断することとしてもよい。   In the present embodiment, the relevance calculation unit 24 determines that a control value that is an input of a specific control rule and a control value that is an output are related. However, the present invention is not limited thereto, and identification information for specifying a group into which each control value is classified may be defined, and the relevance between the control values may be determined based on this identification information. For example, the above-described identification information is stored in the storage unit 23 or the like, and the relevance calculation unit 24 determines that the control values classified into the same group are related based on this identification information. It is good.

識別情報としては、例えば、同じ部屋に設置されている設備機器についての制御値が属するグループを表す設置場所ID、同一のリモコンに接続されている設備機器についての制御値が属するグループを表す接続リモコンID、設備機器のアクチュエータについての制御値と、該アクチュエータが稼働することによる周囲環境への影響を検知するセンサについての制御値の組み合わせを表す制御セットID、同一の冷媒配管でつながる設備機器としての空調機についての制御値が属するグループを表す冷媒系統ID、などが考えられる。   The identification information includes, for example, an installation location ID representing a group to which control values for equipment installed in the same room belong, and a connected remote control representing a group to which control values for equipment connected to the same remote control belong. ID, a control set ID that represents a combination of a control value for an actuator of a facility device and a control value for a sensor that detects the influence on the surrounding environment due to the operation of the actuator, as a facility device connected by the same refrigerant pipe A refrigerant system ID representing a group to which a control value for the air conditioner belongs can be considered.

また、異常が発生していないときの制御値の時間的な推移に基づいて、制御値同士の関連性を判断することとしてもよい。例えば、関連性算出部24が、異常が発生していないときの制御値の時間的な推移を時系列データとして保持し、この時系列データに基づいて、時間的な変化が類似する制御値同士を関連性があると判断することとしてもよい。   Moreover, it is good also as judging the relevance of control values based on the time transition of the control value when abnormality has not generate | occur | produced. For example, the relevancy calculation unit 24 holds the time transition of the control value when no abnormality occurs as time series data, and based on this time series data, the control values having similar temporal changes are related to each other. May be determined to be relevant.

例えば、空調装置30が、吐出口34a,34bの開閉を感知するスイッチセンサ36A,36Bを有し、各スイッチセンサ36A,36Bについての制御値に情報番号6、7がそれぞれ割り当てられた場合を考える。また、このときのルール番号7の制御ルールが、スイッチセンサ36Aが吐出口34aの閉状態を検出し、かつ、スイッチセンサ36Bが吐出口34bの閉状態を検出した場合に、空調ユニット32を停止する内容であるとする。   For example, consider a case where the air conditioner 30 includes switch sensors 36A and 36B that sense opening and closing of the discharge ports 34a and 34b, and information numbers 6 and 7 are assigned to control values for the switch sensors 36A and 36B, respectively. . Further, the control rule of rule number 7 at this time stops the air conditioning unit 32 when the switch sensor 36A detects the closed state of the discharge port 34a and the switch sensor 36B detects the closed state of the discharge port 34b. Suppose that

この場合、関連性算出部24は、まず、情報番号1が割り当てられた制御値と、情報番号2が割り当てられた制御値とが関連性を有すると判断する。また、情報番号1が割り当てられた制御値と、情報番号4が割り当てられた制御値とが関連性を有すると判断する。また、情報番号2が割り当てられた制御値と、情報番号3が割り当てられた制御値とが関連性を有すると判断する。また、情報番号4が割り当てられた制御値と、情報番号5が割り当てられた制御値とが関連性を有すると判断する。   In this case, the relevance calculation unit 24 first determines that the control value to which the information number 1 is assigned and the control value to which the information number 2 is assigned have a relevance. Further, it is determined that the control value to which information number 1 is assigned and the control value to which information number 4 is assigned are related. Further, it is determined that the control value to which information number 2 is assigned and the control value to which information number 3 is assigned are related. Further, it is determined that the control value to which information number 4 is assigned and the control value to which information number 5 is assigned are related.

次に、関連性算出部24は、各ダンパユニット35A,35Bの制御値と、スイッチセンサ36A,36Bの制御値との間に正の相関があることから、情報番号3が割り当てられた制御値と、情報番号6が割り当てられた制御値とが関連性を有すると判断する。そして、情報番号5が割り当てられた制御値と、情報番号7が割り当てられた制御値とが関連性を有すると判断する。   Next, since the relevance calculation unit 24 has a positive correlation between the control values of the damper units 35A and 35B and the control values of the switch sensors 36A and 36B, the control value to which the information number 3 is assigned. And the control value to which the information number 6 is assigned are determined to have relevance. Then, it is determined that the control value to which information number 5 is assigned and the control value to which information number 7 is assigned are related.

次に、関連性算出部24は、情報番号1が割り当てられた制御値と、情報番号3が割り当てられた制御値とが関連性を有すると判断する。そして、情報番号1が割り当てられた制御値と、情報番号5が割り当てられた制御値とが関連性を有すると判断する。   Next, the relevance calculation unit 24 determines that the control value to which the information number 1 is assigned and the control value to which the information number 3 is assigned have a relevance. Then, it is determined that the control value to which information number 1 is assigned and the control value to which information number 5 is assigned are related.

これにより、図6に示される判断テーブルが生成される。この場合、制御システム10の機器配置により、互いに影響し合う制御値同士の関連性を反映した制御ルールの無効化を行うことができる。   Thereby, the determination table shown in FIG. 6 is generated. In this case, the control rule reflecting the relevance between the control values that influence each other can be invalidated by the device arrangement of the control system 10.

また、本実施形態では、制御部26は、入力部21を介して、制御ルールの入力を受け付ける。制御部26は、この制御ルールとして、複数の入力を論理和および論理積で任意に組み合わせることにより形成された複合ルールの入力を受け付け、入力された複合ルールから論理的に等価な複数の制御ルールを生成することとしてもよい。   In the present embodiment, the control unit 26 receives an input of a control rule via the input unit 21. As this control rule, the control unit 26 accepts an input of a composite rule formed by arbitrarily combining a plurality of inputs by logical sum and logical product, and a plurality of control rules logically equivalent from the input composite rule It is good also as producing | generating.

具体的には、制御部26は、「複数の入力の論理和および論理積による任意の組み合わせ」を、「1つ以上の入力の論理積を1つ以上含む論理和(加法標準形)」に変換し、論理積で結合された入力の組み合わせ毎に制御ルールを生成してもよい。   Specifically, the control unit 26 changes “arbitrary combination of logical inputs and logical products of a plurality of inputs” to “logical sum (additive standard form) including one or more logical products of one or more inputs”. A control rule may be generated for each combination of inputs that are converted and logically combined.

例えば、「湿度が70%より高く、2箇所の温度のどちらかが26度より高い場合は、空調ユニットを運転する」という複合ルールが入力されると、制御部26は、この複合ルールを以下のように変換する。   For example, when the composite rule “operates the air conditioning unit when the humidity is higher than 70% and one of the two temperatures is higher than 26 degrees” is input, the control unit 26 sets the composite rule as follows: Convert as follows.

変換前:(湿度>70)∧((温度a>26)∨(温度b>26))
変換後:((湿度>70)∧(温度a>26))∨((湿度>70)∧(温度b>26))
Before conversion: (humidity> 70) ∧ ((temperature a> 26) ∨ (temperature b> 26))
After conversion: ((humidity> 70) ∧ (temperature a> 26)) ∨ ((humidity> 70) ∧ (temperature b> 26))

この場合、以下の2つの制御ルールが生成される。   In this case, the following two control rules are generated.

ルール1:湿度>70 ∧ 温度a>26 ⇒ 空調ユニット運転
ルール2:湿度>70 ∧ 温度b>26 ⇒ 空調ユニット運転
Rule 1: Humidity> 70 ∧ Temperature a> 26 ⇒ Air conditioning unit operation rule 2: Humidity> 70 温度 Temperature b> 26 ⇒ Air conditioning unit operation

また、無効化部25は、異常の発生を検出したときの制御値を監視し、異常が解消した場合に、無効化した制御ルールを有効化することとしてもよい。これにより、メンテナンス等により、異常が解消した場合に、速やかに本来の制御ルールに基づく制御を復帰させることができる。   Further, the invalidation unit 25 may monitor the control value when the occurrence of an abnormality is detected, and validate the invalidated control rule when the abnormality is resolved. Thereby, when an abnormality is eliminated by maintenance or the like, the control based on the original control rule can be quickly returned.

また、制御部26が実行する制御ルールは、予め制御部26が保持していてもよいし、入力部21を介して入力されたものであってもよい。   The control rule executed by the control unit 26 may be held in advance by the control unit 26 or may be input via the input unit 21.

また、関連性算出部24は、予め制御値同士の関連性を規定するための情報を有していてもよい。また、入力部21を介して、制御値同士の関連性を規定するための情報を、関連性算出部24に入力することとしてもよい。   The relevancy calculation unit 24 may have information for prescribing relevance between control values in advance. In addition, information for defining the relevance between control values may be input to the relevance calculation unit 24 via the input unit 21.

《第2の実施形態》
次に、本発明の第2の実施形態に係る制御システム10を、図面を参照しつつ説明する。なお、第1の実施形態と同一又は同等の構成については、同等の符号を用いるとともに、その説明を省略又は簡略する。
<< Second Embodiment >>
Next, a control system 10 according to a second embodiment of the present invention will be described with reference to the drawings. In addition, about the structure same or equivalent to 1st Embodiment, while using an equivalent code | symbol, the description is abbreviate | omitted or simplified.

本実施形態に係る制御システム10は、制御装置20が、一般的なコンピュータ、又はサーバなどの装置と同様の構成によって実現されている点で、第1の実施形態に係る制御システムと相違している。   The control system 10 according to the present embodiment is different from the control system according to the first embodiment in that the control device 20 is realized by the same configuration as a general computer or a device such as a server. Yes.

図7は、制御装置20の物理的な構成を示すブロック図である。図7に示されるように、制御装置20は、CPU(Central Processing Unit)20a、主記憶部20b、補助記憶部20c、表示部20d、入力部21、インタフェース部20f、及び上記各部を相互に接続するシステムバス20gを有している。   FIG. 7 is a block diagram illustrating a physical configuration of the control device 20. As shown in FIG. 7, the control device 20 connects a CPU (Central Processing Unit) 20a, a main storage unit 20b, an auxiliary storage unit 20c, a display unit 20d, an input unit 21, an interface unit 20f, and the above-described units. System bus 20g.

CPU20aは、補助記憶部20cに記憶されているプログラムに従って、後述する処理を実行する。   The CPU 20a executes processing to be described later according to a program stored in the auxiliary storage unit 20c.

主記憶部20bは、RAM(Random Access Memory)等を含んで構成され、CPU20aの作業領域として用いられる。   The main storage unit 20b includes a RAM (Random Access Memory) and the like, and is used as a work area for the CPU 20a.

補助記憶部20cは、ROM(Read Only Memory)、磁気ディスク、半導体メモリ等の不揮発性メモリを含んで構成されている。この補助記憶部20cは、CPU20aが実行するプログラム、及び各種パラメータなどを記憶する。また、情報テーブル、制御テーブル、及び判断テーブルに関する情報を記憶する。   The auxiliary storage unit 20c includes a nonvolatile memory such as a ROM (Read Only Memory), a magnetic disk, and a semiconductor memory. The auxiliary storage unit 20c stores programs executed by the CPU 20a, various parameters, and the like. In addition, information about the information table, the control table, and the determination table is stored.

表示部20dは、CRT(Cathode Ray Tube)またはLCD(Liquid Crystal Display)などを含んで構成され、CPU20aの処理結果等を表示する。   The display unit 20d is configured to include a CRT (Cathode Ray Tube), an LCD (Liquid Crystal Display), or the like, and displays the processing result of the CPU 20a.

入力部21は、キーボードやマウス等のポインティングデバイスを含んで構成されている。オペレータの指示は、この入力部21を介して入力され、システムバス20gを経由してCPU20aに通知される。   The input unit 21 includes a pointing device such as a keyboard and a mouse. The operator's instruction is input via the input unit 21 and is notified to the CPU 20a via the system bus 20g.

インタフェース部20fは、シリアルインタフェースまたはLAN(Local Area Network)インタフェース等を含んで構成されている。制御装置20は、このインタフェース部20fを介して、空調装置30と接続される。   The interface unit 20f includes a serial interface, a LAN (Local Area Network) interface, or the like. The control device 20 is connected to the air conditioner 30 via the interface unit 20f.

図8は、CPU20aによって実行される一連の処理を示すフローチャートである。また、図9は、サブルーチンS200において、CPU20aによって実行される一連の処理を示すフローチャートである。以下、図8及び図9を参照して、制御装置20のCPU20aが実行する処理を説明する。   FIG. 8 is a flowchart showing a series of processing executed by the CPU 20a. FIG. 9 is a flowchart showing a series of processes executed by the CPU 20a in the subroutine S200. Hereinafter, processing executed by the CPU 20a of the control device 20 will be described with reference to FIGS.

制御装置20が起動されると、CPU20aは、まずサブルーチンS200を実行する。まず、CPU20aは、情報番号1〜5が割り当てられた制御値から1組の制御値を選択する(ステップS201)。   When the control device 20 is activated, the CPU 20a first executes a subroutine S200. First, the CPU 20a selects a set of control values from the control values assigned with the information numbers 1 to 5 (step S201).

次にCPU20aは、1組の制御値の一方を入力とし、他方を出力とする制御ルールを確認する(ステップS202)。   Next, the CPU 20a checks a control rule in which one set of control values is input and the other is output (step S202).

CPU20aは、1組の制御値の一方を入力とし、他方を出力とする制御ルールが存在する場合(ステップS203:Yes)は、この1組の制御値同士を関連性があると判断する(ステップS204)。   When there is a control rule in which one of the set of control values is input and the other is output (step S203: Yes), the CPU 20a determines that the set of control values is related (step S203). S204).

一方、CPU20aは、1組の制御値の一方を入力とし、他方を出力とする制御ルールが存在しない場合(ステップS203:No)、この1組の制御値同士を関連性がないと判断する(ステップS205)。   On the other hand, when there is no control rule in which one of the set of control values is input and the other is output (step S203: No), the CPU 20a determines that the one set of control values is not related ( Step S205).

次にCPU20aは、制御値のすべての組み合わせを抽出したか否かを判断する(ステップS206)。そして、CPU20aは、制御値のすべての組み合わせを抽出していないと判断した場合には(ステップS206:No)、ステップS201〜ステップS206までの処理を繰り返し実行する。   Next, the CPU 20a determines whether or not all combinations of control values have been extracted (step S206). When the CPU 20a determines that all combinations of control values have not been extracted (step S206: No), the processing from step S201 to step S206 is repeatedly executed.

一方、CPU20aは、制御値のすべての組み合わせを抽出したと判断した場合には(ステップS206:Yes)、図5に示される判断テーブルを生成する(ステップS207)。そして、サブルーチンS200を終了する。   On the other hand, if the CPU 20a determines that all combinations of control values have been extracted (step S206: Yes), the CPU 20a generates the determination table shown in FIG. 5 (step S207). Then, the subroutine S200 ends.

次にCPU20aは、入力部21を介して制御値に関する情報が入力されたか否かを確認する(ステップS101)。CPU20aは、制御値に関する情報の入力を確認すると(ステップS101:Yes)、情報テーブルの制御値を更新する(ステップS103)。   Next, CPU20a confirms whether the information regarding a control value was input via the input part 21 (step S101). When the CPU 20a confirms the input of information related to the control value (step S101: Yes), the CPU 20a updates the control value in the information table (step S103).

一方、CPU20aは、制御値に関する情報の入力が確認できないときは(ステップS101:No)、ネットワーク50を介して、制御値に関する情報を受信したか否かを確認する(ステップS102)。   On the other hand, when the input of the information regarding the control value cannot be confirmed (step S101: No), the CPU 20a confirms whether or not the information regarding the control value has been received via the network 50 (step S102).

そして、CPU20aは、制御値に関する情報の入力が確認できないときは(ステップS102:No)、ステップS101に戻り、以降ステップS101及びステップS102の処理を繰り返し実行する。一方、CPU20aは、制御値に関する情報の受信を確認すると(ステップS102:Yes)、情報テーブルの制御値を更新する(ステップS103)。   Then, when the input of information regarding the control value cannot be confirmed (step S102: No), the CPU 20a returns to step S101, and thereafter repeatedly executes the processing of step S101 and step S102. On the other hand, when the CPU 20a confirms reception of information on the control value (step S102: Yes), the CPU 20a updates the control value in the information table (step S103).

次にCPU20aは、更新した制御値を入力とする制御ルールがあるか否かを確認する(ステップS104)。そして、CPU20aは、更新した制御値を入力とする制御ルールがない場合は(ステップS104:No)、ステップS101〜ステップS104までの処理を繰り返し実行する。 Next, the CPU 20a checks whether or not there is a control rule with the updated control value as an input (step S104). And when there is no control rule which inputs the updated control value as input (step S104: No), CPU20a repeatedly performs the process from step S101 to step S104.

一方、CPU20aは、更新した制御値を入力とする制御ルールがある場合は(ステップS104:Yes)、当該制御ルールを実行する(ステップS105)。   On the other hand, when there is a control rule with the updated control value as an input (step S104: Yes), the CPU 20a executes the control rule (step S105).

次にCPU20aは、制御ルールの実行結果が真ではなく、制御値の更新がなかった場合は(ステップS106:No)、ステップS101〜ステップS106までの処理を繰り返し実行する。   Next, when the execution result of the control rule is not true and the control value has not been updated (step S106: No), the CPU 20a repeatedly executes the processing from step S101 to step S106.

一方、CPU20aは、制御ルールの実行結果が真であり、制御ルールの実行結果として新たな制御値を算出した場合は(ステップS106:Yes)、情報テーブルの制御値を更新する(ステップS107)。   On the other hand, when the execution result of the control rule is true and a new control value is calculated as the execution result of the control rule (step S106: Yes), the CPU 20a updates the control value of the information table (step S107).

次にCPU20aは、情報テーブルの制御値を参照して、制御システム10の異常を検出する(ステップS108)。CPU20aは、異常が検出されなかった場合には(ステップS108:No)、ステップS101〜ステップS108までの処理を繰り返し実行する。   Next, the CPU 20a refers to the control value in the information table and detects an abnormality in the control system 10 (step S108). When no abnormality is detected (step S108: No), the CPU 20a repeatedly executes the processing from step S101 to step S108.

一方、CPU20aは、異常が検出された場合には(ステップS108:Yes)、異常を検出したときに参照した制御値を出力とする制御ルールを無効化する(ステップS109)。次に、異常を検出したときに参照した制御値、或いは当該制御値と関連性を有する制御値を入力とする制御ルールを無効化する(ステップS110)。   On the other hand, when an abnormality is detected (step S108: Yes), the CPU 20a invalidates the control rule that outputs the control value referred to when the abnormality is detected (step S109). Next, the control rule which inputs the control value referred to when the abnormality is detected or the control value related to the control value is invalidated (step S110).

以降、CPU20aは、ステップS101〜ステップS110までの処理を繰り返す。   Thereafter, the CPU 20a repeats the processing from step S101 to step S110.

以上説明したように、本実施形態では、制御値を参照した結果に基づいて異常が検出されると、異常を検出したときに参照した制御値を出力とする制御ルールと、異常を検出したときに参照した制御値、或いは異常を検出したときに参照した制御値と関連性を有する制御値を入力とする制御ルールのみが無効化される。したがって、異常に無関係な制御ルールによって空調装置30の制御を継続しつつ、異常の波及を抑止することができる。   As described above, in the present embodiment, when an abnormality is detected based on the result of referring to the control value, the control rule that outputs the control value that is referenced when the abnormality is detected, and when the abnormality is detected. Only the control rule that receives the control value referred to in the above or the control value related to the control value referenced when an abnormality is detected is invalidated. Therefore, the spillover of the abnormality can be suppressed while the control of the air conditioner 30 is continued by the control rule unrelated to the abnormality.

《第3の実施形態》
次に、本発明の第3の実施形態に係る制御システム10を、図面を参照しつつ説明する。なお、第1の実施形態又は第2の実施形態と同一又は同等の構成については、同等の符号を用いるとともに、その説明を省略又は簡略する。
<< Third Embodiment >>
Next, a control system 10 according to a third embodiment of the present invention will be described with reference to the drawings. In addition, about the structure same or equivalent to 1st Embodiment or 2nd Embodiment, while using an equivalent code | symbol, the description is abbreviate | omitted or simplified.

第3の実施形態に係る制御システム10は、関連性算出部24が、関連性が数値化された情報を含む判断テーブルを有している点で、第1の実施形態に係る制御システム10と相違している。以下説明の便宜上、図5に示される判断テーブルを第1判断テーブルとし、本実施形態に係る関連性算出部24によって生成される判断テーブルを第2判断テーブルとする。   The control system 10 according to the third embodiment differs from the control system 10 according to the first embodiment in that the relevancy calculation unit 24 includes a determination table including information in which relevance is quantified. It is different. For convenience of explanation, the determination table shown in FIG. 5 is referred to as a first determination table, and the determination table generated by the relevance calculation unit 24 according to the present embodiment is referred to as a second determination table.

第2判断テーブルは、第1判断テーブルで規定される制御値同士の関連性よりも弱い関連性を、関連性の度合いとともに表すテーブルである。図10を参照するとわかるように、この第2判断テーブルでは、○印が強い関連性を示し、数値が弱い関連性を示している。   The second determination table is a table that represents a weaker relationship with the degree of relevance than the relevance between the control values defined in the first determination table. As can be seen from FIG. 10, in the second determination table, a circle indicates a strong relationship and a numerical value indicates a weak relationship.

関連性算出部24は、情報番号1〜5が割り当てられた制御値から1組の制御値を順次選択する。そして、第1の実施形態に係る関連性算出部と同様に、選択した1組の制御値の一方を入力とし、他方を出力とする制御ルールがある場合に、この1組の制御値同士を関連性があると判断する。   The relevancy calculation unit 24 sequentially selects a set of control values from the control values to which the information numbers 1 to 5 are assigned. Similarly to the relevance calculation unit according to the first embodiment, when there is a control rule in which one of the selected set of control values is input and the other is output, the set of control values is Judged to be relevant.

これにより、図10の判断テーブルを参照するとわかるように、情報番号1が割り当てられた制御値と、情報番号2が割り当てられた制御値とが関連性を有すると判断される。また、情報番号1が割り当てられた制御値と、情報番号3が割り当てられた制御値とが関連性を有すると判断される。また、情報番号1が割り当てられた制御値と、情報番号4が割り当てられた制御値とが関連性を有すると判断される。また、情報番号1が割り当てられた制御値と、情報番号5が割り当てられた制御値とが関連性を有すると判断される。また、情報番号2が割り当てられた制御値と、情報番号3が割り当てられた制御値とが関連性を有すると判断される。また、情報番号4が割り当てられた制御値と、情報番号5が割り当てられた制御値とが関連性を有すると判断される。   Thereby, as can be seen by referring to the determination table of FIG. 10, it is determined that the control value to which information number 1 is assigned and the control value to which information number 2 is assigned are related. In addition, it is determined that the control value to which information number 1 is assigned and the control value to which information number 3 is assigned are related. Further, it is determined that the control value to which information number 1 is assigned and the control value to which information number 4 is assigned are related. Further, it is determined that the control value to which information number 1 is assigned and the control value to which information number 5 is assigned are related. Further, it is determined that the control value to which information number 2 is assigned and the control value to which information number 3 is assigned are related. Further, it is determined that the control value to which the information number 4 is assigned and the control value to which the information number 5 is assigned are related.

次に、関連性算出部24は、関連性を有すると判断された制御値の組以外の制御値の組について、一方の制御値を出力とし、他方の制御値と関連性がある制御値を入力とする制御ルールがある場合に、これらの組の制御値同士が1次の関連性を有すると判断する。   Next, the relevance calculation unit 24 outputs one control value for a set of control values other than the set of control values determined to have relevance, and outputs a control value that is related to the other control value. When there is a control rule to be input, it is determined that these sets of control values have a primary relationship.

例えば、ルール番号1の制御ルールは、情報番号2が割り当てられた制御値を入力とし、情報番号4が割り当てられた制御値と関連性を有する情報番号1が割り当てられた制御値を出力とする。したがって、関連性算出部24は、情報番号2が割り当てられた制御値と、情報番号1が割り当てられた制御値とが、1次関連性を有すると判断する。   For example, the control rule with rule number 1 receives the control value assigned with information number 2 as input, and outputs the control value assigned with information number 1 associated with the control value assigned with information number 4 . Therefore, the relevance calculation unit 24 determines that the control value to which the information number 2 is assigned and the control value to which the information number 1 is assigned have a primary relevance.

同様に、関連性算出部24は、情報番号2が割り当てられた制御値と、情報番号5が割り当てられた制御値とが、1次関連性を有すると判断する。また、関連性算出部24は、情報番号3が割り当てられた制御値と、情報番号4が割り当てられた制御値とが、1次関連性を有すると判断する。また、関連性算出部24は、情報番号3が割り当てられた制御値と、情報番号5が割り当てられた制御値とが、1次関連性を有すると判断する。   Similarly, the relevancy calculation unit 24 determines that the control value to which the information number 2 is assigned and the control value to which the information number 5 is assigned have a primary relevance. Further, the relevance calculation unit 24 determines that the control value to which the information number 3 is assigned and the control value to which the information number 4 is assigned have a primary relevance. The relevancy calculation unit 24 determines that the control value to which the information number 3 is assigned and the control value to which the information number 5 is assigned have a primary relevance.

ここまでに、関連性算出部24は、すべての制御値の組についての関連性の有無の判断を行ったことになるので、各組についての判断結果から、図10に示される判断テーブルを生成する。   Up to this point, the relevancy calculation unit 24 has determined whether or not there is relevance for all control value pairs, and therefore generates the determination table shown in FIG. 10 from the determination results for each set. To do.

一方、関連性算出部24は、1次未満の関連性がないと判断された制御値の組がまだ残っている場合には、これらの組の制御値について、2次関連性の有無の判断を行う。   On the other hand, if there is still a set of control values for which it is determined that there is no less-than-primary relevance, the relevancy calculation unit 24 determines whether or not there is a secondary relevance for the control values in these sets. I do.

具体的には、関連性算出部24は、一方の制御値を入力とし、他方の制御値と1次関連性を有する制御値を出力とする制御ルールがある場合に、これらの組の制御値同士が2次の関連性を有すると判断する。   Specifically, when there is a control rule in which one control value is input and a control value having a primary relationship with the other control value is output, the relevancy calculation unit 24 sets these control values. It is determined that they have a secondary relationship.

以降、関連性算出部24は、N次未満の関連性がない制御値同士の組を順次抽出する処理と、一方の制御値を入力とし、他方の制御値とN次関連性を有する制御値を出力とする制御ルールがある場合に、抽出した組の制御値同士がN+1次の関連性を有すると判断する処理を繰り返す。そして、すべての制御値の組み合わせについての判断が終了したら、これまでの判断結果に基づいて、一例として図10に示されるような第2判断テーブルを生成する。   Thereafter, the relevancy calculating unit 24 sequentially extracts a set of control values having no relevance less than the Nth order, and one control value as an input, and the control value having the Nth relevance with the other control value. When there is a control rule that outputs, the process of determining that the extracted control values have N + 1 order relevance is repeated. Then, when the determination for all combinations of control values is completed, a second determination table as shown in FIG. 10 is generated as an example based on the determination results thus far.

無効化部25は、記憶部23に記憶された制御値を参照し、参照した結果に基づいて空調装置30の異常を検出する。そして、異常を検出したときに参照した制御値を出力とする制御ルールと、異常を検出したときに参照した制御値、或いは当該制御値と関連性を有する制御値を入力とする制御ルールとを無効化する。   The invalidation unit 25 refers to the control value stored in the storage unit 23 and detects an abnormality of the air conditioner 30 based on the referred result. Then, a control rule that outputs a control value that is referenced when an abnormality is detected, and a control rule that inputs a control value that is referenced when an abnormality is detected, or a control value that is related to the control value. Disable it.

例えば無効化部25は、第1の実施形態と同様に、ダンパユニット35Aを制御するための制御値に基づいて、異常を検出した場合には、図10の判断テーブルを参照して、異常を検出したときに参照した情報番号3が割り当てられた制御値と関連性がある、情報番号1及び2が割り当てられた制御値と、情報番号3が割り当てられた制御値と1次関連性を有する、情報番号4が割り当てられた制御値と、情報番号5が割り当てられた制御値とを特定する。   For example, if the invalidation unit 25 detects an abnormality based on the control value for controlling the damper unit 35A, as in the first embodiment, the invalidation unit 25 refers to the determination table in FIG. It has a primary relationship with the control value assigned with information numbers 1 and 2 and the control value assigned with information number 3, which is related to the control value assigned with information number 3 referenced when detected. The control value to which the information number 4 is assigned and the control value to which the information number 5 is assigned are specified.

次に、無効化部25は、図4の制御テーブルを参照して、情報番号3が割り当てられた制御値を出力とする、ルール番号2及び5の制御ルールを無効化する。   Next, the invalidating unit 25 refers to the control table of FIG. 4 and invalidates the control rules of rule numbers 2 and 5 that output the control value to which the information number 3 is assigned.

次に、無効化部25は、情報番号3が割り当てられた制御値を入力とする、ルール番号7の制御ルールを無効化する。   Next, the invalidation unit 25 invalidates the control rule with the rule number 7 that receives the control value to which the information number 3 is assigned.

次に、無効化部25は、情報番号3が割り当てられた制御値に関連性がある、情報番号2が割り当てられた制御値を入力とする、ルール番号1の制御ルールを無効化する。これにより、ルール番号1、2、5及び7の制御ルールが無効化される。   Next, the invalidation unit 25 invalidates the control rule with the rule number 1 that receives the control value to which the information number 2 is assigned and is related to the control value to which the information number 3 is assigned. Thereby, the control rules of rule numbers 1, 2, 5 and 7 are invalidated.

更に、無効化部25は、情報番号3が割り当てられた制御値と1次関連性を有する情報番号4が割り当てられた制御値を入力とする、ルール番号3、4及び6の制御ルールを無効化する。これにより、すべての制御ルールが無効化される。この場合、制御部26は、処理を停止することになる。   Further, the invalidation unit 25 invalidates the control rules of rule numbers 3, 4 and 6 that receive the control value assigned the information number 4 having the primary relationship with the control value assigned the information number 3 as input. Turn into. As a result, all control rules are invalidated. In this case, the control unit 26 stops the process.

また、無効化部25は、温度センサ33Aの出力を表す制御値に基づいて、異常を検出した場合には、図10の判断テーブルを参照して、異常を検出したときに参照した情報番号2が割り当てられた制御値と関連性がある、情報番号1及び3が割り当てられた制御値と、情報番号2が割り当てられた制御値と1次関連性を有する、情報番号4が割り当てられた制御値と、情報番号5が割り当てられた制御値とを特定する。   When the invalidation unit 25 detects an abnormality based on the control value representing the output of the temperature sensor 33A, the invalidation unit 25 refers to the determination table of FIG. Is associated with the control value to which information number 1 is assigned, and the control value to which information number 1 and 3 are assigned, and the control value to which information number 4 is assigned, which is primarily related to the control value to which information number 2 is assigned. The value and the control value to which the information number 5 is assigned are specified.

図4の制御テーブルを参照するとわかるように、ここでは情報番号2が割り当てられた制御値を出力とする制御ルールが存在しない。そこで、無効化部25は、情報番号2が割り当てられた制御値を入力とする制御ルール1、2及び5を無効化する。   As can be seen by referring to the control table of FIG. 4, there is no control rule that outputs the control value assigned with the information number 2 here. Therefore, the invalidation unit 25 invalidates the control rules 1, 2, and 5 that receive the control value assigned the information number 2 as an input.

次に、情報番号2が割り当てられた制御値に関連性がある、情報番号3が割り当てられた制御値を入力とする、ルール番号7の制御ルールを無効化する。これにより、ルール番号1、2、5及び7の制御ルールが無効化される。   Next, the control rule with the rule number 7 that is related to the control value to which the information number 2 is assigned and that receives the control value to which the information number 3 is assigned is invalidated. Thereby, the control rules of rule numbers 1, 2, 5 and 7 are invalidated.

更に、無効化部25は、情報番号2が割り当てられた制御値と1次関連性を有する情報番号4が割り当てられた制御値を入力とする、ルール番号3、4及び6の制御ルールを無効化する。これにより、すべての制御ルールが無効化される。この場合、制御部26は、処理を停止することになる。   Further, the invalidation unit 25 invalidates the control rules of the rule numbers 3, 4 and 6 that receive the control value assigned the information number 4 having the primary relationship with the control value assigned the information number 2 as input. Turn into. As a result, all control rules are invalidated. In this case, the control unit 26 stops the process.

以上説明したように、本実施形態では、制御値を参照した結果に基づいて異常が検出されると、異常を検出したときに参照した制御値を出力とする制御ルールと、異常を検出したときに参照した制御値、或いは異常を検出したときに参照した制御値と関連性を有する制御値を入力とする制御ルールのみが無効化される。したがって、異常に無関係な制御ルールによって空調装置30の制御を継続しつつ、異常の波及を効果的に抑止することができる。   As described above, in the present embodiment, when an abnormality is detected based on the result of referring to the control value, the control rule that outputs the control value that is referenced when the abnormality is detected, and when the abnormality is detected. Only the control rule that receives the control value referred to in the above or the control value related to the control value referenced when an abnormality is detected is invalidated. Therefore, the spillover of the abnormality can be effectively suppressed while the control of the air conditioner 30 is continued by the control rule unrelated to the abnormality.

以上、本発明の実施形態について説明したが、本発明は上記実施形態によって限定されるものではない。   As mentioned above, although embodiment of this invention was described, this invention is not limited by the said embodiment.

例えば、上記各実施形態では、空調装置30が、情報番号1〜5が割り当てられた制御値によって制御されることとした。これに限らず、空調装置30は、6つ以上の制御値によって制御されることとしてもよい。   For example, in each of the above embodiments, the air conditioner 30 is controlled by the control value to which the information numbers 1 to 5 are assigned. Not limited to this, the air conditioner 30 may be controlled by six or more control values.

また、上記各実施形態では、制御部26が7つの制御ルールを実行することとした。これに限らず、制御部26は、8つ以上の制御ルールを実行することとしてもよい。また、6つ以下の制御ルールを実行することとしてもよい。   In the above embodiments, the control unit 26 executes seven control rules. Not limited to this, the control unit 26 may execute eight or more control rules. Also, six or less control rules may be executed.

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

本発明の制御装置、制御システム及びプログラムは、設備機器の制御に適している。   The control device, control system, and program of the present invention are suitable for controlling equipment.

10 制御システム
20 制御装置
20a CPU
20b 主記憶部
20c 補助記憶部
20d 表示部
20f インタフェース部
20g システムバス
21 入力部
22 通信部
23 記憶部
24 関連性算出部
25 無効化部
26 制御部
30 空調装置
31 コントローラ
32 空調ユニット
33A,33B 温度センサ
34 ダクト
34a,34b 吐出口
35A,35B ダンパユニット
36A,36B スイッチセンサ
50 ネットワーク
100 居住空間
10 control system 20 control device 20a CPU
20b Main storage unit 20c Auxiliary storage unit 20d Display unit 20f Interface unit 20g System bus 21 Input unit 22 Communication unit 23 Storage unit 24 Relevance calculation unit 25 Invalidation unit 26 Control unit 30 Air conditioner 31 Controller 32 Air conditioning unit 33A, 33B Temperature Sensor 34 Duct 34a, 34b Discharge port 35A, 35B Damper unit 36A, 36B Switch sensor 50 Network 100 Living space

Claims (12)

ネットワークに接続された設備機器を制御するための制御装置であって、
前記設備機器の状態を表す複数の制御値を記憶する記憶手段と、
前記制御値を入力とした演算結果としての前記制御値を出力するための制御ルールを実行する実行手段と、
前記記憶手段に記憶された1組の第1の制御値と第2の制御値との関連性を判断する判断手段と、
前記記憶手段に記憶された前記制御値を参照して、前記設備機器の異常を検出する異常検出手段と、
前記異常が検出されたときに参照された前記制御値を出力するための前記制御ルールと、前記異常が検出されたときに参照された前記制御値、又は前記判断手段によって、前記異常が検出されたときに参照された前記制御値と関連性があると判断された前記制御値を、前記入力としての前記制御値とする前記制御ルールを無効化する無効化手段と、
を備える制御装置。
A control device for controlling equipment connected to a network,
Storage means for storing a plurality of control values representing the state of the equipment;
Execution means for executing a control rule for outputting the control value as a calculation result having the control value as an input;
Determining means for determining the relevance between a set of first control values and second control values stored in the storage means;
With reference to the control value stored in the storage means, an abnormality detection means for detecting an abnormality of the equipment,
The abnormality is detected by the control rule for outputting the control value referred to when the abnormality is detected, the control value referred to when the abnormality is detected, or the determination means. Invalidating means for invalidating the control rule using the control value determined to be related to the control value referred to as the input as the control value;
A control device comprising:
前記判断手段は、前記第1の制御値を前記入力とし、前記第2の制御値を前記演算結果としての前記制御値とする前記制御ルールが存在する場合に、前記第1の制御値と前記第2の制御値とが関連性を有すると判断する請求項1に記載の制御装置。 The determination means includes the first control value and the first control value when the control rule has the first control value as the input and the second control value as the control value as the calculation result. The control device according to claim 1, wherein the control device determines that the second control value is related. 前記ネットワークには、グループ分けされた複数の前記設備機器が接続され、
前記判断手段は、同一の前記グループに属する前記設備機器に関する前記制御値同士は関連性があると判断する請求項1に記載の制御装置。
The network is connected to a plurality of grouped equipment.
The control device according to claim 1, wherein the determination unit determines that the control values related to the equipment belonging to the same group are related to each other.
前記判断手段は、前記設備機器に割り当てられた識別情報に基づいて、前記設備機器が属する前記グループを判断する請求項に記載の制御装置。 The control device according to claim 3 , wherein the determination unit determines the group to which the facility device belongs based on identification information assigned to the facility device. 前記識別情報は、前記設備機器が設置された区画を表す情報、前記設備機器を操作するコントローラを表す情報、前記設備機器が備えるアクチュエータが前記設備機器周囲へ与える影響を検知するセンサに関する情報、及び前記設備機器に接続される冷媒配管に関する情報のうちの少なくとも1つを含む請求項に記載の制御装置。 The identification information includes information indicating a section in which the equipment is installed, information indicating a controller that operates the equipment, information on a sensor that detects an influence of an actuator included in the equipment on the surroundings of the equipment, and The control device according to claim 4 , wherein the control device includes at least one of information related to refrigerant piping connected to the facility equipment. 前記判断手段は、前記制御値の時間的な変化に相関のある前記制御値同士は関連性があると判断する請求項1に記載の制御装置。 The control device according to claim 1, wherein the determination unit determines that the control values correlated with temporal changes in the control values are related to each other. 前記実行手段は、
前記制御ルールを、前記入力としての前記制御値と演算子とによって規定される式の論理和又は論理積で表される判定式として受け付け、
前記判定式を、論理積で組み合わせた式に変換して実行する請求項1乃至のいずれか一項に記載の制御装置。
The execution means includes
Accepting the control rule as a determination expression represented by a logical sum or logical product of expressions defined by the control value and the operator as the input;
The judgment formula, control apparatus according to any one of claims 1 to 6 run into a formula that combines a logical AND.
前記判断手段は、
前記第1の制御値と前記第2の制御値との間に、関連性が高い順に付与された次数で表されるN次未満の関連性がないときに、
前記第1の制御値を前記入力とし、前記第2の制御値とN次の関連性を有する前記制御値を出力とする前記制御ルールが存在する場合に、前記第1の制御値と前記第2の制御値とがN+1次の関連性を有すると判断する請求項1乃至のいずれか一項に記載の制御装置。
The determination means includes
When the first control value and the second control value are not related less than the Nth order represented by the orders given in the descending order of relevance,
The first control value and the first control value when the control rule has the first control value as the input and the second control value and the control value having an N-th order relationship as an output. The control device according to any one of claims 1 to 7 , wherein the control value of 2 is determined to have an N + 1 order relationship.
前記無効化手段は、
前記異常が検出されたときに参照された前記制御値と、N次の関連性を有する前記制御値を前記入力又は前記出力とする前記制御ルールを無効化する請求項に記載の制御装置。
The invalidation means includes
The control device according to claim 8 , wherein the control rule that uses the control value referred to when the abnormality is detected and the control value having an Nth-order relationship as the input or the output is invalidated.
前記無効化手段は、検出された前記異常が解消したときに、無効化した前記制御ルールの無効化を解除する請求項1乃至のいずれか一項に記載の制御装置。 The control device according to any one of claims 1 to 9 , wherein the invalidation unit cancels the invalidation of the invalidated control rule when the detected abnormality is resolved. ネットワークに接続された設備機器と、
前記設備機器を制御する請求項1乃至10のいずれか一項に記載の制御装置と、
を有する制御システム。
Equipment connected to the network;
The control device according to any one of claims 1 to 10 , which controls the facility equipment;
Having a control system.
ネットワークに接続された設備機器を制御するコンピュータを、
前記設備機器の状態を表す複数の制御値を記憶する手段と、
前記制御値を入力とした演算結果としての前記制御値を出力するための制御ルールを実行する手段と、
前記制御値のうちの1組の第1の制御値と第2の制御値との関連性を判断する手段と、
前記制御値を参照して、前記設備機器の異常を検出する手段と、
前記異常が検出されたときに参照された前記制御値を出力するための前記制御ルールと、前記異常が検出されたときに参照された前記制御値、又は前記判断手段によって、前記異常が検出されたときに参照された前記制御値と関連性があると判断された前記制御値を、前記入力としての前記制御値とする前記制御ルールを無効化する手段と、
として機能させるためのプログラム。
A computer that controls equipment connected to the network,
Means for storing a plurality of control values representing the state of the equipment;
Means for executing a control rule for outputting the control value as a calculation result with the control value as an input;
Means for determining an association between a set of first control values and a second control value of the control values;
Means for referring to the control value and detecting an abnormality of the equipment;
The abnormality is detected by the control rule for outputting the control value referred to when the abnormality is detected, the control value referred to when the abnormality is detected, or the determination means. Means for invalidating the control rule that uses the control value determined to be related to the control value referred to as the input as the control value;
Program to function as.
JP2009277019A 2009-12-04 2009-12-04 Control device, control system, and program Expired - Fee Related JP5072945B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009277019A JP5072945B2 (en) 2009-12-04 2009-12-04 Control device, control system, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009277019A JP5072945B2 (en) 2009-12-04 2009-12-04 Control device, control system, and program

Publications (2)

Publication Number Publication Date
JP2011117689A JP2011117689A (en) 2011-06-16
JP5072945B2 true JP5072945B2 (en) 2012-11-14

Family

ID=44283219

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009277019A Expired - Fee Related JP5072945B2 (en) 2009-12-04 2009-12-04 Control device, control system, and program

Country Status (1)

Country Link
JP (1) JP5072945B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3464415B2 (en) * 1999-06-16 2003-11-10 株式会社山武 Cooperative control system between central controller and multiple terminal controllers
JP3716318B2 (en) * 2000-07-13 2005-11-16 株式会社日立製作所 Device remote diagnosis system
JP2003208219A (en) * 2002-01-10 2003-07-25 Yamatake Building Systems Co Ltd Abnormality detecting device and method
JP4342473B2 (en) * 2004-06-09 2009-10-14 三洋電機株式会社 Equipment control system
JP4294560B2 (en) * 2004-08-26 2009-07-15 株式会社Nttファシリティーズ Air conditioner monitoring system and air conditioner monitoring method

Also Published As

Publication number Publication date
JP2011117689A (en) 2011-06-16

Similar Documents

Publication Publication Date Title
US11860648B2 (en) Device management system with improved ability to identify cause of anomaly in device
US11243005B2 (en) Determining the cause of a fault in an HVAC system
JP6647824B2 (en) Error diagnosis system and error diagnosis method
JP6985621B2 (en) Air conditioning management system
KR102549128B1 (en) Air conditioning apparatus, central control apparatus of the air conditioning apparatus, remote control apparatus of the air conditioning apparatus, indoor appratus of the air conditioning apparatus and method of controlling thereof
JP5335043B2 (en) Equipment control device and equipment system
WO2014006972A1 (en) Air conditioning management system
EP3229083A1 (en) Fault propagation in a building automation system
WO2011027587A1 (en) Equipment control device
JP7406060B2 (en) refrigeration system
US12117187B2 (en) Outdoor unit, air-conditioning system, and recording medium
WO2013031735A1 (en) Monitoring control method and monitoring control device
WO2021174690A1 (en) Method and apparatus for controlling multi-split air conditioner, and air conditioner
JP5072945B2 (en) Control device, control system, and program
EP3982050B1 (en) Device management system
JP6391898B2 (en) Data processing apparatus, data processing method, and data processing program
GB2596007A (en) Detection of alteration of storage keys used to protect memory
JP2022031289A (en) Air conditioning management system
CA3257984A1 (en) Building automation system and method for managing causal chain
US20070011242A1 (en) System and method for bypassing execution of an algorithm
KR20230071334A (en) Apparatus and method for determining abnormalities in calorimeter
JP7361625B2 (en) air conditioning system
JP2025078945A (en) Presentation method, presentation system, and program
WO2011093088A1 (en) Core thermal limit monitoring device, core monitoring system and method of monitoring core thermal limit
JP2010186209A (en) Diagnostic system, method, device and program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111124

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120104

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120305

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120821

R150 Certificate of patent or registration of utility model

Ref document number: 5072945

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150831

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees